FS#29584 - [nautilus] crashes often when opening /home/user since update to 3.4.1-1

Attached to Project: Arch Linux
Opened by Timo Tomasini (kanocx) - Monday, 23 April 2012, 20:48 GMT
Last edited by Ionut Biru (wonder) - Monday, 07 May 2012, 15:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 10
Private No

Details

Description:

Nautilus crashes when opening users home folder after upgrading to 3.4.1-1.
When opening nautilus with an path, it works like a charm.

For logs, see attachements.

Additional info:
* package version:
- local/nautilus 3.4.1-1 (gnome)


Steps to reproduce:

1.) Upgrade to gnome 3.4.1
2.) restart your pc
3.) open nautilus without a path
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 07 May 2012, 15:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  nautilus 3.4.1-2
Comment by Alfredo Amatriain (amatriain) - Tuesday, 24 April 2012, 17:45 GMT
Nautilus also sometimes segfaults for me after the upgrade. I can open my home folder without problem, but trying to open some folders makes it crash. I made a post in the Arch forums here:

https://bbs.archlinux.org/viewtopic.php?pid=1092046

It doesn't do it immediately, only when I try to open certain directories. For the moment I see it happening with my local Dropbox folder and some (but not all) remote folders permanently mounted with samba. It's not exactly predictable: with some folders it never segfaults, with others it segfaults every time, and yet with others it only segfaults sometimes.

I'm sure it worked fine before the upgrade. I restarted the machine after the upgrade.
I'm running nautilus with an XFCE desktop (no gnome shell running). Thunar seems to work fine.

I'm attaching the log lines I get when it segfaults trying to open my Dropbox folder. It looks a lot like yours.
Comment by Alfredo Amatriain (amatriain) - Tuesday, 24 April 2012, 17:46 GMT
I'm also attaching the log lines I get when it segfaults trying to open a remote samba folder. In this case the message points to a different library (libgio instead of libgobject).
Comment by Timo Tomasini (kanocx) - Tuesday, 24 April 2012, 18:08 GMT
Today I mentioned that too. It crashes now every time, when I open the home directory and sometimes randomly while opening any other folder in my dropbox. Do you use the nautilus-dropbox plugin?
Comment by Jelle van der Waa (jelly) - Tuesday, 24 April 2012, 18:32 GMT
What if you remove the nautilus-dropbox folder?
Comment by Timo Tomasini (kanocx) - Tuesday, 24 April 2012, 18:34 GMT
I haven't tested that yet, because there are more than 10GB files and that's not really easy to backup them...

EDIT: I removed the libnautilus-dropbox plugin in /usr/lib/nautilus/extensions-3.0/, now I get the following error in messages.log:

Apr 24 20:39:14 colibri kernel: [26776.237936] pool[31835]: segfault at 2000 ip 00007ff875e69440 sp 00007ff85af83a90 error 4 in libgio-2.0.so.0.3200.1[7ff875e28000+145000]
Comment by Alfredo Amatriain (amatriain) - Tuesday, 24 April 2012, 19:27 GMT
I don't use nautilus-dropbox. I did have the following packages installed:

dropbox-1.1.40-1
thunar-dropbox-0.2.0-1

I've removed both, deleted my local dropbox folder and rebooted the machine.

The behavior is the same. Nautilus still segfaults when entering some folders with the following message in messages.log:

Apr 24 21:26:38 localhost kernel: [ 83.466346] pool[1486]: segfault at 3400 ip 00007fc1d73b0440 sp 00007fc1b23eba90 error 4 in libgio-2.0.so.0.3200.1[7fc1d736f000+145000]
Comment by Stefan Pieber (synonym24) - Tuesday, 24 April 2012, 20:25 GMT
I have the same behaviour. After reading your entries I tried to unmount all of my NFS mounts. After that nautilus starts as expected.
Comment by Ionut Biru (wonder) - Tuesday, 24 April 2012, 20:28 GMT
Please recompile glib2,gtk3,gvfs and nautilus with debug symbols and provide a gdb trace.
https://wiki.archlinux.org/index.php/Step_By_Step_Debugging_Guide#Technique_.232_-_even_better_gdb_output
Comment by GutsBlack (GutsBlack) - Tuesday, 24 April 2012, 21:38 GMT
I have the same behaviour, NFS mounts crash nautilus. FTP mount and Webdav mount is ok.
Comment by Timo Tomasini (kanocx) - Tuesday, 24 April 2012, 22:08 GMT
@wonder
I recompiled all packages you said and made a gdb as described in the wiki:

http://pastebin.com/jbknM1g1
(There are so many lines, because I had to click threw a bunch of folders to get my segfault)
Comment by Ionut Biru (wonder) - Tuesday, 24 April 2012, 22:28 GMT
I guess you forgot to add options= (!strip) as explained in the wiki because the trace is missing the symbols.
Comment by Timo Tomasini (kanocx) - Tuesday, 24 April 2012, 22:33 GMT
Oh sorry, I haven't done that before... The packages are recompiling... Needs a minute or two :)

