.96x bug, Zdoom just crashes cause of my acs script

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.
Post Reply
impClaw
Posts: 201
Joined: Sun Nov 21, 2004 4:42 am
Location: Somewhere...

.96x bug, Zdoom just crashes cause of my acs script

Post by impClaw »

Ive written a pretty long zdoom acs script, its a Experiance and level based script... i tried to implent this into one of my other scripts by using the #include function, and i compile it, no errors so far. And when i launch zdoom, it jumps into the level, and then it just crashes...

I use zdoom 1.96x Graf Zahls Custom Weapon Support, doom2 as iwad, zdoom(Doom in Hexen format) as configuration...


Here is the error code, if that would help:

Code: Select all

Code: ACCESS_VIOLATION
Tried to read address 00000000
Flags: 00000000
Address: 004b9174

Windows NT 5.1 Build 2600 Service Pack 2

GS=0000  FS=003b  ES=0023  DS=0023
EAX=00000000  EBX=00000000  ECX=00c8be18  EDX=00000001
ESI=0a456f98  EDI=000000f8
EBP=0013fcdc  EIP=004b9174  ESP=0013fc88  CS=001b  SS=0023
EFlags=00290246
 CF- PF+ AF- ZF+ SF- TF- IF+ DF- OF- NT- RF+ VM- AC- VI+ VP-

FPU State:
 ControlWord=027f StatusWord=0020 TagWord=ffff
 ErrorOffset=0051f667
 ErrorSelector=00c4001b
 DataOffset=0013fc70
 DataSelector=ffff0023
 Cr0NpxState=00000000

MM0=0000000000000000
MM1=000000a7006b006b
MM2=0000962800000000
MM3=8000000000000000
MM4=0000000000000000
MM5=0a456f98000000f8
MM6=0013fcdc00000000
MM7=000000230013fc88

Running threads:
00000848 at 004b9174*
0000084c
000005e8
000006e4
00000858
00000834
0000064c
00000780
00000e20

Loaded modules:
00400000 - 006a1fff *zdoom.exe
7c900000 - 7c9b1fff  ntdll.dll
7c800000 - 7c8f7fff  kernel32.dll
773c0000 - 774c1fff  COMCTL32.dll
77c00000 - 77c57fff  msvcrt.dll
77dc0000 - 77e6afff  ADVAPI32.dll
77e70000 - 77f00fff  RPCRT4.dll
77f10000 - 77f56fff  GDI32.dll
77d30000 - 77dbffff  USER32.dll
77f60000 - 77fd5fff  SHLWAPI.dll
71ac0000 - 71ac9fff  WSOCK32.dll
71aa0000 - 71ab6fff  WS2_32.dll
71a90000 - 71a97fff  WS2HELP.dll
76b30000 - 76b5dfff  WINMM.dll
10000000 - 10095fff  fmod.dll
77bd0000 - 77be4fff  MSACM32.dll
774d0000 - 7760cfff  ole32.dll
76390000 - 763d8fff  comdlg32.dll
7c9c0000 - 7d1d6fff  SHELL32.dll
003c0000 - 003cdfff  MsgPlusLoader.dll
00d60000 - 00d6dfff  MsgPlusLoader.dll
5b270000 - 5b2a7fff  UxTheme.dll
76f40000 - 76f47fff  wtsapi32.dll
76340000 - 7634ffff  WINSTA.dll
60940000 - 60993fff  NETAPI32.dll
77fe0000 - 77ff0fff  Secur32.dll
16000000 - 16027fff  events.dll
7c340000 - 7c395fff  MSVCR71.dll
73ee0000 - 73f3bfff  dsound.dll
77bf0000 - 77bf7fff  VERSION.dll
76c20000 - 76c4dfff  WINTRUST.dll
77a70000 - 77b04fff  CRYPT32.dll
77b10000 - 77b21fff  MSASN1.dll
76c80000 - 76ca7fff  IMAGEHLP.dll
72cf0000 - 72cf8fff  wdmaud.drv
72ce0000 - 72ce7fff  msacm32.drv
77bc0000 - 77bc6fff  midimap.dll
73eb0000 - 73eb3fff  KsUser.dll
76fc0000 - 7703efff  CLBCATQ.DLL
77040000 - 77107fff  COMRes.dll
77110000 - 7719bfff  OLEAUT32.dll
6d3a0000 - 6d3d8fff  dinput8.dll
68e60000 - 68e68fff  HID.DLL
77910000 - 77a04fff  SETUPAPI.DLL
73730000 - 73778fff  ddraw.dll
73b90000 - 73b95fff  DCIMAN32.dll

Bytes near EIP:
004b9164: 8b 56 10 c7 46 5c 00 00 00 00 8b 42 04 8d 50 01
004b9174: 8a 08 40 84 c9 75 f9 db 44 24 08 2b c2 89 46 64
004b9184: d8 4e 58 e8 94 64 06 00 48 89 46 30 8b 06 8b ce

ZDoom version 2.0.96x (Jul 29 2005)

Command line:
 C:\Vestin\JONATHAN\Games\Zdoom\zdoom.exe E:\Files\Wads\Corrupt_Project_map01\XPScripted_Map01.wad
IWAD: doom2.wad

Current map: MAP01

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

Possible call trace:
 004b9174  BOOM
 004ba707  call [edx+0x20]
 00416e9c  call [edx+0x28]
 00417f9f  call 00416dd0
 0040b203  call 0040b150
 0040b203  call 0040b150
 004aa681  call 0040b1f0
 004aa783  call 0051fbfa
 004a76d0  call 00417fd0
 004a7a05  call 004a72c0
 0052312a  call 004a7990
 00522fbe  call 005209a0
 00522fa6

