Description of problem:
I've been trying to work out why gnome-volume-manager is so reluctant to
automount recently. Hence, I stopped the hald service and started it in verbose
mode from the command line (hald --verbose=yes --daemon=no).
Upon inserting an optical disc into the DVD drive, the following message is spat
out to the console:
process 3153: arguments to dbus_error_is_set() were incorrect, assertion "error
!= NULL" failed in file dbus-errors.c line 303.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Obviously, at which point this disappears from the process list:
3153 ? S 0:00 hald-addon-storage: polling /dev/hda
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Ensure optical drive is empty
2. Start hald --verbose=yes --daemon=no
3. Insert optical disk into drive
A dbus signal is sent and gnome-volume-manager prepares the media for usage.
Created attachment 145201 [details]
Fixes a call to dbus_error_is_set() in libhal.
Okay, I gave up trying to run gdb on hald in non-daemon mode, and for some
reason checked bugzilla.freedesktop.org (odd, that).
https://bugs.freedesktop.org/show_bug.cgi?id=9385 is the same bug as this.
https://bugs.freedesktop.org/attachment.cgi?id=8158 is a patch that fixes this
problem. Although it's not quite the same as the the patch that has been
applied to the hal source (see
at line 1460 for what has actually been applied).
For simplicity, I'm attaching a patch to this bug that fixes the problem.
Optical discs work again!
Oh, the patch I attached was the one that was actually committed to the hal source.
You'd probably know that, being as you committed it :)
(Sorry for the third comment in as many minutes)
This patch is in rawhide.