gnome-appearance-properties crashed with SIGSEGV in strcmp() after changed icon-theme

Bug #150458 reported by B. Clausius
38
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-control-center
Fix Released
Critical
gnome-control-center (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-control-center

1. delete a theme
2. select another theme
3. select another iconset for the theme
4. crash
It dosn't crash, if no theme was deleted.
Sometimes I have to repeat step 3 to crash.
Sometimes Visual Effects are deactivated after the crash, but the crash occurs with and without Visual Effects activated.

ProblemType: Crash
Architecture: i386
Date: Mon Oct 8 07:49:49 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/gnome-appearance-properties
NonfreeKernelModules: nvidia
Package: gnome-control-center 1:2.20.0.1-0ubuntu4
PackageArchitecture: i386
ProcCmdline: gnome-appearance-properties
ProcCwd: /home/barcc
ProcEnviron:
 PATH=/home/barcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: gnome-control-center
StacktraceTop:
 strcmp () from /lib/tls/i686/cmov/libc.so.6
 ?? ()
 ?? ()
 ?? ()
 ?? ()
Title: gnome-appearance-properties crashed with SIGSEGV in strcmp()
Uname: Linux bluelinux 2.6.22-13-generic #1 SMP Thu Oct 4 17:18:44 GMT 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom disk floppy lpadmin netdev plugdev powerdev scanner video

Tags: apport-crash
Revision history for this message
B. Clausius (barcc) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:strcmp () from /lib/tls/i686/cmov/libc.so.6
theme_is_equal (a=0x8242fb8, b=0x85e4878) at appearance-themes.c:321
theme_details_changed_cb (data=0x828d460) at appearance-themes.c:681
IA__g_cclosure_marshal_VOID__PARAM (closure=0x8670c00, return_value=0x0, n_param_values=2,
IA__g_closure_invoke (closure=0x8670c00, return_value=0x0, n_param_values=2, param_values=0xbf91ef8c,

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Apport retracing service (apport) wrote : Stack trace with source code
Changed in gnome-control-center:
importance: Undecided → Medium
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http://bugzilla.gnome.org/show_bug.cgi?id=484797

Changed in gnome-control-center:
assignee: nobody → desktop-bugs
status: New → Triaged
Changed in gnome-control-center:
status: Unknown → New
Changed in gnome-control-center:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Question from upstream:

"Is the crash reproducible? I cannot reproduce it here. If it is, could you
provide some more info from gdb, please?

In particular, after the capplet crashed:

(gdb) up
(gdb) print *a
(gdb) print *b

would be interesting to know."

Revision history for this message
B. Clausius (barcc) wrote :

The crash is reproducible with the method described above.

Previous:
Package: gnome-control-center 1:2.20.0.1-0ubuntu4
Uname: Linux bluelinux 2.6.22-13-generic #1 SMP Thu Oct 4 17:18:44 GMT 2007 i686 GNU/Linux

Current:
gnome-control-center/gutsy uptodate 1:2.20.1-0ubuntu1
Linux System5 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

Output of gdb:
(Im not very familiar with gdb, and i don't know where to get missing debugging symbols)
--------------------------------------
barcc:~$ gdb gnome-appearance-properties
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/gnome-appearance-properties
(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 -1227258192 (LWP 11594)]

(gnome-appearance-properties:11597): Gtk-WARNING **: Theme directory of theme ICON-Crystal-SVG-1.1.0 has no size field

(gnome-appearance-properties:11597): Gtk-WARNING **: Theme directory of theme ICON-Crystal-SVG-1.1.0 has no size field

(gnome-appearance-properties:11594): Gtk-WARNING **: Theme directory of theme ICON-Crystal-SVG-1.1.0 has no size field

(gnome-appearance-properties:11597): Gtk-WARNING **: Theme directory of theme ICON-Crystal-SVG-1.1.0 has no size field

(gnome-appearance-properties:11597): Gtk-WARNING **: Theme directory 48x48/mimetypes of theme Snow-Apple has no size field

(gnome-appearance-properties:11597): Gtk-WARNING **: Theme directory of theme ICON-Crystal-SVG-1.1.0 has no size field

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1227258192 (LWP 11594)]
0xb740e02a in strcmp () from /lib/tls/i686/cmov/libc.so.6
(gdb) up
#1 0x0805c21e in ?? ()
(gdb) print *a
No symbol "a" in current context.
(gdb) print *b
No symbol "b" in current context.
(gdb)
---------------------------------------------------------------

Revision history for this message
B. Clausius (barcc) wrote :

I forgot to mention, that the error occurs not only when i change the icons but also the border and the look of the buttons (dont know the correct names at the tabs, in german it's 'Symbole','Fensterrahmen','Fensterinhalt', sry).

Revision history for this message
B. Clausius (barcc) wrote :

Sorry for the unnecessary comment.

Output of gdb:
-------------------------------------------
barcc:~/Downloads/deb/gnome-control-center-2.20.1$ gdb /usr/local/bin/gnome-appearance-properties
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /usr/local/bin/gnome-appearance-properties
[Thread debugging using libthread_db enabled]
[New Thread -1226410320 (LWP 11034)]

(gnome-appearance-properties:11037): Gtk-WARNING **: Theme directory of theme ICON-Crystal-SVG-1.1.0 has no size field

(gnome-appearance-properties:11037): Gtk-WARNING **: Theme directory 48x48/mimetypes of theme Snow-Apple has no size field

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226410320 (LWP 11034)]
0xb71dc02a in strcmp () from /lib/tls/i686/cmov/libc.so.6
(gdb) up
#1 0x080597be in theme_is_equal (a=0x823e758, b=0x8a3a840)
    at appearance-themes.c:340
340 strcmp (a->gtk_theme_name, b->gtk_theme_name))
(gdb) print *a
$1 = {path = 0x0, name = 0x0, priority = 0, readable_name = 0x0,
  comment = 0x0, icon_file = 0x0, gtk_theme_name = 0x87b97a0 "Redmond",
  gtk_color_scheme = 0x0, metacity_theme_name = 0x89f4fe0 "Bright",
  icon_theme_name = 0x87b7c60 "Human", sound_theme_name = 0x0,
  cursor_theme_name = 0x80c4338 "redglass", cursor_size = 48,
  application_font = 0x885b758 "Sans 10", desktop_font = 0x0,
  monospace_font = 0x0, background_image = 0x0}
(gdb) print *b
$2 = {path = 0x2d6b7467 <Address 0x2d6b7467 out of bounds>,
  name = 0x6c6c7566 <Address 0x6c6c7566 out of bounds>, priority = 1701995379,
  readable_name = 0x8006e65 <Address 0x8006e65 out of bounds>,
  comment = 0x8120358 "", icon_file = 0x19 <Address 0x19 out of bounds>,
  gtk_theme_name = 0x75636f64 <Address 0x75636f64 out of bounds>,
  gtk_color_scheme = 0x746e656d <Address 0x746e656d out of bounds>,
  metacity_theme_name = 0x7665722d <Address 0x7665722d out of bounds>,
  icon_theme_name = 0x747265 <Address 0x747265 out of bounds>,
  sound_theme_name = 0x8120410 "",
  cursor_theme_name = 0x19 <Address 0x19 out of bounds>,
  cursor_size = 1668248691,
  application_font = 0x72705f6b <Address 0x72705f6b out of bounds>,
  desktop_font = 0x2d746e69 <Address 0x2d746e69 out of bounds>,
  monospace_font = 0x75746573 <Address 0x75746573 out of bounds>,
  background_image = 0x70 <Address 0x70 out of bounds>}
(gdb)
-------------------------------------------

Changed in gnome-control-center:
status: Incomplete → Fix Released
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Fixed upstream, thanks.

Changed in gnome-control-center:
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug should be fixed in hardy now

Changed in gnome-control-center:
status: Fix Committed → Fix Released
Changed in gnome-control-center:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.