emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS: a random backtrace while toying with gdb


From: Helmut Eller
Subject: Re: MPS: a random backtrace while toying with gdb
Date: Sun, 30 Jun 2024 11:36:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Sat, Jun 29 2024, Gerd Möllmann wrote:

> Someone has an idea what to do with that? And maybe how to reproduce?

I can reproduce it with

/src/emacs -Q -batch -eval '(dotimes (_ 100)
  (start-process "foo" nil "sleep" "0.2")
  (igc--collect))'

I would move most of the work out of signal handlers.  The signal
handler could put the work in a "async work queue" and then return.  The
actual work is then processed by maybe_quit.

Sending the work to a helper thread would be nicer, but probably not a
realistic option with Emacs.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]