www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/26/21:01:22

Xref: news2.mv.net comp.os.msdos.djgpp:6453
From: collins AT aplcomm DOT jhuapl DOT edu (Skip Collins)
Newsgroups: comp.os.msdos.djgpp
Subject: emacs problem under WfWG 3.11
Date: 25 Jul 96 22:25:38 GMT
Organization: Johns Hopkins University Applied Physics Lab, Laurel, MD, USA
Lines: 72
Message-ID: <collins.838333538@aplcomm.jhuapl.edu>
NNTP-Posting-Host: aplcomm.jhuapl.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am posting my emacs problem here because I think it may be due to a
compiler error. I always encounter a crash when running the latest emacs
in a DOS box in windows for workgroups 3.11 with win32s and 32-bit file
access both running. My feeble attempts at debugging have not gotten very
far. All I can tell is that something seems to go wrong at 0x13ce
__djgpp_memory_handle_pointer+112 in crt0. Using fsdb, I can successfully
halt program execution at that point. But if I go any further, the system
crashes with a signal 0123. I include two screen shots, the first at the
break point, the second one step later. Stepping much beyond 0x13ce always
yields a crash, even under DOS. But letting emacs run freely after that
point does not result in an immediate crash. In that situation, under DOS
no visible problems occur. Under windows I get a message saying that
system integrity has been violated. I am having a hard time telling if the
crashes I am seeing are due to the emacs code or bugs in fsdb itself. If I
can provide any more information to help solve the problem, let me know. 

Skip Collins

+------------------------------------------------------------------------------+
¦000013ad and     eax,0xffff0000                              ¦eax 001e0901¦c=0¦
¦000013b2 push    eax                                         ¦ebx 0000001e¦p=1¦
¦000013b3 mov     edi,[___djgpp_memory_handle_list]           ¦ecx 001e0000¦a=1¦
¦000013b9 mov     si,[___djgpp_memory_handle_list+2]          ¦edx 00193044¦z=0¦
¦000013c0 mov     ecx,eax                                     ¦esi 00008040¦n=0¦
¦000013c2 mov     ebx,eax                                     ¦edi 8040b810¦i=0¦
¦000013c4 shr     ebx,16                                      ¦ebp 00000000¦d=0¦
¦000013c7 mov     ax,2304                                     ¦esp 00000fe0¦o=0¦
¦000013cb int     49                                          ¦ cs 00f7    ¦   ¦
¦000013cd push    eax                                         ¦ ds 00ff    ¦   ¦
¦000013cecall    [___djgpp_memory_handle_pointer+112]        ¦ es 00ff    ¦   ¦
¦000013d4 setc    dl                                          ¦ fs 00ef    ¦   ¦
¦000013d7 pop     eax                                         ¦ gs 00ff    ¦   ¦
¦000013d8 int     49                                          ¦ ss 00ef    ¦   ¦
¦000013da test    dl,dl                                       ¦eip 000013ce¦   ¦
¦000013dc pop     edx                                         ¦flg 00000016¦   ¦
+------------------------------------------------------------------------------¦
¦00087000: 08 e1 07 00 d8 4d 0f 00    ß.+M¤.¦Execute: 000013ce               ¦
¦00087008: 12 00 f7 00 ff 00 0f 01    ._._.¤¦ ___brk+0x5a                    ¦
¦00087010: 70 02 00 00 00 00 00 00    p......¦                                ¦
¦00087018: 00 00 8c d8 2e 8e 1e 06    ..î+.Ħ                                ¦
¦00087020: 00 89 06 10 00 8c 16 0a    .ë.î
¦                                ¦
¦00087028: 00 66 89 26 0c 00 8e 16    .fë&.Ħ                                ¦
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
¦00000012?                                                   ¦eax 001e0901¦c=0¦
¦00000013 ?                                                   ¦ebx 0000001e¦p=1¦
¦00000014 ?                                                   ¦ecx 001e0000¦a=1¦
¦00000015 ?                                                   ¦edx 00193044¦z=0¦
¦00000016 ?                                                   ¦esi 00008040¦n=0¦
¦00000017 ?                                                   ¦edi 8040b810¦i=0¦
¦00000018 ?                                                   ¦ebp 00000000¦d=0¦
¦00000019 ?                                                   ¦esp 00000fd8¦o=0¦
¦0000001a ?                                                   ¦ cs 0117    ¦   ¦
¦0000001b ?                                                   ¦ ds 00ff    ¦   ¦
¦0000001c ?                                                   ¦ es 00ff    ¦   ¦
¦0000001d ?                                                   ¦ fs 00ef    ¦   ¦
¦0000001e ?                                                   ¦ gs 00ff    ¦   ¦
¦0000001f ?                                                   ¦ ss 00ef    ¦   ¦
¦00000020 ?                                                   ¦eip 00000012¦   ¦
¦00000021 ?                                                   ¦flg 00000016¦   ¦
+------------------------------------------------------------------------------¦
¦00087000: 08 e1 07 00 d8 4d 0f 00    ß.+M¤.¦Execute: 000013ce               ¦
¦00087008: 12 00 f7 00 ff 00 0f 01    ._._.¤¦ ___brk+0x5a                    ¦
¦00087010: 70 02 00 00 00 00 00 00    p......¦                                ¦
¦00087018: 00 00 8c d8 2e 8e 1e 06    ..î+.Ħ                                ¦
¦00087020: 00 89 06 10 00 8c 16 0a    .ë.î
¦                                ¦
¦00087028: 00 66 89 26 0c 00 8e 16    .fë&.Ħ                                ¦
+------------------------------------------------------------------------------+

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019