[Duplicate?] SP crash

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

SP crash

Postby arcticwolf » Sun Aug 31, 2003 2:38 pm

I've gotten used to zdoom crashing during multiplayer game startup (it seems to happen at least 25 to 50% of the time), but single-player crashes are (fortunately) rare, so I'm posting this one.

This happens with ZDoom 2.0.47, on Windows XP SP1, with the file "Cyberdemon.wad" - I'm not sure anymore where I got that, so if it can't be found on the idgames archive, just ask me for it.

Code: Select allExpand view
Code: ACCESS_VIOLATION
Tried to read address 0000045a
Flags: 00000000
Address: 00444b07

Windows NT 5.1 Build 2600 Service Pack 1

GS=0000  FS=0038  ES=0023  DS=0023
EAX=00000500  EBX=0aceebd0  ECX=0000003e  EDX=005dcc4e
ESI=0000045a  EDI=0000002e
EBP=0000002b  EIP=00444b07  ESP=0012f94c  CS=001b  SS=0023
EFlags=00010206
 CF- PF+ AF- ZF- SF- TF- IF+ DF- OF- NT- RF+ VM- AC- VI- VP-

FPU State:
 ControlWord=027f StatusWord=0120 TagWord=ffff
 ErrorOffset=0043c489
 ErrorSelector=051c001b
 DataOffset=0012f96c
 DataSelector=ffff0023
 Cr0NpxState=00000000

MM0=0000000000000000
MM1=000000a7006b006b
MM2=8000000000000000
MM3=8b40a00000000000
MM4=0000000000000000
MM5=0000045a0000002e
MM6=0000002b00000500
MM7=000000230012f94c

Running threads:
0000fb24 at 00444b07*
0000fb28
0000fb2c
0000fb3c
0000f20c
0000faf0
0000fb48
0000fb44
0000ff24

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 - 7807dfff  RPCRT4.dll
63180000 - 631e4fff  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
77180000 - 77296fff  ole32.dll
76350000 - 76395fff  comdlg32.dll
773a0000 - 77b9bfff  SHELL32.dll
00c70000 - 00d3efff  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
00e40000 - 00e68fff  NVWRSDE.DLL
746a0000 - 746e3fff  MSCTF.dll
00eb0000 - 00ec2fff  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
0c300000 - 0c307fff  IdleTrac.dll
0c4a0000 - 0c4ebfff  HookProc.dll

Bytes near EIP:
00444af7: a1 38 38 56 00 89 44 24 18 0f b6 0a 0f b6 0c 19
00444b07: 0f b6 2e 8b c1 c1 e0 08 2b e8 8b 04 ad 30 92 5c
00444b17: 00 8b 2d f4 ca 5d 00 c1 e1 0a 03 84 a9 30 92 5b

ZDoom version 2.0.47

Command line:
 zdoom -iwad doom2.wad -file Cyberdemon.wad
IWAD: doom2.wad

Current map: MAP05

viewx = 96949385
viewy = 7798220
viewz = -14002746
viewangle = 3066036224

Possible call trace:
 00444b07  BOOM
 00445648  call [005e14c8]
 0043e6e5  call 00445430
 004400e9  call 0043dda0
 0044a2b4  call 0043fa00
 0044ad64  call 0044a280
 0044b0e8  call 0044a3b0
 0044b251  call 0044ad70
 0044b226  call 0044b1a0
 0044b226  call 0044b1a0
 0044b226  call 0044b1a0
 0044b226  call 0044b1a0
 0044b226  call 0044b1a0
 0044b226  call 0044b1a0
 0044b226  call 0044b1a0
 00443f18  call 0044b1a0
 004f3b5d  call 00443d80
 004e25c0
 004f3ff4  call 004f3940
 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:
