Page 1 of 1

[fixed]PAR1-4.WAD crash (No, NOT the missing linedef)

Posted: Sat Nov 25, 2006 20:35
by nwbeeman
Yes, I know e1m4 has a missing front sidedef. However, try this. Run GZDOOM with /levels/doom/Ports/p-r/par1-4.zip. Then type the following into the console map e1m4. Returns an error. Now, type it again, returns an error, eventually, if you keep trying to warp to e1m4 using map, GZDoom will crash with a VFE. ZDoom dosn't (Latest version of that one).

EDIT: Latest version of GZDoom

I just tried it again, type MAP e1m4 in console. Then press up enter and repeat as fast as you can. GZDoom will eventually crash. Error report below. Also, I attached the error report as well



[spoiler]

Code: Select all

Code: C0000005 (Access Violation - tried to read address 0EAA3B56)
Address: 0047AC35
Flags: 00000000

Windows NT 5.1 Build 2600 Service Pack 2

GS=0000  FS=003b  ES=0023  DS=0023
EAX=004c4c41  EBX=0eaa3b56  ECX=047877cf  EDX=05cccd38
ESI=03cd63c8  EDI=00000000
EBP=05cccd38  EIP=0047ac35  ESP=0012fa88  CS=001b  SS=0023
EFlags=00210297
 CF+ PF+ AF+ ZF- SF+ TF- IF+ DF- OF- NT- RF+ VM- AC- VI- VP-

FPU State:
 ControlWord=027f StatusWord=4020 TagWord=ffff
 ErrorOffset=00446719
 ErrorSelector=0000001b
 DataOffset=03cb5360
 DataSelector=ffff0023
 Cr0NpxState=00000000

MM0=a2f9942fa18fd000
MM1=c90fc5f6654eb616
MM2=8000000000000000
MM3=0000000000000000
MM4=0000000000000000
MM5=03cd63c800000000
MM6=05cccd38004c4c41
MM7=000000230012fa88

Running threads:
00001160 at 0047ac35*
000015ec
00001220
000014c0
000001cc
0000112c
00000df8
000010a0

Loaded modules:
00400000 - 00727fff *gzdoom.exe
7c900000 - 7c9affff  ntdll.dll
7c800000 - 7c8f3fff  kernel32.dll
77f10000 - 77f56fff  GDI32.dll
77d40000 - 77dcffff  USER32.dll
773d0000 - 774d2fff  COMCTL32.dll
77c10000 - 77c67fff  msvcrt.dll
77dd0000 - 77e6afff  ADVAPI32.dll
77e70000 - 77f00fff  RPCRT4.dll
77f60000 - 77fd5fff  SHLWAPI.dll
7c9c0000 - 7d1d4fff  SHELL32.dll
763b0000 - 763f8fff  comdlg32.dll
774e0000 - 7761cfff  ole32.dll
73760000 - 737a8fff  DDRAW.dll
73bc0000 - 73bc5fff  DCIMAN32.dll
71ad0000 - 71ad8fff  WSOCK32.dll
71ab0000 - 71ac6fff  WS2_32.dll
71aa0000 - 71aa7fff  WS2HELP.dll
76b40000 - 76b6cfff  WINMM.dll
10000000 - 10095fff  fmod.dll
77be0000 - 77bf4fff  MSACM32.dll
5ed00000 - 5edcbfff  OPENGL32.dll
68b20000 - 68b3ffff  GLU32.dll
76390000 - 763acfff  IMM32.DLL
629c0000 - 629c8fff  LPK.DLL
74d90000 - 74dfafff  USP10.dll
66000000 - 6608efff  wblind.dll
5ad70000 - 5ada7fff  UXTHEME.DLL
76380000 - 76384fff  msimg32.dll
66600000 - 66616fff  wbhelp.dll
10100000 - 1010efff  lgscroll.dll
78130000 - 781cafff  MSVCR80.dll
7c420000 - 7c4a6fff  MSVCP80.dll
77690000 - 776b0fff  NTMARTA.DLL
76f60000 - 76f8bfff  WLDAP32.dll
71bf0000 - 71c02fff  SAMLIB.dll
755c0000 - 755edfff  msctfime.ime
76f50000 - 76f57fff  wtsapi32.dll
76360000 - 7636ffff  WINSTA.dll
5b860000 - 5b8b3fff  NETAPI32.dll
77fe0000 - 77ff0fff  Secur32.dll
73f10000 - 73f6bfff  dsound.dll
77c00000 - 77c07fff  VERSION.dll
76c30000 - 76c5dfff  WINTRUST.dll
77a80000 - 77b13fff  CRYPT32.dll
77b20000 - 77b31fff  MSASN1.dll
76c90000 - 76cb7fff  IMAGEHLP.dll
72d20000 - 72d28fff  wdmaud.drv
72d10000 - 72d17fff  msacm32.drv
77bd0000 - 77bd6fff  midimap.dll
73ee0000 - 73ee3fff  KsUser.dll
76fd0000 - 7704efff  CLBCATQ.DLL
77050000 - 77114fff  COMRes.dll
77120000 - 771abfff  OLEAUT32.dll
6ce10000 - 6ce47fff  dinput8.dll
688f0000 - 688f8fff  HID.DLL
77920000 - 77a12fff  SETUPAPI.DLL
69500000 - 69a73fff  nvoglnt.dll
02bd0000 - 02bdffff  ctagent.dll

