After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 146645 - gnome-background-properties crashes
gnome-background-properties crashes
Status: RESOLVED DUPLICATE of bug 168604
Product: gnome-control-center
Classification: Core
Component: Background
2.6.x
Other other
: High critical
: ---
Assigned To: Rodney Dawes
Rodney Dawes
: 146651 146718 146832 146987 147011 148472 151641 151707 151820 152191 152520 153510 155517 155525 155831 156214 156355 156683 157307 157981 158378 158484 158660 158930 160133 161034 161462 163270 166128 166268 166598 166939 167910 167999 168036 168252 168588 168696 168770 170970 171263 172785 301007 301383 340525 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-06-16 12:51 UTC by inductancia
Modified: 2006-07-21 23:56 UTC
See Also:
GNOME target: 2.10.0
GNOME version: 2.5/2.6


Attachments
fix local encoded filename in background capplet and libbackground (9.55 KB, patch)
2004-09-02 17:42 UTC, Frederic Crozat
none Details | Review

Description inductancia 2004-07-09 08:13:26 UTC
Distribution: Debian testing/unstable
Package: control-center
Severity: normal
Version:  2.6.1
Synopsis: gnome-background-properties crashes
Bugzilla-Product: control-center
Bugzilla-Component: background
Bugzilla-Version: 2.6.1
BugBuddy-GnomeVersion: 2.0 (2.6.1.1)
Description:
Description of the crash:
Always you try to execute gnome-background-properties, it crashes


Steps to reproduce the crash:
1. Add some backgrounds
2. Delete some of them
3. Try to execute gnome-background-properties

Expected Results:
It crashes always you try to execute gnome-background-properties


How often does this happen?
Always

Additional Information:

Backtrace was generated from '/usr/bin/gnome-background-properties'

(no debugging symbols found)...Using host libthread_db library
"/lib/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)...(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)...[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 2657)]
[New Thread 32769 (LWP 2659)]
[New Thread 16386 (LWP 2660)]
[New Thread 32771 (LWP 2661)]
(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)...0x409e4c0b in waitpid () from
/lib/libpthread.so.0
  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 ??
    from /usr/lib/libgnomeui-2.so.0
  • #2 ??
  • #3 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #4 __pthread_sighandler
    from /lib/libpthread.so.0
  • #5 <signal handler called>
  • #6 gnome_wp_pixbuf_center
  • #7 gnome_wp_xml_load_list
  • #8 gnome_wp_main_quit
  • #9 _IO_stdin_used
  • #10 ??
  • #11 g_source_destroy
    from /usr/lib/libglib-2.0.so.0
  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 ??
    from /usr/lib/libgnomeui-2.so.0
  • #2 ??
  • #3 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #4 __pthread_sighandler
    from /lib/libpthread.so.0
  • #5 <signal handler called>
  • #6 gnome_wp_pixbuf_center
  • #7 gnome_wp_xml_load_list
  • #8 gnome_wp_main_quit
  • #9 _IO_stdin_used
  • #10 ??
  • #11 g_source_destroy
    from /usr/lib/libglib-2.0.so.0




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-07-09 04:13 -------


Unknown version 2.6.1 in product control-center. Setting version to "1.4.0".
Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "control-center".
   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 inductancia@yahoo.es.
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.

Comment 1 Elijah Newren 2004-07-09 21:34:21 UTC
*** Bug 147011 has been marked as a duplicate of this bug. ***
Comment 2 Elijah Newren 2004-07-09 21:34:28 UTC
*** Bug 146987 has been marked as a duplicate of this bug. ***
Comment 3 Elijah Newren 2004-07-09 21:34:36 UTC
*** Bug 146832 has been marked as a duplicate of this bug. ***
Comment 4 Elijah Newren 2004-07-09 21:34:47 UTC
*** Bug 146718 has been marked as a duplicate of this bug. ***
Comment 5 Elijah Newren 2004-07-09 21:34:55 UTC
*** Bug 146651 has been marked as a duplicate of this bug. ***
Comment 6 Elijah Newren 2004-07-09 21:35:56 UTC
Other than the duplicates already marked, this appears to be a unique stack
trace according to a query on the function name gnome_wp_pixbuf_center.
Comment 7 Thibault TAILLANDIER 2004-07-16 17:09:24 UTC
Hi,

I have the same problem under debian/testing, with the same version of
gnome-center. But my backtrace seems to be a bit different:


Backtrace was generated from '/usr/bin/gnome-background-properties'

(no debugging symbols found)...Using host libthread_db library
"/lib/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)...(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)...[Thread debugging using libthread_db enabled][New Thread 16384 (LWP 702)]
[New Thread 32769 (LWP 703)]
[New Thread 16386 (LWP 704)]
[New Thread 32771 (LWP 719)]
(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)...0x409dfc0b in waitpid () from /lib/libpthread.so.0
  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 ??
    from /usr/lib/libgnomeui-2.so.0
  • #2 ??
  • #3 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #4 __pthread_sighandler
    from /lib/libpthread.so.0
  • #5 <signal handler called>
  • #6 g_type_check_instance_cast
    from /usr/lib/libgobject-2.0.so.0
  • #7 gnome_wp_main_quit
  • #8 ??
  • #9 ??
  • #10 pthread_mutex_unlock
    from /lib/libpthread.so.0


