! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
exo-mount segfaults with dvd+r
Status:
CLOSED: FIXED

Comments

Description Bj 2007-01-07 14:23:04 CET
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.
Comment 1 Benedikt Meurer editbugs 2007-01-07 20:46:17 CET
Post a backtrace of exo-mount.
Comment 2 Bj 2007-01-07 21:13:48 CET
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.
Comment 3 Benedikt Meurer editbugs 2007-01-07 21:17:42 CET
% gdb /path/to/exo-mount
(gdb) set args -d /dev/sr0
(gdb) r 
Comment 4 Bj 2007-01-07 21:27:41 CET
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?
Comment 5 Benedikt Meurer editbugs 2007-01-07 21:58:50 CET
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.
Comment 6 Bj 2007-01-07 22:13:58 CET
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. :)
Comment 7 Benedikt Meurer editbugs 2007-01-07 22:38:41 CET
The crash is still there, was able to reproduce that with a blank CD-R disc, just moved to a new location.
Comment 8 Benedikt Meurer editbugs 2007-01-07 22:42:48 CET
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.

Bug #2723

Reported by:
Bj
Reported on: 2007-01-07
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
0.3.1.9svn

Attachments

Additional information