After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 418771 - nautilus crashed with SIGSEGV in g_type_check_instance()
nautilus crashed with SIGSEGV in g_type_check_instance()
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Navigation
2.17.x
Other Linux
: Normal critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-15 22:46 UTC by Sebastien Bacher
Modified: 2007-03-19 16:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Sebastien Bacher 2007-03-15 22:46:06 UTC
The bug has been opened on https://launchpad.net/bugs/90934

"Binary package hint: nautilus

This is a very odd problem. I have 4 nfs shares mounted in /media (all are displayed on the desktop, and on the left side in nautilus) One of those 4 nfs shares makes nautilus crash. This was not a problem before when using Ubuntu 6.10. So 3 of them work fine, 1 makes nautilus crash when opening the nfs share.

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Fri Mar 9 20:55:32 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/nautilus
Package: nautilus 2.17.92-0ubuntu1
PackageArchitecture: i386
ProcCmdline: nautilus --no-default-window --sm-client-id default2
..."

Debug backtrace for the crash:

  • #0 IA__g_type_check_instance
    at gtype.c line 3205
  • #1 IA__g_signal_emit_valist
    at gsignal.c line 2126
  • #2 IA__g_signal_emit
    at gsignal.c line 2243
  • #3 nautilus_file_emit_changed
    at nautilus-file.c line 5485
  • #4 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794
  • #5 nautilus_file_changed
    at nautilus-file.c line 5431
  • #6 nautilus_file_emit_changed
    at nautilus-file.c line 5490
  • #7 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794
  • #8 nautilus_file_changed
    at nautilus-file.c line 5431
  • #9 nautilus_file_emit_changed
    at nautilus-file.c line 5490
  • #10 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794
  • #11 nautilus_file_changed
    at nautilus-file.c line 5431
  • #12 nautilus_file_emit_changed
    at nautilus-file.c line 5490
  • #13 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794
  • #14 nautilus_file_changed
    at nautilus-file.c line 5431
  • #15 nautilus_file_emit_changed
    at nautilus-file.c line 5490
  • #16 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794
  • #17 nautilus_file_changed
    at nautilus-file.c line 5431
  • #18 nautilus_file_emit_changed
    at nautilus-file.c line 5490
  • #19 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794
  • #20 nautilus_file_changed
    at nautilus-file.c line 5431
  • #21 nautilus_file_emit_changed
    at nautilus-file.c line 5490
  • #22 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794
  • #23 nautilus_file_changed
    at nautilus-file.c line 5431
  • #24 nautilus_file_emit_changed
    at nautilus-file.c line 5490
  • #25 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794
  • #26 nautilus_file_changed
    at nautilus-file.c line 5431
  • #27 nautilus_file_emit_changed
    at nautilus-file.c line 5490
  • #28 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794
  • #29 nautilus_file_changed
    at nautilus-file.c line 5431
  • #30 nautilus_file_emit_changed
    at nautilus-file.c line 5490
  • #31 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794
  • #32 nautilus_file_changed
    at nautilus-file.c line 5431
  • #33 nautilus_file_emit_changed
    at nautilus-file.c line 5490
  • #34 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794
  • #35 nautilus_file_changed
    at nautilus-file.c line 5431
  • #36 nautilus_file_emit_changed
    at nautilus-file.c line 5490
  • #37 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794
  • #38 nautilus_file_changed
    at nautilus-file.c line 5431
  • #39 nautilus_file_emit_changed
    at nautilus-file.c line 5490
  • #40 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 794

Other comment from the bug submitter:

"I have found the reason for the crash, in the NFS share there was an invalid symlink. (a symlink that was pointing to something that wasn't there) When I moved the symlink into a subfolder it didn't crash, but when I open that folder with the invalid symlink nautilus crash again.

So this bug is totally unrelated to NFS, nautilus crash whenever you enter a folder with an invalid symlink."
Comment 1 j_greenhouse 2007-03-16 13:38:51 UTC
I've experienced this bug myself. I'm running Nautilus 2.18.0.1, this does not happen with 2.14.3.

But it is easy to reproduce. Just make a symbolic link pointing to itself.
ln -s bla bla
Nautilus will crash when displaying the folder. I've had others confirming this.
Comment 2 Alexander Larsson 2007-03-19 16:49:57 UTC
2007-03-19  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-file.c (nautilus_file_emit_changed):
	Avoid recursion when updating symlinks (#418771)

fixed