unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 19432@debbugs.gnu.org, Jonas Bernoulli <jonas@bernoul.li>
Subject: bug#19432: backtrace for errors that occur inside process sentinels
Date: Sat, 26 Dec 2015 17:34:01 +0100	[thread overview]
Message-ID: <8760zlnp8m.fsf@gnus.org> (raw)
In-Reply-To: <jwvh9wnj93o.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Mon, 22 Dec 2014 23:15:43 -0500")

Stefan Monnier <monnier@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





  reply	other threads:[~2015-12-26 16:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-22 19:43 bug#19432: backtrace for errors that occur inside process sentinels Jonas Bernoulli
2014-12-23  4:15 ` Stefan Monnier
2015-12-26 16:34   ` Lars Ingebrigtsen [this message]
2016-02-29  5:47     ` Lars Ingebrigtsen

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=8760zlnp8m.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=19432@debbugs.gnu.org \
    --cc=jonas@bernoul.li \
    --cc=monnier@iro.umontreal.ca \
    /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).