gnome-appearance-properties crashed with SIGSEGV in meta_theme_get_frame_style()

Bug #199402 reported by jask
228
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
metacity (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gnome-control-center

1. Install a new video card, an eVGA (nVidia) 8600 GT.
2. Change from the VESA to nvidia driver.
3. Reboot.
4. Set Gnome Visual Effects from "None" to "Normal".

ProblemType: Crash
Architecture: i386
Date: Fri Mar 7 00:28:46 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gnome-appearance-properties
NonfreeKernelModules: nvidia
Package: gnome-control-center 1:2.21.92-0ubuntu2
PackageArchitecture: i386
ProcCmdline: gnome-appearance-properties
ProcEnviron:
 PATH=/home/username/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/games:/usr/local/games:
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
Signal: 11
SourcePackage: gnome-control-center
StacktraceTop:
 ?? () from /usr/lib/libmetacity-private.so.0
 ?? ()
 ?? () from /lib/ld-linux.so.2
 ?? () from /usr/lib/libgdk_pixbuf-2.0.so.0
 meta_theme_get_frame_style ()
Title: gnome-appearance-properties crashed with SIGSEGV in meta_theme_get_frame_style()
Uname: Linux 2.6.24-11-generic i686
UserGroups: admin lpadmin

Tags: apport-crash

Related branches

Revision history for this message
jask (jaskiern) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:meta_preview_get_clip_region (preview=0x811d050,
create_meta_theme_pixbuf (
message_from_capplet (source=0x80b5c78, condition=G_IO_IN,
g_io_unix_dispatch (source=0x80b5cc0,
IA__g_main_context_dispatch (context=0x80b4fe0)

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in gnome-control-center:
importance: Undecided → Medium
Revision history for this message
Scott Beamer (angrykeyboarder) wrote :

In my caee the crash occurred after I had added a bunch of new themes (manually untarred into ~/.themes). I then opened gnome-appearance-properties, scrolled through some themes and it crashed.

Revision history for this message
judah_smith (judah-smith) wrote : Re: [Bug 199402] Re: gnome-appearance-properties crashed with SIGSEGV in meta_theme_get_frame_style()

Yeah that's exactly what happened to me too. I feel your pain! :)
On Sun, 2008-03-23 at 08:07 +0000, angrykeyboarder wrote:
> In my caee the crash occurred after I had added a bunch of new themes
> (manually untarred into ~/.themes). I then opened gnome-appearance-
> properties, scrolled through some themes and it crashed.
>

Revision history for this message
Scott Beamer (angrykeyboarder) wrote :

And it did it again. I hope this is fixed before Hardy's final release...

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

I'm not positive this is a kernel related bug. Can someone please attach your dmesg output after you experience a crash? Thanks.

Changed in linux:
status: New → Incomplete
Revision history for this message
Pedro Melero Gonzalez (petterware) wrote :

Here you are, Leann Ogasawara:

[ 2519.955660] gnome-appearanc[29647]: segfault at 00000044 eip b7c4073f esp bfcaca60 error 4

Revision history for this message
Marnanel Thurman (marnanel) wrote :

Looks like a Metacity problem to me, not a kernel problem.

Revision history for this message
Sebastien Bacher (seb128) wrote :

confirming since there is several duplicates

Changed in metacity:
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

bug #204882 has interested comments saying that "<title color="shade/"#FFFFFF"/0.35" x="(width - title_width) / 2" y="(height - title_height) / 2"/>" in a theme triggers the crash

Revision history for this message
Marnanel Thurman (marnanel) wrote :

I am attempting to reproduce the problem. I haven't looked at the stack traces yet.

Bug #204882 is interesting because the two pieces of theme code given (it would have been useful to have an entire theme attached for problems involving theme formats!) are both clearly broken: one contains unquoted text in an XML attribute, and the other contains a seven-digit hex triple. Presumably, then, our problem is something to do with dealing with invalid themes. However, introducing these to a Metacity theme at my end produces an error but no crash, which is correct behaviour.

If someone could attach a theme which causes a crash, other than the ones given in #204882, I would be grateful. Meanwhile I'll start reading the stack traces.

Revision history for this message
Marnanel Thurman (marnanel) wrote :

Wait, no need. The stack traces have shed abundant light on the matter.

Revision history for this message
Marnanel Thurman (marnanel) wrote :

I believe I've found the problem, though since I can't reproduce the crash I can't say for sure. There is a pretty glaring bug in the exact place the stack trace shows, though. Can anyone confirm?

Revision history for this message
Marnanel Thurman (marnanel) wrote :

(Please excuse me if I have messed this up: yesterday was the first day I tried doing this in Ubuntu.)

Revision history for this message
Daniel Holbach (dholbach) wrote :

Sébastien: are you going to take care of this?

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks a lot Thomas for the patch! A new metacity with the fix is uploaded.

Revision history for this message
Michael Vogt (mvo) wrote :

I'm closing the kernel task, its very unlikely that its releated to the kernel.

Changed in linux:
status: Incomplete → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package metacity - 1:2.22.0-0ubuntu2

---------------
metacity (1:2.22.0-0ubuntu2) hardy; urgency=low

  * debian/patches/010_fix_get_frame_style.patch:
    - fix crash in meta_theme_get_frame_style(), thanks
      to Thomas Thurman (LP: #199402)

 -- Michael Vogt <email address hidden> Wed, 02 Apr 2008 10:58:27 +0200

Changed in metacity:
status: Confirmed → Fix Released
Revision history for this message
Nikola Yanev (gericom) wrote :

I've got absolutely the same error in the few-fix-release metacity (1:2.22.0-0ubuntu2) hardy
I am attaching a screenshot of 1 annoying error where in customize window no thumbnails are showing, but only of the wallpapers and the cursors, no one of the themes, controls, windows borders and the icon themes thumbnails are visible. it is not something to-die-for, but please understan me that it is so annoying ;) let it be fixed soon, coz i have it 1 and a half month allready :)

Changed in metacity:
status: Fix Released → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

HATRED, this is not the same bug you're reporting, please open a new one if there's anything reported yet, thanks.

Changed in metacity:
status: New → Fix Released
Nikola Yanev (gericom)
Changed in metacity:
status: Fix Released → Incomplete
Changed in metacity:
status: Incomplete → Fix Released
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.