[Fixed] Crash, bang, boom

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Crash, bang, boom

Postby HotWax » Sun Sep 28, 2003 4:19 pm

This is probably my fault, but for the sake of... ummm... stuff, here's the crash message.

The two WADfiles are Viper's ARENA5.WAD and my own homebrew heretic+hexen resources WAD, which contains pieces of Enjay's DHH.wad file to eliminate compatibility issues. There are a few graphics errors in it caused by XWE and it's probably loaded with unnecessary resources because I'm not too familiar with Heretic or Hexen, but I managed to get everything working (more or less) and play a couple dozen arena battles with no problem. I'm not sure why it crashed, I was simply jogging around blasting assorted baddies with assorted weapons.

I can send you the master.wad file on request, but it's 76.8MB compressed . . . (not to mention as it contains 95% of the graphic, music, and sound resources from Heretic and Hexen it'd probably be considered piracy :D)

Code: ACCESS_VIOLATION
Tried to read address 00000018
Flags: 00000000
Address: 004a4e53

Windows NT 5.1 Build 2600 Service Pack 1

GS=0000 FS=003b ES=0023 DS=0023
EAX=11cb1f8e EBX=00000000 ECX=3ec567ff EDX=00000000
ESI=0ce51008 EDI=0cd4b898
EBP=00000000 EIP=004a4e53 ESP=0012fbd8 CS=001b SS=0023
EFlags=00010206
CF- PF+ AF- ZF- SF- TF- IF+ DF- OF- NT- RF+ VM- AC- VI- VP-

FPU State:
ControlWord=027f StatusWord=3820 TagWord=3fff
ErrorOffset=004a4e44
ErrorSelector=0387001b
DataOffset=0cd4b9ac
DataSelector=ffff0023
Cr0NpxState=00000000

MM0=e000000000000000
MM1=0000006800000000
MM2=b06e70db95520000
MM3=8000000000000000
MM4=0000000000000000
MM5=0ce510080cd4b898
MM6=0000000011cb1f8e
MM7=000000230012fbd8

Running threads:
00000518 at 004a4e53*
000005b8
00000308
0000035c
000006a8
000007bc
0000041c
000007a8
000004cc
0000044c

Loaded modules:
00400000 - 0061ffff *zdoom.exe
77f50000 - 77ff6fff ntdll.dll
77e60000 - 77f45fff kernel32.dll
71950000 - 71a33fff COMCTL32.dll
77c10000 - 77c62fff msvcrt.dll
77c70000 - 77caffff GDI32.dll
77d40000 - 77dc5fff USER32.dll
77dd0000 - 77e5cfff ADVAPI32.dll
78000000 - 78085fff RPCRT4.dll
63180000 - 631e4fff SHLWAPI.dll
71ad0000 - 71ad7fff WSOCK32.dll
71ab0000 - 71ac4fff WS2_32.dll
71aa0000 - 71aa7fff WS2HELP.dll
76b40000 - 76b6bfff WINMM.dll
10000000 - 10086fff fmod.dll
77be0000 - 77bf3fff MSACM32.dll
771b0000 - 772d0fff ole32.dll
763b0000 - 763f4fff comdlg32.dll
773d0000 - 77bc1fff SHELL32.dll
76390000 - 763abfff IMM32.DLL
629c0000 - 629c7fff LPK.DLL
72fa0000 - 72ff9fff USP10.dll
003c0000 - 003eafff msctfime.ime
76f90000 - 76f9ffff Secur32.dll
51080000 - 510d5fff dsound.dll
77c00000 - 77c06fff VERSION.dll
72d20000 - 72d28fff wdmaud.drv
72d10000 - 72d17fff msacm32.drv
77bd0000 - 77bd6fff midimap.dll
5ef80000 - 5ef83fff KsUser.dll
76fd0000 - 77047fff CLBCATQ.DLL
77120000 - 771aafff OLEAUT32.dll
77050000 - 77114fff COMRes.dll
6ce10000 - 6ce44fff dinput8.dll
688f0000 - 688f8fff HID.DLL
76670000 - 76756fff SETUPAPI.DLL
1c700000 - 1c707fff wishf201.dll
72280000 - 722a7fff DINPUT.DLL
51000000 - 51046fff ddraw.dll
73bc0000 - 73bc5fff DCIMAN32.dll
02630000 - 02636fff iTchHk.dll
746f0000 - 74715fff Msimtf.dll
74720000 - 74763fff MSCTF.dll
0d860000 - 0d866fff kbdhook.dll

Bytes near EIP:
004a4e43: ff db 87 14 01 00 00 89 b7 b8 00 00 00 8b 46 18
004a4e53: 8b 4b 18 8b 53 1c d9 5c 24 30 8b 6e 1c 2b c8 8b
004a4e63: 43 20 89 4c 24 2c db 44 24 2c 8b 4e 20 2b d5 d9

ZDoom version 2.0.47i

Command line:
zdoom -iwad iwad\doom2.wad -file wads\arena5.wad wads\temp\master\master.wad
IWAD: doom2.wad

Current map: MAP01

viewx = 66012726
viewy = 171109349
viewz = -4376314
viewangle = 3389747072

Possible call trace:
004a4e53 BOOM
004a3cc8 call 004a14f0
0044db14 call 004a4dc0
004a1172 call eax
004a62e2 call 004a1070
00516ac7
004df317 call [edx+0x10]
004df379 call 004df2a0
00512b1c call 004df330
004d9ff9 call 005129f0
004e7d2b call 004d9c50
004e9bce call 004e79f0
004f6750 call 004f66a0
004f6750 call 004f66a0
0046e0e1 call 004f6740
0046e1e3 call 0042630c
00470ce5 call 00470900
0042628a call 00470c70
0042611e call 0042c100
00426106

Stack Contents:
0012fbd8: 00596098 0ce51008 00000000 00000000 ·`Y·············
0012fbe8: 00010000 ff800000 00000000 004a3cc8 ·············<J·
0012fbf8: ff818f8b 0044db14 11cb1f8e f8522a15 ······D······*R·
0012fc08: 0ce51008 004a1172 ff818f8b 00000008 ····r·J·········
0012fc18: 004a62e2 00000060 00000000 00000000 ·bJ·`···········
0012fc28: 0ce51008 ffffe10e e4b70982 e4b70982 ················
0012fc38: e4b70982 0012fcd8 00516ac7 ffffffff ·········jQ·····
0012fc48: 00000000 8195a7e7 0cdbd990 ff818f8b ················
0012fc58: 004df317 0060e83c 005a0540 004df379 ··M·<·`·@·Z·y·M·
0012fc68: 00000000 00610530 00000000 8187e893 ····0·a·········
0012fc78: 00512b1c 00000008 00610536 00000011 ·+Q·····6·a·····
0012fc88: 004d9ff9 00007416 00000001 0056e1e0 ··M··t········V·
0012fc98: 00000008 00007416 005a2102 9db13efa ·····t···!Z··>··
0012fca8: 004e7d2b 006143c4 00c55c60 0012fce4 +}N··Ca·`\······
0012fcb8: 00000000 7fbbc354 004e9bce 006143c4 ····T····N··Ca·
0012fcc8: 00c55c60 0052f19c 0012fe24 0012fcc4 `\····R·$·······
0012fcd8: 0012fe14 00516b5e 00000000 0012fe24 ····^kQ·····$···
0012fce8: 0000017e 0000026e 00000000 089b5bb7 ~···n········[··
0012fcf8: 00b98760 8a8c2334 6d6f6f44 7475412e `···4#··Doom.Aut
0012fd08: 616f6c6f 732f0064 736e696b 520f7c00 oload·/skins·|·R
0012fd18: b778200d eb5ee015 dff5571c 30afebf8 · x···^··W·····0
0012fd28: c0f5a137 6a782674 add290ab 4a8000d9 7···t&xj·······J
0012fd38: d0ba5b13 332601eb 70e94a77 f0e9d550 ·[····&3wJ·pP···
0012fd48: 089726f8 13ea27cf 44cb61e3 e6f0f6dc ·&···'···a·D····
0012fd58: 8d4c48a1 00539e60 e4b70982 004f6750 ·HL·`·S·····PgO·
0012fd68: 00000002 00539e58 e4b70982 004f6750 ····X·S·····PgO·
0012fd78: 00000002 0012fd88 0046e0e1 00539e58 ··········F·X·S·
0012fd88: 0046e1e3 00000094 00000005 00000001 ··F·············
0012fd98: 00000a28 00000002 76726553 20656369 (·······Service
0012fda8: 6b636150 77003120 772bb638 771c453f Pack 1·w8·+w?E·w
0012fdb8: 00000000 8007000e 00159fe0 771b449c ·············D·w
0012fdc8: 00000000 00000000 771ce3f3 00159fe0 ···········w····
0012fdd8: 0012fe18 772bb6ec 00000000 772bb264 ······+w····d·+w
0012fde8: 0012fe10 771c0ee8 0000017e 0000026e ·······w~···n···
0012fdf8: 0012fe6c 00000000 0000026e 0000017e l·······n···~···
0012fe08: 00000000 e4b70982 0012fe6c 0012fe60 ········l···`···
0012fe18: 00516b81 ffffffff e4b70982 0012fe6c ·kQ·········l···
0012fe28: ffffffff 77e7e6b9 7ffdf000 00000000 ·······w·······
0012fe38: 00000000 0000026e 0000017e 00000001 ····n···~·······
0012fe48: 000f4240 ffffffff 00000276 00000199 @B······v·······
0012fe58: 77e60000 0012fe28 0012fe88 00516b8b ···w(········kQ·
0012fe68: 00000000 0012fe98 00470ce5 77e7ad86 ··········G····w
0012fe78: 00000000 7ffdf000 0012fe74 0012f800 ·······t·······
0012fe88: 0012ffb0 00426f3c 0052bd10 00000000 ····<oB···R·····
0012fe98: 0012ffc0 0042628a 00400000 00000000 ·····bB···@·····
0012fea8: 00152316 0000000a 00000094 00000005 ·#··············
0012feb8: 00000001 00000a28 00000002 76726553 ····(·······Serv
0012fec8: 20656369 6b636150 ee003120 eec8bc08 ice Pack 1······
0012fed8: eec8bc08 eec8bc08 eec8bc08 e268c000 ··············h·
0012fee8: e268d000 e268e000 e268f000 e2690000 ··h···h···h···i·
0012fef8: e2691000 e2692000 e2693000 e2694000 ··i·· i··0i··@i·
0012ff08: e2695000 e2696000 e2697000 e2698000 ·Pi··`i··pi···i·
0012ff18: e2699000 e269a000 821837d8 ff676980 ··i···i··7···ig·
0012ff28: 00009889 00000001 00000012 00000000 ················
0012ff38: 00000012 0000168c 0042611e 77f944a8 ·········aB··D·w
0012ff48: 00000007 7ffdf000 00000044 001534d8 ·······D····4··
0012ff58: 00153378 00153538 00000000 00000001 x3··85··········
0012ff68: 00000064 00000064 00000000 00000000 d···d···········
0012ff78: 00000000 00000000 00000001 00000000 ················
0012ff88: ffffffff ffffffff ffffffff 00000006 ················
0012ff98: 00000000 8053476f 00152316 00000000 ····oGS··#······
0012ffa8: 0012feb0 e1d75798 0012ffe0 00426f3c ·····W······<oB·
0012ffb8: 00528ce0 00000000 0012fff0 77e814c7 ··R············w
0012ffc8: 77f944a8 00000007 7ffdf000 eec8bcf0 ·D·w···········
0012ffd8: 0012ffc8 80534504 ffffffff 77e94809 ·····ES······H·w
0012ffe8: 77e91210 00000000 00000000 00000000 ···w············
0012fff8: 00426106 00000000 ·aB·····
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby Xaser » Mon Sep 29, 2003 5:07 pm

Hmm... Well, at this moment, arena5.wad is quite unstable, but randy said (IIRC) that everything will work perfectly fine when 2.0.48/2.1 comes out. An easy way to avoid the crash is to bind a key to "kill" (something out of the way. I use "j"), and after you win a battle, kill yourself and start over. Easy, huh? :P

Anyway, to fic the problem about your master wad being 76 megabytes compressed, run it in XWE and select "Clean Wad". Works like a charm. :wink:

Also, I've created a wad similar to your "master.wad", and all that's missing is the registered Heretic stuff, as I only have shareware. :( Well, is there any possible way you can send me a copy of the regged Heretic stuff (Via PM or Email, maybe?), because I'm dying to see how they work. Heh, stupid question, huh?
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Postby randi » Wed Oct 08, 2003 5:25 pm

Fixed for 2.0.48/2.1.0. A wraith (from Hexen) did not have a target but tried to shoot at it anyway.
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest