all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* SIGABRT in `stream-of-directory-files'
@ 2018-02-26 12:09 Michael Heerdegen
  2018-02-26 17:32 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Heerdegen @ 2018-02-26 12:09 UTC (permalink / raw)
  To: Emacs Development

Hello,

sorry if I'm missing something obvious.

When I traverse a stream created with `stream-of-directory-files', and
that stream recursively traverses a huge directory hierarchy, like in

#+begin_src emacs-lisp
(seq-doseq (_file (stream-of-directory-files
                   "/home/micha" t nil t nil
                   (lambda (file) (and (file-readable-p file) (file-regular-p file)))))
  nil)
#+end_src

emacs crashes with SIGABRT (after quite some time).

Is it possible that doing something like this hits some internal limit?
My half-baked trials to debug with gdb were not very enlightening:

| (gdb) run
| Starting program: /home/micha/software/emacs/src/emacs 
| During startup program terminated with signal SIGABRT, Aborted.
| (gdb) xbacktrace
| You can't do that without a process to debug.
| (gdb) bt
| No stack.

Hints appreciated.


Thanks,

Michael.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-02-27 12:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-26 12:09 SIGABRT in `stream-of-directory-files' Michael Heerdegen
2018-02-26 17:32 ` Eli Zaretskii
2018-02-27  9:37   ` Michael Heerdegen
2018-02-27 10:34     ` Andreas Schwab
2018-02-27 11:02       ` Michael Heerdegen
2018-02-27 11:09         ` Andreas Schwab
2018-02-27 11:18           ` Michael Heerdegen
2018-02-27 11:32             ` Andreas Schwab
2018-02-27 11:46               ` Michael Heerdegen
2018-02-27 12:09                 ` Andreas Schwab

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.