GNOME Bugzilla – Bug 146130
incorrect UTF-8 filename => empty filename tag -> crash
Last modified: 2005-06-21 18:24:03 UTC
Distribution: Fedora Core release 2 (Tettnang) Package: gnome-desktop Severity: normal Version: GNOME2.6. unspecified Gnome-Distributor: Red Hat, Inc Synopsis: desktop background preferences Bugzilla-Product: gnome-desktop Bugzilla-Component: libgnome-desktop Bugzilla-Version: unspecified BugBuddy-GnomeVersion: 2.0 (2.6.0) Description: Description of the crash: Desktop Background preferences crashes Steps to reproduce the crash: 1. right click to change desktop background 2. restart app. but cant 3. lost icons in menu also Expected Results: change colour How often does this happen? after first time Additional Information: Debugging Information: Backtrace was generated from '/usr/bin/gnome-background-properties' (no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1". (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled] [New Thread -150386464 (LWP 2921)] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...0x00a9b402 in ?? ()
+ Trace 47718
Thread 1 (Thread -150386464 (LWP 2921))
------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-07-08 20:09 ------- Unknown platform unknown. Setting to default platform "Other". Unknown milestone "unknown" in product "gnome-desktop". Setting to default milestone for this product, '---' The original reporter of this bug does not have an account here. Reassigning to the person who moved it here, unknown@bugzilla.gnome.org. Previous reporter was plp133@mail.usask.ca. Setting to default status "UNCONFIRMED". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
*** Bug 146156 has been marked as a duplicate of this bug. ***
*** Bug 146363 has been marked as a duplicate of this bug. ***
*** Bug 146364 has been marked as a duplicate of this bug. ***
*** Bug 146490 has been marked as a duplicate of this bug. ***
*** Bug 146608 has been marked as a duplicate of this bug. ***
*** Bug 146619 has been marked as a duplicate of this bug. ***
*** Bug 146625 has been marked as a duplicate of this bug. ***
*** Bug 147086 has been marked as a duplicate of this bug. ***
This appears to be a unique stack trace, according to a query on the function names g_str_hash and gnome_wp_main_quit.
*** Bug 146392 has been marked as a duplicate of this bug. ***
*** Bug 148449 has been marked as a duplicate of this bug. ***
*** Bug 149181 has been marked as a duplicate of this bug. ***
*** Bug 148231 has been marked as a duplicate of this bug. ***
*** Bug 151324 has been marked as a duplicate of this bug. ***
*** Bug 148459 has been marked as a duplicate of this bug. ***
*** Bug 148197 has been marked as a duplicate of this bug. ***
*** Bug 151521 has been marked as a duplicate of this bug. ***
*** Bug 151707 has been marked as a duplicate of this bug. ***
*** Bug 151641 has been marked as a duplicate of this bug. ***
The last two duplicates were added by mistake, they were in fact dups of bug 146645.
*** Bug 152548 has been marked as a duplicate of this bug. ***
*** Bug 153102 has been marked as a duplicate of this bug. ***
*** Bug 153154 has been marked as a duplicate of this bug. ***
*** Bug 146503 has been marked as a duplicate of this bug. ***
*** Bug 154525 has been marked as a duplicate of this bug. ***
*** Bug 156746 has been marked as a duplicate of this bug. ***
*** Bug 157687 has been marked as a duplicate of this bug. ***
*** Bug 160789 has been marked as a duplicate of this bug. ***
*** Bug 156884 has been marked as a duplicate of this bug. ***
*** Bug 158979 has been marked as a duplicate of this bug. ***
*** Bug 161365 has been marked as a duplicate of this bug. ***
*** Bug 161550 has been marked as a duplicate of this bug. ***
*** Bug 161776 has been marked as a duplicate of this bug. ***
Ok, I get the same backtrace here when a filename which is not a correct UTF-8 one. Could anybody getting the crash attach ~/.gnome/backgrounds here ? Do you have an entry with "<name></name>" in this file (ie: empty name) ? Removing the corresponding entry (ie: between <wallpaper> and <wallpaper/>) fixes the issue ?
*** Bug 160914 has been marked as a duplicate of this bug. ***
*** Bug 162228 has been marked as a duplicate of this bug. ***
Got the same crash and removing an entry in .gnome2/backgrounds.xml fixes the problem. This is the entry that caused my crash: <wallpaper deleted="true"> <name>img_1087.jpg</name> <filename></filename> <options>stretched</options> <shade_type>solid</shade_type> <pcolor>#000000</pcolor> <scolor>#7F7F7F</scolor> </wallpaper> The filename entry contains an incorrect UTF-8 directory name.
updating the summary
Forgot to mention that I got the crash with control-center 2.8.1
*** Bug 164895 has been marked as a duplicate of this bug. ***
Given the number of dups, and no indication that this is fixed in 2.9, marking 2.9 and making it a 2.10 showstopper.
*** Bug 165599 has been marked as a duplicate of this bug. ***
*** Bug 165832 has been marked as a duplicate of this bug. ***
*** Bug 166055 has been marked as a duplicate of this bug. ***
*** Bug 166378 has been marked as a duplicate of this bug. ***
*** Bug 163906 has been marked as a duplicate of this bug. ***
*** Bug 166734 has been marked as a duplicate of this bug. ***
*** Bug 166988 has been marked as a duplicate of this bug. ***
The crash is "fixed" in CVS now. We just ignore non-utf8 filenames for now. I've opened a new bug to state that we don't handle invalid UTF-8 in filenames. This bug is now a duplicate of that. *** This bug has been marked as a duplicate of 168604 ***
*** Bug 168710 has been marked as a duplicate of this bug. ***
*** Bug 169526 has been marked as a duplicate of this bug. ***
*** Bug 169940 has been marked as a duplicate of this bug. ***
*** Bug 169931 has been marked as a duplicate of this bug. ***
*** Bug 170023 has been marked as a duplicate of this bug. ***
*** Bug 170044 has been marked as a duplicate of this bug. ***
*** Bug 171002 has been marked as a duplicate of this bug. ***
*** Bug 171209 has been marked as a duplicate of this bug. ***
*** Bug 171594 has been marked as a duplicate of this bug. ***
*** Bug 172710 has been marked as a duplicate of this bug. ***
*** Bug 172751 has been marked as a duplicate of this bug. ***
*** Bug 172776 has been marked as a duplicate of this bug. ***
*** Bug 300211 has been marked as a duplicate of this bug. ***
*** Bug 300390 has been marked as a duplicate of this bug. ***
*** Bug 301147 has been marked as a duplicate of this bug. ***
*** Bug 301276 has been marked as a duplicate of this bug. ***
*** Bug 304835 has been marked as a duplicate of this bug. ***
*** Bug 306012 has been marked as a duplicate of this bug. ***
*** Bug 308318 has been marked as a duplicate of this bug. ***