From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Pierre Neidhardt <ambrevar@gmail.com>
Cc: 28329@debbugs.gnu.org
Subject: bug#28329: 25.2; Eshell: 40M+ output: Stack overflow in regexp matcher
Date: Sun, 05 Nov 2017 09:44:42 -0500 [thread overview]
Message-ID: <87ineo7pk5.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87mv40omi0.fsf@gmail.com> (Pierre Neidhardt's message of "Sun, 05 Nov 2017 14:58:47 +0100")
Pierre Neidhardt <ambrevar@gmail.com> writes:
> That being said, no issue doing that. So the output "saved after the
> fact" does not seem to produce the issue.
Damn. I guess the chunking is significant too. Could you try saving
the output chunks, with this:
(defvar eshell-chunk-number 0)
(defconst eshell-output-chunk-dir "eshell-output")
(make-directory eshell-output-chunk-dir t)
(defun catch-eshell-output-chunk ()
(write-region eshell-last-output-block-begin
eshell-last-output-end
(format "%s/chunk.%d"
eshell-output-chunk-dir
eshell-chunk-number)
nil :quiet)
(setq eshell-chunk-number (1+ eshell-chunk-number)))
(add-hook 'eshell-output-filter-functions
'catch-eshell-output-chunk)
And then afterwards 'cat eshell-output/chunk.*' should hopefully
reproduce it?
next prev parent reply other threads:[~2017-11-05 14:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-02 9:34 bug#28329: 25.2; Eshell: 40M+ output: Stack overflow in regexp matcher Pierre Neidhardt
2017-09-02 12:30 ` npostavs
2017-09-02 13:27 ` Pierre Neidhardt
2017-09-03 2:19 ` npostavs
2017-09-24 12:55 ` Noam Postavsky
2017-10-21 1:20 ` Noam Postavsky
2017-11-05 13:58 ` Pierre Neidhardt
2017-11-05 14:44 ` Noam Postavsky [this message]
2017-11-05 14:54 ` Pierre Neidhardt
2019-06-30 4:58 ` Stefan Kangas
2019-06-30 5:59 ` Pierre Neidhardt
2019-06-30 7:07 ` Stefan Kangas
2019-06-30 13:45 ` Noam Postavsky
2019-06-30 14:48 ` Mattias Engdegård
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ineo7pk5.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=28329@debbugs.gnu.org \
--cc=ambrevar@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).