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

Bug #724874 reported by David Barth
950
This bug affects 166 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Critical
Sam Spilsbury
compiz (Ubuntu)
Fix Released
Critical
Sam Spilsbury
Natty
Fix Released
Critical
Sam Spilsbury
unity (Ubuntu)
Fix Released
Critical
Sam Spilsbury
Natty
Fix Released
Critical
Sam Spilsbury

Bug Description

Binary package hint: compiz

Not sure how to reproduce, but the stack trace may indicate in which circumstances it crashed.

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: Fri Feb 25 10:46:56 2011
ExecutablePath: /usr/bin/unity-window-decorator
ProcCmdline: /usr/bin/unity-window-decorator
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x805bbfe: mov 0x224(%eax),%eax
 PC (0x0805bbfe) ok
 source "0x224(%eax)" (0x00000224) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: compiz
StacktraceTop:
 ?? ()
 g_cclosure_marshal_VOID__OBJECT (closure=0x8ff2530, return_value=0x0, n_param_values=2, param_values=0x90bf790, invocation_hint=0xbfc4d7f0, marshal_data=0x0) at /build/buildd/glib2.0-2.28.1/./gobject/gmarshal.c:638
 g_closure_invoke (closure=0x8ff2530, return_value=0x0, n_param_values=2, param_values=0x90bf790, invocation_hint=0xbfc4d7f0) at /build/buildd/glib2.0-2.28.1/./gobject/gclosure.c:767
 signal_emit_unlocked_R (node=0x90228d8, detail=0, instance=0x9023c10, emission_return=0x0, instance_and_params=0x90bf790) at /build/buildd/glib2.0-2.28.1/./gobject/gsignal.c:3252
 g_signal_emit_valist (instance=0x9023c10, signal_id=150, detail=0, var_args=0xbfc4d9b0 "\364_u") at /build/buildd/glib2.0-2.28.1/./gobject/gsignal.c:2983
Title: unity-window-decorator crashed with SIGSEGV in g_cclosure_marshal_VOID__OBJECT()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
David Barth (dbarth) wrote :
visibility: private → public
tags: added: compiz-0.9
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 window_closed (screen=0x9023c10, win=0x915e800) at /build/buildd/compiz-0.9.4/unity/unity_window_decorator/src/wnck.c:722
 g_cclosure_marshal_VOID__OBJECT (closure=0x8ff2530, return_value=0x0, n_param_values=2, param_values=0x90bf790, invocation_hint=0xbfc4d7f0, marshal_data=0x0) at /build/buildd/glib2.0-2.28.1/./gobject/gmarshal.c:638
 g_closure_invoke (closure=0x8ff2530, return_value=0x0, n_param_values=2, param_values=0x90bf790, invocation_hint=0xbfc4d7f0) at /build/buildd/glib2.0-2.28.1/./gobject/gclosure.c:767
 signal_emit_unlocked_R (node=0x90228d8, detail=0, instance=0x9023c10, emission_return=0x0, instance_and_params=0x90bf790) at /build/buildd/glib2.0-2.28.1/./gobject/gsignal.c:3252
 g_signal_emit_valist (instance=0x9023c10, signal_id=150, detail=0, var_args=0xbfc4d9b0 "\364_u") at /build/buildd/glib2.0-2.28.1/./gobject/gsignal.c:2983

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
Revision history for this message
Namlee85 (namlee85) wrote :

Well i was working with thunderbird and want to close it suddenly the X close icon disappeared and i got option to restart or report bug and here i am reporting it :)

Revision history for this message
Ryan Kitty (gothickitty93) wrote :

this happened to me when I was trying to get Totem to close. It was not responding, and I clicked force quit and the window decorator crashed

Revision history for this message
zeruke (oninekoze) wrote :

this has been happening a while for me and its usually very random and usually i just get into terminal and put compiz --replace to fix it

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

Over the weekend this has been happening fairly reliably within the first ~10 minutes of usage; (just attach gdb after you login and leave it running):

  Thread 1 (Thread 0xb76eb880 (LWP 2697)):
