unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Vincent Belaïche" <vincentb1@users.sourceforge.net>
Cc: 22301@debbugs.gnu.org
Subject: bug#22301: 25.1.50; Emacs crashes while lisp debugging
Date: Tue, 05 Jan 2016 05:34:45 +0200	[thread overview]
Message-ID: <83lh8466ne.fsf@gnu.org> (raw)
In-Reply-To: <841t9xvu26.fsf@gmail.com> (message from Vincent Belaïche on Mon, 04 Jan 2016 23:49:53 +0100)

> From: Vincent Belaïche <vincentb1@users.sourceforge.net>
> Cc: Vincent Belaïche <vincent.belaiche@gmail.com> ,
>  22301@debbugs.gnu.org
> Date: Mon, 04 Jan 2016 23:49:53 +0100
> 
> (gdb) thread 1
> [Switching to thread 1 (Thread 11676.0x1edc)]
> #0  SDATA (string=1461725984) at lisp.h:1325
> 1325	  return XSTRING (string)->data;
> (gdb)  thread apply all bt
> 
> Thread 7 (Thread 11676.0x430):
> #0  0x771b8c51 in ntdll!DbgBreakPoint () from C:\WINDOWS\SYSTEM32\ntdll.dll
> #1  0x771e9e09 in ntdll!DbgUiRemoteBreakin ()
>    from C:\WINDOWS\SYSTEM32\ntdll.dll
> #2  0xfb32daaf in ?? ()
> #3  0x771e9dd0 in ntdll!DbgUiIssueRemoteBreakin ()
>    from C:\WINDOWS\SYSTEM32\ntdll.dll
> #4  0x760238f4 in KERNEL32!BaseThreadInitThunk ()
>    from C:\WINDOWS\SYSTEM32\kernel32.dll
> #5  0x771a56c3 in ntdll!RtlUnicodeStringToInteger ()
>    from C:\WINDOWS\SYSTEM32\ntdll.dll
> #6  0x00000000 in ?? ()
> 
> Lisp Backtrace:
> "backtrace" (0xbfedac)
> "debugger-setup-buffer" (0xbfefe0)
> "debug" (0xbff1b4)
> "ses-relocate-all" (0xbff200)
> "let" (0xbff3bc)
> "ses-delete-row" (0xbff598)
> "funcall-interactively" (0xbff594)
> "call-interactively" (0xbff710)
> "command-execute" (0xbff8dc)
> 
> Thread 6 (Thread 11676.0x2aa0):
> #0  0x771b868c in ntdll!ZwWaitForWorkViaWorkerFactory ()
>    from C:\WINDOWS\SYSTEM32\ntdll.dll
> #1  0x7718a246 in ntdll!EtwNotificationRegister ()
>    from C:\WINDOWS\SYSTEM32\ntdll.dll
> #2  0x760238f4 in KERNEL32!BaseThreadInitThunk ()
>    from C:\WINDOWS\SYSTEM32\kernel32.dll
> #3  0x771a56c3 in ntdll!RtlUnicodeStringToInteger ()
>    from C:\WINDOWS\SYSTEM32\ntdll.dll
> #4  0x00c844c0 in ?? ()
> #5  0x771a568e in ntdll!RtlUnicodeStringToInteger ()
>    from C:\WINDOWS\SYSTEM32\ntdll.dll
> #6  0xffffffff in ?? ()
> #7  0x771cb6c3 in ntdll!RtlCaptureContext ()
>    from C:\WINDOWS\SYSTEM32\ntdll.dll
> #8  0x00000000 in ?? ()
> 
> --8<----8<----8<----8<----8<--  end  -->8---->8---->8---->8---->8----
> 
> Please note that I don't get again the debugger prompt --- I am running
> the debugger from an Emacs shell buffer, could it be some interaction
> that the buffer process sentinel could not capture ? Anyway, I am
> keeping the gdb session open, as you asked...

Do you get the GDB prompt back if you press F-12 or Ctrl-C?  If not,
this session is ruined, and you can stop it.

Next time when it happens, type these commands instead:

  (gdb) thread 1
  (gdb) bt

Better yet, run Emacs from GDB to begin with, it will make the
backtrace more reliable.

Thanks.





  reply	other threads:[~2016-01-05  3:34 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-03 22:43 bug#22301: 25.1.50; Emacs crashes while lisp debugging Vincent Belaïche
2016-01-04  3:41 ` Eli Zaretskii
2016-01-04  8:00 ` Vincent Belaïche
2016-01-04 15:54   ` Eli Zaretskii
2016-01-04 22:49 ` Vincent Belaïche
2016-01-05  3:34   ` Eli Zaretskii [this message]
2016-01-05  7:17 ` Vincent Belaïche
2016-01-05 16:00   ` Eli Zaretskii
2016-01-14 16:15 ` Vincent Belaïche
2016-01-14 18:20   ` Eli Zaretskii
2016-01-14 22:54 ` Vincent Belaïche
2016-01-15  7:46   ` Eli Zaretskii
2016-01-15  7:56 ` Vincent Belaïche
2016-01-15  8:12   ` Eli Zaretskii
2016-01-19 23:34 ` Vincent Belaïche
2016-01-20  1:58   ` Alexis
2016-01-20  4:31   ` Eli Zaretskii
2016-01-20  8:50 ` Vincent Belaïche
2016-01-20  9:49   ` Eli Zaretskii
2016-01-20 15:30   ` Nicolas Richard
2016-02-01  9:18 ` Vincent Belaïche
2016-02-01 17:22 ` Vincent Belaïche
2016-02-02  7:14 ` Vincent Belaïche
2016-12-07 18:55   ` Glenn Morris

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=83lh8466ne.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=22301@debbugs.gnu.org \
    --cc=vincentb1@users.sourceforge.net \
    /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).