GNOME Bugzilla – Bug 318401
Can't play DVDs on a pmount setup
Last modified: 2006-03-09 14:46:42 UTC
Distribution/Version: Gentoo 2005.1 1 - Disable the automounting options in gnome preferences. 2 - Put a video DVD in the DVD drive (it is *not* automagically mounted since it was disable in the prefs). 3 - Open totem 1.2.0. 4 - In totem 1.2.0, in the file menu, click "play disc...". 5 - An error message is then displayed complaining about being unabled to find the mount point of /dev/hdc (my DVD drive). My /etc/fstab is pure HAL/DBUS, then it does not contains any entries for my DVD drive.
that's a totem issue, reassigning
This is due to src/plparse/totem-disc.c: cd_cache_get_dev_from_drives () "... mnt = gnome_vfs_drive_get_activation_uri (drive); if (mnt && strncmp (mnt, "file://", 7) == 0) { g_free (pdev2); *mountpoint = g_strdup (mnt + 7); g_free (mnt); gnome_vfs_drive_ref (drive); found = TRUE; break; } else if..." gnome_vfs_drive_get_activation_uri () returns the mount-path for non-hal gnomevfs, but NULL for an hal version (bug #312171), so the mountpoint is not set by the function
Could you please get the output of list_cddrives /dev/hdc on that machine?
Here is the output of "$ and #list_cddrives /dev/hdc" from the nautilus-cd-burner 2.12.1 package with an empty DVD drive (video DVD output and audio CD output below): -------------------------------------------------------------------------------- ** (process:23474): WARNING **: No HAL devices found for UDI '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' name: ASUS DVD-ROM E616 device: /dev/hdc max_speed_read: 48 door: closed type: CD Drive/DVD Drive media type: Couldn't open media Could not fully determine drive profile 0: Error reading disc information ** (process:23474): WARNING **: No HAL devices found for UDI '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' media size: Could not be determined CD-Recorder/SCSI devices only: max_speed_write: 0 id: /dev/hdc -------------------------------------------------------------------------------- I run hal-0.5.4, dbus-0.36.2 and when using the hal-device-manager 0.5.4 I have for my DVD drive the following lines: block.device string /dev/hdc ... info.udi string /org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616 ================================================================================ Here is the output of "$ and #list_cddrives /dev/hdc" from the nautilus-cd-burner 2.12.1 package with a video DVD inside the drive: -------------------------------------------------------------------------------- name: ASUS DVD-ROM E616 device: /dev/hdc max_speed_read: 48 door: closed type: CD Drive/DVD Drive media type: DVD (has-data) media size: 0.00 MiB CD-Recorder/SCSI devices only: max_speed_write: 0 id: /dev/hdc -------------------------------------------------------------------------------- ================================================================================ Here is the output of "$ and #list_cddrives /dev/hdc" from the nautilus-cd-burner 2.12.1 package with a audio CD inside the drive: -------------------------------------------------------------------------------- name: ASUS DVD-ROM E616 device: /dev/hdc max_speed_read: 48 door: closed type: CD Drive/DVD Drive media type: Commercial CD or Audio CD (has-audio) media size: 356.46 MiB approx. or 40 mins 34 secs CD-Recorder/SCSI devices only: max_speed_write: 0 id: /dev/hdc --------------------------------------------------------------------------------
Sorry, I got that all wrong (reminescence of maintaining nautilus-cd-burner). I would have needed the output of "disc-test /dev/hdc" which is in the Totem sources.
Bastien, any reason to ignore my comments on this? If that's not the issue just say it :)
"$disc-test /dev/hdc" output with en empty DVD drive: ---------------------------------------------------------------------------------- Error: Failed to find mountpoint for device /dev/hdc in /etc/fstab List of connected drives: /dev/hda1 /dev/hda2 /dev/hda3 /dev/hdd1 /dev/hdc List of mounted volumes: /dev/hdd1 sysfs usbfs proc shm devpts udev rootfs /dev/root -------------------------------------------------------------------------------- ================================================================================ "$disc-test /dev/hdc" with a video DVD(not mounted) in the drive: ---------------------------------------------------------------------------------- Error: Failed to find mountpoint for device /dev/hdc in /etc/fstab List of connected drives: /dev/hda1 /dev/hda2 /dev/hda3 /dev/hdd1 /dev/hdc List of mounted volumes: /dev/hdd1 sysfs usbfs proc shm devpts udev rootfs /dev/root -------------------------------------------------------------------------------- ================================================================================ "$disc_test /dev/hdc" with a mounted video DVD: -------------------------------------------------------------------------------- /dev/hdc contains a DVD -------------------------------------------------------------------------------- ================================================================================ "$disc_test /dev/hdc" with an audio CD(autodetected): -------------------------------------------------------------------------------- /dev/hdc contains a Audio CD --------------------------------------------------------------------------------
Sebastien, it might be the problem, but that doesn't give me a solution. The patch attached below might work, but I bet Totem won't be able to mount the DVD itself (try with disc_test again).
Created attachment 53396 [details] [review] totem-not-in-fstab.patch Don't require an activation URI to create a CdCache.
Tested the patch against Totem 1.2.0, still not working (got the same error).
Is nautilus able to mount the device by itself? What's the output of hal-device (you can remove everything but the section /dev/hdc if you want)?
Yes nautilus is able to mount the DVD/CD volume itself. "$hal-device" output for /dev/hdc with an empty drive: ---------------------------------------------------------------------------------- 9: udi = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' info.addons = { 'hald-addon-storage' } (string list) storage.policy.desired_mount_point = 'cdrom' (string) storage.policy.mount_filesystem = 'auto' (string) storage.policy.should_mount = true (bool) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) info.udi = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) storage.cdrom.write_speed = 0 (0x0) (int) storage.cdrom.read_speed = 8448 (0x2100) (int) storage.cdrom.support_media_changed = true (bool) storage.cdrom.dvdplusrdl = false (bool) storage.cdrom.dvdplusrw = false (bool) storage.cdrom.dvdplusr = false (bool) storage.cdrom.dvdram = false (bool) storage.cdrom.dvdrw = false (bool) storage.cdrom.dvdr = false (bool) storage.cdrom.dvd = true (bool) storage.cdrom.cdrw = false (bool) storage.cdrom.cdr = false (bool) storage.firmware_version = '2.0' (string) storage.requires_eject = true (bool) storage.hotpluggable = false (bool) info.capabilities = { 'storage', 'block', 'storage.cdrom' } (string list) info.category = 'storage' (string) info.product = 'ASUS DVD-ROM E616' (string) storage.removable = true (bool) storage.physical_device = '/org/freedesktop/Hal/devices/pci_1106_571_ide_1_0' (string) storage.drive_type = 'cdrom' (string) storage.vendor = '' (string) storage.model = 'ASUS DVD-ROM E616' (string) storage.automount_enabled_hint = true (bool) storage.media_check_enabled = true (bool) storage.no_partitions_hint = true (bool) storage.bus = 'ide' (string) block.is_volume = false (bool) block.minor = 0 (0x0) (int) block.major = 22 (0x16) (int) block.device = '/dev/hdc' (string) linux.hotplug_type = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/pci_1106_571_ide_1_0' (string) linux.sysfs_path_device = '/sys/block/hdc' (string) linux.sysfs_path = '/sys/block/hdc' (string) ------------------------------------------------------------------------------- =============================================================================== "$hal-device" with a video DVD(not mounted) in the drive: ------------------------------------------------------------------------------- 0: udi = '/org/freedesktop/Hal/devices/volume_label_BLADE_RUNNER_16X9LB_D4_SIDE_A' info.udi = '/org/freedesktop/Hal/devices/volume_label_BLADE_RUNNER_16X9LB_D4_SIDE_A' (string) info.product = 'BLADE_RUNNER_16X9LB_D4_SIDE_A' (string) volume.disc.is_svcd = false (bool) volume.disc.is_vcd = false (bool) volume.disc.is_videodvd = true (bool) volume.disc.is_rewritable = false (bool) volume.disc.is_appendable = false (bool) volume.disc.is_blank = false (bool) volume.disc.has_data = true (bool) volume.disc.has_audio = false (bool) volume.disc.type = 'dvd_rom' (string) volume.size = 4514578432 (0x10d170000) (uint64) volume.num_blocks = 8817536 (0x868b80) (int) volume.block_size = 2048 (0x800) (int) info.capabilities = { 'volume', 'block' } (string list) info.category = 'volume' (string) volume.is_partition = true (bool) volume.is_disc = true (bool) volume.is_mounted = false (bool) volume.mount_point = '' (string) volume.label = 'BLADE_RUNNER_16X9LB_D4_SIDE_A' (string) volume.uuid = '' (string) volume.fsversion = '' (string) volume.fsusage = 'filesystem' (string) volume.fstype = 'udf' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) block.is_volume = true (bool) block.minor = 0 (0x0) (int) block.major = 22 (0x16) (int) block.device = '/dev/hdc' (string) linux.hotplug_type = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) linux.sysfs_path_device = '/sys/block/hdc/fakevolume' (string) linux.sysfs_path = '/sys/block/hdc/fakevolume' (string) .... 10: udi = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' info.addons = { 'hald-addon-storage' } (string list) storage.policy.desired_mount_point = 'cdrom' (string) storage.policy.mount_filesystem = 'auto' (string) storage.policy.should_mount = true (bool) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) info.udi = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) storage.cdrom.write_speed = 0 (0x0) (int) storage.cdrom.read_speed = 8448 (0x2100) (int) storage.cdrom.support_media_changed = true (bool) storage.cdrom.dvdplusrdl = false (bool) storage.cdrom.dvdplusrw = false (bool) storage.cdrom.dvdplusr = false (bool) storage.cdrom.dvdram = false (bool) storage.cdrom.dvdrw = false (bool) storage.cdrom.dvdr = false (bool) storage.cdrom.dvd = true (bool) storage.cdrom.cdrw = false (bool) storage.cdrom.cdr = false (bool) storage.firmware_version = '2.0' (string) storage.requires_eject = true (bool) storage.hotpluggable = false (bool) info.capabilities = { 'storage', 'block', 'storage.cdrom' } (string list) info.category = 'storage' (string) info.product = 'ASUS DVD-ROM E616' (string) storage.removable = true (bool) storage.physical_device = '/org/freedesktop/Hal/devices/pci_1106_571_ide_1_0' (string) storage.drive_type = 'cdrom' (string) storage.vendor = '' (string) storage.model = 'ASUS DVD-ROM E616' (string) storage.automount_enabled_hint = true (bool) storage.media_check_enabled = true (bool) storage.no_partitions_hint = true (bool) storage.bus = 'ide' (string) block.is_volume = false (bool) block.minor = 0 (0x0) (int) block.major = 22 (0x16) (int) block.device = '/dev/hdc' (string) linux.hotplug_type = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/pci_1106_571_ide_1_0' (string) linux.sysfs_path_device = '/sys/block/hdc' (string) linux.sysfs_path = '/sys/block/hdc' (string) ------------------------------------------------------------------------------- =============================================================================== "$hal-device" with a nautilus mounted video DVD: ------------------------------------------------------------------------------- 0: udi = '/org/freedesktop/Hal/devices/volume_label_BLADE_RUNNER_16X9LB_D4_SIDE_A' info.udi = '/org/freedesktop/Hal/devices/volume_label_BLADE_RUNNER_16X9LB_D4_SIDE_A' (string) info.product = 'BLADE_RUNNER_16X9LB_D4_SIDE_A' (string) volume.disc.is_svcd = false (bool) volume.disc.is_vcd = false (bool) volume.disc.is_videodvd = true (bool) volume.disc.is_rewritable = false (bool) volume.disc.is_appendable = false (bool) volume.disc.is_blank = false (bool) volume.disc.has_data = true (bool) volume.disc.has_audio = false (bool) volume.disc.type = 'dvd_rom' (string) volume.size = 4514578432 (0x10d170000) (uint64) volume.num_blocks = 8817536 (0x868b80) (int) volume.block_size = 2048 (0x800) (int) info.capabilities = { 'volume', 'block' } (string list) info.category = 'volume' (string) volume.is_partition = true (bool) volume.is_disc = true (bool) volume.is_mounted = true (bool) volume.mount_point = '/media/hdc' (string) volume.label = 'BLADE_RUNNER_16X9LB_D4_SIDE_A' (string) volume.uuid = '' (string) volume.fsversion = '' (string) volume.fsusage = 'filesystem' (string) volume.fstype = 'udf' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) block.is_volume = true (bool) block.minor = 0 (0x0) (int) block.major = 22 (0x16) (int) block.device = '/dev/hdc' (string) linux.hotplug_type = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) linux.sysfs_path_device = '/sys/block/hdc/fakevolume' (string) linux.sysfs_path = '/sys/block/hdc/fakevolume' (string) ... 10: udi = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' info.addons = { 'hald-addon-storage' } (string list) storage.policy.desired_mount_point = 'cdrom' (string) storage.policy.mount_filesystem = 'auto' (string) storage.policy.should_mount = true (bool) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) info.udi = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) storage.cdrom.write_speed = 0 (0x0) (int) storage.cdrom.read_speed = 8448 (0x2100) (int) storage.cdrom.support_media_changed = true (bool) storage.cdrom.dvdplusrdl = false (bool) storage.cdrom.dvdplusrw = false (bool) storage.cdrom.dvdplusr = false (bool) storage.cdrom.dvdram = false (bool) storage.cdrom.dvdrw = false (bool) storage.cdrom.dvdr = false (bool) storage.cdrom.dvd = true (bool) storage.cdrom.cdrw = false (bool) storage.cdrom.cdr = false (bool) storage.firmware_version = '2.0' (string) storage.requires_eject = true (bool) storage.hotpluggable = false (bool) info.capabilities = { 'storage', 'block', 'storage.cdrom' } (string list) info.category = 'storage' (string) info.product = 'ASUS DVD-ROM E616' (string) storage.removable = true (bool) storage.physical_device = '/org/freedesktop/Hal/devices/pci_1106_571_ide_1_0' (string) storage.drive_type = 'cdrom' (string) storage.vendor = '' (string) storage.model = 'ASUS DVD-ROM E616' (string) storage.automount_enabled_hint = true (bool) storage.media_check_enabled = true (bool) storage.no_partitions_hint = true (bool) storage.bus = 'ide' (string) block.is_volume = false (bool) block.minor = 0 (0x0) (int) block.major = 22 (0x16) (int) block.device = '/dev/hdc' (string) linux.hotplug_type = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/pci_1106_571_ide_1_0' (string) linux.sysfs_path_device = '/sys/block/hdc' (string) linux.sysfs_path = '/sys/block/hdc' (string) ------------------------------------------------------------------------------- =============================================================================== "$hal-device" with an autodetected audio CD in the drive: ------------------------------------------------------------------------------- 0: udi = '/org/freedesktop/Hal/devices/volume_part_1_size_325468160' info.udi = '/org/freedesktop/Hal/devices/volume_part_1_size_325468160' (string) volume.disc.is_rewritable = false (bool) volume.disc.is_appendable = false (bool) volume.disc.is_blank = false (bool) volume.disc.has_data = false (bool) volume.disc.has_audio = true (bool) volume.disc.type = 'cd_rom' (string) volume.size = 325468160 (0x13664000) (uint64) volume.num_blocks = 635680 (0x9b320) (int) volume.block_size = 2048 (0x800) (int) info.capabilities = { 'volume', 'block' } (string list) info.category = 'volume' (string) volume.is_partition = true (bool) volume.is_disc = true (bool) volume.is_mounted = false (bool) volume.mount_point = '' (string) volume.label = '' (string) volume.uuid = '' (string) volume.fsversion = '' (string) volume.fsusage = '' (string) volume.fstype = '' (string) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) block.is_volume = true (bool) block.minor = 0 (0x0) (int) block.major = 22 (0x16) (int) block.device = '/dev/hdc' (string) linux.hotplug_type = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) linux.sysfs_path_device = '/sys/block/hdc/fakevolume' (string) linux.sysfs_path = '/sys/block/hdc/fakevolume' (string) ... 10: udi = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' info.addons = { 'hald-addon-storage' } (string list) storage.policy.desired_mount_point = 'cdrom' (string) storage.policy.mount_filesystem = 'auto' (string) storage.policy.should_mount = true (bool) block.storage_device = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) info.udi = '/org/freedesktop/Hal/devices/storage_model_ASUS_DVD_ROM_E616' (string) storage.cdrom.write_speed = 0 (0x0) (int) storage.cdrom.read_speed = 8448 (0x2100) (int) storage.cdrom.support_media_changed = true (bool) storage.cdrom.dvdplusrdl = false (bool) storage.cdrom.dvdplusrw = false (bool) storage.cdrom.dvdplusr = false (bool) storage.cdrom.dvdram = false (bool) storage.cdrom.dvdrw = false (bool) storage.cdrom.dvdr = false (bool) storage.cdrom.dvd = true (bool) storage.cdrom.cdrw = false (bool) storage.cdrom.cdr = false (bool) storage.firmware_version = '2.0' (string) storage.requires_eject = true (bool) storage.hotpluggable = false (bool) info.capabilities = { 'storage', 'block', 'storage.cdrom' } (string list) info.category = 'storage' (string) info.product = 'ASUS DVD-ROM E616' (string) storage.removable = true (bool) storage.physical_device = '/org/freedesktop/Hal/devices/pci_1106_571_ide_1_0' (string) storage.drive_type = 'cdrom' (string) storage.vendor = '' (string) storage.model = 'ASUS DVD-ROM E616' (string) storage.automount_enabled_hint = true (bool) storage.media_check_enabled = true (bool) storage.no_partitions_hint = true (bool) storage.bus = 'ide' (string) block.is_volume = false (bool) block.minor = 0 (0x0) (int) block.major = 22 (0x16) (int) block.device = '/dev/hdc' (string) linux.hotplug_type = 3 (0x3) (int) info.parent = '/org/freedesktop/Hal/devices/pci_1106_571_ide_1_0' (string) linux.sysfs_path_device = '/sys/block/hdc' (string) linux.sysfs_path = '/sys/block/hdc' (string) -------------------------------------------------------------------------------
We'll probably need to use gnome-vfs to mount the device...
Had the same problem this week end.
I have a similar problem here. the fun thing is that thoggen is able to find and load the disc perfectly... here's my version of disc-test output: sxpert src # ./disc-test /dev/sr0 Error: Failed to find mountpoint for device /dev/sr0 in /etc/fstab List of connected drives: /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 /dev/sda6 /dev/sda7 /dev/sda8 /dev/sr0 epia-storage:/mnt/storage List of mounted volumes: /dev/sda5 /dev/sda8 sysfs binfmt_misc usbfs proc epia-storage:/mnt/storage shm devpts udev debug rootfs /dev/root
Created attachment 53792 [details] [review] fix This should do the trick.
The second patch doesn't seem to make any difference. When the DVD in the drive is not mounted, the same error message is displayed. ./disc-test /dev/hdc Error: Failed to find mountpoint for device /dev/hdc in /etc/fstab List of connected drives: /dev/hda1 /dev/hda2 /dev/hda3 /dev/hda5 /dev/hda6 /dev/hda7 /dev/hda8 /dev/hda9 /dev/hda10 /dev/hdc
Created attachment 53803 [details] [review] oops Without the 'break;' which screws up everything that it was supposed to fix...
Also, note to self, that error message which mentions a /dev/<chinese-text> and /etc/somekitchentable is no longer accurate and, in addition, it totally sucks, because it doesn't tell end users that their /etc/fstab is totally screwed if it fails using the above patch and they should sue their distro maker or get off their ass and use a real distro. So I should change that before I apply this. We can possibly consider making it a g_warning() since it should never trigger in any real case.
And according to a report on IRC, the URI is still NULL, even after mounting, so I need to obtain the mountpoint differently...
Created attachment 53806 [details] [review] something else How about this?
I'm being told this one works, but ejects after the unmount. So either we want to not use gnome-vfs to unmount, or we need to fix the fact that gnome-vfs ejects-on-unmount.
Rewording the title. This problem only occurs on Ubuntu, as it's the only one to use pmount right now...
I use Gentoo 2005.1 with a pure DBUS/HAL/PMOUNT setup (no entry for my DVD drive in fstab). The latest patch cured the error message for 1 video DVD inserted, but re-appeared on the 2nd video DVD inserted and even segfault. In more details: I insert the first video DVD, I click on the "Play disc..." menu item... it starts fine... I eject it with the "eject" menu item, change the video DVD(or keep the same) and click again on the "Play disc..." menu item, then the mount point message re-appears and after acknowledging it, totem segfaults.
I'm interested in a backtrace. I can't fix problems without backtraces.
gnome_vfs_drive_unmount uses gnome_vfs_volume_unmount, which calls mount_unmount_operation with should_eject = FALSE, so i don't see why it should eject the CD.
Not a totem issue. It's a DBUS/HAL/PMOUNT/GNOME-VFS issue which corrupts everything and makes Totem crash. If I play to mount/eject/mount/eject/mount a video DVD, it creates new DVD drives towards infinity... Till this issue is not corrected I cannot test properly the patch (which does work til I have only one dvd drive and not plenty).
I patched my gnome-vfs with the file provided in bug 319689. I fooled around a bit with the "play disc..." menu item and eject menu item. I got a common use case reporting the previous issue: 1 - start totem. 2 - Insert a video DVD in the drive. 3 - Click in the "play disc" menu item. 4 - Pause the movie. 5 - Click on the "eject" menu item. 6 - Keep or change the video DVD. 7 - Click on the "play disc" menu item. Then you get the fstab mount point error. After following the steps above I get easily errors playing with the eject and "play disc" menu items: *** glibc detected *** corrupted double-linked list: 0xb6f48818 *** eject: unable to find and open the device: `\uffff\uffffX\uffff eject: too many arguments Sometimes, it crashes. When it crashed, I had different and meaning less backtraces (but looked like gstreamer multithreading issues).
Please see my comment 25 for the glibc corruption message. Use "export MALLOC_CHECK=2" (or the malloc(3) manpage, "man malloc 3") to make it abort right at that point, and use gdb to get the actual backtrace (see http://live.gnome.org/GettingTraces).
Actually, it is export MALLOC_CHECK_=2, mind the underscore...
Here is the BT of one of my crash:
+ Trace 63760
Don't change the strings if you want this patch to go in the current stable branch. Looks alright otherwise.
Could Sylvain's crash be because of the g_value_take_string() instead of g_value_set_string() in line 1441? Sylvain, can you change that line from take into set and see if that fixes it? Thank you. Bastien: once I've got a hold on that crash, I'll commit.
Cannot make it crash anymore with the "take" into "set" modification... but I still have the "fstab mount point issue". So with the latest patch of bug 319689 (against gnome-vfs 2.12.1.1), the latest patch provided (at the time of this message) of this very bug and the "take" into "set modification (hal 0.5.4, dbus 0.36.2, gamin 0.1.7, pmount 0.9.6) as far as I tried I couldn't make it crash anymore but I still got the "fstab mount point issue" using the common use case I described above. I can notice that video DVDs are mounted and umounted quickly before playing.
Can you literally quote the "fstab mount point issue" error that you get? I'll have a look (and thanks a bunch for helping testing my patches so far!).
I get (LANG=POSIX): "Failed to play Audio/Video Disc Failed to find mountpoint for /dev/hdc" My fstab does not contain an entry for /dev/hdc since it's a pure pmount/hal setup.
gnome_vfs_drive_get_mounted_volumes() does not contain this mountpoint the second time, but it does the first time. That is odd. That may be a gnomevfs bug...
Got a new issue with my patched Totem and Gnome-vfs: 1 - Mount a video DVD. 2 - Start Totem. 3 - Click on the play disc menu item (showing a mounted video DVD). I get the following error pop up: "Failed to play Audio/Video Disc Reason unknown"
Here is the bt for the main thread for the above issue:
+ Trace 63961
Committed to CVS HEAD. If you can reproduce the crasher, and have a backtrace with debug, please file a new bug. 2005-11-24 Bastien Nocera <hadess@hadess.net> * src/plparse/totem-disc.c: (cd_cache_get_dev_from_drives), (cb_mount_done), (cd_cache_open_mountpoint), (cb_umount_done), (cd_cache_free), (cd_cache_disc_is_vcd), (cd_cache_disc_is_dvd): patch from Ronald Bultje <rbultje@ronald.bitfreak.net> to allow playback of DVDs and VCDs on a pmount setup (Closes: #318401)
*** Bug 333677 has been marked as a duplicate of this bug. ***