#0 0x0805bbfe in ?? ()
#1 0x008c5088 in g_cclosure_marshal_VOID__OBJECT () from /usr/lib/libgobject-2.0.so.0
#2 0x008a8352 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#3 0x008bb048 in ?? () from /usr/lib/libgobject-2.0.so.0
#4 0x008c3b29 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#5 0x008c3cc2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#6 0x00c075ca in ?? () from /usr/lib/libwnck-1.so.22
#7 0x00c07c78 in ?? () from /usr/lib/libwnck-1.so.22
#8 0x003ff451 in ?? () from /lib/libglib-2.0.so.0
#9 0x00403c08 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#10 0x004043d0 in ?? () from /lib/libglib-2.0.so.0
#11 0x00404a93 in g_main_loop_run () from /lib/libglib-2.0.so.0
#12 0x00d5ca49 in IA__gtk_main () at /build/buildd/gtk+2.0-2.24.1/gtk/gtkmain.c:1255
#13 0x0804f580 in main ()

Running strings on the resulting gcore (yes, a bit basic, but I walked up and down the stack with "print *(char **)($esp-N)" manually), it might be:

  window-decorator:2697): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed

since I found some of these component strings in the history of the stack (or it could be completely the wrong thing).

Revision history for this message
Bernhard Schmidt (berni) wrote :

I have a very similar (maybe same) problem. My backtrace looks slightly different

(unity-window-decorator:9108): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed

Program received signal SIGSEGV, Segmentation fault.
0x0000000000415bab in ?? ()
(gdb) bt
#0 0x0000000000415bab in ?? ()
#1 0x0000003f2840e7fc in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#2 0x0000003f28420019 in ?? () from /usr/lib/libgobject-2.0.so.0
#3 0x0000003f28429258 in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#4 0x0000003f2842941f in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#5 0x0000003f33c16d44 in ?? () from /usr/lib/libwnck-1.so.22
#6 0x0000003f33c173d4 in ?? () from /usr/lib/libwnck-1.so.22
#7 0x0000003f27042c2d in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#8 0x0000003f27043418 in ?? () from /lib/libglib-2.0.so.0
#9 0x0000003f27043a5a in g_main_loop_run () from /lib/libglib-2.0.so.0
#10 0x0000003f2ed35827 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00000000004097f2 in main ()
(gdb)

I can trigger it reliably sending a mail from thunderbird. When the submission window (with the progress bar) closes unity-window-decorator crashes in 10 out of 10 cases.

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

one crasher due to transient dialogs has a fix on bug #726063

Revision history for this message
Philipp Wendler (philw85) wrote :

Compiz crashes routinely on my machine, with this and similar messages. Sometimes it works for an hour, sometimes it crashes again after two minutes. It does not seem to be related to specific user actions. However, if I never experienced a crash during long times of no user input (e.g. while watching a movie in fullscreen).

Revision history for this message
Philipp Wendler (philw85) wrote :

A reliable trigger seems to be sending an email from Thunderbird. The moment the "Compose Email" window and the progress bar window are closed after sending the email is finished, compiz crashes.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

I can trigger this by changing my resolution (nvidia) from one screen @ 1024x768 to two screens at 1366x768.

Revision history for this message
Andy Whitcroft (apw) wrote :

Pretty sure my duplicate was triggered by clicking the 'x' on a window which was not responding and then saying "Yes" when asked if I would like to force kill the window.

Revision history for this message
Mauricio Pretto (pretto) wrote :

Every time that unity decoration crashes I I just re rerun from a terminal and always get the following output when it crashes again

----

unity-window-decorator &
[4] 5063
[3] Segmentation fault (core dumped) unity-window-decorator
mauricio@koontz:~$ extents are 1 1 27 1 129
extents are 1 1 27 1 129

(unity-window-decorator:5063): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GObject'

(unity-window-decorator:5063): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed
unity-window-decorator &

--------

it happens to me so many times during the day that I cant explain how annoying it is :)

Changed in unity:
status: New → In Progress
Changed in unity (Ubuntu):
status: New → In Progress
Changed in compiz (Ubuntu):
assignee: nobody → Sam "SmSpillaz" Spilsbury (smspillaz)
status: New → In Progress
Changed in unity (Ubuntu):
importance: Undecided → Critical
Changed in compiz (Ubuntu):
milestone: none → ubuntu-11.04-beta-1
Changed in unity (Ubuntu):
assignee: nobody → Sam "SmSpillaz" Spilsbury (smspillaz)
Changed in compiz (Ubuntu):
importance: Medium → Critical
Changed in unity (Ubuntu):
milestone: none → ubuntu-11.04-beta-1
Changed in unity:
milestone: none → 3.6.2
tags: added: bugpattern-needed
David Barth (dbarth)
tags: added: unity
Changed in unity:
importance: Undecided → Critical
Changed in unity (Ubuntu Natty):
status: In Progress → Fix Committed
Changed in compiz (Ubuntu Natty):
status: In Progress → Fix Committed
Changed in unity:
assignee: nobody → Sam "SmSpillaz" Spilsbury (smspillaz)
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * Fix crashes in unity-window-decorator
    (LP: #724874, #728563, #728383)
  * Fix grid plugin not working with snap (LP: #716313)
 -- Didier Roche <email address hidden> Mon, 07 Mar 2011 16:31:04 +0100

Changed in compiz (Ubuntu Natty):
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Mauricio Pretto (pretto) wrote :

fixed , confirmed for me :)

Thanks!

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

This bug was fixed in the package unity - 3.6.2-0ubuntu1

---------------
unity (3.6.2-0ubuntu1) natty; urgency=low

  * New upstream release:
    - unity-window-decorator crashed with SIGSEGV in
      g_cclosure_marshal_VOID__OBJECT() (LP: #724874)
    - blinking screen at searching "gn" (LP: #674022)
    - Top panel isn't multimonitor aware (LP: #675862)
    - Leaving fullscreen causes the launcher to rapidly appear and then
      disappear (LP: #718054)
    - migrate_favorites.py crashed with GError in __main__: Bad key or
      directory name: "/desktop/unity/launcher/favorites/app-Watch TV
      Shows.desktop/type": ` ' is an invalid character in key/directory names
      (LP: #722403)
    - does not display icons until hovered (LP: #726033)
    - Unintuative Application Matching (LP: #726711)
    - icons missing in the dash recent files and directory search returns
      (LP: #727824)
    - some result cache broke the dash search (LP: #728961)
    - Protect against conflicts with unity super keys (LP: #729166)
    - not installed apps sorting in global search (LP: #636996)
    - No 'safely remove' option is present in the unity menu when a usb disk
      is inserted (LP: #660010)
    - Dash - Implement new Dash design! (LP: #683762)
    - Expose or add missing nux functions for a11y support (LP: #701672)
    - Launcher - A single finger 'hold' on a Launcher app icon should open the
      quicklist (LP: #702486)
    - No "Search" default entry (LP: #710794)
    - Icon in Launcher should be home folder icon (LP: #721121)
    - Launcher bindings require Super to be held down to work (LP: #727580)
    - compiz crashed with SIGSEGV in nux::CairoGraphics::GetBitmap()
      (LP: #727636)
    - Unity "Lens" do not scroll to bottom (LP: #719616)
    - Double-click on panel to unmaximize only works in right half
      (LP: #725529)
    - clicking multiple time on the bfb makes the logo darker and darker
      (LP: #727146)
    - the launcher should go away if it has been open using the keyboard and
      the mouse is not moved while the cursor is on it (LP: #727746)
    - migrate_favorites.py crashed with OSError in makedirs(): [Errno 13]
      Permission denied: '/home/aquarius/.local/share/unity' (LP: #723656)
    - No feedback when unmounting busy device in Unity (LP: #730638)
 -- Didier Roche <email address hidden> Mon, 07 Mar 2011 19:10:27 +0100

Changed in unity (Ubuntu Natty):
status: Fix Committed → Fix Released
tags: added: dids-top-ten
Revision history for this message
Tommy_CZ (t-kijas) wrote :

Please reopen because I have 3.6.2 but it still happens in my ubuntu.

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Compiz] [Bug 724874] Re: unity-window-decorator crashed with SIGSEGV in g_cclosure_marshal_VOID__OBJECT()

On Wed, Mar 9, 2011 at 8:18 AM, Tommy_CZ <email address hidden> wrote:
> Please reopen because I have 3.6.2 but it still happens in my ubuntu.

Could you tell me how to reproduce it please?

>
> --
> You received this bug notification because you are a member of compiz
> packagers, which is subscribed to compiz in ubuntu.
> https://bugs.launchpad.net/bugs/724874
>
> Title:
>  unity-window-decorator crashed with SIGSEGV in
>  g_cclosure_marshal_VOID__OBJECT()
>
> _______________________________________________
> Mailing list: https://launchpad.net/~compiz
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~compiz
> More help   : https://help.launchpad.net/ListHelp
>

--
Sam Spilsbury

Revision history for this message
Mauricio Pretto (pretto) wrote :

I have a different unity decoration bug which is related to moving applications between workspaces but I think is already reported in another bug

Revision history for this message
Giovanni Mellini (merlos) wrote :

This bug still happens to me.
I have last compiz version installed

giovanni@shrimp:~$ dpkg-query -l unity
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Nome Versione Descrizione
+++-==============-==============-============================================
ii unity 3.6.2-0ubuntu1 Interface for Ubuntu Desktop Edition
giovanni@shrimp:~$

This happened when I launched banshee

Revision history for this message
Fabien Tassin (fta) wrote :

Still got it with 3.6.6-0ubuntu1.
I was using googleearth for a while, and when I closed it, unity-window-decorator died.

 #0 window_closed (screen=0x82a2010, win=0x83613f0) at /build/buildd/compiz-0.9.4/unity/unity_window_decorator/src/wnck.c:726
 #1 0x00a41088 in g_cclosure_marshal_VOID__OBJECT (closure=0x82a19a8, return_value=0x0, n_param_values=2, param_values=0x83fba00, invocation_hint=0xbfd6c2f0, marshal_data=0x0) at /build/buildd/glib2.0-2.28.3/./gobject/gmarshal.c:638
 #2 0x00a24372 in g_closure_invoke (closure=0x82a19a8, return_value=0x0, n_param_values=2, param_values=0x83fba00, invocation_hint=0xbfd6c2f0) at /build/buildd/glib2.0-2.28.3/./gobject/gclosure.c:767
 #3 0x00a37048 in signal_emit_unlocked_R (node=0x82a0e88, detail=0, instance=0x82a2010, emission_return=0x0, instance_and_params=0x83fba00) at /build/buildd/glib2.0-2.28.3/./gobject/gsignal.c:3252
 #4 0x00a3fb29 in g_signal_emit_valist (instance=0x82a2010, signal_id=150, detail=0, var_args=0xbfd6c4b0 "\364\237~") at /build/buildd/glib2.0-2.28.3/./gobject/gsignal.c:2983
 #5 0x00a3fcc2 in g_signal_emit (instance=0x82a2010, signal_id=150, detail=0) at /build/buildd/glib2.0-2.28.3/./gobject/gsignal.c:3040
 #6 0x00b185ca in emit_window_closed (screen=0x82a2010) at screen.c:2417
 #7 update_client_list (screen=0x82a2010) at screen.c:1771
 #8 do_update_now (screen=0x82a2010) at screen.c:2332
 #9 0x00b18c78 in update_idle (data=0x82a2010) at screen.c:2355
 #10 0x00dc6311 in g_idle_dispatch (source=0x82e0690, callback=0xb18c60 <update_idle>, user_data=0x82a2010) at /build/buildd/glib2.0-2.28.3/./glib/gmain.c:4545
 #11 0x00dcaaa8 in g_main_dispatch (context=0x8270868) at /build/buildd/glib2.0-2.28.3/./glib/gmain.c:2440
 #12 g_main_context_dispatch (context=0x8270868) at /build/buildd/glib2.0-2.28.3/./glib/gmain.c:3013
 #13 0x00dcb270 in g_main_context_iterate (context=0x8270868, block=14530592, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.3/./glib/gmain.c:3091
 #14 0x00dcb92b in g_main_loop_run (loop=0x8300a90) at /build/buildd/glib2.0-2.28.3/./glib/gmain.c:3299
 #15 0x00548b99 in IA__gtk_main () at /build/buildd/gtk+2.0-2.24.3/gtk/gtkmain.c:1255
 #16 0x0804f5c0 in main (argc=1, argv=0xbfd6c824) at /build/buildd/compiz-0.9.4/unity/unity_window_decorator/src/gtk-window-decorator.c:440

Revision history for this message
MAKAPOH (makapoh) wrote :

compiz 1:0.9.4git20110322-0ubuntu1
unity 3.6.6-0ubuntu3

similar problems...

Revision history for this message
David Barth (dbarth) wrote :

The bug still occurs for me as well, running the same latest version.

And it crashes more frequently when i use Thunderbird as well.

Revision history for this message
David Barth (dbarth) wrote :

Correction: it crashes /eveytime/ i open a 'New message" window in Thunderbird. Reproducibly.

Changed in unity:
status: Fix Released → Confirmed
David Barth (dbarth)
Changed in compiz (Ubuntu Natty):
status: Fix Released → Confirmed
Changed in unity (Ubuntu Natty):
status: Fix Released → Confirmed
Changed in unity:
milestone: 3.6.2 → 3.6.8
Revision history for this message
Loïc Molinari (loic.molinari) wrote :
Revision history for this message
David Barth (dbarth) wrote :

It seems to be fixed in 1:0.9.4git20110322-0ubuntu3 now

Revision history for this message
David Barth (dbarth) wrote :

Can other reporters test this update and confirm that the bug is fixed?

Changed in unity:
status: Confirmed → Triaged
Changed in compiz (Ubuntu Natty):
status: Confirmed → Fix Released
Changed in unity (Ubuntu Natty):
status: Confirmed → Fix Released
Changed in unity:
status: Triaged → Fix Released
Revision history for this message
Giovanni Mellini (merlos) wrote :

I updated my system since few hours (compiz 1:0.9.4git20110322-0ubuntu4) and I cannot reproduce this bug, so it seems fixed

Revision history for this message
Mathilda Young (gtrsdk) wrote :

I was able to reproduce this bug.

Revision history for this message
Oleg Grom (gromescu) wrote :

It crashes every time I close any wine application

Revision history for this message
Konstantin (dr.dtyger) wrote :

Crashed on system updated on 31-Mar-2011...

Trying to open video file downloaded in Deluge, from Deluge's file list panel.

Revision history for this message
zeruke (oninekoze) wrote :

happened to me 31-mar-2011 7:13PM central US time

occured after closing out alice(a program for learning programming basics for a school class)

i have unity 3.6.8-0ubuntu3 and compiz 1:0.9.4git20110322-0ubuntu5

Changed in unity:
status: Fix Released → In Progress
status: In Progress → Fix Released
Revision history for this message
Mirco Müller (macslow) wrote :

Here's my updated version I worked on for LP: #730681. But since that is a duplicate of this one here I decided to attach the updated distro-patch here.

Revision history for this message
jrstravino (jrstravino-gmail) wrote :

Occured after open DELUGE (BitTorrent client).
Crash on 2011-04-06

Revision history for this message
dmiranda (dmiranda) wrote :

The bug still happens with the lattest version of compiz, unity, etc when clicking on close of:
* chrome (rare)
 *wine applications (frequently).

Revision history for this message
fduppa (fduppa) wrote :

this bug happened to me when I close a java app.

Revision history for this message
Petr Nalevka (petr-nalevka) wrote :

Same for me with latest updates, crashes on Java dialogs.

Revision history for this message
Pobice (robert-pobice) wrote :

Having the same problem while using using. Documentation on how to repeat this is in bug #779537

Revision history for this message
Victoid (djvictoid) wrote :

This bug persists. It is repeatable by loading matlab 2011a through a terminal ("matlab &") and then exiting normally.

unity version 3.8.14-0ubuntu1~natty1

kern.log:Jun 15 14:19:06 xxxxx kernel: [49970.632826] unity-window-de[8556]: segfault at 318 ip 0000000000415d6f sp 00007fff3f02ae60 error 6 in unity-window-decorator[400000+1b000]
kern.log.1:Jun 11 04:08:29 xxxxx kernel: [22551.994385] unity-window-de[1643]: segfault at 318 ip 0000000000415d6f sp 00007fff98ece140 error 6 in unity-window-decorator[400000+1b000]
syslog:Jun 15 14:19:06 xxxxx kernel: [49970.632826] unity-window-de[8556]: segfault at 318 ip 0000000000415d6f sp 00007fff3f02ae60 error 6 in unity-window-decorator[400000+1b000]

To post a comment you must log in.