I hope that will help you.
Thanks.

Comment 8 Rodney Dawes 2004-07-18 23:53:01 UTC
A backtrace from a build with debugging symbols and such would help me more,
since I am unable to reproduce this crash. And the last comment #7 is a
different crash.
Comment 9 Johan Ehnberg 2004-07-19 08:11:44 UTC
I was able to reproduce the exact cause of this bug, It's quite simple:

Try to load a backround named ö.jpg (that's o with two dots, scandinavian char.)
It's not UTF-8 on my machine but ISO-8859-1 or -15. If I rename the file to ö in
UTF-8 it works fine.

It seems that Gnome doesn't support my locale... nautilus always renames in
UTF-8, so this bug might be related to more than just gnome-background-properties.
Comment 10 freggy1 2004-07-20 20:11:15 UTC
I'm not quite sure if the crash in comment #9 is really the same as comment 
#1. I have it also crashing at startup, and I know that I renamed some files 
which were added to the gnome-background-properties dialog. 
 
All files were in the same directory, and at first sight, none of them have 
special characters in their file name (some have spaces though, but no 
accents). I moved the whole directory away, and still it is crashing. Would 
the crash of comment #9 still happen if the files are deleted or moved to 
another place, so gnome-background-properties cannot find them anymore? 
 
I'm also wondering if the number of images could be related. I had about 150 
in the dialog. 
Comment 11 Johan Ehnberg 2004-07-21 06:50:36 UTC
Same symptoms here, it crashes even if the file is (re)moved. With only one
(ö.jpg) background, I can cleanly close the app though. But when starting it up
it crashes again.

You can "reset" the backgrounds list by removing ~/.gnome2/backgrounds.xml.

The ö character appears as 'ö' in nautilus but as '\366' in the browser for
gnome-background-properties.

Oh, and when loading ö.jpg, it says 
"An error occurred while loading or saving configuration information for
gnome-background-properties. Some of your configuration settings may not work
properly."
Clicking details gives "Text contains invalid UTF-8". Should have noticed that
before, but when loading a whole dir full of images gnome-panel also crashes and
I am saturated by error messages.
Comment 12 Frederic Crozat 2004-09-02 17:42:29 UTC
Created attachment 31215 [details] [review]
fix local encoded filename in background capplet and libbackground

This patch (for gnome 2.6 branch but it might apply on HEAD) fixes the problem.


If applied, a new release of nautilus must also be done to get the fixes from
libbackground.
Comment 13 Vincent Noel 2004-09-03 14:26:09 UTC
*** Bug 151707 has been marked as a duplicate of this bug. ***
Comment 14 Vincent Noel 2004-09-03 14:26:45 UTC
*** Bug 151641 has been marked as a duplicate of this bug. ***
Comment 15 Rodney Dawes 2004-09-03 20:00:01 UTC
*** Bug 148472 has been marked as a duplicate of this bug. ***
Comment 16 Rodney Dawes 2004-09-04 22:30:16 UTC
*** Bug 151820 has been marked as a duplicate of this bug. ***
Comment 17 Vincent Noel 2004-09-14 15:18:13 UTC
*** Bug 152520 has been marked as a duplicate of this bug. ***
Comment 18 Rodney Dawes 2004-09-24 15:04:22 UTC
*** Bug 153510 has been marked as a duplicate of this bug. ***
Comment 19 Vincent Noel 2004-10-15 19:08:34 UTC
*** Bug 155525 has been marked as a duplicate of this bug. ***
Comment 20 freggy1 2004-10-18 08:23:42 UTC
Could the patch be commited to Gnome 2.8 cvs please?
Comment 21 Rodney Dawes 2004-10-18 12:29:23 UTC
No. The patch doesn't solve the problem, it only works around the initial
import. Since we must store the filename in UTF-8 in XML, this can't work,
because there is no method for determining the encoding that the filename is
actually in. It works for import, but the next time you run the capplet, the
wallpaper may not show up in the list any longer, since we couldn't find the
UTF-8 encoded version of the filename. There is no guarantee of what the actual
filename encoding might be.
Comment 22 Christian Neumair 2004-10-21 14:34:57 UTC
*** Bug 155831 has been marked as a duplicate of this bug. ***
Comment 23 Vincent Noel 2004-10-28 13:59:15 UTC
*** Bug 156683 has been marked as a duplicate of this bug. ***
Comment 24 Elijah Newren 2004-10-29 13:57:50 UTC
*** Bug 156214 has been marked as a duplicate of this bug. ***
Comment 25 Elijah Newren 2004-10-29 13:58:31 UTC
*** Bug 156355 has been marked as a duplicate of this bug. ***
Comment 26 Vincent Noel 2004-11-04 16:01:23 UTC
*** Bug 157307 has been marked as a duplicate of this bug. ***
Comment 27 Elijah Newren 2004-11-11 19:29:09 UTC
*** Bug 157981 has been marked as a duplicate of this bug. ***
Comment 28 Elijah Newren 2004-11-16 21:18:17 UTC
*** Bug 158484 has been marked as a duplicate of this bug. ***
Comment 29 Elijah Newren 2004-11-19 00:38:41 UTC
*** Bug 158660 has been marked as a duplicate of this bug. ***
Comment 30 Elijah Newren 2004-11-21 15:26:23 UTC
*** Bug 158930 has been marked as a duplicate of this bug. ***
Comment 31 Elijah Newren 2004-12-03 00:23:58 UTC
*** Bug 160133 has been marked as a duplicate of this bug. ***
Comment 32 Chris "Squeeb" Rigby 2004-12-03 03:39:37 UTC
Removed offending filenames from XML file manually. 
Seems to be a good temporary fix :).