Stack Contents:
0013fc88: 0a456f98 00000001 00000000 004ba707  ·oE···········K·
0013fc98: 00000000 00416e9c 098a2c88 00000000  ·····nA··,······
0013fca8: 42b40000 5cb62688 fffff7a6 00417f9f  ···B·&·\·····A·
0013fcb8: 000000f8 098a2c88 00000001 00000001  ·····,··········
0013fcc8: 0000004c 0013fcb8 0013fe04 00531405  L·············S·
0013fcd8: 00000000 00000004 0000026e 0013fe6c  ········n···l···
0013fce8: 0000017e 9143681c 00c7d228 1f22a226  ~····hC·(···&·"·
0013fcf8: 98701709 6d6f6f44 7475412e 616f6c6f  ··p·Doom.Autoloa
0013fd08: 48540064 472f4e41 73656d61 6f645a2f  d·THAN/Games/Zdo
0013fd18: 732f6d6f 736e696b f7ef1900 5f121729  om/skins····)··_
0013fd28: d7e5cd63 e0d4e9f8 31e631d6 df4a823a  c········1·1:·J·
0013fd38: 194b6624 b71a30ab ac59083f e0a5b1d4  $fK··0··?·Y·····
0013fd48: 110e919c 00000002 b1853b11 0040b203  ·········;····@·
0013fd58: 0013fd64 00000002 b1853b11 0040b203  d········;····@·
0013fd68: 0013fd74 004aa681 005613d8 004aa783  t·····J···V···J·
0013fd78: 00000094 00000005 00000001 00000a28  ············(···
0013fd88: 00000002 76726553 20656369 6b636150  ····Service Pack
0013fd98: 77003220 774ef5e1 0016c418 8007000e   2·w··Nw········
0013fda8: 775f68e4 774dc2b4 00000000 0013fdd8  ·h_w··Mw········
0013fdb8: 7751ed05 0016c418 7c80977b 0013fe00  ··Qw····{··|····
0013fdc8: 00000000 775f683c 0013fdf8 774ef05b  ····<h_w····[·Nw
0013fdd8: 00000001 00000000 00000002 00000000  ················
0013fde8: 0000026e 00000000 0000017e 00000002  n·······~·······
0013fdf8: 0013fe08 00853b11 b1853b11 0013fe60  ·····;···;··`···
0013fe08: 0053141a ffffffff 004a76d0 ffffffff  ··S······vJ·····
0013fe18: 7c80e00d 7ffdc000 00000000 00000000  ···|···········
0013fe28: 0000026e 0000017e 00000001 000f4240  n···~·······@B··
0013fe38: 0013fe2c 00000020 00000276 00000000  ,··· ···v·······
0013fe48: 00400000 00400240 00400218 7c800000  ··@·@·@···@····|
0013fe58: 00400000 0013fe14 0013fe88 00532a80  ··@··········*S·
0013fe68: 00000000 0013fe98 004a7a05 7c80b529  ·········zJ·)··|
0013fe78: 00000000 7ffdc000 0013fe74 0013f8ac  ·······t·······
0013fe88: 0013ffb0 00522d18 00560a50 00000000  ·····-R·P·V·····
0013fe98: 0013ffc0 0052312a 00400000 00000000  ····*1R···@·····
0013fea8: 0016233c 00000001 00000094 00000005  <#··············
0013feb8: 00000001 00000a28 00000002 76726553  ····(·······Serv
0013fec8: 20656369 6b636150 00003220 00000498  ice Pack 2······
0013fed8: e4a0e000 e4a0f000 e4a10000 e4a11000  ················
0013fee8: e4a12000 e4a13000 e4a14000 e4a15000  · ···0···@···P··
0013fef8: e4a16000 abd548eb 00000006 859465b8  ·`···H·······e··
0013ff08: 859465e8 ffffffff b0c04c0c 857216a8  ·e·······L····r·
0013ff18: 00000300 00028773 00000001 00000009  ····s···········
0013ff28: 00000000 0101f538 00003a0e 80566900  ····8····:···iV·
0013ff38: b0c04c4c 8054d08c 00522fbe 00090000  LL····T··/R·····
0013ff48: 01e1d70e 7ffdc000 00000044 00163c50  ·······D···P<··
0013ff58: 00163658 00163c18 00000000 00000000  X6···<··········
0013ff68: 00000000 00000000 00000000 00000000  ················
0013ff78: 00000000 00000401 00000001 00000000  ················
0013ff88: 00000000 00010001 00000000 00000000  ················
0013ff98: 00000000 00000000 0016233c 00000000  ········<#······
0013ffa8: 0013feb0 b0c04d08 0013ffe0 00522d18  ·····M·······-R·
0013ffb8: 005a90a0 00000000 0013fff0 7c816d4f  ··Z·········Om·|
0013ffc8: 00090000 01e1d70e 7ffdc000 805502fa  ·············U·
0013ffd8: 0013ffc8 857216a8 ffffffff 7c8399f3  ······r········|
0013ffe8: 7c816d58 00000000 00000000 00000000  Xm·|············
0013fff8: 00522fa6 00000000                    ·/R·····
thx in advance
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49228
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Sorry, there is nobody that can help you with this information.

1. We'd need at least the script - or better the map to reproduce the crash
2. AFAIK there is no map file for 2.0.96x so locating the crash without the map is nearly impossible.
impClaw
Posts: 201
Joined: Sun Nov 21, 2004 4:42 am
Location: Somewhere...

Post by impClaw »

graf zahl, if you give me your email, ill send you the script, also, is there a later version of your custom weapon support zdoom?
Post Reply

Return to “Closed Bugs [GZDoom]”