unity-window-decorator crashed with SIGSEGV in draw_decor_list()

Bug #726063 reported by Matthew East
248
This bug affects 31 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Undecided
Unassigned
compiz (Ubuntu)
Fix Released
Medium
Sam Spilsbury
unity (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: compiz

Apport informed me that compiz crashed. I wasn't running anything in particular at the time it happened - just running update-manager to get updates since yesterday. The installation is a daily installation of Natty (26.2.11) on a live USB stick. All the details should be in the bug report.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: compiz-gnome 1:0.9.4-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic i686
Architecture: i386
Date: Sun Feb 27 15:21:55 2011
ExecutablePath: /usr/bin/unity-window-decorator
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110226)
ProcCmdline: /usr/bin/unity-window-decorator
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: compiz
StacktraceTop:
 ?? ()
 ?? () from /lib/libglib-2.0.so.0
 g_main_context_dispatch () from /lib/libglib-2.0.so.0
 ?? () from /lib/libglib-2.0.so.0
 g_main_loop_run () from /lib/libglib-2.0.so.0
Title: unity-window-decorator crashed with SIGSEGV in g_main_context_dispatch()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Matthew East (mdke) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 draw_decor_list (data=0x0) at /build/buildd/compiz-0.9.4/unity/unity_window_decorator/src/decorator.c:686
 g_idle_dispatch (source=0x92af178, callback=0x805c120 <draw_decor_list>, user_data=0x0) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:4537
 g_main_dispatch (context=0x9109e20) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:2440
 g_main_context_dispatch (context=0x9109e20) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:3013
 g_main_context_iterate (context=0x9109e20, block=5032096, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:3091

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in compiz (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: unity-window-decorator crashed with SIGSEGV in g_main_context_dispatch()

Can I get some detailed steps to reproduce, that trace isn't useful

tags: added: compiz-0.9
Changed in compiz (Ubuntu):
assignee: nobody → Sam "SmSpillaz" Spilsbury (smspillaz)
summary: - unity-window-decorator crashed with SIGSEGV in g_main_context_dispatch()
+ unity-window-decorator crashed with SIGSEGV in draw_decor_list()
Revision history for this message
BertN45 (lammert-nijhof) wrote : Re: [Bug 726063] Re: unity-window-decorator crashed with SIGSEGV in g_main_context_dispatch()

Hi

Like I said:

I was synchronizing my music files using grsync and looking at photos
using shockwell when compiz closed unexpectedly.

I do not know which action caused the problem, but I was stepping
through some photos using the shockwell photo viewer. At the same time
grsync was updating my music library. It happens more often on my Dell
Inspiron 1521. I try to reproduce it.

Best regards

Bert

On Mon, 2011-02-28 at 11:55 +0000, Sam "SmSpillaz" Spilsbury wrote:
> Can I get some detailed steps to reproduce, that trace isn't useful
>

Revision history for this message
Gary M (garym) wrote :

Confirming from dup bug #725982, which also has compiz valgrind log.

Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul Sladen (sladen) wrote :

Got this this time:

Program received signal SIGSEGV, Segmentation fault.
window_closed (screen=0x9286810, win=0x93532a0) at /build/buildd/compiz-0.9.4/unity/unity_window_decorator/src/wnck.c:722
722 /build/buildd/compiz-0.9.4/unity/unity_window_decorator/src/wnck.c: No such file or directory.
 in /build/buildd/compiz-0.9.4/unity/unity_window_decorator/src/wnck.c

but stupidly typed 'cont' instead of 'bt'. Assuming it's the same crash, and not another one.

Revision history for this message
Paul Sladen (sladen) wrote :

(gdb) frame
#0 0x0805c145 in draw_decor_list (data=0x0)
    at /build/buildd/compiz-0.9.4/unity/unity_window_decorator/src/decorator.c:686
686 in /build/buildd/compiz-0.9.4/unity/unity_window_decorator/src/decorator.c

Null pointer. Great.

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

sam said the diff on http://paste.ubuntu.com/573543/ should fix it

Changed in compiz (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

one easy way to trigger the crash is to use update-manager, click on check updates and close the dialog

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.4-0ubuntu2

---------------
compiz (1:0.9.4-0ubuntu2) natty; urgency=low

  * Force libdecoration0 to have the same version than compiz-plugins
  * debian/patches/01_unity_window_decorator.patch
    - fix a crash in unity-window-decorator (LP: #726063, #725284, #726101)
  * Backport some patches from upstream to fix other crashes and bring
    support to the unity plugin (LP: #726702)
  * debian/compiz-core.install:
    png are now installed in /usr/share/compiz
  * add the future unity mt plugin by default
 -- Didier Roche <email address hidden> Mon, 28 Feb 2011 20:51:00 +0100

Changed in compiz (Ubuntu):
status: Fix Committed → Fix Released
Changed in unity (Ubuntu):
importance: Undecided → Low
status: New → Fix Released
Changed in unity:
status: New → Fix Released
tags: added: iso-testing
Revision history for this message
Daniel Swarbrick (pressureman) wrote :

Easy steps to reproduce: send an email from Thunderbird. Crashes unity-window-decorator every single time.

tags: added: bugpattern-needed
Revision history for this message
Matthew East (mdke) wrote :

On 28 February 2011 11:55, Sam "SmSpillaz" Spilsbury
<email address hidden> wrote:
> Can I get some detailed steps to reproduce, that trace isn't useful

Nope - it just happened in the middle of a normal desktop session
without any particular actions.

--
Matthew East
http://www.mdke.org
gnupg pub 1024D/0E6B06FF

Revision history for this message
Gama Franco (gama-franco) wrote :

# Ubuntu 64
# Run compiz
# Run thunderbird
# Send message with thunderbird
# Boom - compiz crashes :)

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.