GNOME Bugzilla – Bug 709178
[Segfault] Infinite recursive symbolic link
Last modified: 2018-03-16 00:41:46 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
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
Created attachment 256241 [details] Back trace [truncated] Back trace at segfault (truncated)
I assume this is now fixed thanks to commit 0d24b6a1df29a97979384b076d1255b1c4e109cf https://gitlab.gnome.org/GNOME/nautilus/commit/0d24b6a1df29a97979384b076d1255b1c4e109cf