After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 575728 - crash in Open Folder: Attempting to mount an e...
crash in Open Folder: Attempting to mount an e...
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
2.25.x
Other All
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-17 18:08 UTC by jlaska
Modified: 2009-03-18 21:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description jlaska 2009-03-17 18:08: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 ()

Thread 1 (Thread 0xb807aa00 (LWP 9485))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 IA__g_spawn_sync
    at gspawn.c line 382
  • #3 IA__g_spawn_command_line_sync
    at gspawn.c line 694
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #6 <signal handler called>
  • #7 strlen
    at ../sysdeps/i386/i486/strlen.S line 69
  • #8 IA__g_strdup
    at gstrfuncs.c line 101
  • #9 eel_timed_wait_start_with_duration
    at eel-stock-dialogs.c line 257
  • #10 activation_start_timed_cancel
    at nautilus-mime-actions.c line 954
  • #11 unpause_activation_timed_cancel
    at nautilus-mime-actions.c line 975
  • #12 activate_mount_op_active
    at nautilus-mime-actions.c line 992
  • #13 IA__g_cclosure_marshal_VOID__PARAM
    at gmarshal.c line 531
  • #14 IA__g_closure_invoke
    at gclosure.c line 767
  • #15 signal_emit_unlocked_R
    at gsignal.c line 3244
  • #16 IA__g_signal_emit_valist
    at gsignal.c line 2977
  • #17 IA__g_signal_emit
    at gsignal.c line 3034
  • #18 g_object_dispatch_properties_changed
    at gobject.c line 770
  • #19 g_object_notify_dispatcher
    at gobject.c line 312
  • #20 g_object_notify_queue_thaw
    at gobjectnotifyqueue.c line 125
  • #21 IA__g_object_notify
    at gobject.c line 857
  • #22 pw_dialog_got_response
    at gtkmountoperation.c line 295
  • #23 IA__g_cclosure_marshal_VOID__INT
    at gmarshal.c line 216
  • #24 IA__g_closure_invoke
    at gclosure.c line 767
  • #25 signal_emit_unlocked_R
    at gsignal.c line 3244
  • #26 IA__g_signal_emit_valist
    at gsignal.c line 2977
  • #27 IA__g_signal_emit
    at gsignal.c line 3034
  • #28 IA__gtk_dialog_response
    at gtkdialog.c line 928
  • #29 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #30 IA__g_closure_invoke
    at gclosure.c line 767
  • #31 signal_emit_unlocked_R
    at gsignal.c line 3244
  • #32 IA__g_signal_emit_valist
    at gsignal.c line 2977
  • #33 IA__g_signal_emit
    at gsignal.c line 3034
  • #34 IA__gtk_button_clicked
    at gtkbutton.c line 1106
  • #35 gtk_button_finish_activate
    at gtkbutton.c line 1780
  • #36 gtk_button_key_release
    at gtkbutton.c line 1631
  • #37 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #38 g_type_class_meta_marshal
    at gclosure.c line 878
  • #39 IA__g_closure_invoke
    at gclosure.c line 767
  • #40 signal_emit_unlocked_R
    at gsignal.c line 3282
  • #41 IA__g_signal_emit_valist
    at gsignal.c line 2987
  • #42 IA__g_signal_emit
    at gsignal.c line 3034
  • #43 gtk_widget_event_internal
    at gtkwidget.c line 4761
  • #44 IA__gtk_propagate_event
    at gtkmain.c line 2362
  • #45 IA__gtk_main_do_event
    at gtkmain.c line 1601
  • #46 gdk_event_dispatch
    at gdkevents-x11.c line 2364
  • #47 g_main_dispatch
    at gmain.c line 1814
  • #48 IA__g_main_context_dispatch
    at gmain.c line 2367
  • #49 g_main_context_iterate
    at gmain.c line 2448
  • #50 IA__g_main_loop_run
    at gmain.c line 2656
  • #51 IA__gtk_main
    at gtkmain.c line 1205
  • #52 main
    at nautilus-main.c line 518


----------- .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).
--------------------------------------------------
Comment 1 André Klapper 2009-03-17 20:35:30 UTC
(In reply to comment #0)
> Attempting to mount an encrypted ext3 partition created by palimpsest

Can you explain this step by step?
Comment 2 Alexander Larsson 2009-03-18 13:41:24 UTC
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?
Comment 3 jlaska 2009-03-18 14:47:47 UTC
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.
Comment 4 Alexander Larsson 2009-03-18 15:31:18 UTC
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.

Comment 5 Alexander Larsson 2009-03-18 15:35:27 UTC
This string is from gvfs/monitor/gdu/ggduvolume.c: mount_operation_reply()


Comment 6 Alexander Larsson 2009-03-18 16:31:15 UTC
I think part of the problem is that gmountsource.c doesn't proxy the new aborted signal.
Comment 7 Alexander Larsson 2009-03-18 21:04:31 UTC
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.