[Fixed] Crash w/ ultramarine.wad

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Crash w/ ultramarine.wad

Postby arcticwolf » Sun Aug 03, 2003 6:23 pm

This "Very Fatal Error" happens with the file ultramarine.wad, which can be found at http://www.doomworld.com/idgames/index.php?id=12115 .

If you need to know anything else besides what's in here or if I can help out in any way, just let me know, ya? :)

Code: Select allExpand view
Code: ACCESS_VIOLATION
Tried to read address 0c600008
Flags: 00000000
Address: 0049b19a

Windows NT 5.1 Build 2600 Service Pack 1

GS=0000  FS=0038  ES=0023  DS=0023
EAX=0c3b56fc  EBX=001fffe0  ECX=00000001  EDX=0c400020
ESI=0c9b0544  EDI=0ab92d58
EBP=000028e7  EIP=0049b19a  ESP=0012fabc  CS=001b  SS=0023
EFlags=00010202
 CF- PF- AF- ZF- SF- TF- IF+ DF- OF- NT- RF+ VM- AC- VI- VP-

FPU State:
 ControlWord=027f StatusWord=4020 TagWord=ffff
 ErrorOffset=00425dc7
 ErrorSelector=0545001b
 DataOffset=0012fa90
 DataSelector=ffff0023
 Cr0NpxState=00000000

MM0=0000000000000000
MM1=0000000000000000
MM2=b92ff3e19f1d9000
MM3=8000000000000000
MM4=0000000000000000
MM5=0c9b05440ab92d58
MM6=000028e70c3b56fc
MM7=000000230012fabc

Running threads:
00001a84 at 0049b19a*
00001c7c
00001998
00001cec
00001920
000019dc
00000984
000017b8
00001bb4

Loaded modules:
00400000 - 0060ffff *zdoom.exe
77f40000 - 77fedfff  ntdll.dll
77e40000 - 77f37fff  kernel32.dll
78090000 - 78173fff  COMCTL32.dll
77be0000 - 77c32fff  msvcrt.dll
77c40000 - 77c7ffff  GDI32.dll
77d10000 - 77d95fff  USER32.dll
77da0000 - 77e3bfff  ADVAPI32.dll
78000000 - 7807efff  RPCRT4.dll
772a0000 - 77303fff  SHLWAPI.dll
71a30000 - 71a38fff  WSOCK32.dll
71a10000 - 71a24fff  WS2_32.dll
71a00000 - 71a07fff  WS2HELP.dll
76af0000 - 76b1cfff  WINMM.dll
10000000 - 10086fff  fmod.dll
77bb0000 - 77bc3fff  MSACM32.dll
00610000 - 00730fff  ole32.dll
76350000 - 76395fff  comdlg32.dll
773a0000 - 77b9bfff  SHELL32.dll
00da0000 - 00e6efff  nView.dll
76bb0000 - 76bbafff  PSAPI.DLL
74a50000 - 74a56fff  POWRPROF.dll
77bd0000 - 77bd6fff  VERSION.dll
5f1a0000 - 5f1b9fff  OLEPRO32.DLL
770f0000 - 7717afff  OLEAUT32.dll
51000000 - 5104cfff  DDRAW.dll
73b30000 - 73b35fff  DCIMAN32.dll
00f70000 - 00f98fff  NVWRSDE.DLL
00fa0000 - 00fb2fff  PowerMenuHook.dll
76f10000 - 76f17fff  wtsapi32.dll
76300000 - 7630efff  WINSTA.dll
76f50000 - 76f5ffff  Secur32.dll
51080000 - 510d9fff  dsound.dll
72c90000 - 72c98fff  wdmaud.drv
72c80000 - 72c87fff  msacm32.drv
77ba0000 - 77ba6fff  midimap.dll
5ef80000 - 5ef83fff  KsUser.dll
76f90000 - 77007fff  CLBCATQ.DLL
77010000 - 770e2fff  COMRes.dll
6ce10000 - 6cebefff  dinput8.dll
68d90000 - 68d98fff  HID.DLL
76620000 - 76707fff  SETUPAPI.DLL
0c210000 - 0c217fff  IdleTrac.dll

