help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] emacsclientw.exe bug: random exit status


From: Gary Oberbrunner
Subject: Re: [h-e-w] emacsclientw.exe bug: random exit status
Date: Thu, 24 Sep 2009 19:40:11 -0400 (EDT)

----- "Lennart Borgman" <address@hidden> wrote:
> No, please look in
> 
>    http://ourcomments.org/Emacs/DL/EmacsW32/

I found the uptodate source in 
http://ourcomments.org/Emacs/DL/EmacsW32/src/emacs-CvsP090915.zip in 
emacs/lib-src/emacsclient.c and w32emacsclient.h (there's a "my" subdir with a 
different version, I assume that's irrelevant).  You're right it doesn't have 
the same bug.  finish_messages can still return an unset value if WINDOWSNT is 
not defined, but that's not the bug here.  I guess I don't know where it is 
then. :-( 

In case it helps or anyone else wants to try, here's where it is when it exits; 
looks like it's exiting from an atexit func:

        msvcrt.dll!_exit()      
>       emacsclientw.exe!004050bc()     
        address@hidden()  + 0x130 bytes 
        address@hidden()  + 0x9e bytes  
        address@hidden()  + 0x3a90a bytes       
        msvcrt.dll!__msize()  + 0xb8 bytes      
        msvcrt.dll!__unlockexit()  + 0x7 bytes  
        msvcrt.dll!__onexit()  + 0x37 bytes     
        msvcrt.dll!_atexit()  + 0xd bytes       
        msvcrt.dll!_atexit()  + 0xd bytes       
        emacsclientw.exe!0040124b()     
        emacsclientw.exe!004012b8()     
        address@hidden()  + 0x23 bytes  

Sorry to have to give up.  I'll just wrap it with a shell script that always 
returns 0.

-- Gary




reply via email to

[Prev in Thread] Current Thread [Next in Thread]