gnome-disk-utility crashed with SIGSEGV in gdu_device_get_object_path()

Bug #916892 reported by Rigved Rakshit
114
This bug affects 24 people
Affects Status Importance Assigned to Milestone
Unity
Invalid
Undecided
Unassigned
Unity Distro Priority
Fix Committed
Undecided
Unassigned
gnome-disk-utility (Ubuntu)
In Progress
High
Martin Pitt
Precise
In Progress
High
Martin Pitt

Bug Description

Description: Ubuntu precise (development branch)
Release: 12.04

unity:
  Installed: 5.0.0-0ubuntu1
  Candidate: 5.0.0-0ubuntu1
  Version table:
 *** 5.0.0-0ubuntu1 0
        500 http://in.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

Expected Outcome: This crash should not have occurred.

Actual Outcome: This crash occurred when switching between workspaces.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: unity 5.0.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-8.15-generic 3.2.0
Uname: Linux 3.2.0-8-generic i686
ApportVersion: 1.90-0ubuntu2
Architecture: i386
Date: Mon Jan 16 00:15:12 2012
ExecutablePath: /usr/bin/compiz
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20111215)
ProcCmdline: compiz
SegvAnalysis:
 Segfault happened at: 0x89518f4 <gdu_device_get_object_path+4>: mov 0xc(%eax),%eax
 PC (0x089518f4) ok
 source "0xc(%eax)" (0x0000000c) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: unity
StacktraceTop:
 gdu_device_get_object_path () from /usr/lib/i386-linux-gnu/libgdu.so.0
 gdu_pool_new_for_address () from /usr/lib/i386-linux-gnu/libgdu.so.0
 gdu_pool_new () from /usr/lib/i386-linux-gnu/libgdu.so.0
 unity::launcher::DeviceLauncherIcon::DeviceLauncherIcon(unity::launcher::Launcher*, _GVolume*) () from /usr/lib/compiz/libunityshell.so
 unity::launcher::DeviceLauncherSection::OnVolumeAdded(_GVolumeMonitor*, _GVolume*, unity::launcher::DeviceLauncherSection*) () from /usr/lib/compiz/libunityshell.so
Title: compiz crashed with SIGSEGV in gdu_device_get_object_path()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Rigved Rakshit (rigved) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 gdu_device_get_object_path (device=0x0) at gdu-device.c:840
 gdu_pool_new_for_address (ssh_user_name=0x0, ssh_address=0x0, error=0xbfe1e45c) at gdu-pool.c:2109
 gdu_pool_new () at gdu-pool.c:1929
 get_device_for_device_file (device_file=<optimized out>) at /build/buildd/unity-5.0.0/plugins/unityshell/src/DeviceLauncherIcon.cpp:505
 unity::launcher::DeviceLauncherIcon::DeviceLauncherIcon (this=0xa961a08, launcher=0x0, volume=0xa8ce1b8) at /build/buildd/unity-5.0.0/plugins/unityshell/src/DeviceLauncherIcon.cpp:50

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
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: compiz crashed with SIGSEGV in gdu_device_get_object_path()

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
C de-Avillez (hggdh2)
visibility: private → public
Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
importance: Medium → Critical
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

reproduce at the end of a usb-creator run

tags: added: iso-testing qa-manual-testing rls-mgr-p-tracking
Changed in unity (Ubuntu Precise):
assignee: nobody → Canonical Desktop Experience Team (canonical-dx-team)
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

reproduced two times today
in different situations

njin@precious:~$ apt-cache policy unity
unity:
  Installato: 5.4.0-0ubuntu2
  Candidato: 5.4.0-0ubuntu2
  Tabella versione:
 *** 5.4.0-0ubuntu2 0
        500 http://archive.ubuntu.c
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Daniel Hahler (blueyed)
Changed in unity (Ubuntu Precise):
status: Confirmed → Triaged
tags: removed: i386
Changed in unity-distro-priority:
status: New → Fix Committed
Changed in unity:
milestone: none → 5.8.0
tags: added: rls-p-tracking
Revision history for this message
Tim Penhey (thumper) wrote :

gdu_pool_new() is the function that is crashing. This is called from unity but isn't part of unity.

I believe it to be part of gnome disk utility.

Changed in unity:
status: Confirmed → Invalid
Changed in unity (Ubuntu Precise):
status: Triaged → Invalid
Revision history for this message
C de-Avillez (hggdh2) wrote :

marking triaged/Critical, as it was before.

Changed in gnome-disk-utility (Ubuntu Precise):
importance: Undecided → Critical
status: New → Triaged
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

This looks like it belongs to the desktop team, please reassign as appropriate

Changed in gnome-disk-utility (Ubuntu Precise):
importance: Critical → High
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
summary: - compiz crashed with SIGSEGV in gdu_device_get_object_path()
+ gnome-disk-utility crashed with SIGSEGV in gdu_device_get_object_path()
Martin Pitt (pitti)
no longer affects: unity (Ubuntu)
no longer affects: unity (Ubuntu Precise)
Changed in gnome-disk-utility (Ubuntu Precise):
assignee: Canonical Desktop Team (canonical-desktop-team) → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

Reproducer:

sudo mkdir /tmp/d
while true; do sudo mount -o loop download/ubuntu/precise-desktop-amd64.iso /tmp/d; sudo umount /tmp/d; done

Martin Pitt (pitti)
Changed in gnome-disk-utility (Ubuntu Precise):
status: Triaged → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

This is a stripped-down version of what unity does:

gcc -o /tmp/gdu_pool_crash gdu_pool_crash.c -Wall -g -O0 `pkg-config --cflags --libs glib-2.0 gio-2.0 gdu` && gdb /tmp/gdu_pool_crash

then run

while true; do sudo mount -o loop download/ubuntu/precise-desktop-amd64.iso /tmp/d; sudo umount /tmp/d; done

this reproduces the crash eventually.

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.