Bytes near EIP:
0049b18a: c1 e3 05 03 da 89 5e 08 0f b7 5c 48 26 c1 e3 05
0049b19a: 8b 5c 13 08 89 5e 10 f6 40 10 04 74 1e 83 f1 01
0049b1aa: 66 8b 4c 48 26 66 81 f9 ff ff 74 0f 0f b7 c9 c1

ZDoom version 2.0.47

Command line:
 zdoom -iwad doom2.wad -file ultramarine.WAD
IWAD: doom2.wad

Current map: MAP01

viewx = 0
viewy = 0
viewz = 0
viewangle = 0

Possible call trace:
 0049b19a  BOOM
 0049b852  call 0049ae90
 00425876  call 0042578e
 0047a28f  call 00425857
 00425876  call 0042578e
 00447b00  call 00422f70
 004d2412  call 0049b430
 004d284a  call 004d2260
 004d63cf  call 004d25b0
 004e3051  call 004d6320
 004f3fd7  call 004e2d20
 004f517e  call 004f3d90
 004ee910  call 004ee870
 004ee910  call 004ee870
 00476398  call 004ee900
 0046d510  call 004f4030
 0046d5e5  call 0046d1f0
 00425bd7  call 0046d570
 00425a6e  call 0042a840
 00425a56

