On 30/10/13 18:51, Yves-Alexis Perez wrote: > What's crashing is gvfs-gphoto2-volume-monitor: > > Oct 30 16:36:53 scapa kernel: [130854.725634] traps: > gvfs-gphoto2-vo[6060] general protection ip:7f57f404a0d0 sp:7fff70f17cb8 > error:0 in libusb-1.0.so.0.1.0[7f57f4046000+16000] > > Error creating proxy: Error calling StartServiceByName for > org.gtk.Private.GPhoto2VolumeMonitor: > GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildSignaled: > Process /usr/lib/gvfs/gvfs-gphoto2-volume-monitor received signal 11 > (g-dbus-error-quark, 26)
If it crashes on startup, you can probably just run /usr/lib/gvfs/gvfs-gphoto2-volume-monitor from your GUI session (in an xterm or equivalent) without running into problems like "you already have an instance running, so the second one exits semi-gracefully". Failing that, the general, always-works version of debug info from a D-Bus session service is to either edit /usr/share/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service or put an edited copy in the corresponding location under /usr/local/share/dbus-1 or ~/.local/share/dbus-1, with the Exec line changed from Exec=/usr/lib/gvfs/gvfs-gphoto2-volume-monitor to point to a shell script like, for instance, this: #!/bin/sh exec > ~/gvfs-gphoto2-volume-monitor.log 2>&1 exec gdb -return-child-result -batch \ -ex -run -ex 'thread apply all bt full' -ex kill -ex quit \ /usr/lib/gvfs/gvfs-gphoto2-volume-monitor or maybe this: #!/bin/sh ulimit -c unlimited mkdir $HOME/crash cd $HOME/crash exec /usr/lib/gvfs/gvfs-gphoto2-volume-monitor and analyze the core dump later. (or if you have a non-default /proc/sys/kernel/core_pattern then I assume you already know how to get core dumps to work with it). Or move the binary to /usr/lib/gvfs/gvfs-gphoto2-volume-monitor.real or something, and put the shell script at /usr/lib/gvfs/gvfs-gphoto2-volume-monitor. Whichever you do, make a note of what you changed so you can go back to the packaged setup later. S -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org