EDIT: Looks better, here it is: http://pastebin.com/1D96JJPt
Comment by C Anthony Risinger (extofme) - Wednesday, 25 April 2012, 02:42 GMT
cowardly edit: move along please ... nothing to see here. [ https://bugs.archlinux.org/task/29608 ]
Comment by C Anthony Risinger (extofme) - Wednesday, 25 April 2012, 03:01 GMT
cowardly edit: move along please ... nothing to see here. [ https://bugs.archlinux.org/task/29608 ]
Comment by Maxime de Roucy (akira86) - Wednesday, 25 April 2012, 16:20 GMT
I experience the same problem.
Comment by Alfredo Amatriain (amatriain) - Wednesday, 25 April 2012, 22:10 GMT
@wonder

This is what I get with gdb when nautilus segfaults trying to open my Dropbox folder:

http://pastebin.com/Eea2avs9

This is what I get when it segfaults trying to open a remote samba folder:

http://pastebin.com/CU8KewDF
Comment by Ionut Biru (wonder) - Saturday, 28 April 2012, 12:09 GMT
please report this issue upstream
Comment by Ronny (RaumZeit) - Sunday, 29 April 2012, 12:35 GMT
Any progress on this?
I experience the same issue.
I dont see a pattern for which paths nautilus results in segfaulting (e.g. ~/ results in segfault while ~/Desktop/ doesn't)
Btw. I dont have dropbox installed and run Xfce4...

EDIT SOLVED:
After removing all temporary files of my user account from /tmp and also removing all configuration files from my home-dir (.gconf, .gvfs, .config, etc...) it works again...
I wish I knew which config option caused the bug...

Comment by Pavel (Alsvartr) - Monday, 30 April 2012, 15:42 GMT
Seems like problem is with the ~/.config/dconf
Nautilus works fine for me after deleting this directory.
Comment by Julien (Debaru) - Tuesday, 01 May 2012, 15:23 GMT
@Pavel : I'm agree with you. Delete ~/.config/dconf seems resolve problem.
Comment by Patryk Rzucidlo (PTKDev) - Tuesday, 01 May 2012, 16:43 GMT
Delete ~/.config/dconf not solve problem.. Nautilus and all session crash
Comment by Pavel (Alsvartr) - Tuesday, 01 May 2012, 17:03 GMT
@Patryk Rzucidlo: I noticed that ~/.gtk-bookmarks can also be the problem. Try to delete or move this file.
Comment by Pavel (Alsvartr) - Tuesday, 01 May 2012, 17:05 GMT
Oh, and be sure that problem is with your config files (try to run nautilus with sudo for example) and not with the plugins, add-ons and such system wide things.
Comment by Patryk Rzucidlo (PTKDev) - Tuesday, 01 May 2012, 17:13 GMT
@Pavel damn... Crash with sudo and without sudo :(
Comment by Pavel (Alsvartr) - Tuesday, 01 May 2012, 17:19 GMT
@Patryk Rzucidlo: then I think you have a different problem. You can try to remove add-on packages that depend on nautilus (nautilus-actions and so on) cause it could be the issue. Or you can simply downgrade nautilus to 2.3.0 (with "downgrade" script from AUR for example). There are no dependency problems with this.
Comment by Patryk Rzucidlo (PTKDev) - Tuesday, 01 May 2012, 17:21 GMT
@Pavel open new bug report?
Comment by Pavel (Alsvartr) - Tuesday, 01 May 2012, 17:31 GMT
@Patryk Rzucidlo: first run nautilus from the terminal and post an output here. It is hard to say what kind or problem you're experiencing. Than make sure that problem is not system wide, not with the nautilus add-ons and packaging issues. This bug have something with the user specific config files (~/.config/dbus/ and ~/.gtk-bookmarks for me), so if you run nautilus from clean user directory everything must be ok.
Comment by Patryk Rzucidlo (PTKDev) - Tuesday, 01 May 2012, 17:42 GMT
@Pavel this isn't possibile... All session of openbox crash with nautilus!
Comment by Kevin Carrasco (el_psycho) - Tuesday, 01 May 2012, 23:48 GMT
I was having crashes with segmentation fault in nautilus. Thanks to the suggestions here its fixed for now.
First i deleted ~/.config/dconf but that didn't work.
next i deleted ~/.gtk-bookmarks and that did the trick.
We'll see if the problem comes back...
Comment by Alfredo Amatriain (amatriain) - Wednesday, 02 May 2012, 08:25 GMT Comment by Jeremy M. (jskier) - Monday, 07 May 2012, 14:36 GMT
Just an update, it appears to have fix which has been pushed into git upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=674659
Comment by Timo Tomasini (kanocx) - Monday, 07 May 2012, 15:05 GMT
Hey Jeremy,

thank you for this information, sounds great :)

Wonder, can you please leave a comment, when the new nautilus package is on the way to [extra]?

Greetings,
KanocX

Loading...