SIGSEGV in g_atomic_int_get

Bug #688803 reported by Hernando Torque
102
This bug affects 18 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Critical
Jason Smith
unity (Ubuntu)
Fix Released
Critical
Jason Smith

Bug Description

Binary package hint: unity

Got this when trying to unpin a launcher. Backtrace attached.

To reproduce:

* Copy /usr/share/applications/foo.desktop to ~/.local/share/applications (I used gcalctool)
* Start foo.desktop via the Ubuntu logo -> /usr/share/applications/
* Pin the running foo launcher and quit the application
=> the favorites now contain 'foo.desktop' (checked via gsettings get ...)
* Unpin the running foo launcher
=> Compiz crashes

The last messages I get on the console are:

** (<unknown>:12267): WARNING **: Unable to remove favorite '/usr/share/applications/gcalctool.desktop': Does not exist in favorites

(<unknown>:12267): GLib-CRITICAL **: g_variant_new_string: assertion `g_utf8_validate (string, -1, NULL)' failed

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.2.6-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-8.21-generic 2.6.37-rc4
Uname: Linux 2.6.37-8-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
CompizPlugins: No value set for `/apps/compiz/general/allscreens/options/active_plugins'
Date: Sat Dec 11 00:25:31 2010
Lsusb:
 Bus 002 Device 002: ID 046d:c048 Logitech, Inc.
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PciDisplay: 05:00.0 VGA compatible controller [0300]: nVidia Corporation NV43 [GeForce 6600 GT] [10de:0140] (rev a2) (prog-if 00 [VGA controller])
ProcEnviron:
 LANGUAGE=en_US.utf8
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.37-8-generic root=UUID=025c4231-b78a-48bf-93e9-d20c5b5ce8e3 ro crashkernel=384M-2G:64M,2G-:128M quiet splash bootchart=disable acpi_enforce_resources=lax vga=792
ProcVersionSignature_: Ubuntu 2.6.37-8.21-generic 2.6.37-rc4
RelatedPackageVersions:
 xserver-xorg 1:7.5+6ubuntu3b1
 libgl1-mesa-glx 7.9+repack-1ubuntu3
 libdrm2 2.4.22-2ubuntu1
 xserver-xorg-video-intel 2:2.13.901-2ubuntu1
 xserver-xorg-video-ati 1:6.13.2-1ubuntu2
SourcePackage: unity
dmi.bios.date: 03/29/2006
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: LP NF4 Series
dmi.board.vendor: DFI Corp,LTD
dmi.board.version: 1.0
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd03/29/2006:svn:pn:pvr:rvnDFICorp,LTD:rnLPNF4Series:rvr1.0:cvn:ct3:cvr:
system: distro = Ubuntu, architecture = i686, kernel = 2.6.37-8-generic

Revision history for this message
Hernando Torque (htorque) wrote :
Revision history for this message
Hernando Torque (htorque) wrote :

Before the crash (directly after pinning), the launcher starts /usr/share/applications/foo.desktop.

After the crash (or a Compiz restart) the launcher starts ~/.local/share/applications/foo.desktop instead (even though the favorites just show 'foo.desktop'). If that's the case I can unpin the launcher without a crash.

Also, pinning and unpinning ~/.local/share/applications/foo.desktop doesn't cause any issues.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Even if the backtrace is not complete (did you installed debug symbols for bamf and unity?), there are enough info to reproduce the crash. Thanks Hernando :)

