nautilus crashed with SIGSEGV in g_closure_invoke()

Bug #711429 reported by Henrique Ferreiro
850
This bug affects 170 people
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Critical
nautilus (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: nautilus

Happened when deleting a file.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: nautilus 1:2.32.0-0ubuntu1.3
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic x86_64
NonfreeKernelModules: nvidia wl
Architecture: amd64
Date: Tue Feb 1 20:08:51 2011
ExecutablePath: /usr/bin/nautilus
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcCmdline: nautilus
ProcEnviron:
 LANG=es_ES.utf8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x4cfbee: mov 0x18(%rdi),%rdx
 PC (0x004cfbee) ok
 source "0x18(%rdi)" (0x00000018) not located in a known VMA region (needed readable region)!
 destination "%rdx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: nautilus
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
 ?? () from /usr/lib/libgobject-2.0.so.0
Title: nautilus crashed with SIGSEGV in g_closure_invoke()
UserGroups: adm admin cdrom dialout dip fax floppy fuse lpadmin nopasswdlogin plugdev sambashare tape video

Revision history for this message
Henrique Ferreiro (henrique-ferreiro) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 nautilus_file_peek_display_name (file=0x0) at nautilus-file.c:3793
 nautilus_file_get_display_name (file=0x0)
 selection_changed_callback (window=0x12ba420,
 g_closure_invoke (closure=0x13d24d0,
 signal_emit_unlocked_R (node=0xfff050,

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in nautilus (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Brad Figg (brad-figg) wrote :

Why is this a private bug ?

Revision history for this message
Martin Pitt (pitti) wrote :

I checked that the stack trace doesn't have any confidential information, so making public.

visibility: private → public
Revision history for this message
Sebastien Bacher (seb128) wrote :

seems similar to bug #407768

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in nautilus (Ubuntu):
status: New → Triaged
Changed in nautilus (Ubuntu):
status: Triaged → Fix Committed
Changed in nautilus:
importance: Unknown → Critical
status: Unknown → Fix Released
tags: added: bugpattern-needed
Revision history for this message
steubens (steubens) wrote :

this just happened again with the details i provided on this bug report https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/764874

i deleted 3 files, one disappeared in the ui, with the selection; then it crashed, in the end all of the selection is actually deleted

Revision history for this message
steubens (steubens) wrote :

i don't think the resolution is correct, and the upstream bug looks unrelated; can someone that knows why apport marked them duplicates manually confirm? or at least tell me how to ... this bug isn't resolved

Changed in nautilus (Ubuntu):
status: Fix Committed → Confirmed
Revision history for this message
mario catena (mcblackmar02) wrote :

i have this bug on 11.10 oneiric

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

the issue is fixed in oneiric

Changed in nautilus (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

it should be fixed, if you still have it could you open a new bug using apport to compare?

Changed in nautilus (Ubuntu):
status: Fix Released → Incomplete
Revision history for this message
mario catena (mcblackmar02) wrote :

ok! sorry thanks!

Revision history for this message
steubens (steubens) wrote :

quoting the "workaround" commit:

"Prevent a crash in nautilus_file_peek_display_name() on invalid NautilusFile
This is more a workaround only, expect assert failures at other places when something bad happens. There's a race condition somewhere, this patch only prevents immediate crash."

i haven't had it happen in a while, but when it does it happens in the manner of #9

Revision history for this message
steubens (steubens) wrote :

i figured out a way to reproduce this crash! :D (and the crash you still get with the bodge)

it happens when you select one of the files you just deleted, before they've left the view. to help do this i copied 30-40 mp3 albums into a separate folder, entered that folder, then picked the top 8 or so; held shift and pressed delete

immediately after hitting enter to dismiss the warning dialogue i hit the down arrow key a bunch of times; if you succeed the focus will change to one of the files in the selection, with the wrong icon, and it will immediately crash thereafter

turns out this is what i was doing every time i triggered the crash ;]

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello Sebastien
bug 830719 in Nautilus 1:3.1.4-0ubuntu3

tags: removed: bugpattern-needed
Revision history for this message
Justin Force (justin-force) wrote : apport information

Architecture: i386
DistroRelease: Ubuntu 11.04
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
NonfreeKernelModules: nvidia
Package: nautilus 1:2.32.2.1-0ubuntu13
PackageArchitecture: i386
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
Tags: natty running-unity
Uname: Linux 2.6.38-11-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

tags: added: apport-collected natty running-unity
Revision history for this message
Justin Force (justin-force) wrote : Dependencies.txt

apport information

Revision history for this message
Justin Force (justin-force) wrote : GConfNonDefault.txt

apport information

Revision history for this message
Justin Force (justin-force) wrote : usr_lib_nautilus.txt

apport information

Revision history for this message
Justin Force (justin-force) wrote :

This bug definitely still exists in Natty. The GNOME bug also indicates that the fix is a hack, so I think this is still a problem.

To EASILY reproduce this:

1. Create a folder in Nautilus for testing. Press Ctrl-Shift-N 30 times or so to get a lot of folders to play with then press Enter to create them.
2. Select the top folder and start rapidly pressing the Delete key.
3. Where'd Nautilus go?

See my previous apport-collect submission above for details.

Revision history for this message
Svivi (svivi) wrote :

Hi,

I have the same problem in Oneiric (amd64).
It happened when I tried to open a directory.

Revision history for this message
userdce (userdce) wrote :

it happened when Dropbox told to restart nautilus

Revision history for this message
Ingo Gerth (igerth) wrote :

Just happened when dragging a file from the desktop.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Can anybody having the problem on Oneiric please enable apport and submit a new report? We'd like to compare the backtraces to see if the report is the same or if its a new one we should track, Thanks in advance.

Revision history for this message
miked (miked11) wrote :

win7 wubi amd64 11.04 install upgraded to o.o. 11.10 beta 1/2 now

Changed in nautilus (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
Revision history for this message
Vladimir Scherbaev (zemik) wrote :

Also affect 11.10

Revision history for this message
Perry Blanchard (pcblanchard) wrote :

11.10, got this after watching a video in totem, had Videos folder maximized in the back, hit the close button and bam

Revision history for this message
Brad Heap (nzv8fan) wrote :

Got this bug in 11.10 x64 Gnome 3, when closing a window.

Revision history for this message
Justin (justin-wzy) wrote :

11.10 x64... when closing thunderbird

Changed in nautilus (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Bob Bib (bobbib) wrote :

happened in 11.04 too

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

is that still an issue in Oneiric?

Revision history for this message
Antonio J. de Oliveira (ajoliveira) wrote :

Up to now I have not seen it happening in Oneiric. But I have not been too demanding in terms of file deletion.

Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :

Just got this crash on Precise after switching to a workspace with Nautilus as the top window and pressing Alt+F4 repeatedly to close all windows. Nautilus froze and grayed out for a few moments, then while asking me if I wanted to force quit it it crashed before I could click anything.

Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :

Now got this crash again. Twice, actually; I'm thinking I can reliably reproduce this on Precise. The steps I followed:

1.) Open Nautilus and start in your home folder.
2.) Hit Ctrl+H to show hidden files and folders.
3.) Navigate into ~/.hedgewars/Demos and copy the replay file(s) in there (this assumes Hedgewars is installed and you have available game replays; more experimentation would be needed to see if other files/folders can be used instead).
4.) Navigate back to the home folder and hit Ctrl+H again to hide hidden files and folders. Go into the ~/Ubuntu One folder.
5.) Attempt to paste what was copied into there.

The theme will revert to standard GNOME and Nautilus will close; the paste operation will not occur and an Apport window will come up.

A side effect of this crash is that once Nautilus has been triggered to crash like this, it is seemingly impossible to start it again without a reboot, as any attempt to start it will fail and a gnome-settings-daemon Apport crash window will come up instead. This basically breaks graphical file browsing on the user's system.

Note too that at step 4 above the files are specifically pasted into the Ubuntu One folder. Although I have not experimented with it much, it appears that pastes elsewhere (i.e., the desktop) still work just fine and don't cause any issues.

Revision history for this message
Vladimir Scherbaev (zemik) wrote :

I have this bug on 12.04. Open new bug?

Revision history for this message
AO (aofrl10n) wrote :

On Precise amd 64 fully updated, Nautilus keeps crashing and requires a reboot everytime.

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

Vladimir, your issue is rather bug #908787

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

closing the bug, the duplicates stopped which indicates the issue got resolved

Changed in nautilus (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.