GNOME Bugzilla – Bug 575728
crash in Open Folder: Attempting to mount an e...
Last modified: 2009-03-18 21:04:31 UTC
Version: 2.25.93 What were you doing when the application crashed? Attempting to mount an encrypted ext3 partition created by palimpsest Distribution: Fedora release 10.92 (Rawhide) Gnome Release: 2.25.92 2009-03-10 (Red Hat, Inc) BugBuddy Version: 2.25.91 System: Linux 2.6.29-0.258.rc8.git2.fc11.i586 #1 SMP Mon Mar 16 20:53:59 EDT 2009 i686 X Vendor: The X.Org Foundation X Vendor Release: 10600000 Selinux: Enforcing Accessibility: Disabled GTK+ Theme: Nodoka Icon Theme: Fedora GTK+ Modules: canberra-gtk-module, pk-gtk-module, gnomebreakpad Memory status: size: 86290432 vsize: 86290432 resident: 20848640 share: 15372288 rss: 20848640 rss_rlim: 18446744073709551615 CPU usage: start_time: 1237312968 rtime: 285 utime: 247 stime: 38 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/nautilus' [Thread debugging using libthread_db enabled] [New Thread 0xb4d43b70 (LWP 9782)] 0x00b4e422 in __kernel_vsyscall ()
+ Trace 213565
Thread 1 (Thread 0xb807aa00 (LWP 9485))
----------- .xsession-errors (12 sec old) --------------------- warning: difference appears to be caused by prelink, adjusting expectations warning: .dynamic section for "/usr/lib/libsmbios.so.2" is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations warning: .dynamic section for "/usr/lib/libtotem-plparser.so.12" is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations warning: the debug information found in "/usr/lib/debug//usr/lib/libfontconfig.so.1.3.0.debug" does not match "/usr/lib/libfontconfig.so.1" (CRC mismatch). warning: the debug information found in "/usr/lib/debug/usr/lib/libfontconfig.so.1.3.0.debug" does not match "/usr/lib/libfontconfig.so.1" (CRC mismatch). --------------------------------------------------
(In reply to comment #0) > Attempting to mount an encrypted ext3 partition created by palimpsest Can you explain this step by step?
Hmm, i created an encrypted ext3 filesystem on a usb stick, but I can't even get it to mount. It just does nothing... What exactly happened for you? Did you get any dialog, did it take a long time? Did you get a "cancel dialog" while waiting for the operation?
Start palimpsest with a USB Key attached ... 1) Click 4.0GB Unallocated 2) Enter size (defaults to 4043), label (Rawhide Live), check "Take ownership of the file system" and "encrypt underlying device" 3) Select "Create" 4) Enter a passphrase (with "Forget passphrase immediately") 5) Select "Create" 6) When finished, open nautilus "computer:///" 7) Double click on Encrypted USB icon I get the passhprase entry dialog *and* a error dialog ================================= Unable to mount location Expected G_MOUNT_OPERATION_HANDED by got 2 ================================= 8) Enter the passphrase in the passphrase dialog, and click continue.
Ah, i got it now too. I wonder where the "Expected G_MOUNT_OPERATION_HANDED by got 2" comes from, as i can't find it in the sources. Anyway, 2 == G_MOUNT_OPERATION_UNHANDLED in this context. This is probably the reason for the crash. We're not handling this failure, whatever it is, correctly.
This string is from gvfs/monitor/gdu/ggduvolume.c: mount_operation_reply()
I think part of the problem is that gmountsource.c doesn't proxy the new aborted signal.
2009-03-18 Alexander Larsson <alexl@redhat.com> Bug 575728 – crash in Open Folder: mountin a crypto volume * common/gvfsdaemonprotocol.h: * common/gmountoperationdbus.c: Handle the new "aborted" signal * common/gmountsource.c: Fix argument order in g_mount_source_ask_password_finish call. stop signal emissions in ask_password and ask_question handlers to avoid the default handler sending a not implemented error. Handle the new "aborted" signal.