emerald crashed with SIGSEGV in gdk_gc_new_with_values()

Bug #139877 reported by Michael D. Stemle, Jr.
514
Affects Status Importance Assigned to Milestone
emerald
Fix Released
Unknown
emerald (Ubuntu)
Fix Released
High
Siegfried Gevatter

Bug Description

Binary package hint: emerald

Trying to install themes using the emerald theme manager program. The download indicator just hangs, and when I tried to close it, it crashed all of X. This only happens occasionally. Let me know if you need any more info.

ProblemType: Crash
Architecture: i386
Date: Sat Sep 15 22:50:28 2007
Disassembly: 0xff:
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/emerald
Package: emerald 0.3~git20070717-0ubuntu1
PackageArchitecture: i386
ProcCmdline: emerald --replace
ProcCwd: /home/manchicken
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/manchicken/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
Signal: 11
SourcePackage: emerald
StacktraceTop:
 ?? ()
 gdk_gc_new_with_values () from /usr/lib/libgdk-x11-2.0.so.0
 gdk_gc_new () from /usr/lib/libgdk-x11-2.0.so.0
 ?? ()
 ?? ()
Title: emerald crashed with SIGSEGV in gdk_gc_new_with_values()
Uname: Linux thepea 2.6.22-11-generic #1 SMP Fri Sep 7 05:07:05 GMT 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Related branches

Revision history for this message
Michael D. Stemle, Jr. (manchicken) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
IA__gdk_gc_new_with_values (drawable=0x8346d60, values=0x0, values_mask=0) at /build/buildd/gtk+2.0-2.11.6/gdk/gdkgc.c:118
IA__gdk_gc_new (drawable=0x8331a08) at /build/buildd/gtk+2.0-2.11.6/gdk/gdkgc.c:96
update_switcher_window (win=0x831daa0, selected=<value optimized out>) at main.c:3225
event_filter_func (gdkxevent=0xbfd3e538, event=0x839d330, data=0x0) at main.c:4496

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 emerald:
importance: Undecided → Medium
Revision history for this message
Kjell Braden (afflux) wrote :

This bug is still available in current hardy.

Changed in emerald:
status: New → Confirmed
Revision history for this message
Kjell Braden (afflux) wrote :

 This bug has been reported to the developers of the software. You can track it and make comments here: http://bugs.opencompositing.org/show_bug.cgi?id=502

Changed in emerald:
status: Confirmed → Triaged
Changed in emerald:
status: Unknown → Confirmed
Revision history for this message
Kjell Braden (afflux) wrote :

I marked this bug as high importance, as it has a severe impact on a small portion of Ubuntu users: quickly switching between windows breaks emerald very reliably.

Changed in emerald:
importance: Medium → High
Revision history for this message
Mahdi (mahdi-hates-spam) wrote :

I can confirm that (emerald crashing on window switching) on up-to-date hardy amd64.

Revision history for this message
Kjell Braden (afflux) wrote :

Should be fixed since 0.7.2

Changed in emerald:
status: Triaged → Fix Released
Revision history for this message
Jay (jaymac407) wrote :

Well, it's not.

Revision history for this message
.VooDoo//Jim (lightwhite) wrote : Re: [Bug 139877] Re: emerald crashed with SIGSEGV in gdk_gc_new_with_values()

how do you mean?

Jay wrote:
> Well, it's not.
>
>

Revision history for this message
Tomasz Sterna (smoku) wrote :

It's not fixed.

$ emerald --version
emerald: emerald version 0.7.2

$ dpkg -l emerald
ii emerald 0.7.2-0ubuntu1

It's just crashed during window switching.
If you change foreground window witch Alt-Tab and press Alt-Tab before the switcher wintows disappear, emerald ocassionally crases.
I'm writing this bugreport without window decorations because Emerald just crashed during Alt-Tab and apport brought me here.

Revision history for this message
Jack (jackhynes) wrote :

I just pressed Alt-Tab a few times to check whether I could still produce the error. Not surprisingly Emerald crashed! For some reason I can't Alt-F2 to enter 'emerald --replace' and so I have to use Compiz Switch to restart emerald and fusion. Definitely not fixed.

Revision history for this message
Tomasz Sterna (smoku) wrote :

It's Emerald that handles the Alt-F2 shortcut, so it does not work when there is no Emeral running.
I overcome this: open terminal, run emerald, press Alt-F2, switch to terminal and kill Emerald by pressing Ctrl-C, switch back to run dialog and run 'emerald --replace' :)

Revision history for this message
Kyle James (kvitale) wrote :

I agree that it has not been fixed. It only took 3 or 4 ALT-TAB in a row to cause it to crash. I keep a run shortcut on my main panel for when this happens because Alt-F2 does not work without emerald.

Revision history for this message
.VooDoo//Jim (lightwhite) wrote :

It still crashes while switching between windows very fast, but it is not relevant to this bug : Trying to install themes using the emerald theme manager program. The download indicator just hangs, and when I tried to close it, it crashed all of X. This only happens occasionally. Or am I missing a point?

Revision history for this message
Kjell Braden (afflux) wrote :

Setting back to triaged, I reported the problem upstream.

Changed in emerald:
status: Fix Released → Triaged
Revision history for this message
Scott Wegner (swegner) wrote :

I just encountered this issue with the latest Hardy Alpha 6. Using compiz effects with a customized emerald theme. I was using Alt-Tab switcher when I got the crash report and all of the title-bars went missing from my windows. Using 64-bit Ubuntu with Nvidia non-free video driver.

Revision history for this message
Test-tools (roland-verifysoft) wrote :

Well, it seams that a unref'd pixmap, so invalid, comes in use. This patch
 http://bugs.opencompositing.org/attachment.cgi?id=410
should be applied.

Revision history for this message
Test-tools (roland-verifysoft) wrote :

Hello,

should be fixed in git, otherwise re-open that bug

Roland "Test-tools" Bär

Changed in emerald:
status: Confirmed → Fix Released
Revision history for this message
Kjell Braden (afflux) wrote :
Changed in emerald:
assignee: nobody → rainct
status: Triaged → In Progress
Revision history for this message
Arun (arunmarjun) wrote :

I was switching between windows when this happened

Revision history for this message
Siegfried Gevatter (rainct) wrote :

Uploaded, thanks for your contribution!

Changed in emerald:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package emerald - 0.7.2-0ubuntu2

---------------
emerald (0.7.2-0ubuntu2) hardy; urgency=low

  * debian/patches/01_upstream_pixmap-crashes-window-switcher.patch: patch
    from upstream to workaround unrefd pixmap and extend pixmap sanity checks
    to honor ref_count (LP: #139877)

 -- Kjell Braden <email address hidden> Sat, 15 Mar 2008 12:06:21 +0100

Changed in emerald:
status: Fix Committed → 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.