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 709178 - [Segfault] Infinite recursive symbolic link
[Segfault] Infinite recursive symbolic link
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Navigation
3.8.x
Other Linux
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-01 11:20 UTC by surfmaths
Modified: 2018-03-16 00:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Back trace [truncated] (6.35 KB, text/x-log)
2013-10-02 09:06 UTC, surfmaths
Details

Description surfmaths 2013-10-01 11:20:59 UTC
How to reproduce:
$ cd Somewhere/
$ ln -s left right
$ ln -s right left
$ nautilus .
Try to display the directory... but fail after a really short time.
Returns a Segmentation fault.

Probable reason: infinite dereferentiation loop

Recommended solution: detect loops (using a hashset, a list, or a tortoise-hare algorithm)
Quick and dirty solution: hard-limit for recursive depth

OS: Archlinux
GNOME nautilus 3.8.2
Comment 1 António Fernandes 2013-10-01 20:14:22 UTC
Some background: a similar bug was thought to have been fixed (bug 545189) and a recent mailing list thread[1] suggests the "reproducibility" varies with the distribution.

Whether this is the same bug and an upstream bug or not, without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!

[1] https://mail.gnome.org/archives/nautilus-list/2013-September/msg00013.html
Comment 2 surfmaths 2013-10-02 09:06:17 UTC
Created attachment 256241 [details]
Back trace [truncated]

Back trace at segfault (truncated)
Comment 3 António Fernandes 2018-03-16 00:41:46 UTC
I assume this is now fixed thanks to commit 0d24b6a1df29a97979384b076d1255b1c4e109cf
https://gitlab.gnome.org/GNOME/nautilus/commit/0d24b6a1df29a97979384b076d1255b1c4e109cf