bug-gnu-emacs
[Top][All Lists]
Advanced

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

Dumping emacs on Windows doesn't work?


From: UUnet
Subject: Dumping emacs on Windows doesn't work?
Date: Fri, 14 Sep 2001 13:05:51 +0200

Hi.

Could it be that dumping emacs on Windows has a bug?
I may do something wrong of course.
But I do get an executable that's exactly as big as the one I start from
(3,681Kb).
Only when I try to run it it gives me Dr. Watsons.

Environment: both on NT4 and W2k.
Emacs: 2071.
New executable is called RealMacs.exe.
Dump statement:
%COMSPEC% /E:12288 /C emacs.exe --no-init-file --no-site-file --batch --eval
"(dump-emacs (expand-file-name \"RealMacs.exe\" (getenv \"EMACSPATH\"))
(expand-file-name \"emacs.exe\" (getenv \"EMACSPATH\")))" >
c:\temp\DumpEmacs-w2k.txt

Below the reports of both NT4 and W2k.

Thanks for any help.
Geert Ribbers

===============
Reports of W2k:
===============
RealMacs.exe has generated errors and will be closed by Windows.
You will need to restart the program.
An error log is being created.

Dr. Watson log:
===============
Application exception occurred:
        App: obj-spd\i386\temacs.bin (pid=1744)
        When: 9/13/2001 @ 22:51:07.569
        Exception number: c0000005 (access violation)

*----> System Information <----*
        Computer Name: ROOSPORTGEERT
        User Name: geert
        Number of Processors: 1
        Processor Type: x86 Family 6 Model 8 Stepping 6
        Windows 2000 Version: 5.0
        Current Build: 2195
        Service Pack: 2
        Current Type: Uniprocessor Free
        Registered Organization: Realworld OO Systems
        Registered Owner: Geert Ribbers

*----> Task List <----*
   0 Idle.exe
   8 System.exe
 176 SMSS.exe
 200 CSRSS.exe
 220 WINLOGON.exe
 248 SERVICES.exe
 260 LSASS.exe
 432 SVCHOST.exe
 464 SPOOLSV.exe
 492 Ati2evxx.exe
 512 SVCHOST.exe
 536 Navapsvc.exe
 576 regsvc.exe
 604 mstask.exe
 704 swmfs.exe
 896 explorer.exe
 944 atiptaxx.exe
 732 promon.exe
 936 SynTPLpr.exe
 964 SynTPEnh.exe
 984 DadApp.exe
1008 DIRECTCD.exe
1016 DadTray.exe
1024 tsystray.exe
1040 realplay.exe
1048 Navapw32.exe
1056 createcd.exe
1076 PSCONSV.exe
1100 OLFSNT40.exe
1092 Elogerr.exe
1576 INTERNAT.exe
 740 emacs.exe
1616 gnuserv.exe
1768 hh.exe
1180 CMD.exe
1032 bash.exe
1756 sh.exe
1344 sh.exe
1748 java.exe
1684 IEXPLORE.exe
1384 IEXPLORE.exe
 728 OUTLOOK.exe
1600 WINWORD.exe
1424 WFXMSRVR.exe
1840 OLFMOD32.exe
 908 emacs.exe
1572 Opera.exe
 328 msimn.exe
1716 CMD.exe
1088 CMD.exe
1744 RealMacs.exe
1488 DRWTSN32.exe
   0 _Total.exe

(01000000 - 01331000)
(77F80000 - 77FFB000)
(77F40000 - 77F7C000)
(77E80000 - 77F35000)
(77E10000 - 77E74000)
(76B30000 - 76B6E000)
(77C70000 - 77CBA000)
(77DB0000 - 77E0B000)
(77D40000 - 77DB0000)
(77B50000 - 77BD9000)
(782F0000 - 78532000)
(78000000 - 78046000)
(75090000 - 750A0000)

State Dump for Thread Id 0x748

eax=08011f5d ebx=00000000 ecx=00000003 edx=010fc438 esi=010fc438
edi=011f5d01
eip=01091f0c esp=0082ff1c ebp=0082ff34 iopl=0         nv up ei pl nz na pe
nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000
efl=00000202


function: _malloc_internal
        01091ef0 8d34cd20c40f01
ds:00000003=????????
                                  lea     esi,[_fraghead (010fc420)+ecx*8]
        01091ef7 7478             jz      re_match_2+0x868 (0109aa71)
        01091ef9 8b4704           mov     eax,[edi+0x4]
ds:020a32d3=????????
        01091efc 8b17             mov     edx,[edi]
ds:011f5d01=08011f5d
        01091efe 8910             mov     [eax],edx
ds:08011f5d=????????
        01091f00 8b07             mov     eax,[edi]
ds:011f5d01=08011f5d
        01091f02 85c0             test    eax,eax
        01091f04 897df4           mov     [ebp+0xf4],edi
ss:016dd506=????????
        01091f07 7406             jz      re_match_2+0x806 (0109aa0f)
        01091f09 8b5704           mov     edx,[edi+0x4]
ds:020a32d3=????????
FAULT ->01091f0c 895004           mov     [eax+0x4],edx
ds:08ebf52f=????????
        01091f0f 8bc7             mov     eax,edi
        01091f11 2b0518c40f01     sub eax,[_heapbase (010fc418)]
ds:010fc418=011dc000
        01091f17 be00100000       mov     esi,0x1000
        01091f1c 99               cdq
        01091f1d f7fe             idiv    esi
        01091f1f 8b15bcc40f01     mov edx,[_heapinfo (010fc4bc)]
ds:010fc4bc=011dc000
        01091f25 40               inc     eax
        01091f26 8d0440           lea     eax,[eax+eax*2]
ds:08011f5d=????????
        01091f29 c1e002           shl     eax,0x2
        01091f2c ff4c1004         dec    dword ptr [eax+edx+0x4]
ds:01fa9a0b=????????
        01091f30 8d541004         lea     edx,[eax+edx+0x4]
ds:01fa9a0b=????????

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0082FF34 0109249F 00000003 0082FF50 010145CA 00000008
temacs!_malloc_internal
0082FF40 010145CA 00000008 012DD444 0082FF5C 0109249F temacs!malloc
0082FF50 0109249F 00000008 0082FF8C 010BA92D 00000008
temacs!uninterrupt_malloc
0082FF5C 010BA92D 00000008 010BA770 012DD45F 012DD440 temacs!malloc
0082FF8C 010B7800 00000000 00000000 7FFDF000 C0000005 temacs!_cwild
0082FFC0 77E97D08 00000000 00000000 7FFDF000 C0000005 temacs!mainCRTStartup
0082FFF0 00000000 01049756 00000000 000000C8 00000100
kernel32!CreateProcessW

*----> Raw Stack Dump <----*
0082ff1c  68 2c 83 00 44 d4 2d 01 - 00 00 00 00 01 5d 1f 01
h,..D.-......]..
0082ff2c  00 00 00 00 00 04 00 80 - 40 ff 82 00 9f 24 09 01
........@....$..
0082ff3c  03 00 00 00 50 ff 82 00 - ca 45 01 01 08 00 00 00
....P....E......
0082ff4c  44 d4 2d 01 5c ff 82 00 - 9f 24 09 01 08 00 00 00
D.-.\....$......
0082ff5c  8c ff 82 00 2d a9 0b 01 - 08 00 00 00 70 a7 0b 01
....-.......p...
0082ff6c  5f d4 2d 01 40 d4 2d 01 - d5 51 0b 01 00 00 00 00
_.-.@.-..Q......
0082ff7c  00 00 00 00 00 f0 fd 7f - 22 00 00 00 04 00 00 00
........".......
0082ff8c  c0 ff 82 00 00 78 0b 01 - 00 00 00 00 00 00 00 00
.....x..........
0082ff9c  00 f0 fd 7f 05 00 00 c0 - 0c 00 00 00 94 ff 82 00
................
0082ffac  68 fb 82 00 e0 ff 82 00 - 50 e9 0b 01 c8 ef 12 01
h.......P.......
0082ffbc  00 00 00 00 f0 ff 82 00 - 08 7d e9 77 00 00 00 00
.........}.w....
0082ffcc  00 00 00 00 00 f0 fd 7f - 05 00 00 c0 c8 ff 82 00
................
0082ffdc  68 fb 82 00 ff ff ff ff - 5b 61 e8 77 10 7d e9 77
h.......[a.w.}.w
0082ffec  00 00 00 00 00 00 00 00 - 00 00 00 00 56 97 04 01
............V...
0082fffc  00 00 00 00 c8 00 00 00 - 00 01 00 00 ff ee ff ee
................
0083000c  02 00 00 00 00 00 00 00 - 00 fe 00 00 00 00 10 00
................
0083001c  00 20 00 00 00 02 00 00 - 00 20 00 00 38 01 00 00  . .......
..8...
0083002c  ff ef fd 7f 01 00 08 06 - 00 00 00 00 00 00 00 00
................
0083003c  00 00 00 00 00 00 00 00 - 98 05 83 00 0f 00 00 00
................
0083004c  f8 ff ff ff 50 00 83 00 - 50 00 83 00 40 06 83 00
....P...P...@...

