all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Emacs Development <emacs-devel@gnu.org>
Subject: SIGABRT in `stream-of-directory-files'
Date: Mon, 26 Feb 2018 13:09:06 +0100	[thread overview]
Message-ID: <87y3jgosv1.fsf@web.de> (raw)

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.



             reply	other threads:[~2018-02-26 12:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-26 12:09 Michael Heerdegen [this message]
2018-02-26 17:32 ` SIGABRT in `stream-of-directory-files' 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y3jgosv1.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.