[Solved] Uh....

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.

Uh....

Postby LilWhiteMouse » Wed Dec 10, 2003 7:18 am

Nevermind, found my problem.

Code: Select allExpand view
hudmessage (s:MysticReport[m],d:CheckInventory (MysticAmmo[m] * MysticMP[m]);0,0,0,0.50,0.05,1.0);


With the SkullRod and Mace, MysticMP[] returned 1. The Crossbow would result in 5. What kind of crazy program can't multiply an integer by a string? :oops:



The result of a simple mistake:




My computer has picked up an attitude. I was cleaning up my Wolfen library when XWE suddenly gave me an error when I tried to replace the old library. Something about invalid parameters, and the library file swelled to 8MB (from 1k). It was working fine a minute before. Supposedly, XWE is finally importing it without incident, but now ZDoom is crashing. I can only assume it's either XWE's or my fault, but I have no idea what's going on. If I delete the library ZDoom doesn't crash.

ZDoom's crash:
Code: Select allExpand view
Code: ACCESS_VIOLATION
Tried to read address 01138000
Flags: 00000000
Address: 004428db

Windows 9x 4.10 Build 67766446  A

GS=0000  FS=4c5f  ES=0177  DS=0177
EAX=01137ffe  EBX=0000d4a0  ECX=000011b8  EDX=01137ffe
ESI=0112a6f4  EDI=0112ab5e
EBP=00000012  EIP=004428db  ESP=0085f920  CS=016f  SS=0177
EFlags=00010287
 CF+ PF+ AF- ZF- SF+ TF- IF+ DF- OF- NT- RF+ VM- AC- VI- VP-

FPU State:
 ControlWord=027f StatusWord=0020 TagWord=ffff
 ErrorOffset=100296c3
 ErrorSelector=015d016f
 DataOffset=015fff74
 DataSelector=ffff0177
 Cr0NpxState=0000000a

MM0=0000000000000000
MM1=000000ff00ff00ff
MM2=8000000000000000
MM3=9800000000000000
MM4=000000000000000a
MM5=0112a6f40112ab5e
MM6=0000001201137ffe
MM7=000001770085f920

Running threads:
fffb27a5 at 004428db*
fff9231d
fff9dac1
fff9dc55

Loaded modules:
baaa0000 - baaf8fff  DDRAW.DLL
77ea0000 - 77f06fff  SETUPAPI.DLL
7fbf0000 - 7fbfdfff  MPR.DLL
7f810000 - 7f81afff  CFGMGR32.DLL
7fe40000 - 7fe48fff  WINSPOOL.DRV
bfe60000 - bfe65fff  LZ32.DLL
bfee0000 - bfee4fff  NTDLL.DLL
7d060000 - 7d068fff  HID.DLL
70000000 - 70037fff  DINPUT8.DLL
beaf0000 - beb64fff  DSOUND.DLL
bfe70000 - bfe75fff  VERSION.DLL
00400000 - 0062cfff *ZDOOM.EXE
7fe10000 - 7fe3cfff  COMDLG32.DLL
66800000 - 66954fff  SHELL32.DLL
10000000 - 10093fff  FMOD.DLL
7b620000 - 7b638fff  MSACM32.DLL
bfdf0000 - bfdfffff  WINMM.DLL
75fa0000 - 75fa9fff  WSOCK32.DLL
794d0000 - 794e4fff  MSWSOCK.DLL
76000000 - 76011fff  WS2_32.DLL
70200000 - 70294fff  WININET.DLL
70bd0000 - 70c34fff  SHLWAPI.DLL
65340000 - 653dafff  OLEAUT32.DLL
7ff20000 - 7ffe0fff  OLE32.DLL
5cf00000 - 5cf5dfff  CRYPT32.DLL
7fb90000 - 7fbe1fff  RPCRT4.DLL
79e00000 - 79e24fff  MSOSS.DLL
75fe0000 - 75fe5fff  WS2HELP.DLL
78000000 - 78045fff  MSVCRT.DLL
bfb70000 - bfbf7fff  COMCTL32.DLL
bff50000 - bff60fff  USER32.DLL
bff20000 - bff45fff  GDI32.DLL
bfe80000 - bfe8ffff  ADVAPI32.DLL
bff70000 - bffe2fff  KERNEL32.DLL

Bytes near EIP:
004428cb: 24 00 00 00 00 8b be 14 02 00 00 8d 04 3b 8b d0
004428db: 8b 02 8b 6a 04 8b 52 08 89 54 24 2c 89 6c 24 28
004428eb: 33 d2 bd e8 03 00 00 f7 f5 41 83 c3 0c 88 44 cf