Emacs Dump report:
===============
Dumping from s:/RealMacs/x86/bin/emacs.exe
          to s:/RealMacs/x86/bin/RealMacs.exe
Copying DOS header...
 0x00000000 Offset in input file.
 0x00000000 Offset in output file.
 0x000000e0 Size in bytes.
Copying NT header...
 0x000000e0 Offset in input file.
 0x000000e0 Offset in output file.
 0x000000f8 Size in bytes.
Copying section table...
 0x000001d8 Offset in input file.
 0x000001d8 Offset in output file.
 0x00000118 Size in bytes.
Copying raw data for .text...
 0x00001000 Offset in input file.
 0x00001000 Offset in output file.
 0x000c6000 Size in bytes.
Copying raw data for EMBSS...
 0x000c7000 Offset in input file.
 0x000c7000 Offset in output file.
 0x00059000 Size in bytes.
Dumping bss data...
 0x010c7000 Address in process.
 0x000c7000 Offset in output file.
 0x000581a4 Size in bytes.
Copying raw data for .rdata...
 0x00120000 Offset in input file.
 0x00120000 Offset in output file.
 0x00012000 Size in bytes.
Copying raw data for .data...
 0x00132000 Offset in input file.
 0x00132000 Offset in output file.
 0x00002000 Size in bytes.
Copying raw data for EMDATA...
 0x00134000 Offset in input file.
 0x00134000 Offset in output file.
 0x000a5000 Size in bytes.
Dumping initialized data...
 0x01136000 Address in process.
 0x00134000 Offset in output file.
 0x000a49c4 Size in bytes.
Copying raw data for .rsrc...
 0x001d9000 Offset in input file.
 0x001d9000 Offset in output file.
 0x00001000 Size in bytes.
Copying raw data for EMHEAP...
 0x001da000 Offset in input file.
 0x001da000 Offset in output file.
 0x00155000 Size in bytes.
Copying remainder of executable...
 0x0032f000 Offset in input file.
 0x0032f000 Offset in output file.
 0x000692ae Size in bytes.

===============
Reports of NT4:
===============

An application error has occurred and an application log is being generated.
RealMacs.exe
Exception: access violation (0xc0000005), Address: 0x01091f0c

Dr. Watson log:
Application exception occurred:
        App: obj-spd\i386\temacs.bin (pid=141)
        When: 9/13/2001 @ 14:47:6.542
        Exception number: c0000005 (access violation)

*----> System Information <----*
        Computer Name: ROOSNT8
        User Name: Adri
        Number of Processors: 1
        Processor Type: x86 Family 6 Model 1 Stepping 9
        Windows Version: 4.0
        Current Build: 1381
        Current Type: Uniprocessor Free
        Registered Organization: Realworld OO Systems
        Registered Owner: Reaworld OO Systems

*----> Task List <----*
   0 Idle.exe
   2 System.exe
  20 smss.exe
  30 csrss.exe
  34 WINLOGON.exe
  40 SERVICES.exe
  43 LSASS.exe
  68 SPOOLSS.exe
  85 RPCSS.exe
  88 swmfs.exe
  96 PSTORES.exe
  99 mstask.exe
 124 NDDEAGNT.exe
 134 EXPLORER.exe
  75 LOADWC.exe
 133 emacs.exe
 132 IEXPLORE.exe
 151 emacs.exe
 155 cmdproxy.exe
 153 CMD.exe
 117 gnuserv.exe
 148 CMD.exe
 158 CMD.exe
 141 RealMacs.exe
  39 DRWTSN32.exe
   0 _Total.exe

(01000000 - 01331000) obj-spd\i386\temacs.bin
(77f60000 - 77fbc000) dll\ntdll.dbg
(77ed0000 - 77efc000) dll\gdi32.dbg
(77f00000 - 77f5e000) dll\kernel32.dbg
(77e70000 - 77ec4000) dll\user32.dbg
(77dc0000 - 77dfe000) dll\advapi32.dbg
(77e10000 - 77e62000) dll\rpcrt4.dbg
(77d80000 - 77db2000) dll\comdlg32.dbg
(77c40000 - 77d7c000) dll\shell32.dbg
(715c0000 - 71647000) COMCTL32.dbg
(77720000 - 77731000) dll\mpr.dbg

State Dump for Thread Id 0x89

eax=08011f5d ebx=00000000 ecx=00000003 edx=010fc438 esi=010fc438
edi=011f5d01
eip=01091f0c esp=0082ff1c ebp=0082ff34 iopl=0         nv up ei pl nz na pe
nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000
efl=00000202


function: _malloc_internal
        01091ef0 8d34cd20c40f01
ds:00000003=????????
                                  lea     esi,[_fraghead (010fc420)+ecx*8]
        01091ef7 7478             jz      _malloc_internal+0xbf (01091f71)
        01091ef9 8b4704           mov     eax,[edi+0x4]
ds:02114707=????????
        01091efc 8b17             mov     edx,[edi]
ds:011f5d01=08011f5d
        01091efe 8910             mov     [eax],edx
ds:08011f5d=????????
        01091f00 8b07             mov     eax,[edi]
ds:011f5d01=08011f5d
        01091f02 85c0             test    eax,eax
        01091f04 897df4           mov     [ebp-0xc],edi
ss:0174e93a=????????
        01091f07 7406             jz      _malloc_internal+0x5d (01091f0f)
        01091f09 8b5704           mov     edx,[edi+0x4]
ds:02114707=????????
FAULT ->01091f0c 895004           mov     [eax+0x4],edx
ds:08f30963=????????
        01091f0f 8bc7             mov     eax,edi
        01091f11 2b0518c40f01     sub eax,[_heapbase (010fc418)]
ds:010fc418=011dc000
        01091f17 be00100000       mov     esi,0x1000
        01091f1c 99               cdq
        01091f1d f7fe             idiv    esi
        01091f1f 8b15bcc40f01     mov edx,[_heapinfo (010fc4bc)]
ds:010fc4bc=011dc000
        01091f25 40               inc     eax
        01091f26 8d0440           lea     eax,[eax+eax*2]
ds:08011f5d=????????
        01091f29 c1e002           shl     eax,0x2
        01091f2c ff4c1004         dec    dword ptr [eax+edx+0x4]
ds:0201ae3f=????????
        01091f30 8d541004         lea     edx,[eax+edx+0x4]
ds:0201ae3f=????????

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
0082ff34 0109249f 00000003 0082ff50 010145ca 00000008
temacs!_malloc_internal
0082ff40 010145ca 00000008 012dd6c4 0082ff5c 0109249f temacs!malloc
0082ff50 0109249f 00000008 0082ff8c 010ba92d 00000008
temacs!uninterrupt_malloc
0082ff5c 010ba92d 00000008 010ba770 012dd6df 012dd6c0 temacs!malloc
0082ff8c 010b7800 00000000 00000018 7ffdf000 c0000005 temacs!_cwild
0082ffc0 77f1b304 00000000 00000018 7ffdf000 c0000005 temacs!mainCRTStartup
0082fff0 00000000 01049756 00000000 00000000 77fa5aa0
kernel32!GetProcessPriorityBoost
00000000 00000000 00000000 00000000 00000000 00000000 temacs!<nosymbols>

*----> Raw Stack Dump <----*
0082ff1c  08 0e 84 00 c4 d6 2d 01 - 00 00 00 00 01 5d 1f 01
......-......]..
0082ff2c  00 00 00 00 00 04 00 80 - 40 ff 82 00 9f 24 09 01
........@....$..
0082ff3c  03 00 00 00 50 ff 82 00 - ca 45 01 01 08 00 00 00
....P....E......
0082ff4c  c4 d6 2d 01 5c ff 82 00 - 9f 24 09 01 08 00 00 00
..-.\....$......
0082ff5c  8c ff 82 00 2d a9 0b 01 - 08 00 00 00 70 a7 0b 01
....-.......p...
0082ff6c  df d6 2d 01 c0 d6 2d 01 - d5 51 0b 01 00 00 00 00
..-...-..Q......
0082ff7c  18 00 00 00 00 f0 fd 7f - 22 00 00 00 04 00 00 00
........".......
0082ff8c  c0 ff 82 00 00 78 0b 01 - 00 00 00 00 18 00 00 00
.....x..........
0082ff9c  00 f0 fd 7f 05 00 00 c0 - 0c 00 00 00 94 ff 82 00
................
0082ffac  64 fd 82 00 e0 ff 82 00 - 50 e9 0b 01 c8 ef 12 01
d.......P.......
0082ffbc  00 00 00 00 f0 ff 82 00 - 04 b3 f1 77 00 00 00 00
...........w....
0082ffcc  18 00 00 00 00 f0 fd 7f - 05 00 00 c0 c8 ff 82 00
................
0082ffdc  64 fd 82 00 ff ff ff ff - 48 b0 f3 77 10 d2 f3 77
d.......H..w...w
0082ffec  00 00 00 00 00 00 00 00 - 00 00 00 00 56 97 04 01
............V...
0082fffc  00 00 00 00 00 00 00 00 - a0 5a fa 77 d8 55 fa 77
.........Z.w.U.w
0083000c  88 5a fa 77 00 00 00 00 - 00 00 00 00 00 00 00 00
.Z.w............
0083001c  00 00 00 00 40 00 83 00 - 00 00 00 00 00 00 00 00
....@...........
0083002c  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................
0083003c  00 00 00 00 60 00 83 00 - 00 00 00 00 00 00 00 00
....`...........
0083004c  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
................

Emacs Dump report:
===============
Dumping from s:/RealMacs/x86/bin/emacs.exe
          to s:/RealMacs/x86/bin/RealMacs.exe
Copying DOS header...
 0x00000000 Offset in input file.
 0x00000000 Offset in output file.
 0x000000e0 Size in bytes.
Copying NT header...
 0x000000e0 Offset in input file.
 0x000000e0 Offset in output file.
 0x000000f8 Size in bytes.
Copying section table...
 0x000001d8 Offset in input file.
 0x000001d8 Offset in output file.
 0x00000118 Size in bytes.
Copying raw data for .text...
 0x00001000 Offset in input file.
 0x00001000 Offset in output file.
 0x000c6000 Size in bytes.
Copying raw data for EMBSS...
 0x000c7000 Offset in input file.
 0x000c7000 Offset in output file.
 0x00059000 Size in bytes.
Dumping bss data...
 0x010c7000 Address in process.
 0x000c7000 Offset in output file.
 0x000581a4 Size in bytes.
Copying raw data for .rdata...
 0x00120000 Offset in input file.
 0x00120000 Offset in output file.
 0x00012000 Size in bytes.
Copying raw data for .data...
 0x00132000 Offset in input file.
 0x00132000 Offset in output file.
 0x00002000 Size in bytes.
Copying raw data for EMDATA...
 0x00134000 Offset in input file.
 0x00134000 Offset in output file.
 0x000a5000 Size in bytes.
Dumping initialized data...
 0x01136000 Address in process.
 0x00134000 Offset in output file.
 0x000a49c4 Size in bytes.
Copying raw data for .rsrc...
 0x001d9000 Offset in input file.
 0x001d9000 Offset in output file.
 0x00001000 Size in bytes.
Copying raw data for EMHEAP...
 0x001da000 Offset in input file.
 0x001da000 Offset in output file.
 0x00155000 Size in bytes.
Copying remainder of executable...
 0x0032f000 Offset in input file.
 0x0032f000 Offset in output file.
 0x000692ae Size in bytes.










reply via email to

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