[Fixed] Crash (because of stale nodes)

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.
User avatar
LilWhiteMouse
Posts: 2270
Joined: Tue Jul 15, 2003 7:00 pm
Location: Maine, US

Crash

Post by LilWhiteMouse »

What'd I do wrong?

Code: Select all

Code: ACCESS_VIOLATION
Tried to read address ef0b629e
Flags: 00000000
Address: 0044a01e

Windows 9x 4.10 Build 67766446  A 

GS=0000  FS=545f  ES=0177  DS=0177
EAX=77e89d96  EBX=88eafd32  ECX=00d3d0d2  EDX=ef0b629e
ESI=00000000  EDI=88eafd3a
EBP=00000080  EIP=0044a01e  ESP=0084f91c  CS=016f  SS=0177
EFlags=00010282
 CF- PF- AF- ZF- SF+ TF- IF+ DF- OF- NT- RF+ VM- AC- VI- VP-

FPU State:
 ControlWord=027f StatusWord=0120 TagWord=ffff
 ErrorOffset=10024871
 ErrorSelector=015d016f
 DataOffset=010dff78
 DataSelector=ffff0177
 Cr0NpxState=0000000a

MM0=0000000000000000
MM1=000000a7006b006b
MM2=8000000000000000
MM3=f000000000000000
MM4=000000000000000a
MM5=0000000088eafd3a
MM6=0000008077e89d96
MM7=000001770084f91c

Running threads:
fffee4f7 at 0044a01e*
fffa7517
fffb1257
fffc382f

Loaded modules:
baaa0000 - baaf8fff  DDRAW.DLL
77ea0000 - 77f06fff  SETUPAPI.DLL
7f810000 - 7f81afff  CFGMGR32.DLL
7fe40000 - 7fe48fff  WINSPOOL.DRV
bfe60000 - bfe65fff  LZ32.DLL
7d060000 - 7d068fff  HID.DLL
70000000 - 70037fff  DINPUT8.DLL
5ef80000 - 5ef83fff  KSUSER.DLL
bfee0000 - bfee4fff  NTDLL.DLL
7fbf0000 - 7fbfdfff  MPR.DLL
beaf0000 - beb64fff  DSOUND.DLL
bfe70000 - bfe75fff  VERSION.DLL
7fb90000 - 7fbe1fff  RPCRT4.DLL
00400000 - 0061ffff *ZDOOM.EXE
7fe10000 - 7fe3cfff  COMDLG32.DLL
7fcb0000 - 7fe05fff  SHELL32.DLL
10000000 - 10086fff  FMOD.DLL
7ff20000 - 7ffe0fff  OLE32.DLL
7b620000 - 7b638fff  MSACM32.DLL
bfdf0000 - bfdfffff  WINMM.DLL
75fa0000 - 75fa9fff  WSOCK32.DLL
794d0000 - 794e4fff  MSWSOCK.DLL
76000000 - 76011fff  WS2_32.DLL
76280000 - 762effff  WININET.DLL
70bd0000 - 70c13fff  SHLWAPI.DLL
75fe0000 - 75fe5fff  WS2HELP.DLL
78000000 - 78045fff  MSVCRT.DLL
bfb70000 - bfbfdfff  COMCTL32.DLL
bff50000 - bff60fff  USER32.DLL
bff20000 - bff45fff  GDI32.DLL
bfe80000 - bfe8ffff  ADVAPI32.DLL
bff70000 - bffe2fff  KERNEL32.DLL

Bytes near EIP:
0044a00e: 3c b2 2b c2 8a 54 24 13 84 d2 75 1b 8b 17 03 d3
0044a01e: 80 3a ff 74 15 0f b6 5a 01 66 ff 01 8d 54 1a 04
0044a02e: 80 3a ff 75 f0 eb 03 66 ff 01 66 ff 41 fe 66 8b

ZDoom version 2.0.47i

Command line:
 D:\doom2\47\zdoom.exe D:\DOOM2\47\CHIBI20.WAD
IWAD: doom2.wad

Not in a level.

Possible call trace:
 0044a01e  BOOM
 0044b546  call 00449ec0
 004305e2  call 0043035e
 004306c7  call 0042630c
 00430739  call 00430497
 0043074d  call 0042630c
 0042ebdc  call 004306c9
 0042ec3d  call 0042630c
 0042e753  call 0042e5c2
 004240f8  call [005261a0]
 004240fd  call 00426f23
 00426f3c
 004240fd  call 00426f23
 0042411a  call 0042408f
 00423865  call 0042410a
 0044991b  call 0042385a
 00444f8b  call 0044ab10
 004ea8f8  call 00444f80
 004f6750  call 004f66a0
 004f6750  call 004f66a0
 0046e0e1  call 004f6740
 0046e1e3  call 0042630c
 00470ce5  call 00470900
 0042628a  call 00470c70
 0042611e  call 0042c100
 00426106