ZDoom version 2.0.60

Command line:
 D:\DOOM2\WOLFEN\ZDOOM.EXE -iwad hexen.wad -file wolfenb.wad hmap.wad hmap2.wad hmap3.wad hmap4.wad hmap5.wad hextex.wad -warp 02
IWAD: hexen.wad

Current map: MAP02

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

Possible call trace:
 004428db  BOOM
 004ff820  call 004ff738
 004fd28b  call 00501aa7
 00441055  call 004426e0
 00443014  call 00440ff0
 004fd28b  call 00501aa7
 004fd2a8  call 004fd21d
 00441055  call 004426e0
 0046ae53  call 00440ff0
 00501c4a  call [0051d168]
 004ff820  call 004ff738
 004fd3bd  call 004fd2d6
 0040e00e  call 004fd39e
 004d4169  call 004558a0
 004d14a7
 004d688d  call 004d4130
 00501c4a  call [0051d168]
 004fd296  call 00501c37
 004fd28b  call 00501aa7
 0050cafb  call 0050ca80
 004d3f73  call 0050cace
 004d4036  call 004d3f10
 0042d3c3  call 0046ac10
 00417fec  call 0042d940
 0040afe3  call 0040af30
 0040afe3  call 0040af30
 00498981  call 0040afd0
 00498a83  call 004fc8a6
 00495b33  call 00417550
 00495e45  call 00495780
 004ffd5a  call 00495dd0
 004ffbee  call 004fd650
 004ffbd6

