GNU bug report logs - #19432
backtrace for errors that occur inside process sentinels

Previous Next

Package: emacs;

Reported by: Jonas Bernoulli <jonas <at> bernoul.li>

Date: Mon, 22 Dec 2014 19:47:02 UTC

Severity: wishlist

Tags: moreinfo, unreproducible

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19432 in the body.
You can then email your comments to 19432 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19432; Package emacs. (Mon, 22 Dec 2014 19:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonas Bernoulli <jonas <at> bernoul.li>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 22 Dec 2014 19:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jonas Bernoulli <jonas <at> bernoul.li>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: backtrace for errors that occur inside process sentinels
Date: Mon, 22 Dec 2014 20:43:02 +0100
Please provide a way to get backtraces for errors that occur inside
process sentinels.  Something similar to `toggle-debug-on-error', I
suppose.

This is a late follow up to
http://emacs.stackexchange.com/questions/3552/how-to-debug-errors-in-sentinels-and-during-font-lock

  Thanks,
  Jonas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19432; Package emacs. (Tue, 23 Dec 2014 04:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 19432 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: 19432 <at> debbugs.gnu.org
Subject: Re: bug#19432: backtrace for errors that occur inside process
 sentinels
Date: Mon, 22 Dec 2014 23:15:43 -0500
> 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.


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19432; Package emacs. (Sat, 26 Dec 2015 16:35:02 GMT) Full text and rfc822 format available.

Message #11 received at 19432 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 19432 <at> debbugs.gnu.org, Jonas Bernoulli <jonas <at> bernoul.li>
Subject: Re: bug#19432: backtrace for errors that occur inside process
 sentinels
Date: Sat, 26 Dec 2015 17:34:01 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> 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




Added tag(s) unreproducible. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 26 Dec 2015 16:35:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19432; Package emacs. (Mon, 29 Feb 2016 05:49:01 GMT) Full text and rfc822 format available.

Message #16 received at 19432 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 19432 <at> debbugs.gnu.org, Jonas Bernoulli <jonas <at> bernoul.li>
Subject: Re: bug#19432: backtrace for errors that occur inside process
 sentinels
Date: Mon, 29 Feb 2016 16:47:51 +1100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Stefan Monnier <monnier <at> iro.umontreal.ca> 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?

More information was requested, but no response was given within a few
months, so I'm closing this bug report.  If the problem still exists,
please reopen this bug report.
-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 19432 <at> debbugs.gnu.org and Jonas Bernoulli <jonas <at> bernoul.li> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 29 Feb 2016 05:49:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 28 Mar 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 143 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.