Summary: | Weather station location search causes crash | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Ben Cooksley <bcooksley> |
Component: | widget-weather | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, aseigo, benderamp, fjperezor, petri.damsten, shawn.starr |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ben Cooksley
2009-04-16 02:47:04 UTC
What is your Qt version? Thanks Qt-Copy revision 955378 ( Qt 4.5 ) with patches applied using the apply_patches script. Built using kdesvn-build default build configuration. Could you try this with latest svn? For me searching Wellington from bbc gives 3 choices and all work ok. It still doesn't work here unfortunately. I checked the API directly: http://www.bbc.co.uk/cgi-perl/weather/search/new_search.pl?x=0&y=0&=Submit&search_query=wellington&tmpl=wap And got valid information, then I checked the5 day weather url: http://www.bbc.co.uk//weather/mobile/5day.wml?world=0095 And got valid information there as well. I have cleared the HTTP cache, and tried with Plasmoidviewer, and it doesn't work there either, even with a cleared configuration file. I know what the problem is now. It is the automatically not try to use network dataengines when there is no network work by aseigo. I do have an internet connection, but I use Wicd 1.5.9 which isn't compatible with the Wicd solid backend ( which is compatible with 1.6, which hasn't been released yet ) As a result, Solid believes I am "Offline". Is there a override I can use? it now treats Unknown status to mean "maybe we're actually online and are just blind" which should resolve the symptom ..... but WHY is it crashing when there's no network? ah, i see. it does a split on a string and then doesn't check the size of the returned list before accessing it. brilliant. SVN commit 973379 by aseigo: be careful with indexing into arrays! BUG:189770 M +7 -3 weathervalidator.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=973379 *** Bug 195887 has been marked as a duplicate of this bug. *** *** Bug 207763 has been marked as a duplicate of this bug. *** |