[Bad DDraw?] [96] does not start

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
SargeBaldy
Posts: 366
Joined: Tue Jul 15, 2003 3:49 pm
Location: Oregon
Contact:

[96] does not start

Post by SargeBaldy »

I'm sure it must just be conflicting with something, but I have no idea what's responsible.

Code: Select all

Code: ACCESS_VIOLATION
Tried to write address 00200000
Flags: 00000000
Address: 73775a56

Windows NT 5.1 Build 2600 Service Pack 2

GS=0000  FS=003b  ES=0023  DS=0023
EAX=00200000  EBX=0017c860  ECX=00000000  EDX=0016bc50
ESI=00176100  EDI=0000156f
EBP=0012f704  EIP=73775a56  ESP=0012f574  CS=001b  SS=0023
EFlags=00210246
 CF- PF+ AF- ZF+ SF- TF- IF+ DF- OF- NT- RF+ VM- AC- VI- VP-

FPU State:
 ControlWord=027f StatusWord=0000 TagWord=ffff
 ErrorOffset=00000000
 ErrorSelector=00000000
 DataOffset=00000000
 DataSelector=ffff0000
 Cr0NpxState=00000000

MM0=010000bc00185a48
MM1=0012f9e800000004
MM2=ffffffff0012f9c0
MM3=b7a0000000000000
MM4=0000000000000000
MM5=001761000000156f
MM6=0012f70400200000
MM7=000000230012f574

Running threads:
00000f58 at 73775a56*
00000f54
00000f64
00000fa0
00000fbc
00000824
00000fc0
00000fc4

Loaded modules:
00400000 - 00676fff  zdoom.exe
7c900000 - 7c9affff  ntdll.dll
7c800000 - 7c8f3fff  kernel32.dll
773d0000 - 774d1fff  COMCTL32.dll
77c10000 - 77c67fff  msvcrt.dll
77dd0000 - 77e6afff  ADVAPI32.dll
77e70000 - 77f00fff  RPCRT4.dll
77f10000 - 77f55fff  GDI32.dll
77d40000 - 77dcffff  USER32.dll
77f60000 - 77fd5fff  SHLWAPI.dll
71ad0000 - 71ad8fff  WSOCK32.dll
71ab0000 - 71ac6fff  WS2_32.dll
71aa0000 - 71aa7fff  WS2HELP.dll
76b40000 - 76b6cfff  WINMM.dll
10000000 - 10095fff  fmod.dll
77be0000 - 77bf4fff  MSACM32.dll
774e0000 - 7761bfff  ole32.dll
763b0000 - 763f8fff  comdlg32.dll
7c9c0000 - 7d1d3fff  SHELL32.dll
76390000 - 763acfff  IMM32.DLL
629c0000 - 629c8fff  LPK.DLL
74d90000 - 74dfafff  USP10.dll
5cd70000 - 5cd76fff  serwvdrv.dll
5b0a0000 - 5b0a6fff  umdmxfrm.dll
00ce0000 - 00e2dfff  MsgPlusH1.dll
77120000 - 771abfff  OLEAUT32.dll
755c0000 - 755edfff  msctfime.ime
5ad70000 - 5ada7fff  UxTheme.dll
76f50000 - 76f57fff  wtsapi32.dll
76360000 - 7636ffff  WINSTA.dll
5b860000 - 5b8b3fff  NETAPI32.dll
77fe0000 - 77ff0fff  Secur32.dll
73f10000 - 73f6bfff  dsound.dll
77c00000 - 77c07fff  VERSION.dll
76c30000 - 76c5dfff  WINTRUST.dll
77a80000 - 77b13fff  CRYPT32.dll
77b20000 - 77b31fff  MSASN1.dll
76c90000 - 76cb7fff  IMAGEHLP.dll
72d20000 - 72d28fff  wdmaud.drv
72d10000 - 72d17fff  msacm32.drv
77bd0000 - 77bd6fff  midimap.dll
73ee0000 - 73ee3fff  KsUser.dll
76fd0000 - 7704efff  CLBCATQ.DLL
77050000 - 77114fff  COMRes.dll
6ce10000 - 6ce47fff  dinput8.dll
688f0000 - 688f8fff  HID.DLL
77920000 - 77a12fff  SETUPAPI.DLL
73760000 - 737a8fff *ddraw.dll
73bc0000 - 73bc5fff  DCIMAN32.dll

Bytes near EIP:
73775a46: 73 8b 45 e8 5e 5f ca 00 00 00 eb 07 0f bf b7 c8
73775a56: 00 00 00 8b 45 08 f6 40 1f 40 74 04 33 c0 5d c3
73775a66: 8b 00 8b 40 34 25 10 00 02 00 f7 d8 1b c0 f7 d8

ZDoom version 2.0.96 (Santa's Little Helper?)

Command line:
 Y:\Games\Doom\Doom\zdoom.exe
IWAD: doom.wad

Not in a level.

Possible call trace:
 73775a56  BOOM
 004a4fd5  call [ecx+0x18]
 004a521e  call 004a4f70
 005181db  call 0051c9f7
 004a56e6  call 004a5110
 00522673  call [00543114]
 005181d6  call [005431b8]
 005181db  call 0051c9f7
 0051a8e8
 005181db  call 0051c9f7
 005181f8  call 0051816d
 00518223  call 005181e8
 004a57e1  call 004a53d0
 0049a792  call [edx+0xc]
 0048dd5d  call 0049a730
 0048df40  call 0048dd40
 0048e1f9  call 0048dec0
 004180cf  call 0048df50
 0040b0e3  call 0040b030
 0040b0e3  call 0040b030
 004a32e1  call 0040b0d0
 004a33e3  call 00517802
 004a0330  call 00417e00
 004a0665  call 0049ff20
 0051acaa  call 004a05f0
 0051ab3e  call 005185a0
 0051ab26

Stack Contents:
0012f574: 73779e5e 00176060 00004000 00010000  ^·ws``···@······
0012f584: 0016e808 001507a8 7c91056d 0012f888  ········m··|····
0012f594: 0016e808 00164de0 77f1da75 0000006c  ·····M··u··wl···
0012f5a4: 00000021 00000000 00000000 00000000  !···············
0012f5b4: 00000002 00000000 00000000 00000000  ················
0012f5c4: 00000000 00000000 00000000 00000000  ················
0012f5d4: 00000000 00000000 00000000 00000000  ················
0012f5e4: 00000000 00000000 00000000 00000000  ················
0012f5f4: 00000000 00000000 00000000 00000000  ················
0012f604: 00000000 00004218 00000000 00000000  ·····B··········
0012f614: 00000000 00000000 0016e808 0012f5a0  ················
0012f624: 00000000 00000000 77f282eb 00000006  ···········w····
0012f634: 0012f590 00000000 0012f684 7c90ee18  ···············|
0012f644: 7c910570 ffffffff 7c91056d 7c809988  p··|····m··|···|
0012f654: 00150000 00000000 7c80999b 0012f888  ···········|····
0012f664: 0016e808 00000d00 00004000 00000000  ·········@······
0012f674: 00000001 0012f72c 00000001 00000001  ····,···········
0012f684: 00000001 00000001 77f2eb6a 00000000  ········j··w····
0012f694: 00000000 0012f72c 00000200 00000000  ····,···········
0012f6a4: 00000000 00000003 00000000 00000001  ················
0012f6b4: 77f2eb6a 00000021 00000001 0012f76c  j··w!·······l···
0012f6c4: 00000000 00000000 00000000 00000020  ············ ···
0012f6d4: 00000000 00000000 001691e0 0012f7ac  ················
0012f6e4: 00176194 04004030 00000000 0016e808  ·a··0@··········
0012f6f4: 0012f7ac 00000000 00000003 0000c238  ············8···
0012f704: 0012f814 7377a726 0016bc50 0012f7f8  ····&·wsP·······
0012f714: 00000000 00000000 00161310 00000000  ················
0012f724: 00000000 0012f8ec 00176194 00000000  ·········a······
0012f734: 00000000 00000000 00000000 00000000  ················
0012f744: 00000000 00000000 00000000 00000000  ················
0012f754: 00000700 00000000 00000000 00000001  ················
0012f764: 00000000 0000000e 00176060 77f288cc  ········``·····w
0012f774: 04200001 0012f7d0 0012f858 73761e2c  ·· ·····X···,·vs
0012f784: 77f288e7 00000000 00000000 00000000  ···w············
0012f794: 00000000 00001000 00000000 10c272fc  ·············r··
0012f7a4: 00000020 0007d000 001691e0 77f1cd2e   ···········.··w
0012f7b4: 77f1cce4 00000000 0012f818 77f1cd0a  ···w···········w
0012f7c4: 970108cf 00000000 00000000 00000000  ················
0012f7d4: 77f11230 7c919f6b f828169c 11d2a8e8  0··wk··|··(·····
0012f7e4: a000f2a1 f6ea83c9 0016e808 737a0378  ············x·zs
0012f7f4: 00000000 0012f7ac 0012f76c 0012f72c  ········l···,···
0012f804: 00000010 00000003 00000014 00000001  ················
0012f814: 0012f864 7377abb2 0016bc50 0012f8ec  d·····wsP·······
0012f824: 00000000 00c007e8 00000000 00000000  ················
0012f834: 00161310 00000000 00000000 00161310  ················
0012f844: 0016bc50 00c007e8 00004218 00000000  P········B······
0012f854: 00000000 00000000 737a0378 0016e808  ········x·zs····
0012f864: 0012f8bc 7377adb8 0016bc50 00000000  ······wsP·······
0012f874: 00c007e8 00161310 00000000 00000000  ················
0012f884: 0012f968 00000000 00000000 0016e808  h···············
0012f894: 0016bc50 00161310 00000014 00000d00  P···············
0012f8a4: 0012f884 0012f198 0012f97c 7379adb6  ········|·····ys
0012f8b4: 73761520 ffffffff 0012f98c 7377af71   ·vs········q·ws
0012f8c4: 00161310 0012f8ec 00c007e8 00000000  ················
0012f8d4: 00000000 00000000 00000000 00c007e8  ················
0012f8e4: 00bffc98 00000000 0000006c 00000021  ········l···!···
0012f8f4: 00000000 00000000 00000000 00000002  ················
0012f904: 00000000 00000000 00000000 00000000  ················
0012f914: 00000000 00000000 00000000 00000000  ················
0012f924: 00000000 00000000 00000000 00000000  ················
0012f934: 00000000 00000000 00000000 00000000  ················
0012f944: 00000000 00000000 00000000 00000000  ················
0012f954: 00004218 00000000 00000000 00000000  ·B··············
0012f964: 00000000 00161310 0016e808 0016bc50  ············P···
0012f974: 0012f8e0 0012f198 0012fc20 7379adb6  ········ ·····ys
0012f984: 73761530 ffffffff 00000002 004a4fd5  0·vs·········OJ·
0012f994: 00161310 0012f9b4 00c007e8 00000000  ················
0012f9a4: 0012faa0 00bffc98 00bffc98 00000000  ················
0012f9b4: 0000006c 00000021 00000000 00000000  l···!···········
0012f9c4: 00000000 00000002 00000000 00000000  ················
0012f9d4: 00000000 00000000 00000000 00000000  ················
0012f9e4: 00000000 00000000 00000000 00000000  ················
0012f9f4: 00000000 00000000 00000000 00000000  ················
0012fa04: 00000000 00000000 00000000 00000000  ················
0012fa14: 00000000 00000000 00004218 004a521e  ·········B···RJ·
0012fa24: 00c003e4 00619468 00000000 005181db  ····h·a·······Q·
0012fa34: 0000006c 00000000 00000000 00000000  l···············
0012fa44: 00000000 00000000 00000000 00000000  ················
0012fa54: 00000000 00000000 00000000 00000000  ················
0012fa64: 00000000 00000000 00000000 00000000  ················
0012fa74: 00000000 00000000 00000000 00000000  ················
0012fa84: 00000000 00000000 00000000 00000000  ················
0012fa94: 00000000 00000000 00000000 004a56e6  ·············VJ·
0012faa4: 00c21668 00000000 00000001 00000000  h···············
0012fab4: 00000002 00000100 ffffff02 00000101  ················
0012fac4: 00000103 ffffff01 00000003 ffffff00  ················
0012fad4: ffffff03 00000102 00000001 00bffc98  ················
0012fae4: 0012fb0c 00bec9e8 00000200 00000000  ················
0012faf4: 7c801898 006709c0 0000006c 00bec9e8  ···|··g·l·······
0012fb04: 006709c0 0000006c 00000000 00000200  ··g·l···········
0012fb14: 7c810e48 00000000 0012faf8 0012fb58  H··|········X···
0012fb24: 0012fb94 000001cf 7c809bd8 ffffffff  ···········|····
0012fb34: 7c801898 00522673 000000a4 003a0178  ···|s&R·····x·:·
0012fb44: 00000200 0012fb5c 00000000 006709c0  ····\·········g·
0012fb54: 0000006c 00000003 00000200 003a0000  l·············:·
0012fb64: 00bffc90 00bffc98 0012fc40 00000174  ········@···t···
0012fb74: 0012fc40 7c910e91 003a0608 7c91056d  @······|··:·m··|
0012fb84: 00c016a8 00bffc98 00bffc90 00000000  ················
0012fb94: 00000000 00000000 00bffc90 00000ba0  ················
0012fba4: 00bffc98 005edbf8 003a0178 00000ba0  ······^·x·:·····
0012fbb4: 00007558 003a0000 0012f9b4 0000000e  Xu····:·········
0012fbc4: 0012fc00 7c90ee18 7c9106f0 ffffffff  ·······|···|····
0012fbd4: 7c9106eb 005181d6 003a0000 00000000  ···|··Q···:·····
0012fbe4: 005181db 00000b98 00000000 00000001  ··Q·············
0012fbf4: 0012fc60 0012fbe8 00001a0f 0012fc54  `···········T···
0012fc04: 0051a8e8 0059fc80 ffffffff 005181db  ··Q···Y·······Q·
0012fc14: 005181f8 00000b98 00518223 0012fc54  ··Q·····#·Q·T···
0012fc24: 0052a621 00000000 004a57e1 00000500  !·R······WJ·····
0012fc34: 00000300 0012fc01 0012fc8c 0012fc88  ················
0012fc44: 00000008 00000008 00000000 00bffc98  ················
0012fc54: 0012fccc 0052a633 00000000 0049a792  ····3·R·······I·
0012fc64: 00000500 00000300 0012fc01 00000000  ················
0012fc74: 00000300 00000500 0012fc01 0048dd5d  ············]·H·
0012fc84: 00000000 00000300 00000500 0048df40  ············@·H·
0012fc94: 00000008 000000f8 00000008 00000000  ················
0012fca4: ffffffff 00000300 00000500 0048e1f9  ··············H·
0012fcb4: 00000008 00bf6a50 00000001 00000300  ····Pj··········
0012fcc4: 00000500 00bffc60 0012fe04 0052a46b  ····`·······k·R·
0012fcd4: ffffffff 004180cf 000000f8 0000026e  ······A·····n···
0012fce4: 0012fe6c 0000017e 187c6ece 00bf6a50  l···~····n|·Pj··
0012fcf4: 7c4e274e f458384a 6d6f6f44 7475412e  N'N|J8X·Doom.Aut
0012fd04: 616f6c6f 6f440064 732f6d6f 736e696b  oload·Doom/skins
0012fd14: 1ebbe400 9071b103 83351d64 138005f2  ······q·d·5·····
0012fd24: ca23f61e 99ede86e a0512671 da40f18d  ··#·n···q&Q···@·
0012fd34: ce2599c1 9eefc4dc 775286c7 77605998  ··%·······Rw·Y`w
0012fd44: 00000002 00000001 00000002 bca8563f  ············?V··
0012fd54: 0040b0e3 0012fd64 00000002 bca8563f  ··@·d·······?V··
0012fd64: 0040b0e3 0012fd74 004a32e1 005584d8  ··@·t····2J···U·
0012fd74: 004a33e3 00000094 00000005 00000001  ·3J·············
0012fd84: 00000a28 00000002 76726553 20656369  (·······Service 
0012fd94: 6b636150 77003220 775289af 0015bd18  Pack 2·w··Rw····
0012fda4: 8007000e 776059bc 774e4314 00000000  ·····Y`w·CNw····
0012fdb4: 0012fdd8 77551c27 0015bd18 7c80977b  ····'·Uw····{··|
0012fdc4: 0012fe00 00000000 77605914 0012fdf8  ·········Y`w····
0012fdd4: 774f43e3 00000001 00000000 00000002  ·COw············
0012fde4: 00000000 0000026e 00000000 0000017e  ····n·······~···
0012fdf4: 00000002 0012fe08 00a8563f bca8563f  ········?V··?V··
0012fe04: 0012fe60 00528fea ffffffff 004a0330  `·····R·····0·J·
0012fe14: ffffffff 7c80e00d 7ffde000 00000000  ·······|·······
0012fe24: 00000000 0000026e 0000017e 00000001  ····n···~·······
0012fe34: 000f4240 0012fe2c 00000020 00000276  @B··,··· ···v···
0012fe44: 00000000 00400000 00400230 00400208  ······@·0·@···@·
0012fe54: 7c800000 00400000 0012fe14 0012fe88  ···|··@·········
0012fe64: 0052a5b0 00000000 0012fe98 004a0665  ··R·········e·J·
0012fe74: 7c80b529 00000000 7ffde000 0012fe74  )··|·······t···
0012fe84: 0012f198 0012ffb0 0051a8e8 00557b28  ··········Q·({U·
0012fe94: 00000000 0012ffc0 0051acaa 00400000  ··········Q···@·
0012fea4: 00000000 0015232f 00000001 00000094  ····/#··········
0012feb4: 00000005 00000001 00000a28 00000002  ········(·······
0012fec4: 76726553 20656369 6b636150 00003220  Service Pack 2··
0012fed4: e339e000 e339f000 e33a0000 e33a1000  ··9···9···:···:·
0012fee4: e33a2000 e33a3000 e33a4000 e33a5000  · :··0:··@:··P:·
0012fef4: e33a6000 e33a7000 82ff1028 e31f5000  ·`:··p:·(····P··
0012ff04: ffffffff 00000000 00000000 ff2c5020  ············ P,·
0012ff14: 00000300 0001146c 00000001 0000000a  ····l···········
0012ff24: 00000000 011f12b0 0000239e 8055ef80  ·········#····U·
0012ff34: f047dc48 80549631 82ff6000 0051ab3e  H·G·1·T··`··>·Q·
0012ff44: 80000001 013edba0 7ffde000 00000044  ······>····D···
0012ff54: 00153428 001533d8 00153488 00000000  (4···3···4······
0012ff64: 00000000 00000000 00000000 00000000  ················
0012ff74: 00000000 00000000 00000401 00000001  ················
0012ff84: 00000000 00000000 00010001 00000000  ················
0012ff94: 00000408 00000000 00000001 0015232f  ············/#··
0012ffa4: 00000000 0012feb0 8058a6b8 0012ffe0  ··········X·····
0012ffb4: 0051a8e8 0059fe70 00000000 0012fff0  ··Q·p·Y·········
0012ffc4: 7c816d4f 80000001 013edba0 7ffde000  Om·|······>····
0012ffd4: 8054b038 0012ffc8 ff2c5020 ffffffff  8·T····· P,·····
0012ffe4: 7c8399f3 7c816d58 00000000 00000000  ···|Xm·|········
0012fff4: 00000000 0051ab26 00000000           ····&·Q·····
User avatar
Kate
... in rememberance ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Post by Kate »

Code: Select all

73760000 - 737a8fff *ddraw.dll 
Have you by any chance tried reinstalling Directx? looks like DirectDraw's the one having problems...
User avatar
SargeBaldy
Posts: 366
Joined: Tue Jul 15, 2003 3:49 pm
Location: Oregon
Contact:

Post by SargeBaldy »

I haven't, but I don't think that's the issue since most of the time I can run ZDoom. Also, when I can't run ZDoom I can't seem to run Eternity either, and that doesn't even use DirectX which is why I thought they both just might be conflicting with something else I have running.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

SargeBaldy wrote:I can't seem to run Eternity either, and that doesn't even use DirectX

Of course it does! What do you think is being used by SDL to switch into fullscreen mode?
User avatar
SargeBaldy
Posts: 366
Joined: Tue Jul 15, 2003 3:49 pm
Location: Oregon
Contact:

Post by SargeBaldy »

I was under the impression it used Allegro to handle that.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

The DOS version does (or did - I don't know.) The Windows version uses SDL but even Allegro has to access the system somehow - and DirectX is the only means available.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

Considering it's crashing in the IDirectDraw2 CreateSurface method, I assume it's a problem with either your DirectX or graphics card driver installation.

Assuming you have the same version of DirectDraw installed as me, it is crashing just inside the IsD3DManaged private function. The three bytes at EIP are supposed to be 55 8B EC. They are 00 00 00 on yours. The 10 bytes before that are also wrong. They should be 5B C9 C3 CC CC CC CC CC. Yours are CA 00 00 00 EB 07 0F BF B7 C8. If you look at ddraw.dll in a hex editor, you can find these bytes starting at offset 0x14E4C (decimal 85580). If they are not 5B C9 C3 CC CC CC CC CC 55 8B EC and your ddraw.dll is version 5.3.2600.2180, then you know your ddraw.dll is corrupt. If the bytes and version are correct, then it's probably a driver stomping on top of ddraw.dll after it's loaded into memory.
User avatar
Mr. Tee
Posts: 1111
Joined: Sun Feb 08, 2004 7:49 pm
Contact:

Post by Mr. Tee »

This type of DirectX stuff seems to happen quite often... Too often... I wonder why people's DirectX installations get corrupted so easily?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Because they install all kinds of crap software I'd guess. Stuff like that doesn't happen to me.
Post Reply

Return to “Closed Bugs [GZDoom]”