when i have a dvd+r disc in the drive and want to mount it in thunar, i get this error: Failed to mount "sr0". Unknown error. so i opened a terminal and tried $ exo-mount -d /dev/sr0 which resulsts in a segmentation fault. same for exo-eject. however with a dvd-r it works fine. i tried several +r discs. when i use pmount, i can mount the +r discs.
Post a backtrace of exo-mount.
i tried to get one, but when i run gdb exec exo-mount -d /dev/sr0 r then i don't get a bt but: exo-mount: Must specify HAL device UDI or device file. Program exited with code 01.
% gdb /path/to/exo-mount (gdb) set args -d /dev/sr0 (gdb) r
when i just run gdb exo-mount set args -d /dev/sr0 r then i get this bt: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1219242304 (LWP 8233)] 0xb7f227a7 in libhal_drive_get_type () from /usr/lib/libhal-storage.so.1 (gdb) bt #0 0xb7f227a7 in libhal_drive_get_type () from /usr/lib/libhal-storage.so.1 #1 0x0804ab0d in ?? () but i don't think that's very usefull. i tried running libexo/exo-mount/exo-mount, but that's a shell script, so i can't use it in gdb. any hints where i can find the correct binary to use?
The real binary is in your $bindir. ;-) Make sure to --enable-debug=full. Also try running exo-mount with unlimit -c unlimited and try examining the core instead.
i was asking about the "real" binary, because i sometimes had to run the executable before it was installed, when i tested xarchiver. however, i just rebuilt exo with --enable-debug=full and got the new version 24292 you just uploaded, and i can mount the +r discs fine with that version. :)
The crash is still there, was able to reproduce that with a blank CD-R disc, just moved to a new location.
Fixed with revision 24299. 2007-01-07 Benedikt Meurer <benny@xfce.org> * exo-mount/exo-mount-hal.c: Fix crash with certain types of discs. Bug #2723.