Page 1 of 1

[SOLVED] Nautilus crashes on load (Bug #5163)

PostPosted: Mar 22nd, '13, 07:02
by dedanna1029
Hi,

I'm having an issue for a while now where Nautilus file manager crashes on load. I've tried starting it from terminal with just "nautilus", but I get no info from terminal other than "segmentation fault" (literally).

How can I get down to exactly what is causing it, either that or set a different file manager to be default in Gnome Classic? I've searched through Gnome Classic and Gnome 3 (shell) both, reset the ~/.config/nautilus and ~/.config/nautilus-actions folders both twice to no avail. For the interim, until this is resolved, I'm using Dolphin, starting it manually, for a file manager in Gnome.

The main problem is when it crashes, I lose all of my desktop icons, the works.

Fully updated here, on kernel-netbook, Mageia 2.

Thanks.

D.

Re: Nautilus File Manager crashes on load

PostPosted: Mar 22nd, '13, 07:12
by Ken-Bergen
Does it happen with a new user?

Re: Nautilus File Manager crashes on load

PostPosted: Mar 23rd, '13, 19:08
by dedanna1029
Yes, so far. I'm going to try another one, though, to be completely sure.

Edit: Yep, it sure does. I'd like to know how I can run a debug backtrace on this. I have debug repos installed, debug packages installed. I've just forgotten how to use them.

Re: Nautilus File Manager crashes on load

PostPosted: Mar 23rd, '13, 20:09
by doktor5000

Re: Nautilus File Manager crashes on load

PostPosted: Mar 23rd, '13, 21:46
by dedanna1029
OK, yeah, I looked at the Gentoo page, and got it.
Code: Select all
[dedanna@dedanna ~]$ gdb /usr/bin/nautilus
GNU gdb (GDB) 7.3.50.20110722-4.mga2 (Mageia release 2)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-mageia-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/nautilus...Reading symbols from /usr/lib/debug/usr/bin/nautilus.debug...done.
done.
(gdb) run
Starting program: /usr/bin/nautilus
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i686/libthread_db.so.1".
[New Thread 0xb64cdb70 (LWP 28032)]
[New Thread 0xb5affb70 (LWP 28033)]
[Thread 0xb64cdb70 (LWP 28032) exited]
[Thread 0xb5affb70 (LWP 28033) exited]
[Inferior 1 (process 28021) exited normally]
(gdb) handle SIG33 nostop noprint noignore pass
Signal        Stop   Print   Pass to program   Description
SIG33         No   No   Yes      Real-time event 33
(gdb) run
Starting program: /usr/bin/nautilus
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i686/libthread_db.so.1".
[New Thread 0xb64cdb70 (LWP 28207)]
[New Thread 0xb5affb70 (LWP 28208)]
[New Thread 0xb50ffb70 (LWP 28209)]
[New Thread 0xb48feb70 (LWP 28210)]
Initializing nautilus-dropbox 1.4.0
[New Thread 0xb3effb70 (LWP 28211)]
Initializing nautilus-open-terminal extension
Detaching after fork from child process 28212.
Detaching after fork from child process 28213.
[Thread 0xb50ffb70 (LWP 28209) exited]
[New Thread 0xb50ffb70 (LWP 28243)]

Program received signal SIGSEGV, Segmentation fault.
0xb761b145 in g_type_check_is_value_type () from /lib/libgobject-2.0.so.0
(gdb)


Are there any other options/arguments needed that I should be using here? I'm thinking that got it? Thanks.

Re: Nautilus File Manager crashes on load

PostPosted: Mar 23rd, '13, 22:08
by dedanna1029
Interestingly, alacarte has also been crashing since Nautilus started crashing. However, I don't know how to resolve this:
Code: Select all
[dedanna@dedanna ~]$ gdb /usr/bin/alacarte
GNU gdb (GDB) 7.3.50.20110722-4.mga2 (Mageia release 2)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-mageia-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
---->"/usr/bin/alacarte": not in executable format: File format not recognized
(gdb) quit


Edit: However...
Code: Select all
[dedanna@dedanna ~]$ alacarte

** (process:29989): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:29989): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:29989): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
  File "/usr/bin/alacarte", line 22, in <module>
    from Alacarte.MainWindow import MainWindow
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 19, in <module>
    import gtk, gmenu, gobject, gio
