Subject: Re: bug#19432: backtrace for errors that occur inside process sentinels

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 26 Dec 2015 17:34:01 +0100

Stefan Monnier <[email-masked]> writes:

>> Please provide a way to get backtraces for errors that occur inside
>> process sentinels.
>
> (setq debug-on-error t) works for me:
>
>    emacs -Q --eval '(setq debug-on-error t)'                          \
>             --eval '(let ((proc (start-process "foo" nil "true")))    \
>                       (set-process-sentinel proc (lambda (&rest args) \
>                                                    (+ args 2))))'
>
> brings up a *Backtrace* buffer just fine.

So this doesn't seem reproducible.  Jonas, do you have a recipe how to
trigger this bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no