Stack Contents:
0012fabc: 000012ad 00000000 000012aa 000012af  ················
0012facc: 0000a000 11300000 00cfc008 00010524  ······0·····$···
0012fadc: 0ab92d58 00000741 11600000 0ab8d648  X-··A·····`·H···
0012faec: f5a00000 0049b852 000012af 00603728  ····R·I·····(7`·
0012fafc: 00000008 00599b5c 00000000 00304c00  ····\·Y······L0·
0012fb0c: 53474553 00000000 46545368 31315453  SEGS····hSTFST11
0012fb1c: 54532200 31545346 53f70032 52544654  ·"STFST12··STFTR
0012fb2c: 00003031 54465453 0030314c 465453f7  10··STFTL10··STF
0012fb3c: 4843554f 54530031 4c564546 53120031  OUCH1·STFEVL1··S
0012fb4c: 494b4654 00314c4c 53465453 00303254  TFKILL1·STFST20·
0012fb5c: 46545324 31325453 54532d00 32545346  $STFST21·-STFST2
0012fb6c: 53360032 52544654 3f003032 54465453  2·6STFTR20·?STFT
0012fb7c: 0030324c 46545348 4843554f 54530032  L20·HSTFOUCH2·ST
0012fb8c: 4c564546 535a0032 494b4654 00324c4c  FEVL2·ZSTFKILL2·
0012fb9c: 53465453 00303354 4654536c 31335453  STFST30·lSTFST31
0012fbac: 54537500 33545346 00000005 ffbcc3e8  ·uSTFST3········
0012fbbc: 000003e5 0012fc00 00425876 00562498  ········vXB··$V·
0012fbcc: 00000031 0047a28f 00000031 00563818  1·····G·1····8V·
0012fbdc: 00000003 ffb95c00 000003e5 0012fc1c  ·····\··········
0012fbec: 00425876 00562498 00000031 00000000  vXB··$V·1·······
0012fbfc: 000000e5 00563818 00599b5c 00447b00  ·····8V·\·Y··{D·
0012fc0c: 00d8ed20 0012fc1c 82bb452b 0012fcbc   ·······+E······
0012fc1c: 00510ac2 ffffffff 004d2412 00599fe0  ··Q······$M···Y·
0012fc2c: 00000000 0059a160 00000003 00000000  ····`·Y·········
0012fc3c: 00000002 00000003 00000000 00000003  ················
0012fc4c: 0059a160 82bb4973 004d284a 00000000  `·Y·sI··J(M·····
0012fc5c: 00000000 00000008 00000003 00000008  ················
0012fc6c: 00000000 004d63cf 00599b5c 00000001  ·····cM·\·Y·····
0012fc7c: 00000000 00000008 00000069 00000000  ········i·······
0012fc8c: 004e3051 00000001 00000005 0012fcc8  Q0N·············
0012fc9c: 00000000 00000001 004f3fd7 00000001  ·········?O·····
0012fcac: 00000005 00000000 00ca9e98 0012fca8  ················
0012fcbc: 0012fe14 00510acc 00000000 0012fe20  ······Q····· ···
0012fccc: 004f517e 0000017e 0000026e 00000000  ~QO·~···n·······
0012fcdc: ac93223f 00cabac8 e205e776 d423694b  ?"······v···Ki#·
0012fcec: d70f459b d181698a 35138295 04d0de66  ·E···i·····5f···
0012fcfc: c8d632cd 6d6f6f44 7475412e 616f6c6f  ·2··Doom.Autoloa
0012fd0c: 6f640064 732f6d6f 736e696b 10e6b400  d·doom/skins····
0012fd1c: 9c1a8b52 b00021fd cf22c04a 6e95e96e  R····!··J·"·n··n
0012fd2c: b5f47e47 eaade84b f36e1eb8 58b75ce8  G~··K·····n··\·X
0012fd3c: f0c315ba a375fe51 b83ef5b3 a9e3ed1e  ····Q·u···>·····
0012fd4c: 08c01e98 1b140d53 b3aea8b9 bce697ce  ····S···········
0012fd5c: 00548580 82b88829 004ee910 00000002  ··T·)·····N·····
0012fd6c: 00548578 82b88829 004ee910 00000002  x·T·)·····N·····
0012fd7c: 0012fd88 00476398 00548578 0012fda0  ·····cG·x·T·····
0012fd8c: 00000094 00000005 00000001 00000a28  ············(···
0012fd9c: 00000002 76726553 20656369 6b636150  ····Service Pack
0012fdac: 00003120 0071b640 0062462f 00000000   1··@·q·/Fb·····
0012fdbc: 8007000e 0015ae98 0061449c 00000000  ·········Da·····
0012fdcc: 00000000 0062e49e 0015ae98 0012fe18  ······b·········
0012fddc: 0071b6f4 00000000 0071b264 0012fe10  ··q·····d·q·····
0012fdec: 00620fd8 0000017e 0000026e 0012fe6c  ··b·~···n···l···
0012fdfc: 00000000 0000026e 0000017e 00000000  ····n···~·······
0012fe0c: 82b0b429 82f66139 0012fe60 00510aef  )···9a··`·····Q·
0012fe1c: ffffffff 0012fe6c 0046d510 ffffffff  ····l·····F·····
0012fe2c: 77e5e6b9 7ffdf000 00000000 00000000  ···w···········
0012fe3c: 0000026e 0000017e 00000001 000f4240  n···~·······@B··
0012fe4c: ffffffff 00000276 00000199 77e40000  ····v··········w
0012fe5c: 0012fe28 0012fe88 00510af9 00000000  (·········Q·····
0012fe6c: 0012fe98 0046d5e5 77e5ad86 00000000  ······F····w····
0012fe7c: 7ffdf000 0012fe74 0012f6e4 0012ffb0  ···t···········
0012fe8c: 0042b8f0 005259e8 00000000 0012ffc0  ··B··YR·········
0012fe9c: 00425bd7 00400000 00000000 00152316  ·[B···@······#··
0012feac: 0000000a 00000094 00000005 00000001  ················
0012febc: 00000a28 00000002 76726553 20656369  (·······Service
0012fecc: 6b636150 ee003120 ee68bc08 ee68bc08  Pack 1····h···h·
0012fedc: ee68bc08 ee68bc08 e491a000 e491b000  ··h···h·········
0012feec: e491c000 e491d000 e491e000 e491f000  ················
0012fefc: e4920000 e4921000 e4922000 e4923000  ········· ···0··
0012ff0c: e4924000 e4925000 e4926000 e4927000  ·@···P···`···p··
0012ff1c: e4928000 fbb178f0 ff676980 00003946  ·····x···ig·F9··
0012ff2c: 00000001 00000015 00000000 00000015  ················
0012ff3c: 0000391a 00425a6e 77f844a8 00000007  ·9··nZB··D·w····
0012ff4c: 7ffdf000 0000391a 00000001 00152316  ····9·······#··
0012ff5c: 00000044 00153a28 00153610 001539f0  D···(:···6···9··
0012ff6c: 00000000 00000001 00000064 00000064  ········d···d···
0012ff7c: 00000000 00000000 00000000 00000000  ················
0012ff8c: 00000001 00000000 ffffffff ffffffff  ················
0012ff9c: ffffffff 00000000 00000000 0012feb0  ················
0012ffac: e35c3d08 0012ffe0 0042b8f0 00522cd0  ·=\·······B··,R·
0012ffbc: 00000000 0012fff0 77e614c7 77f844a8  ···········w·D·w
0012ffcc: 00000007 7ffdf000 ee68bcf0 0012ffc8  ·········h·····
0012ffdc: 80534504 ffffffff 77e74809 77e71210  ·ES······H·w···w
0012ffec: 00000000 00000000 00000000 00425a56  ············VZB·
0012fffc: 00000000                             ····

--
schnee
User avatar
arcticwolf
Canis lupus arctos
 
Joined: 28 Jul 2003
Location: The world

Postby Biff » Sun Aug 03, 2003 8:27 pm

This wad has some serious problems. I found and fixed some:

1. No PP_END entry after the RSKY1 addition. Used XWE.

2. Line problems, some two-sided lines used where one-sided is needed. Also a zero-length line. Also a line with a vertex not shared by another line. Used DeePsea.

3. Missing textures and a few monsters on top of each other. Left alone, should not crash zdoom.

4. Multiple player1 starts, left alone because it may be special effect.

5. Unknown other problems. WA won't even display the map. DeePsea handles it for the error fixes but then some other problems with the data structure (guessing) crashed the work when I tried to save this file to another name. So it's probably not a zdoom problem, except that zdoom may be more sensitive to a file error than whatever port this author uses.

So bottom line, I haven't been able to repair it yet so I can play it. Help!
User avatar
Biff
Caleb is back for a visit
 
Joined: 16 Jul 2003
Location: Monrovia, CA, USA

Postby cccp_leha » Sun Aug 03, 2003 9:11 pm

Haha, because it's "the biggest map ever made".
User avatar
cccp_leha
Words are silver; silence is gold... so stfu.
 
Joined: 16 Jul 2003
Location: NJ, USA

Postby randomlag » Sun Aug 03, 2003 9:13 pm

PP_END not required. Just a bad blockmap caused by ? He said he used WA but that's obviously a lie since WA can't handle a level this size :?

Other issues are just typical mistakes in levels, but not the cause of the crash.

I saved it just fine (with no changes) - so what may have happened is that the crash corrupted your system. I just used DeePBSP to rebuild, but +gennodes 1 should also work.

[It's not the biggest level - I've tested one 3 times the size of that one :P ]
User avatar
randomlag
 
Joined: 17 Jul 2003

Postby Cyb » Sun Aug 03, 2003 11:31 pm

randomlag wrote:PP_END not required. Just a bad blockmap caused by ? He said he used WA but that's obviously a lie since WA can't handle a level this size :?


he said he used xwe too (which can open it) so he may have built parts of it in WA and pasted it together with XWE, or possibly drawn up to the limits of wadauth and then finished the rest in XWE

but yeah, rebuilding the nodes fixes the problem
Cyb
 
Joined: 15 Jul 2003

Postby Biff » Sun Aug 03, 2003 11:43 pm

Great, thanks guys. I ran outta' time at that point and didn't try +gennodes 1. Yeah, the crash may have corrupted my system, it's still win98 and therefore weak.

One thing I saw which makes me think he used WA at some pont is that that there are many "split" lines, lines from A to B which need only be one line but are two. With WA, if you think you have selected only one line and use the"x" key to split it, but have selected sectors instead, it'll split all lines in selected sectors.
User avatar
Biff
Caleb is back for a visit
 
Joined: 16 Jul 2003
Location: Monrovia, CA, USA

Postby arcticwolf » Mon Aug 04, 2003 6:11 am

Thanks for your help, guys. I'll try rebuilding the nodes for this one and see if it works then; outside of that, though, I still think that even if the wad is corrupt, it shouldn't cause ZDoom to crash like that. :)
User avatar
arcticwolf
Canis lupus arctos
 