Stack Contents:
0085f920: 010ae3ac 000016d6 00000000 010e39f4  ·············9··
0085f930: 004ff820 0085f970 0112ab58 00559910   ·O·p···X·····U·
0085f940: 0112a6f4 004fd28b 09d209d2 09d209d2  ······O·········
0085f950: 0085f970 0050e73b 00000000 00441055  p···;·P·····U·D·
0085f960: 000016d6 010e39ec 010ae3ac 0112a6f4  ·····9··········
0085f970: 0085f9b0 0050e6a7 00000000 00443014  ······P······0D·
0085f980: 00000000 000006d2 0085fb34 000006c7  ········4·······
0085f990: 00000032 0085f9d0 010e2984 00559910  2········)····U·
0085f9a0: 010ae3ac 004fd28b 004fd2a8 00000460  ······O···O·`···
0085f9b0: 0085f9d0 0050e73b 00000000 00441055  ····;·P·····U·D·
0085f9c0: 00000000 00000000 000006d2 010ae3ac  ················
0085f9d0: 0085fb28 0050e6a7 00000000 0046ae53  (·····P·····S·F·
0085f9e0: 00000000 005ac524 00000000 0085fa95  ····$·Z·········
0085f9f0: 010ae8e9 00000003 bff7b9c5 818df5a0  ················
0085fa00: 0085fab8 00501c4a 0000003f 00000000  ····J·P·?·······
0085fa10: 0000002c bff7b9c5 00000007 001d6184  ,············a··
0085fa20: 818c7f28 0129a8ec 004ff820 0129a8f3  (····)· ·O···)·
0085fa30: b53c08f4 005584c0 818c7f28 000002d1  ··<···U·(······
0085fa40: 004fd3bd 0059bcf8 00000032 0040e00e  ··O···Y·2·····@·
0085fa50: 00000032 0129a8e0 005f50d8 004d4169  2·····)··P_·iAM·
0085fa60: 0085fa70 00000000 ffffffff 0129a8e0  p·············)·
0085fa70: 0129a8e0 004d14a7 004d688d 0129a8e0  ··)···M··hM···)·
0085fa80: 0054ccf4 005f50d8 01298e98 00000000  ··T··P_···)·····
0085fa90: 0085facc 00070056 00000000 0000003f  ····V·······?···
0085faa0: 00000018 00000018 bff7b9c5 818df1f0  ················
0085fab0: 00000018 00501c4a 00625cb8 0085faf4  ····J·P··\b·····
0085fac0: 004fd296 00000004 004fd28b 005acbcc  ··O·······O···Z·
0085fad0: 0059bcf8 01288660 0000141b 0085faf4  ··Y·`·(·········
0085fae0: 0050cafb 000006c7 005acbc9 005f50d8  ··P·······Z··P_·
0085faf0: 00000403 0128866c 004d3f73 0128866c  ····l·(·s?M·l·(·
0085fb00: 005acbc9 00000000 005acbc9 00000000  ··Z·······Z·····
0085fb10: 005acb88 004d4036 005acbc9 00000001  ··Z·6@M···Z·····
0085fb20: 7c0cf999 0085f9e0 0085fc7c 0050ed61  ···|····|···a·P·
0085fb30: ffffffff 00000006 0042d3c3 00000004  ··········B·····
0085fb40: 0129a8c0 00000000 00000001 00000000  ··)·············
0085fb50: 00417fec 0000026e 000000f8 0085fce4  ·A·n···········
0085fb60: 0000017e 177706a7 011c3a00 0085fcd8  ~·····w··:······
0085fb70: bff726c4 65786548 75412e6e 6f6c6f74  ·&··Hexen.Autolo
0085fb80: 2f006461 6e696b73 80000073 00000000  ad·/skins·······
0085fb90: 00000001 0000017e 0085fbd0 7ff4b1cc  ····~··········
0085fba0: 00000000 00000000 bff713e2 0000016f  ············o···
0085fbb0: bff916bb c29c36d0 bff79480 bff713e2  ·····6··········
0085fbc0: 0000016f 00000002 7c0cf999 0040afe3  o··········|··@·
0085fbd0: 0085fbdc 00000002 7c0cf999 0040afe3  ···········|··@·
0085fbe0: 0085fbec 00498981 0052d030 00498a83  ······I·0·R···I·
0085fbf0: 00000094 00000004 0000000a 040a08ae  ················
0085fc00: 00000001 00204120 0000026e 00000000  ···· A ·n·······
0085fc10: 00000000 7ff21768 00000000 0000000c  ····h··········
0085fc20: 7ff20000 00000000 00000000 00000002  ···············
0085fc30: 00000000 7ff4ea24 0085fc48 7ff4e8df  ····$··H······
0085fc40: 7ff4e218 bff7b9c5 818df42c 00000002  ·······,·······
0085fc50: 7ff4b969 7ffd3318 00000000 00000000  i···3·········
0085fc60: 00632138 0085fc74 7ff4b8ba 00000000  8!c·t··········
0085fc70: 00000002 000cf999 7c0cf999 0085fcd8  ···········|····
0085fc80: 0050df88 ffffffff 00495b33 ffffffff  ··P·····3[I·····
0085fc90: bff96347 00750000 00000000 00000000  Gc····u·········
0085fca0: 0000026e 0000017e 00000001 0000ffff  n···~···········
0085fcb0: bff7b9c5 00000002 00000276 00000000  ········v·······
0085fcc0: 00400000 00400230 00400208 bff70000  ··@·0·@···@·····
0085fcd0: 00400000 0085fc8c 0085fd00 0050f430  ··@·········0·P·
0085fce0: 00000000 0085fd10 00495e45 bff77716  ········E^I··w··
0085fcf0: 00000000 00750000 0085fcec 0085f750  ······u·····P···
0085fd00: 0085fe28 004ff998 0052c6d8 00000000  (·····O···R·····
0085fd10: 0085fe38 004ffd5a 00400000 00000000  8···Z·O···@·····
0085fd20: 818c7e40 00000001 00000094 00000004  @~··············
0085fd30: 0000000a 040a08ae 00000001 00204120  ············ A ·
0085fd40: 00000000 00000000 00000000 000000de  ················
0085fd50: 00ff0000 8dc23a48 00000001 01670000  ····H:········g·
0085fd60: 5f648d7c 01800157 00000000 4cb200de  |·d_W··········L
0085fd70: 000859af 00008dc1 00000000 516f8d98  ·Y············oQ
0085fd80: 8dc1ffff bfe812cc 00000001 01574ee2  ·············NW·
0085fd90: 818c7f6c 00000000 00000000 0085ffff  l··············
0085fda0: 66805b3b 00000001 bffc05b4 818c7f6c  ;[·f········l··
0085fdb0: 00000000 00000000 004ffbee 00000000  ··········O·····
0085fdc0: 818c7ca4 00750000 00000044 00000000  ·|····u·D·······
0085fdd0: 00000000 00000000 00000000 00000000  ················
0085fde0: 00000000 00000000 00000000 00000000  ················
0085fdf0: 00000000 00000401 00000001 00000000  ················
0085fe00: 00000000 000011a2 00000000 bff741f7  ·············A··
0085fe10: 00000000 bff7ea17 818c7e40 00000000  ········@~······
0085fe20: 0085fd28 818c7ca4 0085ff68 004ff998  (····|··h·····O·
0085fe30: 00559b00 00000000 0085ff78 bff8b560  ··U·····x···`···
0085fe40: 00000000 818c7ca4 00750000 6f6f645a  ·····|····u·Zdoo
0085fe50: 5845006d 00000045 00000000 00000000  m·EXE···········
0085fe60: 00000000 00000000 00000000 00000000  ················
0085fe70: 00000000 00000000 00000000 00000000  ················
0085fe80: 00000000 00000000 00000000 00000000  ················
0085fe90: 00000000 00000000 00000000 00000000  ················
0085fea0: 00000000 00000000 00000000 00000000  ················
0085feb0: 00000000 00000000 00000000 00000000  ················
0085fec0: 00000000 00000000 00000000 00000000  ················
0085fed0: 00000000 00000000 00000000 00000000  ················
0085fee0: 00000000 00000000 00000000 00000000  ················
0085fef0: 00000000 00000000 00000000 00000000  ················
0085ff00: 00000000 00000000 00000000 00000000  ················
0085ff10: 00000000 00000000 00000000 00000000  ················
0085ff20: 00000000 00000000 00000000 00000000  ················
0085ff30: 00000000 00000000 0085ff6c 8188c050  ········l···P···
0085ff40: 818c7f04 c1773910 0085ff6c 004ffbd6  ····9w·l·····O·
0085ff50: bff7b326 00000000 818c7cc4 4d760000  &········|····vM
0085ff60: 0085fe40 00750000 ffffffff bffc05b4  @·····u·········
0085ff70: bff79138 00000000 0085fff4 bff8b412  8···············
0085ff80: 818c7f28 00000008 818c7ca4 00000000  (·······|······
0085ff90: 00000000 00000000 00000000 00000000  ················
0085ffa0: 00000000 00000000 00000000 00000000  ················
0085ffb0: 00000000 00000000 00000000 00000000  ················
0085ffc0: 00000000 00000000 00000000 00000000  ················
0085ffd0: 0002ffff 0000f285 0085e000 00860000  ················
0085ffe0: 00000000 ffffffff 818c81b4 00000000  ················
0085fff0: 3d674d76 84e04fec bff89dd5 00000000  vMg=·O··········


I tried replacing the library in the same version I just posted, and this is what I get from that:
Code: Select allExpand view
ZDOOM caused an invalid page fault in
module ZDOOM.EXE at 016f:0042b66d.
Registers:
EAX=010bca9c CS=016f EIP=0042b66d EFLGS=00010206
EBX=00000000 SS=0177 ESP=0085fcdc EBP=0085fd10
ECX=00005900 DS=0177 ESI=00000000 FS=5c8f
EDX=bffc9490 ES=0177 EDI=00000000 GS=0000
Bytes at CS:EIP:
8b 11 6a 01 ff 12 a1 1c cb 5a 00 c7 44 06 58 00
Stack dump:
00000000 00000000 0049570d 00495eb0 bff77716 00000000 00750000 0085fcec 0085fb0c 0085fe28 004ff998 0052c6d8 ffffffff 0085fe38 004ffd5a 00400000


The library source and what my copy of ACC spit out:
http://home.midmaine.com/~lilwhitemo/Wolfen.zip

I'm useing version 1.11 of XWE for reference.
Last edited by LilWhiteMouse on Wed Dec 10, 2003 12:59 pm, edited 1 time in total.
User avatar
LilWhiteMouse
"Stop the world, I'm getting off."
 
Joined: 15 Jul 2003
Location: Maine, US

Postby Graf Zahl » Wed Dec 10, 2003 12:58 pm

The empty line shouldn't have any effect at all. The generated .o file is exactly the same.

Unfortunately it's hard to find out the cause without the WAD. Maybe you can make it available so someone can take a look at it?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby LilWhiteMouse » Wed Dec 10, 2003 1:02 pm

Not that it matters now, but the wad is already available. I tried using the same version of Wolfen I uploaded with the new library and had similiar results.
User avatar
LilWhiteMouse
"Stop the world, I'm getting off."
 
Joined: 15 Jul 2003
Location: Maine, US

Postby Ty Halderman » Wed Dec 10, 2003 1:19 pm

Not a likely thing since you're a pro at this, but you for sure have replaced the library's .o file in the wad, right? It really sounds like out-of-sync components of the wad to me.
User avatar
Ty Halderman
I'm free! ...or at least inexpensive.
... in loving memory ...
 
Joined: 17 Jul 2003
Location: New Orleans LA


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest