Bug 1079296

Summary: bbc weather patches applied in kde-workspace-4.11.7-4 cause crashes
Product: [Fedora] Fedora Reporter: Sandro Mani <manisandro>
Component: kde-workspaceAssignee: Kevin Kofler <kevin>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dvratil, jgrulich, jreznik, kevin, ltinkl, mbriza, rdieter, rnovacek, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kde-workspace-4.11.7-5.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-25 00:36:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandro Mani 2014-03-21 11:30:38 UTC
Description of problem:
Looks like the bbc weather patches applied in kde-workspace-4.11.7-4 cause crashes:

#6  0x00007f48d1c7d187 in QString::trimmed (this=0x35da850) at tools/qstring.cpp:4216
#7  0x00007f481c13833b in UKMETIon::parseWeatherObservation (this=this@entry=0x19803a0, source=..., data=..., xml=...) at /usr/src/debug/kde-workspace-4.11.7/plasma/generic/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp:561
#8  0x00007f481c139003 in UKMETIon::parseWeatherChannel (this=this@entry=0x19803a0, source=..., data=..., xml=...) at /usr/src/debug/kde-workspace-4.11.7/plasma/generic/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp:510
#9  0x00007f481c13916b in UKMETIon::parsePlaceObservation (this=this@entry=0x19803a0, source=..., data=..., xml=...) at /usr/src/debug/kde-workspace-4.11.7/plasma/generic/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp:473
#10 0x00007f481c13b829 in UKMETIon::readObservationXMLData (this=this@entry=0x19803a0, source=..., xml=...) at /usr/src/debug/kde-workspace-4.11.7/plasma/generic/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp:638
#11 0x00007f481c13bbc6 in UKMETIon::observation_slotJobFinished (this=0x19803a0, job=0x38cff10) at /usr/src/debug/kde-workspace-4.11.7/plasma/generic/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp:423
[...]

Comment 1 Kevin Kofler 2014-03-21 12:11:12 UTC
Yes, this happens if only forecasts and no current conditions are provided.

See:
https://bugs.kde.org/show_bug.cgi?id=330773#c13
https://bugs.kde.org/show_bug.cgi?id=332392

We will fix this before pushing the update to stable.

Comment 2 Sandro Mani 2014-03-21 12:21:09 UTC
Okay thanks.

Comment 3 Kevin Kofler 2014-03-25 00:36:02 UTC
Should be fixed in kde-workspace-4.11.7-5.fc21.

I'm also pushing kde-workspace-4.11.7-5.fc{19,20} to replace the faulty -4.fc{19,20} updates in updates-testing.