Joined: 28 Jul 2003
Location: The world

Postby HotWax » Mon Aug 04, 2003 6:46 am

Cyb wrote:
randomlag wrote:PP_END not required. Just a bad blockmap caused by ? He said he used WA but that's obviously a lie since WA can't handle a level this size :?


he said he used xwe too (which can open it) so he may have built parts of it in WA and pasted it together with XWE, or possibly drawn up to the limits of wadauth and then finished the rest in XWE

but yeah, rebuilding the nodes fixes the problem


AFAIK XWE doesn't build levels . . .
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby Kate » Mon Aug 04, 2003 8:47 am

Yes it does, Just click the lump with the level's name and you'll see the level editor appear in the box to the right.
User avatar
Kate
... in loving memory ...
 
Joined: 15 Jul 2003

Postby randomlag » Mon Aug 04, 2003 10:04 am

Maybe - try to build a level THAT size with XWE. Possible for someone with a huge amount of patience :D I'm pretty sure he just used XWE to insert to extra stuff.

For sure WA was used for part of it (same reason Biff noted). Past a certain point, don't know what was used.
User avatar
randomlag
 
Joined: 17 Jul 2003

Postby The Ultimate DooMer » Tue Aug 05, 2003 5:27 pm

After a looooooooooooooong zennode build and taking out and putting the sky back in with Wintex (to get the proper markers in) the crash didn't happen - but when playing the map it locks up regularly at random intervals. Legacy, prBoom, Vavoom and Doomsday won't even load it.
User avatar
The Ultimate DooMer
Will you start the fans please!
 