Thanks for the help guys
Comment 33 Rodney Dawes 2004-12-11 04:48:31 UTC
*** Bug 155517 has been marked as a duplicate of this bug. ***
Comment 34 Elijah Newren 2004-12-11 17:57:30 UTC
*** Bug 161034 has been marked as a duplicate of this bug. ***
Comment 35 Elijah Newren 2004-12-16 16:15:12 UTC
*** Bug 161462 has been marked as a duplicate of this bug. ***
Comment 36 Elijah Newren 2005-01-07 20:59:05 UTC
*** Bug 163270 has been marked as a duplicate of this bug. ***
Comment 37 Sebastien Bacher 2005-01-07 21:02:00 UTC
*** Bug 163270 has been marked as a duplicate of this bug. ***
Comment 38 Elijah Newren 2005-01-17 03:36:56 UTC
*** Bug 158378 has been marked as a duplicate of this bug. ***
Comment 39 Luis Villa 2005-01-25 04:55:14 UTC
Is this the same as bug 146130?

[No reports in 2.8, but marking 2.10 showstopper to make sure it is looked at.]
Comment 40 Subodh Soni 2005-01-25 07:34:45 UTC
I tried with multiple desktop-backgrounds on the latest gnome build from CVS
HEAD but wasn't able to replicate the bug. The gnome control center version is 2.9.5
Comment 41 Elijah Newren 2005-02-03 05:18:47 UTC
*** Bug 166128 has been marked as a duplicate of this bug. ***
Comment 42 Kjartan Maraas 2005-02-03 22:55:56 UTC
Dobey, couldn't you use G_FILENAME_ENCODINGS and or always try both the locale
encoding and UTF-8? I think this is how nautilus treats filenames.
Comment 43 Rodney Dawes 2005-02-03 23:35:03 UTC
*** Bug 152191 has been marked as a duplicate of this bug. ***
Comment 44 Sebastien Bacher 2005-02-04 13:10:35 UTC
*** Bug 166268 has been marked as a duplicate of this bug. ***
Comment 45 Elijah Newren 2005-02-07 20:16:35 UTC
*** Bug 166598 has been marked as a duplicate of this bug. ***
Comment 46 Richard Hoelscher 2005-02-10 16:26:29 UTC
*** Bug 166939 has been marked as a duplicate of this bug. ***
Comment 47 Elijah Newren 2005-02-19 22:05:36 UTC
*** Bug 167910 has been marked as a duplicate of this bug. ***
Comment 48 Elijah Newren 2005-02-21 00:04:49 UTC
*** Bug 167999 has been marked as a duplicate of this bug. ***
Comment 49 Elijah Newren 2005-02-21 15:49:42 UTC
*** Bug 168036 has been marked as a duplicate of this bug. ***
Comment 50 Richard Hoelscher 2005-02-23 13:21:58 UTC
*** Bug 168252 has been marked as a duplicate of this bug. ***
Comment 51 Elijah Newren 2005-02-26 17:02:54 UTC
*** Bug 168588 has been marked as a duplicate of this bug. ***
Comment 52 Rodney Dawes 2005-02-26 19:01:48 UTC
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 ***
Comment 53 Elijah Newren 2005-02-27 22:24:40 UTC
*** Bug 168696 has been marked as a duplicate of this bug. ***
Comment 54 Elijah Newren 2005-02-28 16:58:39 UTC
*** Bug 168770 has been marked as a duplicate of this bug. ***
Comment 55 Elijah Newren 2005-03-20 16:11:53 UTC
*** Bug 170970 has been marked as a duplicate of this bug. ***
Comment 56 Elijah Newren 2005-03-22 21:11:14 UTC
*** Bug 171263 has been marked as a duplicate of this bug. ***
Comment 57 Elijah Newren 2005-04-06 15:05:12 UTC
*** Bug 172785 has been marked as a duplicate of this bug. ***
Comment 58 Elijah Newren 2005-04-18 16:06:24 UTC
*** Bug 301007 has been marked as a duplicate of this bug. ***
Comment 59 Elijah Newren 2005-04-21 15:19:15 UTC
*** Bug 301383 has been marked as a duplicate of this bug. ***
Comment 60 Karsten Bräckelmann 2006-07-21 23:56:30 UTC
*** Bug 340525 has been marked as a duplicate of this bug. ***