GNOME Bugzilla – Bug 522438
gnome-panel crashes when selecting location without coordinates
Last modified: 2008-04-25 22:49:33 UTC
This bug has been filed here: https://bugs.edge.launchpad.net/ubuntu/+source/gnome-panel/+bug/201102 "Click on the date/time on the deskbar to show the calendar. Click on 'Locations', 'Add', 'Find' and choose Bristol (Europe > UK). Click 'OK' and the deskbar disappears. On Hardy up to about Alpha 3 the deskbar disappeared for good. More recently, the deskbar disappears then reappears after about five seconds but the location is not updated. This is repeatable. I can add London (UK) to the list with no problems." "Same crash when selecting North America -> United States -> Texas -> Houston -> Clover" "The common factor is that neither location entry in /usr/share/libgweather/Locations.xml has a <coordinates/> tag." "Thread 1 (Thread 0xb6d56720 (LWP 8387)):
+ Trace 192403
*** Bug 522742 has been marked as a duplicate of this bug. ***
*** Bug 523270 has been marked as a duplicate of this bug. ***
You appear to be correct that when the cities don't have that <coordinate> tag they cause the clock-applet to crash. I tested it by inserting a bogus <coordinate> tag for Clover and the clock applet behaved as expected. So from this I can think of a few solutions 1. Since we can detect when this error will occur we can catch it before the crash and show an error message about missing coordinates 2. Never show cities in the first place that have missing coordinates 3. Select the parent location and ignore the error (for example in the case of Clover it would select the city Houston)
*** Bug 524645 has been marked as a duplicate of this bug. ***
*** Bug 524877 has been marked as a duplicate of this bug. ***
*** Bug 524970 has been marked as a duplicate of this bug. ***
*** Bug 525025 has been marked as a duplicate of this bug. ***
*** Bug 525826 has been marked as a duplicate of this bug. ***
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
*** Bug 521155 has been marked as a duplicate of this bug. ***
*** Bug 529993 has been marked as a duplicate of this bug. ***