Ah, the previous test case wouldn't work because the devkit-disks tool
uses d-bus calls which do have a DBusGMethodInvocation context. However,
this crash is triggered by a daemon-internal call of ATA smart refresh
(through the 30 minute timer), which does not have a context. So it's
pretty clear what the problem is.

Reproducer: In src/devkit-disks-daemon.c, change
ATA_SMART_REFRESH_INTERVAL_SECONDS to "30" so that it will refresh every
30 seconds, then let the daemon run, and inhibit it with "sudo devkit-
disks --inhibit sleep 3600".

**** Refreshing ATA SMART data for 
/sys/devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0/block/sda
Segmentation fault

-- 
devkit-disks-daemon crashed with SIGSEGV in dbus_g_method_return_error()
https://bugs.launchpad.net/bugs/452208
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to