ImportError: No module named gmenu

Re: Nautilus File Manager crashes on load

PostPosted: Mar 24th, '13, 00:39
by doktor5000
Well, for nautilus, you missed the most important point, which is to run "bt full" after you received the segfault, so that all the backtrace information is collected.

Alacarte can't be used for comparison, as it is still broken on Mageia 2: https://bugs.mageia.org/show_bug.cgi?id=2911

Re: Nautilus File Manager crashes on load

PostPosted: Mar 24th, '13, 02:38
by dedanna1029
OK, I'll run that tomorrow; time for sleep now. Thanks. :)

Edit: Actually, I just went ahead and did it. The backtrace2.log hosed on me; I thought it would over-write one already there, but it didn't. :( At any rate, this contains everything done anyway, straight from terminal (and oops, I forgot to do "set logging off" at the end there):

http://pastebin.ca/2339227

Re: Nautilus File Manager crashes on load

PostPosted: Mar 24th, '13, 12:24
by dedanna1029
I'm wondering, do I need to file a bug, or is this something else? I can't make heads or tails out of the gdb. Thanks.

Re: Nautilus File Manager crashes on load

PostPosted: Mar 24th, '13, 12:49
by doktor5000
Please try again without that dropbox module.

You may also want to have a look at the MAQeia for dropbox:
viewtopic.php?f=36&t=3602
As i don't use dropbox myself, can't really help you further with that ...
But it seems if you're missing some dependencies for dropbox, it will segfault, doesn't matter if under KDE or GNOME.

Re: Nautilus File Manager crashes on load

PostPosted: Mar 24th, '13, 13:30
by dedanna1029
You mean it will segfault Nautilus, or itself? Dropbox in of itself runs fine here, in both KDE and Gnome.

Ah, wait, I see. Using nautilus-dropbox in KDE can cause it to crash... but it isn't in KDE. Strange.

I'll try that.

Re: Nautilus File Manager crashes on load

PostPosted: Mar 24th, '13, 14:13
by dedanna1029
Well, whatever it is, it's not nautilus-dropbox. I not only took it out of startup, but also uninstalled it completely, and did not install kfilebox or anything. Nautilus still crashes.

I've updated the pastebin. Scroll down to "Without nautilus-dropbox": http://pastebin.ca/2339565

Re: Nautilus File Manager crashes on load

PostPosted: Mar 24th, '13, 14:43
by doktor5000
Then you should open a bugreport against Nautilus and attach the backtrace.
https://wiki.mageia.org/en/How_to_report_a_bug_properly

Re: Nautilus File Manager crashes on load

PostPosted: Mar 24th, '13, 16:06
by dedanna1029
Oh boy. This is opening up a ball of wax.
I've just come across Bug #5163, and I have an NFS share mounted. The problem is, I can't get it umounted to see if that's the problem. It keeps saying "device is busy", both in terminal and in mcc when I try to umount it, when I'm not even using it ATM. It's not doing anything on the server, either.

Edit: Never mind. I just umounted it on the server side.

Edit 2: I umounted the NFS share on the server side, and re-created it as a samba share. This, in turn, allowed me to have it umounted on the netbook side, and I did not add it back as a samba server yet on it. Nautilus is working fine. I've opened it several times in Gnome, with no ill effects. It has not crashed.

I'm going to add the samba server back to it, and see how it does. Stay tuned.

Re: Nautilus File Manager crashes on load

PostPosted: Mar 24th, '13, 17:08
by dedanna1029
The problem is that the netbook isn't finding it as a samba share. I'm going to have to wait until the server admin is home from work, and see what I need to do. At least I know that loading an NFS share is the problem with Nautilus crashing. I just wanted to see if samba would do the same thing on this particular share, but it's not in the cards right now. I'll report on the bug nonetheless.

Edit: At any rate, since the bug is commented on now, should I mark this as solved, since the thing I really wanted to know was how to find the issue, and that was answered? Solve as "referred to bugzilla bug #5163" ? I think I should, as it's in their hands now. Thank you for all of your help!