Bytes near EIP:
0047AC25: 32 16 0f 00 83 c4 0c 85 c0 75 05 66 83 43 02 66
0047AC35: 0f bf 0b c1 e1 10 89 4d 00 0f bf 53 02 c1 e2 10
0047AC45: 89 55 04 66 c7 45 16 ff ff 0f bf 43 1c 3b 05 0c

Possible call trace:
 0047ac35  BOOM
 0056e0d0
 00568C6C  call 00570D4D
 0047D7FE  call 0047AB80
 00502cd4
 00584E07  jmp  004422A0
 0042EFE4  call 0047D450
 0042F8D4  call 0042EEA0
 00584056
 0042FF18  call 0042F540
 0042B224  call 0042FF00
 0041CEBB  call 0042B190
 00418DFA  call 0041CBE0
 00583850
 004a6589  call [0059f23c]
 004a6589  call [0059f23c]
 0040BC11  call 004A6570
 00583DA3  jmp  004A6570
 0040BC5E  call 0040BB90
 004C43A1  call 0040BC50
 004C4493  call 00568A22
 00583876  jmp  00404000
 004C3102  call 00418E50
 00586360
 004C3431  call 004C2C70
 0056E83F  call 004C33D0
 0056e0d0
 0056e8ad

Stack Contents:
0012FA88: 0063c47c 006d63c0 0012fcd4 03cd63c8  |·c··cm······c··
0012FA98: 0012fcc8 0056e0d0 00000000 00000000  ······V·········
0012FAA8: 00568c71 05b94bb8 03ce6008 00000000  q·V··K···`······
0012FAB8: 03cd63c8 0012fcd4 03cd63c8 03cf7900  ·c·······c···y··
0012FAC8: 5463d082 0047d803 5463d6ce 00000000  ··cT··G···cT····
0012FAD8: 00000000 00000000 025f4000 025f4000  ·········@_··@_·
0012FAE8: 00000000 7c919bd3 0012fbaa 00000170  ·······|····p···
0012FAF8: 5ed00000 5eda3268 02616fa8 025f4000  ···^h2·^·oa··@_·
0012FB08: 02616fa8 0012fb20 020b0680 00000006  ·oa· ···········
0012FB18: 00000000 00000000 02616fa8 025f4000  ·········oa··@_·
0012FB28: 6959eeba 025f4000 02616fa8 695832cd  ··Yi·@_··oa··2Xi
0012FB38: 025f4000 02616fa8 02616fa8 025f4000  ·@_··oa··oa··@_·
0012FB48: 00000001 6970e254 025f4000 02616fa8  ····T·pi·@_··oa·
0012FB58: 00000001 0012fc4c 7c917326 7c97c0d8  ····L···&s·|···|
0012FB68: 7c917304 00000000 00000001 5ed00000  ·s·|···········^
0012FB78: 6970e371 00000000 00000000 02616f80  q·pi·········oa·
0012FB88: 00000001 00000003 00000000 00000001  ················
0012FB98: 6970e495 00000001 00000000 02545680  ··pi·········VT·
0012FBA8: 02616f80 02616f80 02616f80 6970e5ac  ·oa··oa··oa···pi
0012FBB8: 0012fbc8 00000000 7c9105c8 01801e88  ···········|····
0012FBC8: 0012fc94 7c910551 01800a18 7c91056d  ····Q··|····m··|
0012FBD8: 00000000 0000003d 00000000 0012fc34  ····=·······4···
0012FBE8: 00000000 01d484b2 00000000 00000000  ················
0012FBF8: 0000001d 00000504 000003dd 03cd63c8  ·············c··
0012FC08: 1601145f 005e08d4 7ffdf000 00000000  _·····^········
0012FC18: 0017ec28 00941bd4 00000000 000c98c8  (···············
0012FC28: 00000000 000001b8 00000000 00502cd4  ·············,P·
0012FC38: 00000000 512f86ae ffff6cf3 00000000  ······/Q·l······
0012FC48: 00000000 00000000 00000000 00000000  ················
0012FC58: 00000000 00000000 00000000 00000000  ················
0012FC68: 00000000 00000000 00000000 00000000  ················
0012FC78: 00000000 00000000 00000000 00000000  ················
0012FC88: 00000000 00000000 00000000 00000000  ················
0012FC98: 00000000 00000000 00000000 00000000  ················
0012FCA8: 00000000 00000000 00000000 00000000  ················
0012FCB8: 00000000 00000000 0063c47c 0012fad0  ········|·c·····
0012FCC8: 0012fd10 00584e0c ffffffff 00000000  ·····NX·········
0012FCD8: 0042efe9 00000000 00000000 0063bf08  ··B···········c·
0012FCE8: 00000000 00000000 0042f8d9 5463d6e2  ··········B···cT
0012FCF8: 00000008 00000004 00000000 00000000  ················
0012FD08: 00000000 5463d6d6 0012fd74 00584056  ······cTt···V@X·
0012FD18: ffffffff 0042ff1d 0042b229 0000000e  ······B·)·B·····
0012FD28: 00000001 00000000 00000001 00000001  ················
0012FD38: 00000001 00000000 0041cec0 005f2354  ··········A·T#_·
0012FD48: 00000001 0012fd80 0012fd74 00418dff  ········t·····A·
0012FD58: 5463d79a 00000004 03be7860 00000000  ··cT····`x······
0012FD68: 0012f1d4 000000f8 0012fd58 0012feb0  ········X·······
0012FD78: 00583850 00000000 0000000b 5463d792  P8X···········cT
0012FD88: 000000f8 0000026e 0012ff1c 00000000  ····n···········
0012FD98: 004a658f 0136fbd8 00000000 01801f28  ·eJ···6·····(···
0012FDA8: 6d6f6f44 7475412e 616f6c6f 01000064  Doom.Autoload···
0012FDB8: 0012ff1c 00000002 00011f34 00000013  ········4·······
0012FDC8: 0012fd24 01801e9c 0012fe04 7c90ee18  $··············|
0012FDD8: 7c910570 ffffffff 7c91056d 004a658f  p··|····m··|·eJ·
0012FDE8: 01800000 00000000 01801e90 0040bc16  ··············@·
0012FDF8: 5463d7e6 0000026e 01801e9c 0012ff10  ··cTn···········
0012FE08: 00583da8 ffffffff 0040bc63 0012fe20  ·=X·····c·@· ···
0012FE18: 004c43a6 005b8620 004c4498 00000094  ·CL· ·[··DL·····
0012FE28: 00000005 00000001 00000a28 00000002  ········(·······
0012FE38: 76726553 20656369 6b636150 77003220  Service Pack 2·w
0012FE48: 774ff5e1 00170008 8007000e 776068e4  ··Ow·········h`w
0012FE58: 774ec2b4 00000000 0012fe84 7752ed05  ··Nw··········Rw
0012FE68: 00170008 7c809766 0012feac 00000000  ····f··|········
0012FE78: 7760683c 0012fea4 774ff05b 00000001  <h`w····[·Ow····
0012FE88: 00000000 00000002 00000000 0000026e  ············n···
0012FE98: 0000017e 00000000 00000002 0012feb4  ~···············
0012FEA8: 0063d666 5463d782 0012ff10 0058387b  f·c···cT····{8X·
0012FEB8: ffffffff 004c3107 5463d506 00400000  ·····1L···cT··@·
0012FEC8: 7c80ddf5 00000001 00000000 00000000  ···|············
0012FED8: 0000026e 0000017e 00000001 000f4240  n···~·······@B··
0012FEE8: 0012fedc 00000020 7c800000 00400000  ···· ······|··@·
0012FEF8: 00000276 00000000 00400000 00400210  v·········@···@·
0012FF08: 00000001 0012fec0 0012ffb0 00586360  ············`cX·
0012FF18: 00000000 0012ffc0 004c3436 00000a28  ········64L·(···
0012FF28: 00000002 0056e844 00400000 00000000  ····D·V···@·····
0012FF38: 00152327 00000001 5463d5da 0012dcf4  '#········cT····
0012FF48: 00000018 7ffdf000 00000044 00154098  ·······D····@··
0012FF58: 00153758 001540f8 00000000 00000000  X7···@··········
0012FF68: 00000000 00000000 00000000 00000000  ················
0012FF78: 00000000 00000001 00000001 00000000  ················
0012FF88: ffffffff ffffffff ffffffff c0000005  ················
0012FF98: 00000001 00000005 00000000 0012dcf4  ················
0012FFA8: 0012ff40 0012f6b0 0012ffe0 0056e0d0  @·············V·
0012FFB8: 542e4e72 00000001 0012fff0 7c816fd7  rN.T·········o·|
0012FFC8: 0012dcf4 00000018 7ffdf000 8054a938  ···········8·T·
0012FFD8: 0012ffc8 880877d0 ffffffff 7c839aa8  ·····w·········|
0012FFE8: 7c816fe0 00000000 00000000 00000000  ·o·|············
0012FFF8: 0056e8ad 00000000                    ··V·····
[/spoiler]

Yes yes, I know its a case of dont do that, but I think Graf once said that nothing should cause GZDoom to crash like that. Besides, for all i know it could point to some bad code or a memory leak. Worth looking into.

Posted: Sun Nov 26, 2006 0:21
by wildweasel
Might be the memory leak that was reported a while ago - as far as I can tell, this'll happen with any map if you load it enough times in succession. With PAR, though, it goes much faster because it has more data to load.

Posted: Sun Nov 26, 2006 0:26
by nwbeeman
wildweasel wrote:Might be the memory leak that was reported a while ago - as far as I can tell, this'll happen with any map if you load it enough times in succession. With PAR, though, it goes much faster because it has more data to load.
Its sad that for some reason ZDoom fails at a line with no front side def, the first three levels are real detailed and fun to run around in

Posted: Sun Nov 26, 2006 1:14
by Graf Zahl
Then get the full 9 level version instead of the demo. Why only play half of it if you can have it all?

As for failing, a missing front linedef is almost guaranteed to crash the engine if not blocked.

Posted: Sun Nov 26, 2006 1:17
by nwbeeman
Graf Zahl wrote:Then get the full 9 level version instead of the demo. Why only play half of it if you can have it all?

As for failing, a missing front linedef is almost guaranteed to crash the engine if not blocked.
Yes, but my point is the engine performs like its supposed to. It fails. But if you keep trying map e1m4, GZDoom then will continue to fail gracefully, then after awhile of executing the command map e1m4 repeatedly it then crashes to desktop with the VFE Any idea why?

Posted: Sun Nov 26, 2006 1:23
by Graf Zahl
Like WildWeasel I suspect that aborting the level load results in memory leaks that eventually become problematic.

Posted: Sun Nov 26, 2006 1:25
by nwbeeman
Graf Zahl wrote:Like WildWeasel I suspect that aborting the level load results in memory leaks that eventually become problematic.
Cool. Just thought i found a bug. I dont think it happens in ZDoom though. Oh well. Just another logdump to help try and find the cause i guess. tks

Posted: Tue Nov 28, 2006 10:39
by Graf Zahl
fixed

Posted: Sat Dec 02, 2006 8:28
by MasterOFDeath
Sorry for the offtopic-ness (If its offtopic) but there is a missing front sidedef in E1M4? Where?

Posted: Sat Dec 02, 2006 8:36
by nwbeeman
MasterOFDeath wrote:Sorry for the offtopic-ness (If its offtopic) but there is a missing front sidedef in E1M4? Where?

Code: Select all

]map e1m4
e1m4 - Railbender    

Map has 218 unused sidedefs
Line 2970 has no front sector
Linedef 2970 does not have a front side.
The following lines do not have a front sidedef:
 2970

You need to fix these lines to play this map.
The full version of par does not have this issue

Posted: Sat Dec 02, 2006 9:34
by Graf Zahl
Of course not. The original was checked with MBF only, the final one also with ZDoom.

Posted: Sat Dec 02, 2006 22:00
by MasterOFDeath
nwbeeman wrote:
MasterOFDeath wrote:Sorry for the offtopic-ness (If its offtopic) but there is a missing front sidedef in E1M4? Where?

Code: Select all

]map e1m4
e1m4 - Railbender    

Map has 218 unused sidedefs
Line 2970 has no front sector
Linedef 2970 does not have a front side.
The following lines do not have a front sidedef:
 2970

You need to fix these lines to play this map.
The full version of par does not have this issue
Oh wait, this is in PAR, I thought this was in stock doom :oops: