unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6413: What does ntdll!DbgUiConnectToDbg mean? (on w32)
@ 2010-06-13 16:58 Lennart Borgman
  2010-06-13 18:10 ` Eli Zaretskii
  2011-07-03 18:49 ` Juanma Barranquero
  0 siblings, 2 replies; 10+ messages in thread
From: Lennart Borgman @ 2010-06-13 16:58 UTC (permalink / raw)
  To: 6413

I just got this from the gdb running Emacs:

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 372.0xcec]
0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
(gdb) bt
#0  0x7c90120f in ntdll!DbgUiConnectToDbg ()
   from C:\WINDOWS\system32\ntdll.dll
#1  0x7c951e40 in ntdll!KiIntSystemCall () from C:\WINDOWS\system32\ntdll.dll
#2  0x00000005 in ?? ()
#3  0x00000004 in ?? ()
#4  0x00000001 in ?? ()
#5  0x215affd0 in ?? ()
#6  0x00000000 in ?? ()
(gdb) c

Is there anything I can do to look into it further? I can't think of
anything I did in Emacs this time that triggered this so I am a bit
lost.


As I previously mentioned I have added a macro to test system calls
return values and I wonder if this somehow is involved here or if this
is just one of these "doctor watson-crashes" I now and then see, as
seen through gdb.

The macro I added just looks like

  #define W32ASSERT(TEST, WHERE) if (!TEST) DebPrint (("%s: %s\n",
WHERE, w32_strerror(0)))

In the code I write this as something like

  W32ASSERT (0, "w32_SetWindowPos_from_main_thread.PostMessage");

or with 0 replaced by a variable.

This does not look problematic too me, but I wonder if DepPrint can be
called anywhere. Is there some problem calling it inside a BLOCK_INPUT
.. UNBLOCK_INPUT?





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-07-04  0:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-13 16:58 bug#6413: What does ntdll!DbgUiConnectToDbg mean? (on w32) Lennart Borgman
2010-06-13 18:10 ` Eli Zaretskii
2011-07-03 18:49 ` Juanma Barranquero
2011-07-03 22:39   ` Lennart Borgman
2011-07-03 22:54     ` Juanma Barranquero
     [not found]       ` <CANbX365Yq49+iimQSejWU3K+zUrzpdf96UDJbO1vnE3TDM7stg@mail.gmail.com>
2011-07-03 23:05         ` Juanma Barranquero
2011-07-03 23:19           ` Lennart Borgman
2011-07-03 23:29             ` Juanma Barranquero
2011-07-03 23:44               ` Lennart Borgman
2011-07-04  0:34                 ` Juanma Barranquero

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).