unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacs 22.0.990, simple start-process crashes emacs on 64-bit Windows
@ 2007-05-22 23:17 Kevin Layer
  2007-05-23  7:07 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Layer @ 2007-05-22 23:17 UTC (permalink / raw
  To: emacs-devel

Eli Zaretskii asked me to report the problem here instead of
bug-gnu-emacs.  Here's what I know so far:

Startup emacs -q and put this into the *scratch* buffer

  (start-process "foo" "*foo*" "c:/windows/notepad.exe")

On evaling this, I see a pause of a few seconds then the emacs window
disappears.   (For me, notepad.exe is in windows/ and well as
windows/system32/.)

The same behavior occurs on emacs 21 (.3 and .4).

I'm on Windodws Server 2003 R2, Standard x64 Edition, SP 2, but I've
seen it on XP Pro (64-bit), too.  I'm on an AMD64.  (I don't have or
care about IA64 64-bit Windows.)

The emacs 22.0.990 was built on 32-bit XP Pro with MSVC 6.0 (w/sp6 (I
believe)).

I ran this under windbg, and I got absolutely nowhere.  I set a
breakpoint at Fstart_process and it never got there.   windbg did say
the breakpoint was there and active.


Here's what is on the stack after the emacs window disappears:

ntdll!NtTerminateProcess+0xa
wow64!Wow64SystemServiceEx+0xd6
wow64cpu!ServiceNoTurbo+0x28
wow64!RunCpuSimulation+0xa
wow64!Wow64LdrpInitialize+0x2ed
ntdll!LdrpInitializeProcess+0x1538
ntdll!LdrpInitialize+0x18f
ntdll!KiUserApcDispatcher+0x15
0x77d59620
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0




I did set in windbg the source path to the emacs-22.0.990\src
directory.

I might be able to allow someone to poke around using crossloop.com
(which is based on VNC).

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

* Re: emacs 22.0.990, simple start-process crashes emacs on 64-bit Windows
  2007-05-22 23:17 emacs 22.0.990, simple start-process crashes emacs on 64-bit Windows Kevin Layer
@ 2007-05-23  7:07 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2007-05-23  7:07 UTC (permalink / raw
  To: Kevin Layer; +Cc: emacs-devel

> Date: Tue, 22 May 2007 16:17:29 -0700
> From: Kevin Layer <layer@franz.com>
> 
> The emacs 22.0.990 was built on 32-bit XP Pro with MSVC 6.0 (w/sp6 (I
> believe)).
> 
> I ran this under windbg, and I got absolutely nowhere.  I set a
> breakpoint at Fstart_process and it never got there.   windbg did say
> the breakpoint was there and active.

If the Emacs window disappears, it is also worthwhile to set a
breakpoint in the function called when Emacs exits (`exit'?).

> Here's what is on the stack after the emacs window disappears:
> 
> ntdll!NtTerminateProcess+0xa

Do you see something noteworthy in the Event Viewer (right-click on
"My Computer", select "manage", then expand "Event Viewer" and look in
the 3 categories of events it shows)?

Also, can you check what is the exit code returned by emacs.exe to the
parent shell (use %ERRORLEVEL%).

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

end of thread, other threads:[~2007-05-23  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-22 23:17 emacs 22.0.990, simple start-process crashes emacs on 64-bit Windows Kevin Layer
2007-05-23  7:07 ` Eli Zaretskii

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