Stack Contents:
0084f91c: 0084fc9c 00000001 000001ac 00000000  ················
0084f92c: 00000000 00d3d0d0 00d38010 00d39ce0  ················
0084f93c: 88eafd32 00000001 00d39ad0 000006e6  2···············
0084f94c: 00d38034 0044b546 000001ac 00000002  4···F·D·········
0084f95c: 00b80000 00000000 88cbd556 00000000  ········V·······
0084f96c: 000057b2 0000a7f0 88cbce1e 00b89378  ·W··········x···
0084f97c: 00000000 88cc25a6 000057b2 00000000  ·····%···W······
0084f98c: 88cbce1e 000001cd 00cfc7d9 00000009  ················
0084f99c: 0084fa78 00000000 0084fa78 004305e2  x·······x·····C·
0084f9ac: 0084f9d4 0052f34f 00569f3c 004306c7  ····O·R·<·V···C·
0084f9bc: 00000000 0084fa82 00569f42 00000000  ········B·V·····
0084f9cc: 00000005 0084f9e2 00000000 00000000  ················
0084f9dc: c8000000 df061a31 0084fa10 00430739  ····1·······9·C·
0084f9ec: 00024005 00000000 0052f34f 0084fa5c  ·@······O·R·\···
0084f9fc: 0043074d 00000001 00000000 00000000  M·C·············
0084fa0c: df061a31 0084fa8c 0042ebdc 0084fa78  1·········B·x···
0084fa1c: 00000000 00000000 00000000 00000000  ················
0084fa2c: 0042ec3d 00000000 00000000 00000000  =·B·············
0084fa3c: 00000000 00000002 00000006 00569e88  ··············V·
0084fa4c: 00000405 00000000 00000000 00000000  ················
0084fa5c: 0084fa90 0042e753 0084fa84 bff713ee  ····S·B·········
0084fa6c: 0000016f bff7a2e3 00000c09 0084fab8  o···············
0084fa7c: 00001570 00c086b0 00004354 bff7a3a0  p·······TC······
0084fa8c: 00b80000 00c0ca04 00001570 00000000  ········p·······
0084fa9c: 00b8000c 00b80000 00c086b0 00000000  ················
0084faac: 00000000 818a3fbc 00b8000c e36fad60  ·····?······`·o·
0084fabc: 0084fae0 bff7a10e bff7a567 00b80000  ········g·······
0084facc: 00000000 00000001 00004350 00000000  ········PC······
0084fadc: 00000000 0084faf4 bff88dc4 00b80000  ················
0084faec: 00004354 00000000 0084fb30 004240f8  TC······0····@B·
0084fafc: 00b80000 00000000 004240fd 00000001  ·········@B·····
0084fb0c: 00000002 00000000 00000000 0084fb08  ················
0084fb1c: 0084fb0c 0084fc8c 00426f3c 00528ad0  ········<oB···R·
0084fb2c: ffffffff 004240fd 0042411a 00004344  ·····@B··AB·DC··
0084fb3c: 00423865 00004344 00000001 0044991b  e8B·DC········D·
0084fb4c: 00004344 df061a31 00444f8b df061a31  DC··1····OD·1···
0084fb5c: 004ea8f8 0000017e 0000026e 00000000  ··N·~···n·······
0084fb6c: 00000000 00ca4860 00001427 6d6f6f44  ····`H··'···Doom
0084fb7c: 7475412e 616f6c6f 6e690064 bff50073  .Autoload·ins···
0084fb8c: 00847000 00000000 818a3860 00000001  ·p······`8······
0084fb9c: 800030a8 00000000 00000001 00000000  ·0··············
0084fbac: 0084fbe4 7ff4b1cc 00000000 00000000  ···············
0084fbbc: bff713e2 0000016f bff916bb c29a7df0  ····o········}··
0084fbcc: bff79480 bff713e2 00539e60 df061a31  ········`·S·1···
0084fbdc: 004f6750 00000002 00539e58 df061a31  PgO·····X·S·1···
0084fbec: 004f6750 00000002 0084fc00 0046e0e1  PgO···········F·
0084fbfc: 00539e58 0046e1e3 00000094 00000004  X·S···F·········
0084fc0c: 0000000a 040a08ae 00000001 00204120  ············ A ·
0084fc1c: 0000017e 00000000 00000000 7ff21768  ~···········h··
0084fc2c: 00000000 0000000c 7ff20000 00000000  ···············
0084fc3c: 00000000 00000002 00000000 7ff4ea24  ············$··
0084fc4c: 0084fc5c 7ff4e8df 7ff4e218 bff7b9c5  \·············
0084fc5c: 818ca108 00000002 7ff4b969 0000017e  ········i··~···
0084fc6c: 0000026e 0084fce4 00000000 0084fc88  n···············
0084fc7c: 7ff4b8ba 00000000 df061a31 0084fce4  ·······1·······
0084fc8c: 0084fcd8 00516b81 ffffffff df061a31  ·····kQ·····1···
0084fc9c: 0084fce4 ffffffff bff96347 00740000  ········Gc····t·
0084fcac: 00000000 00000000 0000026e 0000017e  ········n···~···
0084fcbc: 00000001 0000ffff 818a3860 00000276  ········`8··v···
0084fccc: 0000019c bff70000 0084fca0 0084fd00  ················
0084fcdc: 00516b8b 00000000 0084fd10 00470ce5  ·kQ···········G·
0084fcec: bff77716 00000000 00740000 0084fcec  ·w········t·····
0084fcfc: 0084f74c 0084fe28 00426f3c 0052bd10  L···(···<oB···R·
0084fd0c: 00000000 0084fe38 0042628a 00400000  ····8····bB···@·
0084fd1c: 00000000 818bab90 00000001 00000094  ················
0084fd2c: 00000004 0000000a 040a08ae 00000001  ················
0084fd3c: 00204120 00000000 00000000 00000000   A ·············
0084fd4c: 000000d6 00ff0000 8dc23a48 00000001  ········H:······
0084fd5c: 02820167 9e568d7c 0282014f 01575f77  g···|·V·O···w_W·
0084fd6c: 4cb2027d 000859af 00008dc1 00000000  }··L·Y··········
0084fd7c: 516f8d98 8dc1ffff bfe812cc 00000001  ··oQ············
0084fd8c: 01574ee2 81899358 00000000 00000000  ·NW·X···········
0084fd9c: 0084ffff 7fcb219b 00000001 bffc05b4  ·····!·········
0084fdac: 81899358 00000000 00000000 0042611e  X············aB·
0084fdbc: 00000000 818a3860 00740000 00000044  ····`8····t·D···
0084fdcc: 00000000 00000000 00000000 00000000  ················
0084fddc: 00000000 00000000 00000000 00000000  ················
0084fdec: 00000000 00000000 00000001 00000001  ················
0084fdfc: 00000000 00000000 00000000 00000000  ················
0084fe0c: bff741f7 00000000 bff7ea17 818bab90  ·A··············
0084fe1c: 00000000 0084fd28 818a3860 0084ff68  ····(···`8··h···
0084fe2c: 00426f3c 00528ce0 00000000 0084ff78  <oB···R·····x···
0084fe3c: bff8b560 00000000 818a3860 00740000  `·······`8····t·
0084fe4c: 6f6f645a 5845006d 00000045 00000000  Zdoom·EXE·······
0084fe5c: 00000000 00000000 00000000 00000000  ················
0084fe6c: 00000000 00000000 00000000 00000000  ················
0084fe7c: 00000000 00000000 00000000 00000000  ················
0084fe8c: 00000000 00000000 00000000 00000000  ················
0084fe9c: 00000000 00000000 00000000 00000000  ················
0084feac: 00000000 00000000 00000000 00000000  ················
0084febc: 00000000 00000000 00000000 00000000  ················
0084fecc: 00000000 00000000 00000000 00000000  ················
0084fedc: 00000000 00000000 00000000 00000000  ················
0084feec: 00000000 00000000 00000000 00000000  ················
0084fefc: 00000000 00000000 00000000 00000000  ················
0084ff0c: 00000000 00000000 00000000 00000000  ················
0084ff1c: 00000000 00000000 00000000 00000000  ················
0084ff2c: 00000000 00000000 00000000 0084ff6c  ············l···
0084ff3c: 8188c050 818c794c e36fad60 0084ff6c  P···Ly··`·o·l···
0084ff4c: 00426106 bff7b326 00000000 818a3880  ·aB·&········8··
0084ff5c: 59260000 0084fe40 00740000 ffffffff  ··&Y@·····t·····
0084ff6c: bffc05b4 bff79138 00000000 0084fff4  ····8···········
0084ff7c: bff8b412 81899314 00000008 818a3860  ············`8··
0084ff8c: 00000000 00000000 00000000 00000000  ················
0084ff9c: 00000000 00000000 00000000 00000000  ················
0084ffac: 00000000 00000000 00000000 00000000  ················
0084ffbc: 00000000 00000000 00000000 00000000  ················
0084ffcc: 00000000 0002ffff 0000f284 0084e000  ················
0084ffdc: 00850000 00000000 ffffffff 818ef9b8  ················
0084ffec: 00000000 542f5926 82ad6fec bff89dd5  ····&Y/T·o······
0084fffc: 00000000                             ····
User avatar
Lexus Alyus
Posts: 4220
Joined: Tue Jul 15, 2003 5:07 pm
Location: Nottingham, UK

Post by Lexus Alyus »

I GOT THAT TOO!

I actually got it on two occasions, one was when I'd killed that bird thing (Excuse my ignorance) on Mouses Chosen (level 4 I think...) and the second was when I was constructing my own level. I stuck a mapinfo in my wad, tested it and I got that error... Funny thing is that my map was working fine, and i'd done nothing much to it...

:twisted:
Last edited by Lexus Alyus on Fri Jul 18, 2003 6:09 am, edited 1 time in total.
User avatar
LilWhiteMouse
Posts: 2270
Joined: Tue Jul 15, 2003 7:00 pm
Location: Maine, US

Post by LilWhiteMouse »

Ignore my crash, I found the cause. I had two lumps named CHIBI, one was a patch and another was an included dehacked text lump. I renamed the dehacked lump to CHIBIREB and everything's good.

LA, are you using CH126.WAD? Level 5 (the level after the Isis Matron) doesn't have it's nodes built, so if you don't have Gennodes enabled it'll crash ZDoom.
Cyb
Posts: 912
Joined: Tue Jul 15, 2003 5:12 pm

Post by Cyb »

zdoom SHOULD build nodes regardless of what gennodes is set to if the bsp tree is incomplete
User avatar
randi
Site Admin
Posts: 7728
Joined: Wed Jul 09, 2003 10:30 pm

Post by randi »

Cyb wrote:zdoom SHOULD build nodes regardless of what gennodes is set to if the bsp tree is incomplete
It should, but apparently it's not in this case. I only have ch121.wad, so I can't check. Since the version I have does include nodes for level 5, I assume ch126.wad has old nodes for that level and ZDoom isn't detecting that.
User avatar
Biff
Posts: 1061
Joined: Wed Jul 16, 2003 5:29 pm
Location: Monrovia, CA, USA

Post by Biff »

[/quote]

It should, but apparently it's not in this case. I only have ch121.wad, so I can't check. [/quote]

The ch126 wad is here if you want to see it. http://home.earthlink.net/~mjblakely/data/
User avatar
randi
Site Admin
Posts: 7728
Joined: Wed Jul 09, 2003 10:30 pm

Post by randi »

I've got ch126 now. I'll see what I can make of it.
User avatar
randi
Site Admin
Posts: 7728
Joined: Wed Jul 09, 2003 10:30 pm

Post by randi »

Added a fix for ch126, map05. I just needed to do some extra checks when loading the segs. Now the nodes are rebuilding properly.
User avatar
Lexus Alyus
Posts: 4220
Joined: Tue Jul 15, 2003 5:07 pm
Location: Nottingham, UK

Post by Lexus Alyus »

So... how do I combat this problem? How do I enable Gennodes?

Do I have to wait for 48.cab?

And yes, it is before I enter map05...

Great mod by the way :-)

:twisted:
User avatar
Enjay
 
 
Posts: 26413
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Post by Enjay »

Lexus Alyus wrote:How do I enable Gennodes?
Type gennodes 1 at the console (won't generate the nodes until you start a new map or restart the level), or put gennodes 1 in your autoexec.cfg if you have one. Or just use a config name of your choice, put gennodes 1 in it and load like this

zdoom +exec lexus.cfg
User avatar
Lexus Alyus
Posts: 4220
Joined: Tue Jul 15, 2003 5:07 pm
Location: Nottingham, UK

Post by Lexus Alyus »

Thanx a lot for that... I'm assuming that Gennode is Zdooms built-in nodes builder...

:twisted:
Cyb
Posts: 912
Joined: Tue Jul 15, 2003 5:12 pm

Post by Cyb »

I assume gennodes stands for generate nodes rather than the name of the builder which is just, uh 'zdoom internal node builder'. you can also enable an internal blockmap builder with genblockmap 1 ... just some extra info heh
User avatar
Kate
... in loving memory ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Post by Kate »

Some more extra info: you can build GL nodes with genglnodes 1
User avatar
Lexus Alyus
Posts: 4220
Joined: Tue Jul 15, 2003 5:07 pm
Location: Nottingham, UK

Post by Lexus Alyus »

... I knew that gennodes meant Generate nodes! :-D What is the blockmap stuff... what advantage does it have on any map?

Oh, now I've enabled the modes chosen works fine... cool stuff, thanx a lot :-).

:twisted:
User avatar
randi
Site Admin
Posts: 7728
Joined: Wed Jul 09, 2003 10:30 pm

Post by randi »

Fixed for 2.0.48/2.1.0

Return to “Closed Bugs”