[shares-admin] nautilus crashed when i logon gnome in edgy

Bug #62739 reported by Randy
14
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Critical
liboobs (Ubuntu)
Fix Released
High
Ubuntu Desktop Bugs
system-tools-backends (Ubuntu)
Fix Released
Undecided
Ubuntu Desktop Bugs

Bug Description

the bug can be reproduced when i logon gnome everytime or run "nautilus" in gnome terminal
(and desktop icons disappeared in this situation)

here is the gdb info:
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/nautilus
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1226475856 (LWP 9191)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

(nautilus:9191): Liboobs-CRITICAL **: oobs_share_smb_new: assertion `path[0] == '/'' failed

(nautilus:9191): Liboobs-CRITICAL **: oobs_list_set: assertion `G_IS_OBJECT (data)' failed

(nautilus:9191): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(nautilus:9191): Liboobs-CRITICAL **: oobs_list_get: assertion `node->data != NULL' failed

(nautilus:9191): Liboobs-CRITICAL **: oobs_share_get_path: assertion `OOBS_IS_SHARE (share)' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226475856 (LWP 9191)]
0xb7679cd7 in g_str_hash () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0 0xb7679cd7 in g_str_hash () from /usr/lib/libglib-2.0.so.0
#1 0xb7652668 in g_hash_table_insert () from /usr/lib/libglib-2.0.so.0
#2 0xb6c7e7c6 in nautilus_shares_register_type ()
   from /usr/lib/nautilus/extensions-1.0/libnautilus-gst-shares.so
#3 0xb6c7e838 in nautilus_shares_register_type ()
   from /usr/lib/nautilus/extensions-1.0/libnautilus-gst-shares.so
#4 0xb770694a in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#5 0xb76eda02 in g_object_set () from /usr/lib/libgobject-2.0.so.0
#6 0xb76ebc7b in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#7 0xb76ec7ef in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#8 0xb76ec9a0 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#9 0x0811d0fa in nautilus_marshal_BOOLEAN__POINTER ()
#10 0x0811d3d1 in nautilus_marshal_BOOLEAN__POINTER ()
#11 0x0806aca7 in POA_Nautilus_MetafileMonitor__init ()
#12 0x0807ba4c in POA_Nautilus_MetafileMonitor__init ()
#13 0xb740f8cc in __libc_start_main (main=Could not find the frame base for "__libc_start_main".
) at libc-start.c:231
#14 0x08067601 in ?? ()

Tags: shares-admin
Revision history for this message
Randy (randy.l) wrote :

there are some discussions on ubuntuforums, seems to be the same problem

http://ubuntuforums.org/showthread.php?t=260790

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. According to the backtrace the crash is due to /usr/lib/nautilus/extensions-1.0/libnautilus-gst-shares.so from gnome-system-tools. Do you use GNOME or do you try to run nautilus out of GNOME?

Revision history for this message
Randy (randy.l) wrote :

i use GNOME (ubuntu edgy development version)
my edgy was upgraded from dapper by "apt-get dist-upgrade"

need other info ?

Revision history for this message
yemu (yemu) wrote :

same problem here, it happened after dist upgrade today. i think crash doesn't happen for newly created "desktop user", but it happens for users with administrator rights. this is not 100% sure, have to investigate it.

Revision history for this message
Joel Stanley (shenki) wrote :

Running latest edgy (Mon, 2 Oct 2006 16:19:05 +0930), I see this also.

http://bugzilla.gnome.org/show_bug.cgi?id=352483 <- similar, on gentoo
http://bugzilla.gnome.org/show_bug.cgi?id=352418 <- edgy crash

Attached is the output of gnome's bug-buddy.

I removed libnautilus-gst-shares.so, and nautilus starts (and runs) normally.

Revision history for this message
yemu (yemu) wrote :

i confirm, deleting libnautilus-gst-shares.so helps. thanks Joel, you saved my day :-)

Revision history for this message
Sebastien Bacher (seb128) wrote :

did you still have the issue after restarting?

Revision history for this message
Joel Stanley (shenki) wrote :

yes, still there after restarting

Revision history for this message
David Planella (dpm) wrote :

I've added a partial stacktrace created with bug-buddy and nautilus-dbg, libgnomeui-0-dbg and libglib2.0-0-dbg installed to the bug report upstream.

See http://bugzilla.gnome.org/attachment.cgi?id=73850&action=view

Joel, why are you removing libnautilus-gst-shares.so as a workaround? Does that not remove some nautilus functionality?

Revision history for this message
David Planella (dpm) wrote :

Removing libnautilus-gst-shares.so and restarting works, but not 100%. Now I get the following situation:

1.- When I start the gnome session, it does not load properly: there is no desktop background and the panels are also not properly loaded (they are not transparent anymore)

2.- When I start nautilus from a launcher, the desktop background comes back and the panel turns transparent as before.

Revision history for this message
David Planella (dpm) wrote :

Please ignore my previous comment.

What I described got solved by a second restart.

Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed upstream

Changed in gnome-system-tools:
importance: Undecided → High
status: Needs Info → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

This upload fixes the issue:

" liboobs (0.5.0-0ubuntu2) edgy; urgency=low
 .
   * debian/patches/90_from_cvs_no_assert_when_dbus_not_running.patch:
     - patch from CVS, "No longer assert if liboobs can't get the
       DBusConnection", fix nautilus crashing for some users due to shares-admin
       (Ubuntu: #62739)
"

Changed in liboobs:
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

In fact there is probably an another issue. Can people having the issue attach their /etc/samba/smb.conf (look for private data and replace them maybe before attachin gi) to the bug?

Changed in liboobs:
status: Fix Released → Needs Info
Revision history for this message
Joel Stanley (shenki) wrote :

still waiting for the new liboobs to hit the repos, so can't confirm that fixed anything.

Attached is my smb.conf. Nothing too private in there. The shares, iirc, were manually added to the file.

Bernat, I removed the .so so my desktop would be usable again for the day - it wasn't a fix, just a work around so I could be productive without resorting a boot into dapper :)

Revision history for this message
David Planella (dpm) wrote :

My smb.conf, as submitted to the upstream bug report: http://bugzilla.gnome.org/attachment.cgi?id=73852

BTW, they just mentioned they've fixed it there (if it is the same issue).

Revision history for this message
Sebastien Bacher (seb128) wrote :

This upload fixes the crash on smb configuration issue:

" liboobs (0.5.0-0ubuntu3) edgy; urgency=low
 .
   * debian/patches/91_from_cvs_dont_crash_on_configuration_issue.patch:
     - patch from CVS, fix crasher when facing a configuration issue
       (Ubuntu: #62739)
"

Changed in liboobs:
status: Needs Info → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

And this upload fixes the parsing issue:

" system-tools-backends (1.9.6-0ubuntu2) edgy; urgency=low
 .
   * debian/patches/90_from_cvs_fix_parsing_issue.patch:
     - patch from CVS, fix parsing issue for values with a space
       (Ubuntu: #62739)
"

Changed in system-tools-backends:
assignee: nobody → desktop-bugs
status: Unconfirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the people who replied to the comments and helped to get the bug fixed

Revision history for this message
David Planella (dpm) wrote :

And thank you!!!

Changed in nautilus:
status: Unknown → Fix Released
Changed in nautilus:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.