Subject: bug#30626: 26.0.91; Crash when traversing a `stream-of-directory-files'

From: Eli Zaretskii <[email-masked]>
Date: Tue, 27 Feb 2018 20:00:39 +0200

> From: Michael Heerdegen <[email-masked]>
> Cc: [email-masked], [email-masked]
> Date: Tue, 27 Feb 2018 12:39:47 +0100
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > I guess it's a stack overflow: that function recurses into
> > subdirectories.
> >
> > To avoid such problems, the function should be rewritten to work by
> > BFS, not DFS.
> 
> Here is the backtrace I'm now able to produce.  Looks like the crash
> happens in gc:

GC is deeply-recursive, and you have exacerbated that by using up a
lot of stack.