0012f94c: 00000002 0000002b ffffffff 000003c1  ····+···········
0012f95c: 00445648 ffffffff 00000500 00000478  HVD·········x···
0012f96c: 00000000 00060000 00000458 00000000  ········X·······
0012f97c: 0043e6e5 00000458 0ae6d95c 0addd6a8  ··C·X···\·······
0012f98c: 0ae6d388 00000500 010004ff 00000447  ············G···
0012f99c: ff43650e 0000047b 00000020 00000000  ·eC·{··· ·······
0012f9ac: ffd8ae57 ffd8ae57 ffffc970 004400e9  W···W···p·····D·
0012f9bc: 0addd6a8 0ad2e6c0 00000000 005da1c4  ··············]·
0012f9cc: 0000038b ffff8d24 00000500 00000400  ····$···········
0012f9dc: 0000034c 00000000 0044a2b4 0000038b  L·········D·····
0012f9ec: 00000500 0ae4dc30 00000000 0ae4dc44  ····0·······D···
0012f9fc: 0044ad64 ffd8ab01 00000000 00000001  d·D·············
0012fa0c: 0ae97ec4 00000000 ffd8ab77 ffd8ab01  ·~······w·······
0012fa1c: ffc90234 fffe0d24 fffd9a48 fffe0d24  4···$···H···$···
0012fa2c: 0044b0e8 0ae97ec4 00000000 0ae2a2a0  ··D··~··········
0012fa3c: 00000001 0012fcc8 000000ff 000000ff  ················
0012fa4c: 0ae97ec4 00000001 0ae98584 00000000  ·~··············
0012fa5c: 0ae2a620 00000000 0012fcc8 000000ff   ···············
0012fa6c: 000000ff 0ae985a8 00000008 0000065c  ············\···
0012fa7c: 00000000 510cfbf0 510cfbf0 002f0003  ·······Q···Q··/·
0012fa8c: 0012fb38 00000028 0012fba4 77e55615  8···(········V·w
0012fa9c: 510cfbf0 510cfbf0 0012fb00 0002facc  ···Q···Q········
0012faac: 0012fb14 00000000 0012fa9c 51084d14  ·············M·Q
0012fabc: 0012fcbc 77e74809 77e63208 ffffffff  ·····H·w·2·w····
0012facc: 77e55615 510b1226 000004f4 002f0003  ·V·w&··Q······/·
0012fadc: 0012fb38 00000028 0012fba4 00000004  8···(···········
0012faec: 0012fb00 510cfbf0 0012fb48 51084d24  ·······QH···$M·Q
0012fafc: 00000000 00000004 00000000 0012fb60  ············`···
0012fb0c: 510b15d0 000004f4 002f0003 0012fb38  ···Q······/·8···
0012fb1c: 00000028 0012fba4 00000004 00000000  (···············
0012fb2c: 00000000 51084d14 010384a8 437b3414  ·····M·Q·····4{C
0012fb3c: 11d0d060 c0008385 f3bad94f 00000007  `·······O·······
0012fb4c: 0044b251 0ad2b070 00000000 0ae2a2a0  Q·D·p···········
0012fb5c: 00000001 00000000 0ad2b071 000004f4  ········q·······
0012fb6c: 51084d14 0ae2a620 00000001 0044b226  ·M·Q ·······&·D·
0012fb7c: 0ae2a2d8 00000001 b9800000 0ae2a2a0  ················
0012fb8c: ffe00000 ffd8ab77 00000000 0016fdcc  ····w···········
0012fb9c: 0044b226 0ae2a380 00000000 46800000  &·D············F
0012fbac: 0ae2a2d8 00000000 ffb8ab77 00200000  ········w····· ·
0012fbbc: 0036fdcc 0044b226 0ae2a508 00000000  ··6·&·D·········
0012fbcc: 00000000 0ae2a380 00000000 ffd8ab77  ············w···
0012fbdc: ffe00000 0076fdcc 0044b226 0ae2ac78  ······v·&·D·x···
0012fbec: 00000000 00000000 0ae2a508 ffc00000  ················
0012fbfc: 0038ab77 00000000 00b6fdcc 0044b226  w·8·········&·D·
0012fc0c: 0ae2acb0 00000001 00000000 0ae2ac78  ············x···
0012fc1c: ffe00000 0158ab77 00000000 fe36fdcc  ····w·X·······6·
0012fc2c: 0044b226 0ae2ace8 00000001 11a00000  &·D·············
0012fc3c: 0ae2acb0 ffe00000 ffb8ab77 00000000  ········w·······
0012fc4c: 0076fdcc 0044b226 00000001 00000000  ··v·&·D·········
0012fc5c: 00000000 0ae2ace8 00000000 fd98ab77  ············w···
0012fc6c: fff80000 fe16fdcc 00443f18 00000001  ·········?D·····
0012fc7c: 00000005 00000000 9a3a4fdc 004f3b5d  ·········O:·];O·
0012fc8c: 00601f90 004e25c0 00000000 42b40000  ··`··%N········B
0012fc9c: 65c64eac 004f3ff4 00000000 00000001  ·N·e·?O·········
0012fcac: 00000005 00000000 00b7a2e8 0012fca8  ················
0012fcbc: 0012fe14 00510acc 00000000 0012fe20  ······Q····· ···
0012fccc: 004f517e 0000017e 0000026e 00000000  ~QO·~···n·······
0012fcdc: f62c7f6a 00b7ab88 5bbb1e5a a957e6c5  j,·····Z··[··W·
0012fcec: f9676e8c 1731e89b d69abd32 2a22a771  ·ng···1·2···q·"*
0012fcfc: d59cce84 6d6f6f44 7475412e 616f6c6f  ····Doom.Autoloa
0012fd0c: 6f640064 732f6d6f 736e696b ffb5a100  d·doom/skins····
0012fd1c: 06be2f49 c80a10b4 1ade6f18 3676cabf  I/·······o····v6
0012fd2c: c7f58ede 0abccc0c a47e6b3b d674707d  ········;k~·}pt·
0012fd3c: 6d954805 0f408440 95066c31 f69c7c5d  ·H·m@·@·1l··]|··
0012fd4c: 67917b90 dad257d4 25c8c973 2bb346ae  ·{·g·W··s··%·F·+
0012fd5c: 00548580 8db48660 004ee910 00000002  ··T·`·····N·····
0012fd6c: 00548578 8db48660 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: 77003120 77280888 771e2e6e 00000000   1·w··(wn.·w····
0012fdbc: 8007000e 0015b158 77183e9c 00000000  ····X····>·w····
0012fdcc: 00000000 771d6b78 0015b158 0012fe18  ····xk·wX·······
0012fddc: 77284120 00000000 77284188 0012fe10   A(w·····A(w····
0012fdec: 771afc48 0000017e 0000026e 0012fe6c  H··w~···n···l···
0012fdfc: 00000000 0000026e 0000017e 00000000  ····n···~·······
0012fe0c: 8dbcba60 8dfa6f70 0012fe60 00510aef  `···po··`·····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 0012f574 0012ffb0  ···t···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 ee2fec08 ee2fec08  Pack 1····/···/·
0012fedc: ee2fec08 ee2fec08 e2fa2000 e2fa3000  ··/···/·· ···0··
0012feec: e2fa4000 e2fa5000 e2fa6000 e2fa7000  ·@···P···`···p··
0012fefc: e2fa8000 e2fa9000 e2faa000 e2fab000  ················
0012ff0c: e2fac000 e2fad000 e2fae000 e2faf000  ················
0012ff1c: e2fb0000 faca2598 ff676980 0000b470  ·····%···ig·p···
0012ff2c: 00000001 00000012 00000000 00000012  ················
0012ff3c: 00001fa2 00425a6e 77f844a8 00000007  ····nZB··D·w····
0012ff4c: 7ffdf000 00001fa2 00000001 00152316  ············#··
0012ff5c: 00000044 00153958 001535a8 00153920  D···X9···5·· 9··
0012ff6c: 00000000 00000001 00000064 00000064  ········d···d···
0012ff7c: 00000000 00000000 00000000 00000000  ················
0012ff8c: 00000001 00000000 ffffffff ffffffff  ················
0012ff9c: ffffffff 00000000 00000000 0012feb0  ················
0012ffac: e1b22168 0012ffe0 0042b8f0 00522cd0  h!········B··,R·
0012ffbc: 00000000 0012fff0 77e614c7 77f844a8  ···········w·D·w
0012ffcc: 00000007 7ffdf000 00580045 0012ffc8  ·······E·X·····
0012ffdc: 80534746 ffffffff 77e74809 77e71210  FGS······H·w···w
0012ffec: 00000000 00000000 00000000 00425a56  ············VZB·
0012fffc: 00000000                             ····
User avatar
arcticwolf
Canis lupus arctos
 
Joined: 28 Jul 2003
Location: The world

Postby randi » Fri Oct 10, 2003 2:50 pm

Looks like a duplicate of this other crash you reported.
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003

Postby arcticwolf » Fri Oct 10, 2003 3:00 pm

randy wrote:Looks like a duplicate of this other crash you reported.


May well be. How do I tell?
User avatar
arcticwolf
Canis lupus arctos
 
Joined: 28 Jul 2003
Location: The world

Postby randi » Fri Oct 10, 2003 3:18 pm

By looking at the call trace. The significant thing in this case is that 0044b1a0 is called repeatedly for both of them.
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003

Postby arcticwolf » Fri Oct 10, 2003 4:49 pm

randy wrote:By looking at the call trace. The significant thing in this case is that 0044b1a0 is called repeatedly for both of them.


Indeed, but it's only evidence, and rather vague for that matter, too. Is ZDoom 2.* still considered beta? If so, creating a debug build might help. I'm not sure how well GDB works under windows, but at least it should then be possible to have the crash information contain symbol names instead of addresses. :)
User avatar
arcticwolf
Canis lupus arctos
 
Joined: 28 Jul 2003
Location: The world

Postby randi » Sat Oct 11, 2003 10:43 am

GDB doesn't work with Visual C++ symbols.

Believe it or not, those binaries do contain debug information. However, it's just a link to an external file, so it only takes up a few bytes. (Search for .pdb with a hex editor if you want to verify.)
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003

Postby arcticwolf » Sat Oct 11, 2003 10:51 am

randy wrote:GDB doesn't work with Visual C++ symbols.

Believe it or not, those binaries do contain debug information. However, it's just a link to an external file, so it only takes up a few bytes. (Search for .pdb with a hex editor if you want to verify.)


Oh, I believe you. :) And as long as you're able to make something meaningful out of the debug output, everything's fine.

On a not totally unrelated side note, though, BTW - any chance to convince you to put up a public cvs repository for people who want to track development? Sourceforge (http://sourceforge.net) would be an obvious and easy solution that should require minimal (if any) changes to your development model, and if you don't like SF, there's also http://savannah.nongnu.org/ . Or you could set up your own public cvs server with anon access, but that would probably be more work without any extra benefits.
User avatar
arcticwolf
Canis lupus arctos
 
Joined: 28 Jul 2003
Location: The world

Postby Enjay » Sat Oct 11, 2003 11:05 am

User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Postby arcticwolf » Sat Oct 11, 2003 11:14 am

Enjay wrote:http://sourceforge.net/projects/zdoom/


Neat! I didn't know about that. Thanks! ^_^
User avatar
arcticwolf
Canis lupus arctos
 
Joined: 28 Jul 2003
Location: The world

Postby Hirogen2 » Sat Oct 11, 2003 1:30 pm

Everything is there, with the exception of the *ZDoom* CVS tree. (ACC and ZDBSP are injected (the final versions) at irregular intervals by me.)
User avatar
Hirogen2
 
Joined: 19 Jul 2003
Location: Central Germany
Github ID: jengelh
Operating System: RedHat-like Linux (RHEL, Fedora, CentOS, etc) 64-bit
Graphics Processor: Intel (Modern GZDoom)

Postby arcticwolf » Sat Oct 11, 2003 1:41 pm

Hirogen2 wrote:Everything is there, with the exception of the *ZDoom* CVS tree. (ACC and ZDBSP are injected (the final versions) at irregular intervals by me.)


That's a pity. Why not use sourceforge CVS when you already have a project? Not that it'd help much with anon CVS access ATM (sourceforge is having its regular round of cvs problems again)...
User avatar
arcticwolf
Canis lupus arctos
 
Joined: 28 Jul 2003
Location: The world

Postby HotWax » Sat Oct 11, 2003 6:46 pm

Randy doesn't have a project.
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby arcticwolf » Sat Oct 11, 2003 9:21 pm

HotWax wrote:Randy doesn't have a project.


The sourceforge project that was mentioned does have a developer named "Randy Heit" listed, though. It should be reasonably safe to assume that this is, indeed, *our* Randy Heit...
User avatar
arcticwolf
Canis lupus arctos
 
Joined: 28 Jul 2003
Location: The world


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests