Date: Tue, 30 Jul 1996 22:34:23 -0300 Message-Id: <1.5.4.16.19960730195533.0baf0cd8@dmeasc.rc.ipt.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Eli Zaretskii , Charles Sandmann From: Cesar Scarpini Rabak Subject: Re: emacs problem under WfWG 3.11 Cc: djgpp AT delorie DOT com, Skip Collins At 08:28 28/07/96 +0200, Eli Zaretskii wrote: > >On Fri, 26 Jul 1996, Charles Sandmann wrote: > >> it probably doesn't get tested as much), or that Windows with Win32s is >> broken (the re-allocate dpmi call is not used by most other extenders so >> dpmi providers tend to break it and not notice) or that the failure at >> this point is an artifact of running under the debugger. >> It could also be that hooking a hardware interrupt (like the keyboard) >> with the unixy sbrk() causes problems in this environment if the arena >> moves on you. > >Based on what Charles says, I'd suggest trying to build Emacs with the >default sbrk behavior. Just edit src/msdos.c and remove the >_CRT0_FLAG_UNIX_SBRK bit from the initialization of the variable >`__crt0_startup_flags' (it's at the beginning of the file). Warning: I >don't think I tested Emacs thoroughly with the non-unix sbrk, so please >tell me if you see anything worth attention. > >> We really need >> the register listing at the crash point to figure out what's going on. > >Charles, I think he will have hard time providing the registers, because >as far as I understand, Emacs doesn't crash, it gets aborted by Windows. >Windows just pops that box telling "This application has violated system >integrity" etc. Is there any procedure to get registers' listing in such >cases? > Did you try the post morten tracer "Dr. Watson" or some of its clones? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cesar Scarpini Rabak E-mail: csrabak AT ipt DOT br DME/ASC Phone: 55-11-268-35221Ext.350 IPT - Instituto de Pesquisas Tecnologicas Fax: 55-11-268-5996 Av. Prof. Almeida Prado, 532. Sao Paulo - SP 05508-901 BRAZIL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~