Re: automounting / autorunning



Il giorno lun, 14/01/2008 alle 03.33 -0500, David Zeuthen ha scritto:

[cut]

I think this is great, but I get a gnome-mount crash when inserting a
disc (the disc is still mounted fine though). Attached is a stacktrace.
By the way, is gnome-mount still necessary? I have to compile it
disabling the nautilus extension, otherwise nautilus will start and
crash repeatedly complaining about "nautilus: symbol lookup
error: /usr/lib/nautilus/extensions-2.0/libgnome-mount.so: undefined
symbol: nautilus_file_info_get_drive", maybe it has to be updated to the
new Nautilus structure.

Also, USB pens automount do not work since I upgraded to Nautilus
2.21.x. Is it a known problem?

> Some things I'm undecided about
> 
>  - what should happen if you double-click an mount icon? Either we open
>    the folder; otherwise we launch the configured program. I'm leaning
>    to the former and then having a clue-bar in the folder window. I
>    don't know.
> 
>  - should the available handlers for x-content/* appear in an Open With
>    menu when right-clicking a mount icon?

I think the clue bar is the best solution; opening the default
application on double click is one of the things I always hated in MS
Windows. Also, it sounds good to have the handlers in the context menu
on right click.

Regards,

-- 
Cosimo
System: Linux 2.6.24-rc4-zen1 #2 PREEMPT Fri Dec 28 14:20:56 CET 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome

Memory status: size: 18931712 vsize: 18931712 resident: 5279744 share: 4120576 rss: 5279744 rss_rlim: 4294967295
CPU usage: start_time: 1200353475 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/gnome-mount'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb7295970 (LWP 18193)]
0xb7fc8410 in __kernel_vsyscall ()
#0  0xb7fc8410 in __kernel_vsyscall ()
#1  0xb76ae5d3 in __waitpid_nocancel () from /lib/libpthread.so.0
#2  0xb7467495 in IA__g_spawn_sync (working_directory=0x0, argv=0x809d5e8, 
    envp=0x0, flags=<value optimized out>, child_setup=0, user_data=0x0, 
    standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x8080308)
    at gspawn.c:374
#3  0xb74677c5 in IA__g_spawn_command_line_sync (
    command_line=0x80b96d0 "bug-buddy --appname=\"gnome-mount\" --pid=18193", 
    standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x8080308)
    at gspawn.c:682
#4  0xb7158f0a in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#5  0xb71591fc in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#6  0xb71596be in google_breakpad::ExceptionHandler::InternalWriteMinidump ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#7  0xb7159bbc in google_breakpad::ExceptionHandler::HandleException ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
#8  <signal handler called>
#9  0xb741e6f9 in IA__g_datalist_id_set_data_full (datalist=0x809d818, 
    key_id=49, data=0x0, destroy_func=0) at gdataset.c:216
#10 0xb74d28c3 in g_object_real_dispose (object=0x809d810) at gobject.c:533
#11 0xb7ce73af in gtk_object_dispose (gobject=0x809d810) at gtkobject.c:423
#12 0xb7dea8b3 in gtk_widget_dispose (object=0x809d810) at gtkwidget.c:7851
#13 0xb7df7432 in gtk_window_dispose (object=0x809d810) at gtkwindow.c:1968
#14 0xb74d2bac in IA__g_object_unref (_object=0x809d810) at gobject.c:1765
#15 0xb7de4108 in IA__gtk_widget_unref (widget=0x809d810) at gtkwidget.c:8343
#16 0x0804fb1a in volume_mount_with_options (
    udi=0x80645c0 "/org/freedesktop/Hal/devices/volume_label_NUOVO", 
    volume=0x808ba48, drive=0x0, mount_point=0x808b950 "NUOVO", 
    fstype=0x8055d8c "", options=0x8088f00) at gnome-mount.c:827
#17 0x08050637 in volume_mount (
    udi=0x80645c0 "/org/freedesktop/Hal/devices/volume_label_NUOVO", 
    volume=0x808ba48, drive=0x0) at gnome-mount.c:1529
#18 0x08051b09 in main (argc=1, argv=0x4) at gnome-mount.c:3075
#19 0xb72d93ec in __libc_start_main (main=0x80509e0 <main>, argc=2, 
    ubp_av=0xbf9b5494, init=0x8055900 <__libc_csu_init>, 
    fini=0x80558f0 <__libc_csu_fini>, rtld_fini=0xb7fd76a0 <_dl_fini>, 
    stack_end=0xbf9b548c) at libc-start.c:227
#20 0x0804c801 in _start ()

Thread 1 (Thread 0xb7295970 (LWP 18193)):
#0  0xb7fc8410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb76ae5d3 in __waitpid_nocancel () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7467495 in IA__g_spawn_sync (working_directory=0x0, argv=0x809d5e8, 
    envp=0x0, flags=<value optimized out>, child_setup=0, user_data=0x0, 
    standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x8080308)
    at gspawn.c:374
	outpipe = -1
	errpipe = -1
	pid = 18203
	fds = {__fds_bits = {-1219731468, 0, 134939088, 134742552, 
    -1220216830, 8, 134939088, 4, -1219731468, 0, 134939088, 134742664, 
    -1220229572, 134939088, -1220309328, 0, -1220702441, -1220583136, 
    -1220583092, -1220583092, 0, -1220588800, 11, 10, 134742648, 134742644, 
    134862312, 3, 0, 524980, 857875040, 134939088}}
	ret = <value optimized out>
	outstr = (GString *) 0x0
	errstr = (GString *) 0x0
	failed = 0
	status = <value optimized out>
	__PRETTY_FUNCTION__ = "IA__g_spawn_sync"
#3  0xb74677c5 in IA__g_spawn_command_line_sync (
    command_line=0x80b96d0 "bug-buddy --appname=\"gnome-mount\" --pid=18193", 
    standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0x8080308)
    at gspawn.c:682
	retval = 0
	argv = (gchar **) 0x809d5e8
	__PRETTY_FUNCTION__ = "IA__g_spawn_command_line_sync"
#4  0xb7158f0a in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#5  0xb71591fc in ?? () from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#6  0xb71596be in google_breakpad::ExceptionHandler::InternalWriteMinidump ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#7  0xb7159bbc in google_breakpad::ExceptionHandler::HandleException ()
   from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#8  <signal handler called>
No symbol table info available.
#9  0xb741e6f9 in IA__g_datalist_id_set_data_full (datalist=0x809d818, 
    key_id=49, data=0x0, destroy_func=0) at gdataset.c:216
	__PRETTY_FUNCTION__ = "IA__g_datalist_id_set_data_full"
#10 0xb74d28c3 in g_object_real_dispose (object=0x809d810) at gobject.c:533
No locals.
#11 0xb7ce73af in gtk_object_dispose (gobject=0x809d810) at gtkobject.c:423
No locals.
#12 0xb7dea8b3 in gtk_widget_dispose (object=0x809d810) at gtkwidget.c:7851
No locals.
#13 0xb7df7432 in gtk_window_dispose (object=0x809d810) at gtkwindow.c:1968
No locals.
#14 0xb74d2bac in IA__g_object_unref (_object=0x809d810) at gobject.c:1765
	object = (GObject *) 0x809d810
	__PRETTY_FUNCTION__ = "IA__g_object_unref"
#15 0xb7de4108 in IA__gtk_widget_unref (widget=0x809d810) at gtkwidget.c:8343
	__PRETTY_FUNCTION__ = "IA__gtk_widget_unref"
#16 0x0804fb1a in volume_mount_with_options (
    udi=0x80645c0 "/org/freedesktop/Hal/devices/volume_label_NUOVO", 
    volume=0x808ba48, drive=0x0, mount_point=0x808b950 "NUOVO", 
    fstype=0x8055d8c "", options=0x8088f00) at gnome-mount.c:827
	reply = (DBusMessage *) 0x0
	dmesg = (DBusMessage *) 0x80820f8
	ret = 0
	error = {
  name = 0x808a1a0 "org.freedesktop.Hal.Device.Volume.AlreadyMounted", 
  message = 0x8082070 "Device /dev/sr0 is already mounted.", dummy1 = 0, 
  dummy2 = 0, dummy3 = 0, dummy4 = 1, dummy5 = 1, padding1 = 0x6}
	i = <value optimized out>
	device_file = <value optimized out>
	mounted_at = <value optimized out>
#17 0x08050637 in volume_mount (
    udi=0x80645c0 "/org/freedesktop/Hal/devices/volume_label_NUOVO", 
    volume=0x808ba48, drive=0x0) at gnome-mount.c:1529
	option = 0x808e1b8 "uid=1000"
	options_list = <value optimized out>
	l = <value optimized out>
	next = (GSList *) 0x0
	uidbuf = "È\232ú·\000\000\000\000ÿÿÿÿÄOþ·XVþ·\001\000\000\000 S\233¿\036mý·\020Xþ·\000\000\000\000\001\000\000\000\001\000\000\000\000\000\000\0003\235\004\b\000\000\000\000°£\005\b"
	mount_point = 0x808b950 "NUOVO"
	fstype_override = 0x0
	mount_options = (GPtrArray *) 0x8088f00
	key = 0x808a260 "/usr/share/locale/it_IT euro/LC_MESSAGES/gnome-mount.mo"
	ret = <value optimized out>
	fstype = 0x808e2a0 "iso9660"
	device_file = 0x8055e01 "ocale="
	label = <value optimized out>
	uuid = <value optimized out>
	drive_udi = <value optimized out>
#18 0x08051b09 in main (argc=1, argv=0x4) at gnome-mount.c:3075
	fsusage = <value optimized out>
	buf = <value optimized out>
	dev_null_fd = <value optimized out>
	drive = (LibHalDrive *) 0x0
	volume = (LibHalVolume *) 0x808ba48
	udi = 0x80645c0 "/org/freedesktop/Hal/devices/volume_label_NUOVO"
	resolved_device_file = 0x0
	error = (GError *) 0x0
	context = (GOptionContext *) 0x805b048
	opt_connect_crypto = 0
	opt_disconnect_crypto = 0
	opt_verbose = 0
	opt_unmount = 0
	opt_eject = 0
	opt_hal_udi = (
    gchar *) 0x806cf28 "/org/freedesktop/Hal/devices/volume_label_NUOVO"
	opt_device_file = (gchar *) 0x0
	opt_nickname = (gchar *) 0x0
	opt_mount_point = (gchar *) 0x0
	opt_mount_options = (gchar *) 0x0
	opt_extra_mount_options = (gchar *) 0x0
	opt_fstype = (gchar *) 0x0
	opt_write_settings = 0
	opt_display_settings = 0
	opt_erase_settings = 0
	entries = {{long_name = 0x805601e "verbose", short_name = 118 'v', 
    flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x805a674, 
    description = 0x8056026 "Verbose operation", arg_description = 0x0}, {
    long_name = 0x8056038 "no-ui", short_name = 110 'n', flags = 0, 
    arg = G_OPTION_ARG_NONE, arg_data = 0x805a638, 
    description = 0x805603e "Don't show any dialogs", arg_description = 0x0}, 
  {long_name = 0x8056055 "block", short_name = 98 'b', flags = 0, 
    arg = G_OPTION_ARG_NONE, arg_data = 0x805a634, 
    description = 0x8057894 "Allow gnome-mount to block for UI", 
    arg_description = 0x0}, {long_name = 0x805605b "unmount", 
    short_name = 117 'u', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0x805a670, description = 0x8055cd5 "Unmount", 
    arg_description = 0x0}, {long_name = 0x805607a "connect-crypto", 
    short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0x805a67c, description = 0x8056063 "Setup crypto device", 
    arg_description = 0x0}, {long_name = 0x8056077 "disconnect-crypto", 
    short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0x805a678, description = 0x8056089 "Tear down crypto device", 
    arg_description = 0x0}, {long_name = 0x8055f9f "eject", 
    short_name = 101 'e', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0x805a66c, description = 0x8055c6b "Eject", 
    arg_description = 0x0}, {long_name = 0x80560a1 "hal-udi", 
    short_name = 104 'h', flags = 0, arg = G_OPTION_ARG_STRING, 
    arg_data = 0x805a668, description = 0x80560a9 "Mount by HAL UDI", 
    arg_description = 0x0}, {long_name = 0x8055a57 "device", 
    short_name = 100 'd', flags = 0, arg = G_OPTION_ARG_STRING, 
    arg_data = 0x805a664, description = 0x80560ba "Mount by device file", 
    arg_description = 0x0}, {long_name = 0x80560cf "pseudonym", 
    short_name = 112 'p', flags = 0, arg = G_OPTION_ARG_STRING, 
    arg_data = 0x805a660, 
    description = 0x80578b8 "Mount by one of device's nicknames: mountpoint, label, with or without directory prefix", arg_description = 0x0}, {
    long_name = 0x8055e97 "text", short_name = 116 't', flags = 0, 
    arg = G_OPTION_ARG_NONE, arg_data = 0x805a630, 
    description = 0x80560d9 "Text-based operation", arg_description = 0x0}, {
    long_name = 0x80560ee "mount-point", short_name = 109 'm', flags = 0, 
    arg = G_OPTION_ARG_STRING, arg_data = 0x805a65c, 
    description = 0x80560fa "Specify mount point", arg_description = 0x0}, {
    long_name = 0x805612a "mount-options", short_name = 111 'o', flags = 0, 
    arg = G_OPTION_ARG_STRING, arg_data = 0x805a658, 
    description = 0x805610e "Specify mount options", arg_description = 0x0}, {
    long_name = 0x8056124 "extra-mount-options", short_name = 0 '\0', 
    flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0x805a654, 
    description = 0x8056138 "Specify extra mount options", 
    arg_description = 0x0}, {long_name = 0x8056154 "fstype", 
    short_name = 102 'f', flags = 0, arg = G_OPTION_ARG_STRING, 
    arg_data = 0x805a650, description = 0x805615b "Specify file system type", 
    arg_description = 0x0}, {long_name = 0x8056174 "write-settings", 
    short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0x805a64c, 
    description = 0x8057910 "Don't mount; write given settings for volume/drive", arg_description = 0x0}, {long_name = 0x8056183 "display-settings", 
    short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0x805a648, 
    description = 0x8057944 "Don't mount; display settings for volume/drive", 
    arg_description = 0x0}, {long_name = 0x8056194 "erase-settings", 
    short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0x805a644, 
    description = 0x8057974 "Don't mount; erase settings for volume/drive", 
    arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\0', flags = 0, 
    arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, 
    arg_description = 0x0}}
#19 0xb72d93ec in __libc_start_main (main=0x80509e0 <main>, argc=2, 
    ubp_av=0xbf9b5494, init=0x8055900 <__libc_csu_init>, 
    fini=0x80558f0 <__libc_csu_fini>, rtld_fini=0xb7fd76a0 <_dl_fini>, 
    stack_end=0xbf9b548c) at libc-start.c:227
	result = <value optimized out>
	unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1220587532, -1208071008, 
        0, -1080339352, -1252427256, -657049575}, mask_was_saved = 0}}, 
  priv = {pad = {0x0, 0x0, 0xb7fdc6a0, 0xb72d931d}, data = {prev = 0x0, 
      cleanup = 0x0, canceltype = -1208105312}}}
	not_first_call = <value optimized out>
#20 0x0804c801 in _start ()
No symbol table info available.
#0  0xb7fc8410 in __kernel_vsyscall ()
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]


----------- .xsession-errors (401 sec old) ---------------------
nautilus: symbol lookup error: /usr/lib/nautilus/extensions-2.0/libgnome-mount.so: undefined symbol: nautilus_file_info_get_drive
Initializing gnome-mount extension
nautilus: symbol lookup error: /usr/lib/nautilus/extensions-2.0/libgnome-mount.so: undefined symbol: nautilus_file_info_get_drive
Initializing gnome-mount extension
nautilus: symbol lookup error: /usr/lib/nautilus/extensions-2.0/libgnome-mount.so: undefined symbol: nautilus_file_info_get_drive
Initializing gnome-mount extension
nautilus: symbol lookup error: /usr/lib/nautilus/extensions-2.0/libgnome-mount.so: undefined symbol: nautilus_file_info_get_drive
Initializing gnome-mount extension
nautilus: symbol lookup error: /usr/lib/nautilus/extensions-2.0/libgnome-mount.so: undefined symbol: nautilus_file_info_get_drive
Initializing gnome-mount extension
nautilus: symbol lookup error: /usr/lib/nautilus/extensions-2.0/libgnome-mount.so: undefined symbol: nautilus_file_info_get_drive
Initializing gnome-mount extension
nautilus: symbol lookup error: /usr/lib/nautilus/extensions-2.0/libgnome-mount.so: undefined symbol: nautilus_file_info_get_drive
Initializing gnome-mount extension
nautilus: symbol lookup error: /usr/lib/nautilus/extensions-2.0/libgnome-mount.so: undefined symbol: nautilus_file_info_get_drive
--------------------------------------------------

Attachment: smime.p7s
Description: S/MIME cryptographic signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]