Joined: 15 Jul 2003
Location: Industrial Zone

Postby Biff » Tue Aug 05, 2003 5:37 pm

Do you think that has anything to do with the bad lines? There are half a dozen or so two-sided lines facing into the void IIRC, or maybe a few with their backsides to the void but still two-sided. A few zero-length too I think, which zdoom would ordinarily identify but I think there were also some invalid (unused) sector references involved.
User avatar
Biff
Caleb is back for a visit
 
Joined: 16 Jul 2003
Location: Monrovia, CA, USA

Postby Kappes Buur » Tue Aug 05, 2003 5:59 pm

The Ultimate DooMer wrote:After a looooooooooooooong zennode build ...

No kidding

But now it works in ZDOOM, without crashing or lockups. Actually not a bad level.

I had ZETH check it out and there are lots of overlapping sidedefs.
Last edited by Kappes Buur on Thu Aug 14, 2003 7:27 am, edited 1 time in total.
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada

Postby Graf Zahl » Tue Aug 05, 2003 6:18 pm

Kappes Buur wrote:
The Ultimate DooMer wrote:After a looooooooooooooong zennode build ...

No kidding

But now it works in ZDOOM, without crashing or lockups. Actually not a bad level.

I had ZETH check it out and there are lots of overlapping sidedefs.



You should have used zennode -rz to skip the reject build. This alone probably took 17-19 minute of your time...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby The Ultimate DooMer » Tue Aug 05, 2003 6:22 pm

The Ultimate DooMer wrote:when playing the map it locks up regularly at random intervals.


It's not a bug in the map itself or in ZDoom - I played a newstuff map and it did the same thing! With 47 and 47i as well, which means it could be my worst nightmare - ZDoom not working on my system anymore!! (the drivers are screwed meaning all 3D accelerated games bar Unreal lock up constantly but it's never affected DooM games before today)

I don't know what it will do to my ZDoom mod but hopefully I can still build that but I won't be able to play it through.
User avatar
The Ultimate DooMer
Will you start the fans please!
 
Joined: 15 Jul 2003
Location: Industrial Zone

Next

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest