unity-panel-service crashed with SIGSEGV in g_closure_invoke()

Bug #749609 reported by KingCrunch
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
DBus Menu
Fix Released
Undecided
Unassigned
libdbusmenu (Ubuntu)
Fix Released
Medium
Michael Terry

Bug Description

Binary package hint: unity

$ lsb_release -rd
Description: Ubuntu Natty (development branch)
Release: 11.04

$ apt-cache policy unity
unity:
  Installiert: 3.8.2-0ubuntu1
  Kandidat: 3.8.2-0ubuntu1
  Versionstabelle:
 *** 3.8.2-0ubuntu1 0
        500 http://de.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: unity 3.8.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic i686
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
Date: Sun Apr 3 20:49:52 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/lib/unity/unity-panel-service
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
ProcCmdline: /usr/lib/unity/unity-panel-service
ProcEnviron:
 SHELL=/bin/bash
 LANGUAGE=de:en
 LANG=de_DE.UTF-8
SegvAnalysis:
 Segfault happened at: 0x4ffe16c: mov %eax,0x44(%esi)
 PC (0x04ffe16c) ok
 source "%eax" ok
 destination "0x44(%esi)" (0x00210824) in non-writable VMA region: 0x0020f000-0x00211000 r--p /usr/lib/i386-linux-gnu/libgio-2.0.so.0.2800.4
SegvReason: writing VMA /usr/lib/i386-linux-gnu/libgio-2.0.so.0.2800.4
Signal: 11
SourcePackage: unity
StacktraceTop:
 ?? () from /usr/lib/libdbusmenu-glib.so.3
 ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
 g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
 ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
 g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
Title: unity-panel-service crashed with SIGSEGV in g_closure_invoke()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

Revision history for this message
KingCrunch (sekrebs) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 menuproxy_prop_changed_cb (proxy=0x92c2378, properties=0xb6b91860, invalidated=0x932ea18, user_data=0x9192f60) at ../../libdbusmenu-glib/client.c:1174
 _gio_marshal_VOID__VARIANT_BOXED (closure=0x9343230, return_value=0x0, n_param_values=3, param_values=0x936be20, invocation_hint=0xbfb4da90, marshal_data=0x0) at /build/buildd/glib2.0-2.28.4/./gio/gio-marshal.c:737
 g_closure_invoke (closure=0x9343230, return_value=0x0, n_param_values=3, param_values=0x936be20, invocation_hint=0xbfb4da90) at /build/buildd/glib2.0-2.28.4/./gobject/gclosure.c:767
 signal_emit_unlocked_R (node=0x91293d8, detail=0, instance=0x92c2378, emission_return=0x0, instance_and_params=0x936be20) at /build/buildd/glib2.0-2.28.4/./gobject/gsignal.c:3252
 g_signal_emit_valist (instance=0x92c2378, signal_id=163, detail=0, var_args=0xbfb4dc54 "\004") at /build/buildd/glib2.0-2.28.4/./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 unity (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
affects: unity (Ubuntu) → libdbusmenu (Ubuntu)
Revision history for this message
Michael Terry (mterry) wrote :

This looks like the function is being called after the client object has been destroyed (priv->status returns garbage and we crash when trying to assign to it). I'm checking into how that might happen.

Michael Terry (mterry)
Changed in libdbusmenu (Ubuntu):
assignee: nobody → Michael Terry (mterry)
status: New → In Progress
Ted Gould (ted)
Changed in dbusmenu:
status: New → Fix Committed
milestone: none → 0.4.2
Changed in libdbusmenu (Ubuntu):
status: In Progress → Fix Committed
Ted Gould (ted)
Changed in dbusmenu:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libdbusmenu - 0.4.2-0ubuntu1

---------------
libdbusmenu (0.4.2-0ubuntu1) natty; urgency=low

  * New upstream release.
    * Fix GIR scan to not include duplicate namespaces (LP: #750575)
    * Keep refs to the client and makes sure to disconnect all handlers.
      (LP: #749609)
    * Add GTK side handlers for the open/close events to ensure GTK apps
      can use those events still (LP: #750588)
    * Create submenus for menuitems that don't have children but still
      have told us they need them with the child-display property.
      (LP: #619811)
 -- Ted Gould <email address hidden> Thu, 07 Apr 2011 10:32:51 -0500

Changed in libdbusmenu (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Achim (achimtrf-deactivatedaccount) wrote :

Easy to reproduce:
1) Install Gnome Commander
2) Run it and maximize it
3) Now in the menu (on the Panel) go with your mouse cursor to Bookmarks.
4) Nothing really appears now, wait a second (your hope, you will see something) - and: Crash.

Works every time i do it on my machine

Revision history for this message
Achim (achimtrf-deactivatedaccount) wrote :

Really fixed???

Revision history for this message
Michael Terry (mterry) wrote :

Achim, yours is a different bug. I just filed bug 758759 for it and am looking into it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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