[Fixed] Crash

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
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Crash

Post by The Ultimate DooMer »

I get this crash whenever I enter a perfectly normal sector in SSD - if you've seen the screenies on my site it's that big gothic hall and the offending sector is the one just through the arches. I have an identical sector on the other side of the hall (it's symmetrical) and the crash only happens when actually playing the wad in full game conditions. It does not happen when loading it up with WadAuthor (music off, sound and monsters on). This happened with 52 and 53, and I tried deleting the sector and replacing it with a new one (identical properties) and it still happened. WTF?

Edit: I've been playing around with it and the crash only happens after loading a savegame on that map. (both full game conditions and through WA) One other thing I remember: I used Mood 1.2 to invert that particular section, but it's not the first time I've done that. (the other rooms I've MooDed are fine)

(I know it's not much to go on, but you never know)

Code: Select all

Code: ACCESS_VIOLATION
Tried to read address b3f548e2
Flags: 00000000
Address: 0282b140

Windows 9x 4.10 Build 67766446  A 

GS=0000  FS=474f  ES=016f  DS=016f
EAX=018f6c30  EBX=018d9e84  ECX=02b54660  EDX=0282b0c8
ESI=00080000  EDI=02657650
EBP=00000000  EIP=0282b140  ESP=0085fa0c  CS=0167  SS=016f
EFlags=00010206
 CF- PF+ AF- ZF- SF- TF- IF+ DF- OF- NT- RF+ VM- AC- VI- VP-

FPU State:
 ControlWord=027f StatusWord=4031 TagWord=ffff
 ErrorOffset=0047371e
 ErrorSelector=02e90167
 DataOffset=005a429c
 DataSelector=ffff016f
 Cr0NpxState=0000000a

MM0=e5ed090000000000
MM1=fff88e1b9ac86000
MM2=8000000000000000
MM3=b400000000000000
MM4=000000000000000a
MM5=0008000002657650
MM6=00000000018f6c30
MM7=0000016f0085fa0c

Running threads:
fffd70f1 at 0282b140*
fffd7a91
fffbeda1
fffbee2d
fffbd835

Loaded modules:
baaa0000 - bab00fff  DDRAW.DLL
77ea0000 - 77f06fff  SETUPAPI.DLL
7f810000 - 7f81afff  CFGMGR32.DLL
7fe40000 - 7fe48fff  WINSPOOL.DRV
bfe60000 - bfe65fff  LZ32.DLL
7d060000 - 7d068fff  HID.DLL
70000000 - 700b4fff  DINPUT8.DLL
5ef80000 - 5ef83fff  KSUSER.DLL
bfee0000 - bfee4fff  NTDLL.DLL
7fbf0000 - 7fbfdfff  MPR.DLL
beaf0000 - beb68fff  DSOUND.DLL
bfe70000 - bfe75fff  VERSION.DLL
7fb90000 - 7fbe1fff  RPCRT4.DLL
00400000 - 00625fff  ZDOOM.EXE
7fe10000 - 7fe3cfff  COMDLG32.DLL
7fcb0000 - 7fe05fff  SHELL32.DLL
10000000 - 10090fff  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
70200000 - 70271fff  WININET.DLL
70bd0000 - 70c18fff  SHLWAPI.DLL
75fe0000 - 75fe5fff  WS2HELP.DLL
78000000 - 7803ffff  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:
0282b130: 28 b1 82 02 30 b1 82 02 30 b1 82 02 38 b1 82 02
0282b140: 38 b1 82 02 40 b1 82 02 40 b1 82 02 48 b1 82 02
0282b150: 48 b1 82 02 50 b1 82 02 50 b1 82 02 58 b1 82 02

ZDoom version 2.0.53

Command line:
 C:\GAMES\DOOM2\WAUTHOR\ZDOOM.EXE -file sonic.wad sonic01.wad sonic02.wad sonic03.wad sonic04.wad sonic05.wad sonic06.wad sonic07.wad
IWAD: doom2.wad

Current map: MAP06

viewx = 9091384
viewy = 31926117
viewz = 2995072
viewangle = 1279528278

Possible call trace:
 0282b140  BOOM
 00459ed8  call [edx+0x80]
 0045d8db  call 004597e0
 004612d5  call 0045d6b0
 00421e87  call [edx+0x10]
 004221cd  call 00421e10
 00471fe4  call 00422180
 0042a82b  call 00471f00
 0041b352  call 0042a510
 0041743c  call 0041b060
 0040af93  call 0040aee0
 0040af93  call 0040aee0
 00497e91  call 0040af80
 00497f93  call 004f9f96
 00495043  call 00417490
 00495355  call 00494c90
 004fd44a  call 004952e0
 004fd2de  call 004fad40
 004fd2c6

Stack Contents:
0085fa0c: 00459ed8 02657650 00000002 00000001  ··E·Pve·········
0085fa1c: 02657650 007f2b18 01f07666 00080000  Pve··+·fv······
0085fa2c: 007f2b18 018f6c30 00220000 cc019000  ·+·0l····"·····
0085fa3c: 8440a32c 8430b038 008ab938 01e72765  ,·@·8·0·8···e'··
0085fa4c: 0045d8db 01f07666 00000000 00000000  ··E·fv··········
0085fa5c: 00094f01 02657650 0000b505 fff47100  ·O··Pve······q··
0085fa6c: 00000000 fff471e0 b00ba520 00094f01  ·····q·· ····O··
0085fa7c: 00000001 00000001 005a41f8 00000000  ·········AZ·····
0085fa8c: 0085fad4 00094f01 fff471e0 008ab938  ·····O···q··8···
0085fa9c: 01e72765 00000001 004612d5 00000000  e'········F·····
0085faac: 0000000a 00000001 02657650 00000000  ········Pve·····
0085fabc: 00000000 00000000 00000000 00000000  ················
0085facc: 005a4494 00000000 00080000 00421e87  ·DZ···········B·
0085fadc: 005a2fec 00000008 00000000 004221cd  ·/Z··········!B·
0085faec: 00000008 005a5c78 00000001 00471fe4  ····x\Z·······G·
0085fafc: 00000140 00000001 0042a82b 005a3b7e  @·······+·B·~;Z·
0085fb0c: 0000001f acaae6fd 0041b352 00000004  ········R·A·····
0085fb1c: 00d686a0 0085fb50 00000001 0041743c  ····P·······<tA·
0085fb2c: 00000004 00d686a0 00000001 00000001  ················
0085fb3c: 0000013f 0085fb2c 0085fc7c 0050b655  ?···,···|···U·P·
0085fb4c: 00000000 00000000 0000026e 000000f8  ········n·······
0085fb5c: 0085fce4 0000017e 178f06a7 00cb3480  ····~········4··
0085fb6c: 0085fcd8 bff726c4 6d6f6f44 7475412e  ·····&··Doom.Aut
0085fb7c: 616f6c6f 572f0064 48545541 732f524f  oload·/WAUTHOR/s
0085fb8c: 736e696b 00000000 0000017e 0085fbd0  kins····~·······
0085fb9c: 7ff4b1cc 00000000 00000000 bff713e2  ···············
0085fbac: 00000167 bff916bb c29f1530 bff79480  g·······0·······
0085fbbc: bff713e2 00000167 00000002 abb04ffc  ····g········O··
0085fbcc: 0040af93 0085fbdc 00000002 abb04ffc  ··@··········O··
0085fbdc: 0040af93 0085fbec 00497e91 0052afa8  ··@······~I···R·
0085fbec: 00497f93 00000094 00000004 0000000a  ·I·············
0085fbfc: 040a08ae 00000001 00204120 0000026e  ········ A ·n···
0085fc0c: 00000000 00000000 7ff21768 00000000  ········h······
0085fc1c: 0000000c 7ff20000 00000000 00000000  ···············
0085fc2c: 00000002 00000000 7ff4ea24 0085fc48  ········$··H···
0085fc3c: 7ff4e8df 7ff4e218 bff7b9c5 8171a9d4  ············q·
0085fc4c: 00000002 7ff4b969 7ffd3318 00000000  ····i···3·····
0085fc5c: 00000000 007307e8 0085fc74 7ff4b8ba  ······s·t······
0085fc6c: 00000000 00000002 00b04ffc abb04ffc  ·········O···O··
0085fc7c: 0085fcd8 0050b678 ffffffff 00495043  ····x·P·····CPI·
0085fc8c: ffffffff bff96347 00750000 00000000  ····Gc····u·····
0085fc9c: 00000000 0000026e 0000017e 00000001  ····n···~·······
0085fcac: 0000ffff bff7b9c5 00000002 00000276  ············v···
0085fcbc: 00000000 00400000 00400230 00400208  ······@·0·@···@·
0085fccc: bff70000 00400000 0085fc8c 0085fd00  ······@·········
0085fcdc: 0050cb40 00000000 0085fd10 00495355  @·P·········USI·
0085fcec: bff77716 00000000 00750000 0085fcec  ·w········u·····
0085fcfc: 0085f83c 0085fe28 004fd088 0052a650  <···(·····O·P·R·
0085fd0c: 00000000 0085fe38 004fd44a 00400000  ····8···J·O···@·
0085fd1c: 00000000 81726d0f 00000001 00000094  ·····mr·········
0085fd2c: 00000004 0000000a 040a08ae 00000001  ················
0085fd3c: 00204120 00000000 00000000 00000000   A ·············
0085fd4c: 000000d6 00f70000 8dc23a48 00000001  ········H:······
0085fd5c: 015f0000 5f648d7c 0180014f 00000000  ··_·|·d_O·······
0085fd6c: 4cb200d6 000859af 00008dc1 00000000  ···L·Y··········
0085fd7c: 516f8d98 8dc1ffff bfe812cc 00000001  ··oQ············
0085fd8c: 014f4ee2 81726de4 00000000 00000000  ·NO··mr·········
0085fd9c: 0085ffff 7fcb219b 00000001 00000167  ·····!·····g···
0085fdac: 81726de4 00000000 00000000 004fd2de  ·mr···········O·
0085fdbc: 00000000 8174e318 00750000 00000044  ······t···u·D···
0085fdcc: 00000000 00000000 00000000 00000000  ················
0085fddc: 00000000 00000000 00000000 00000000  ················
0085fdec: 00000000 00000000 00000401 00000001  ················
0085fdfc: 00000000 00000000 000011a2 00000000  ················
0085fe0c: bff741f7 00000000 bff7ea17 81726d0f  ·A···········mr·
0085fe1c: 00000000 0085fd28 8174e318 0085ff68  ····(·····t·h···
0085fe2c: 004fd088 00555610 00000000 0085ff78  ··O··VU·····x···
0085fe3c: bff8b560 00000000 8174e318 00750000  `·········t···u·
0085fe4c: 6f6f645a 5845006d 00000045 00000000  Zdoom·EXE·······
0085fe5c: 00000000 00000000 00000000 00000000  ················
0085fe6c: 00000000 00000000 00000000 00000000  ················
0085fe7c: 00000000 00000000 00000000 00000000  ················
0085fe8c: 00000000 00000000 00000000 00000000  ················
0085fe9c: 00000000 00000000 00000000 00000000  ················
0085feac: 00000000 00000000 00000000 00000000  ················
0085febc: 00000000 00000000 00000000 00000000  ················
0085fecc: 00000000 00000000 00000000 00000000  ················
0085fedc: 00000000 00000000 00000000 00000000  ················
0085feec: 00000000 00000000 00000000 00000000  ················
0085fefc: 00000000 00000000 00000000 00000000  ················
0085ff0c: 00000000 00000000 00000000 00000000  ················
0085ff1c: 00000000 00000000 00000000 00000000  ················
0085ff2c: 00000000 00000000 00000000 0085ff6c  ············l···
0085ff3c: 81705050 81726d74 d8b15980 0085ff6c  PPp·tmr··Y··l···
0085ff4c: 004fd2c6 bff7b326 00000000 8174e338  ··O·&·······8·t·
0085ff5c: 473e0000 0085fe40 00750000 ffffffff  ··>G@·····u·····
0085ff6c: bffc05b4 bff79138 00000000 0085fff4  ····8···········
0085ff7c: bff8b412 81726da0 00000008 8174e318  ·····mr·······t·
0085ff8c: 00000000 00000000 00000000 00000000  ················
0085ff9c: 00000000 00000000 00000000 00000000  ················
0085ffac: 00000000 00000000 00000000 00000000  ················
0085ffbc: 00000000 00000000 00000000 00000000  ················
0085ffcc: 00000000 0002ffff 0000f285 0085e000  ················
0085ffdc: 00860000 00000000 ffffffff 8174e8c8  ··············t·
0085ffec: 00000000 0c87473e 8322afec bff89dd5  ····>G····"·····
0085fffc: 00000000                             ····
User avatar
randi
Site Admin
Posts: 7746
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

It seems to have something to do with sector action things in the sector you're leaving. Do you have any of those? Yes or no, I'd like to see the map.
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Post by The Ultimate DooMer »

I think you're right - although it was sector action things in the sector I was entering (I have none in the sector I was leaving, besides if that was causing it then the other side would crash too). I moved them to another sector and it seems to work fine now. (I'll play the map again in full just to make sure)

(strange, that - as I had an identical pair on the other side but with different tags and special args for the script it was running)

Thanks for that, your help was appreciated.
User avatar
randi
Site Admin
Posts: 7746
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

I'd still like the map, if possible, since it shouldn't be crashing.
User avatar
randi
Site Admin
Posts: 7746
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

Fixed.
Post Reply

Return to “Closed Bugs [GZDoom]”