gnome-settings-daemon crashed with SIGSEGV in g_unix_mount_get_mount_path()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-settings-daemon (Ubuntu) |
Fix Released
|
Medium
|
Chris Coulson | ||
Karmic |
Fix Released
|
Medium
|
Chris Coulson |
Bug Description
Binary package hint: gnome-settings-
Just after update to karmic.
Discovered a SMART error on System HD. System on LVM.
ProblemType: Crash
Architecture: amd64
Date: Wed Aug 26 19:30:38 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/lib/
LiveMediaBuild: Ubuntu 9.04 "Jaunty Jackalope" - Release amd64 (20090420.1)
Package: gnome-settings-
ProcCmdline: /usr/lib/
ProcEnviron:
LANG=fr_FR.UTF-8
SHELL=/bin/bash
ProcVersionSign
SegvAnalysis:
Segfault happened at: 0x7f8fff15e749 <g_unix_
PC (0x7f8fff15e749) ok
source "(%rdi)" (0xab00000132) not located in a known VMA region (needed readable region)!
destination "%rax" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: gnome-settings-
StacktraceTop:
g_unix_
?? ()
?? () from /usr/lib/
g_main_
?? () from /usr/lib/
Title: gnome-settings-
Uname: Linux 2.6.31-7-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
*** SRU stuff ***
The patch is located here: http://
[Impact of bug]
gnome-settings-
[Description of change]
The change makes a copy of the path string returned from g_unix_
Care is taken to make sure that the copy of the string is not leaked
This will mean that baobab will open to an empty mount path if the user presses "Examine" on a volume that was just unmounted. Ideally, the low-disk space warning dialog will just disappear if the volume is unmounted whilst the warning is on screen, but a patch to implement this would be much more intrusive (and is something I will pursue separately upstream, but would not really be suitable for a SRU). This patch just stops gnome-settings-
[Test case]
To test, you need to trigger the low-disk space warning on a mount that is listed in /etc/fstab, and can be unmounted without affecting the rest of the system. To artificially trigger the low disk-space warning, adjust the thresholds in /apps/gnome_
Test 2.28.1-0ubuntu1 and 2.28.1-0ubuntu2 in turn.
When the low disk-space warning for the particular mount is displayed on screen:
1) Unmount the volume
2) Press the "Examine" button.
With the old version, gnome-settings-
[Regression potential]
None - the code change is fairly minimal and self-contained.
Related branches
visibility: | private → public |
Changed in gnome-settings-daemon (Ubuntu): | |
assignee: | nobody → Chris Coulson (chrisccoulson) |
status: | Confirmed → In Progress |
description: | updated |
Changed in gnome-settings-daemon (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in gnome-settings-daemon (Ubuntu Karmic): | |
assignee: | nobody → Chris Coulson (chrisccoulson) |
importance: | Undecided → Medium |
status: | New → Fix Committed |
StacktraceTop: IA__g_unix_ mount_get_ mount_path (mount_ entry=0xab00000 132) all_mounts (data=<value optimized out>) context_ dispatch (context=0x658420) context_ iterate (context=0x658420,
ldsm_check_
g_timeout_dispatch (source=0x700b50, callback=0x2,
IA__g_main_
g_main_