emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS make-thread


From: Ihor Radchenko
Subject: Re: MPS make-thread
Date: Sat, 22 Jun 2024 18:52:25 +0000

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

>> thix.c:67: Emacs fatal error: assertion failed: SigCheck Thread: thread
>> Fatal error 6: Aborted
>
> Any chance to make this reproducible? Maybe by adding calls to
> (igc--collect) in various places? I don't know what you are doing...

(progn
  (defvar *baz* nil)
  (defun bar (len)
    (let ((data (make-list len nil)))
      (setq *baz* (lambda () (bar len) data))))
  (defun foo ()
    (bar 1000)
    (dotimes (_ 10000)
      (funcall *baz*)))
  (thread-join (make-thread (lambda () (igc--collect))))
  (foo))

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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