Changed in unity (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in unity:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Hernando Torque (htorque) wrote :

As complete as I could get it.

Revision history for this message
Hernando Torque (htorque) wrote :

Still happening with unity 3.2.12-0ubuntu2.

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

Still happening with 3.4.4-0ubuntu2.

I can reproduce the issue systematically with the konversation launcher. The trace is similar to Hernando's.

Neil J. Patel (njpatel)
Changed in unity:
assignee: nobody → Alex Launi (alexlauni)
milestone: none → 3.6.8
Revision history for this message
Sebastien Bacher (seb128) wrote :

bug #737656 seems similar

Changed in unity:
milestone: 3.6.8 → 3.8
Changed in unity:
milestone: 3.8 → 3.8.2
Revision history for this message
David Barth (dbarth) wrote :

It doesn't crash for me anymore.

Changed in unity:
milestone: 3.8.2 → 3.8.4
Neil J. Patel (njpatel)
Changed in unity:
assignee: Alex Launi (alexlauni) → Jason Smith (jassmith)
importance: Medium → Critical
status: Triaged → Fix Committed
Neil J. Patel (njpatel)
Changed in unity (Ubuntu):
status: Triaged → Fix Committed
importance: Medium → Critical
assignee: nobody → Jason Smith (jassmith)
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.7 KiB)

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

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

  * New upstream release.
    - [fglrx] compiz crashed with SIGSEGV in nux::IOpenGLSurface::UnlockRect()
      (LP: #685682)
    - SIGSEGV in g_atomic_int_get (LP: #688803)
    - unity-panel-service crashed with SIGSEGV in bamf_factory_view_for_path()
      (LP: #717684)
    - New window tracking system breaks in the case where windows try to
      restack relative to destroyed windows that were never mapped
      (LP: #723014)
    - Numpad 'Enter' doesn't work on highlighted items in dash, places-files and
      places-apps (LP: #741615)
    - compiz crashed with SIGSEGV in free() (LP: #738864)
    - compiz crashed with SIGSEGV in g_closure_invoke() (LP: #741674)
    - compiz crashed with SIGSEGV in CompWindow::id() (LP: #742028)
    - Windows that reparent away from the root before they are mapped can
      cause other windows to become invisible (and compiz to crash)
      (LP: #743011)
    - compiz crashed with SIGABRT in raise() (LP: #743414)
    - compiz crashed with SIGSEGV in g_object_get_qdata() (LP: #742905)
    - compiz crashed with SIGSEGV in g_closure_invoke() (LP: #748033)
    - compiz crashed with SIGSEGV in CompScreen::dpy() (LP: #751372)
    - compiz crashed with SIGABRT in __kernel_vsyscall() (LP: #744867)
    - unity-window-decorator crashed with SIGSEGV in gdk_window_get_events()
      (LP: #725284)
    - Missing icons in app launcher (LP: #728393)
    - Multiple quick clicks on launcher icon with multiple windows completely
      crashes Unity (LP: #731790)
    - Add a test case for invisible windows regressions (LP: #736876)
    - Re-sync with xquerytree to avoid stacking order issues (LP: #740465)
    - Wrong window moves (LP: #741656)
    - compiz crashed with SIGSEGV in g_cclosure_marshal_VOID__VOID()
      (LP: #742280)
    - panel superposition (LP: #742859)
    - unity-window-decorator doesn't start on secondary X session
      (LP: #730495)
    - Unity Launcher stops autohiding and is not responsive (LP: #744325)
    - dash categories dropdown menu leaves "ghost" on desktop (LP: #746800)
    - new dialogs open close enough of the launcher to make hide (LP: #747302)
    - dnd from the application place to the launcher works only once
      (LP: #747316)
    - compiz crashed with SIGSEGV in CompWindow::id() while opening tcl/tk
      interface of R (LP: #747439)
    - minimize animates window fading to the top left corner (ubuntu symbol)
      (LP: #747765)
    - Spread - Clicking on a app icon to spread the windows must always show
      all the windows, regardless of whether or not some of the windows are
      minimised (LP: #750349)
    - Launcher - Show visual de-coupling of Launcher app icons (LP: #751196)
    - unity-window-decorator crashed with SIGSEGV in event_filter_func()
      (LP: #748317)
    - Pressing Super-W to switch windows also presents Dash (LP: #753453)
    - Don't create windows over the launcher (LP: #688816)
    - Unity Grid is broken for multi-monitor setups (LP: #709221)
    - F10 key does not move focus to indicators when on the desktop.
      (LP: #727548)
    - dynamic ...

Read more...

Changed in unity (Ubuntu):
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.