unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Live System User <nyc4bos@aol.com>
Cc: 29548@debbugs.gnu.org
Subject: bug#29548: 25.2; How to DEBUG get-device-terminal
Date: Tue, 09 Jan 2018 22:51:47 -0500	[thread overview]
Message-ID: <87tvvupe0c.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87zi5r5m20.fsf@aol.com> (Live System User's message of "Sat, 06 Jan 2018 05:16:55 -0500")

Live System User <nyc4bos@aol.com> writes:

> Noam Postavsky <npostavs@users.sourceforge.net> writes:
>
>> Hmm, if you can reproduce this semi-regularly, then perhaps the
>> following patch can catch the reason for the problem.  It sets a
>> breakpoint in Fsignal while the terminal is in the process of being

I said Fsignal, but posted a patching breaking in signal_or_quit.  The
latter only exists in emacs-26.  Are you running that or 25.2 as in your
original report?

Actually I think it might work better to break in longjmp instead.

> Thread 1 "emacs" hit Breakpoint 3, begin_delete_terminal () at terminal.c:317
> 317	    delete_terminal_count++;
>
>
>    I noticed that this didn't end with a paired
>
>              "delete_terminal_count--;".
>              
>    which it does do so normally.

I believe this means that the problem is indeed a non-local exit
happening somewhere in there, but we failed to catch it.  Either because
I posted the Emacs 26 version while you are on Emacs 25, or it doesn't
go through the signal machinery at all.





  reply	other threads:[~2018-01-10  3:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-03 15:42 bug#29548: 25.2; How to DEBUG get-device-terminal Live System User
2017-12-03 16:09 ` Noam Postavsky
2017-12-06 18:49   ` Live System User
2017-12-06 19:56     ` Noam Postavsky
2017-12-07  0:25       ` Live System User
2017-12-15  1:37         ` Noam Postavsky
2018-01-04 14:37           ` Live System User
2018-01-05  2:12             ` Noam Postavsky
2018-01-06 10:16               ` Live System User
2018-01-10  3:51                 ` Noam Postavsky [this message]
2018-02-14 17:26                   ` Live System User
2018-02-18 22:41                     ` Noam Postavsky
2017-12-07  9:27       ` martin rudalics
2017-12-07  9:35         ` Noam Postavsky

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=87tvvupe0c.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=29548@debbugs.gnu.org \
    --cc=nyc4bos@aol.com \
    /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).