[fixed][DOOM 2] Screenshot crash

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
nwbeeman
Posts: 146
Joined: Mon Oct 17, 2005 1:18
Location: Tampa

[fixed][DOOM 2] Screenshot crash

Post by nwbeeman »

I was in the "reactor room" (i guess thats what it is) and pressed print screen. I was running GZDoom in a window, and it dumped me to windows. (I just checked the ini file, i pointed it to G:\zdoom\screenshot) cut didn't create the directory. That may have caused it.

Code: Select all

Code: ACCESS_VIOLATION
Tried to read address 00000034
Flags: 00000000
Address: 7c901010

Windows NT 5.1 Build 2600 Service Pack 2

GS=0000  FS=003b  ES=0023  DS=0023
EAX=00000020  EBX=0013f800  ECX=7ffdd000  EDX=00000020
ESI=00000000  EDI=00000300
EBP=0013f7bc  EIP=7c901010  ESP=0013f784  CS=001b  SS=0023
EFlags=00210202
 CF- PF- AF- ZF- SF- TF- IF+ DF- OF- NT- RF+ VM- AC- VI- VP-

FPU State:
 ControlWord=027f StatusWord=4020 TagWord=ffff
 ErrorOffset=690a8233
 ErrorSelector=0760001b
 DataOffset=01f85afc
 DataSelector=ffff0023
 Cr0NpxState=00000000

MM0=0001010100010101
MM1=0000000000000000
MM2=afafb1ae5051a000
MM3=8000000000000000
MM4=0000000000000000
MM5=0000000000000300
MM6=0013f7bc00000020
MM7=000000230013f784

Running threads:
0000175c at 7c901010*
00001090
00000cc4
00000744
00000b4c
00001018
00001550
00001404
00000bbc

Loaded modules:
00400000 - 006e3fff  gzdoom.exe
7c900000 - 7c9affff *ntdll.dll
7c800000 - 7c8f3fff  kernel32.dll
68b20000 - 68b3ffff  GLU32.dll
77c10000 - 77c67fff  msvcrt.dll
5ed00000 - 5edcbfff  OPENGL32.dll
77dd0000 - 77e6afff  ADVAPI32.dll
77e70000 - 77f00fff  RPCRT4.dll
77f10000 - 77f55fff  GDI32.dll
77d40000 - 77dcffff  USER32.dll
73760000 - 737a8fff  DDRAW.dll
73bc0000 - 73bc5fff  DCIMAN32.dll
10000000 - 10095fff  fmod.dll
77be0000 - 77bf4fff  MSACM32.dll
76b40000 - 76b6cfff  WINMM.dll
774e0000 - 7761cfff  ole32.dll
71ad0000 - 71ad8fff  WSOCK32.dll
71ab0000 - 71ac6fff  WS2_32.dll
71aa0000 - 71aa7fff  WS2HELP.dll
773d0000 - 774d1fff  COMCTL32.dll
77f60000 - 77fd5fff  SHLWAPI.dll
006f0000 - 00877fff  DevIL.dll
763b0000 - 763f8fff  comdlg32.dll
7c9c0000 - 7d1d4fff  SHELL32.dll
76390000 - 763acfff  IMM32.DLL
629c0000 - 629c8fff  LPK.DLL
74d90000 - 74dfafff  USP10.dll
66500000 - 66509fff  wbsys.dll
66600000 - 66616fff  wbhelp.dll
66000000 - 66092fff  WBlind.dll
5ad70000 - 5ada7fff  UXTHEME.DLL
76380000 - 76384fff  msimg32.dll
011e0000 - 0120ffff  asOEHook.dll
7c000000 - 7c053fff  MSVCR70.dll
74720000 - 7476afff  MSCTF.dll
77b40000 - 77b61fff  apphelp.dll
755c0000 - 755edfff  msctfime.ime
76f50000 - 76f57fff  wtsapi32.dll
76360000 - 7636ffff  WINSTA.dll
5b860000 - 5b8b3fff  NETAPI32.dll
77fe0000 - 77ff0fff  Secur32.dll
605d0000 - 605d8fff  mslbui.dll
77120000 - 771abfff  OLEAUT32.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
69000000 - 694b8fff  atioglxx.dll
01ec0000 - 01ed0fff  r_opengl.dll

Bytes near EIP:
7c901000: 90 90 90 90 90 64 8b 0d 18 00 00 00 8b 54 24 04
7c901010: 83 7a 14 00 75 4f f0 ff 42 04 75 19 8b 41 24 89
7c901020: 42 0c c7 42 08 01 00 00 00 33 c0 c2 04 00 8d a4

ZDoom version 2.0.96x (0.9.11)

Command line:
 G:\zdoom\gzdoom.exe G:\doomwads2\DOOMSDAY.WAD
IWAD: doom2.wad

Current map: MAP01

viewx = -30534371
viewy = 416505087
viewz = -13041664
viewangle = 3407872000

Possible call trace:
 7c901010  BOOM
 005559b6  call [0057d1b4]
 00551931  call 00555988
 004bd839  call 0055191d
 004bd977  call 004bd780
 00438897  call 004bd920
 00438800
 00520792
 00520792
 00419e04  call 0054f21a
 0041b23f  call 004199c0
 0041b24a  call 0054f21a
 004da848  call [006cd71c]
 0042a2df  call 00438770
 0041c598  call [006da228]
 0041c5a0  call 0042a200
 004183ac  call 0041c2a0
 0040b871  call 0040b7c0
 0040b871  call 0040b7c0
 0053a0f1  call 0040b860
 0053a1f3  call 0054f21a
 00560fdb
 00537c8d  call 00418410
 00537fc6  call 00537890
 00552b19  call 00537f50
 005529ad  call 0054ffc0
 00552995

Stack Contents:
0013f784: 005559b6 00000020 00551931 00000000  ·YU· ···1·U·····
0013f794: 00000300 00000000 0013f800 0062f238  ············8·b·
0013f7a4: 0013f794 0013f3a8 0013fcd0 0055280c  ·············(U·
0013f7b4: 005dc920 ffffffff 00000400 004bd839   ·]·········9·K·
0013f7c4: 0013f7ec 00000001 0000000e 00000000  ················
0013f7d4: 0013f844 005837e8 0058585c 0f520020  D····7X·\XX· ·R·
0013f7e4: 0013fc78 0013f800 00364d42 00000024  x·······BM6·$···
0013f7f4: 00360000 00130000 00000028 00000400  ··6·····(·······
0013f804: 00000300 00180001 00000000 00240000  ··············$·
0013f814: 00000000 00000000 00000000 00000000  ················
0013f824: 004bd977 0013f844 0f520020 00000400  w·K·D··· ·R·····
0013f834: 00000300 0013f844 00438897 0013f844  ····D·····C·D···
0013f844: 7a2f3a47 6d6f6f64 7263732f 736e6565  G:/zdoom/screens
0013f854: 2f746f68 4d4f4f44 30303030 706d622e  hot/DOOM0000.bmp
0013f864: 00438800 00000008 00000000 00000000  ··C·············
0013f874: 00000000 00000000 00000000 00000040  ············@···
0013f884: 10201000 0000001c 0000002d 00000000  ·· ·····-·······
0013f894: 00000370 012b4cb9 00000000 024af000  p····L+·······J·
0013f8a4: 00000000 00000000 00000009 00000000  ················
0013f8b4: 00000000 00000000 00000000 00000000  ················
0013f8c4: 00000000 00000000 00000000 00000000  ················
0013f8d4: 00000000 00000000 00000000 00000000  ················
0013f8e4: 00000000 00000000 00000000 00000000  ················
0013f8f4: 00000000 00000000 00000000 00000000  ················
0013f904: 00000000 00000000 00000000 00000000  ················
0013f914: 00000000 00000000 00000000 00000000  ················
0013f924: 00000000 00000000 00000000 00000000  ················
0013f934: 00000000 00000000 00000000 00000000  ················
0013f944: 00000000 00000000 00000000 00000000  ················
0013f954: 00000000 00000000 00000000 00000000  ················
0013f964: 00000000 00000000 0013fba8 6912d846  ············F··i
0013f974: 0c1b0110 6912cfd0 0c534c90 6930ec20  ·······i·LS· ·0i
0013f984: 69492c0c 00000000 0c1b0038 0c1b0110  ·,Ii····8·······
0013f994: 5ed25709 0101c7e4 0c1b0038 01f81ec0  ·W·^····8·······
0013f9a4: 0013fb78 00000000 01ef47c0 00000001  x········G······
0013f9b4: 00000001 00000400 00000300 00000300  ················
0013f9c4: 00001000 00000400 00000000 00000006  ················
0013f9d4: 00000003 00000000 00000000 00000400  ················
0013f9e4: 00000300 00000009 00000000 00000000  ················
0013f9f4: 00000000 00000000 00000000 00000000  ················
0013fa04: 00000000 047c0000 e07c0000 0013fa20  ······|···|· ···
0013fa14: 00000000 7c9105c8 00164658 0013faec  ·······|XF······
0013fa24: 7c910551 00000000 00000000 00000000  Q··|············
0013fa34: 00000000 000080e1 00000000 00000000  ················
0013fa44: 00000000 00001401 00001800 00000000  ················
0013fa54: 00000000 01f81fc0 7c910900 0013fa70  ···········|p···
0013fa64: 00000000 7c9105c8 10f508c8 0013fb3c  ·······|····<···
0013fa74: 7c910551 01ef0748 7c91056d 0c1b0110  Q··|H···m··|····
0013fa84: 10f508d0 0013fba0 00000178 7c91440e  ········x····D·|
0013fa94: 0000b952 0013fbb8 6932d953 da0111a6  R·······S·2i····
0013faa4: 00007306 00000050 0013fac0 00000500  ·s··P···········
0013fab4: 00000400 00000400 00001400 00000500  ················
0013fac4: 00000000 00000006 00000001 00000004  ················
0013fad4: 0000001f 00000404 0000031f 00000000  ················
0013fae4: 00010000 00000000 00000000 00000000  ················
0013faf4: 00000101 00000000 00000000 04214000  ·············@!·
0013fb04: e0214000 00000020 0c1258f4 00000085  ·@!· ····X······
0013fb14: 01f84fc0 6919dc38 00000001 00000000  ·O··8··i········
0013fb24: 00000000 00000000 00000000 000080e1  ················
0013fb34: 00000006 00000000 690e8e1d 00000001  ···········i····
0013fb44: 0013fc34 7c917326 7c97c0d8 7c917304  4···&s·|···|·s·|
0013fb54: 32e294a2 00000001 5ed00000 0013f8c0  ···2·······^····
0013fb64: 00000000 00000000 0c1b0b00 00000000  ················
0013fb74: 00000000 00000000 00000000 00000000  ················
0013fb84: 00000000 00000000 00000000 00000000  ················
0013fb94: 00000000 00000000 00000000 00000000  ················
0013fba4: 00000000 00000000 6930e9e5 0c1b0110  ··········0i····
0013fbb4: 0c1b0b00 0c1b0110 6930ea13 69492c0c  ··········0i·,Ii
0013fbc4: 01000011 69302236 0c534c90 0c1b0110  ····6"0i·LS·····
0013fbd4: 0013fc1c 00000000 693026b1 00000000  ·········&0i····
0013fbe4: 012b4cb2 00000000 00000000 693027d8  ·L+··········'0i
0013fbf4: 00520792 7ffde000 00000000 692eb854  ··R········T·.i
0013fc04: 00000000 00181458 5b01182c 5ed1c506  ····X···,··[···^
0013fc14: 00520792 002621a8 0013fb54 5ed26710  ··R··!&·T····g·^
0013fc24: 0013fcd0 0000026e 00000000 00419e04  ····n·········A·
0013fc34: 7c917304 7c80aa7f 5ed00000 00000001  ·s·|··|···^····
0013fc44: 00000000 0013fc5c 77f44b94 5ed00000  ····\····K·w···^
0013fc54: bf0340ca 0041b23f 00000004 0041b24a  ·@··?·A·····J·A·
0013fc64: 5b01182c 00000000 004da848 0000026e  ,··[····H·M·n···
0013fc74: 00a53110 00000004 0042a2df 00000000  ·1········B·····
0013fc84: 0000135d 00000004 00000004 00000000  ]···············
0013fc94: 00000004 00000000 0041c598 0041c5a0  ··········A···A·
0013fca4: 0000026e 0ca53110 0013fcdc 00000001  n····1··········
0013fcb4: 004183ac 0000026e 0ca53110 00000001  ··A·n····1······
0013fcc4: 00000001 00001359 0013fcb8 0013fe04  ····Y···········
0013fcd4: 005611a0 00000000 00000004 00000000  ··V·············
0013fce4: 0013fe68 0000017e 1dd3e264 0100ac10  h···~···d·······
0013fcf4: 112edf24 b63fcd1a 6d6f6f44 7475412e  $·.···?·Doom.Aut
0013fd04: 616f6c6f ed000064 4dfef6a8 6bc08713  oload······M···k
0013fd14: b2488738 ee87111f af8087e5 f1da9b18  8·H·············
0013fd24: 10b72404 b608bcac e639dc24 20b8025c  ·$······$·9·\·· 
0013fd34: 7250ac8b 2ab16b88 40e50a18 a1fcc381  ··Pr·k·*···@····
0013fd44: 005d9d40 bf0340ca 0040b871 00000002  @·]··@··q·@·····
0013fd54: 005d9d38 bf0340ca 0040b871 00000002  8·]··@··q·@·····
0013fd64: 005d9d38 0013fd74 0053a0f1 005d9d38  8·]·t·····S·8·]·
0013fd74: 0053a1f3 00000094 00000005 00000001  ··S·············
0013fd84: 00000a28 00000002 76726553 20656369  (·······Service 
0013fd94: 6b636150 77003220 774ff5e1 00172a60  Pack 2·w··Ow`*··
0013fda4: 8007000e 776068e4 774ec2b4 00000000  ·····h`w··Nw····
0013fdb4: 0013fdd8 7752ed05 00172a60 7c80977b  ······Rw`*··{··|
0013fdc4: 0013fe00 00000000 7760683c 0013fdf8  ········<h`w····
0013fdd4: 774ff05b 00000001 00000000 00000002  [·Ow············
0013fde4: 00000000 00000000 0000026e 0000017e  ········n···~···
0013fdf4: bf0340ca 0013fe5c 00560fdb bf0340ca  ·@··\·····V··@··
0013fe04: 0013fe5c 005611be ffffffff 00537c8d  \·····V······|S·
0013fe14: ffffffff 7c80e00d 7ffde000 00000000  ·······|·······
0013fe24: 00000000 0000026e 0000017e 00000001  ····n···~·······
0013fe34: 000f4240 0013fe2c 00000020 000001a0  @B··,··· ·······
0013fe44: 00000276 00400000 00400250 00400228  v·····@·P·@·(·@·
0013fe54: 7c800000 0013fe14 0013fe88 00563740  ···|········@7V·
0013fe64: 00000000 0013fe98 00537fc6 00400000  ·········S···@·
0013fe74: 7c80b529 00000000 7ffde000 0013fe74  )··|·······t···
0013fe84: 0013f3a8 0013ffb0 0055280c 005d96d0  ·········(U···]·
0013fe94: 00000000 0013ffc0 00552b19 00400000  ·········+U···@·
0013fea4: 00000000 00162326 00000001 00000094  ····&#··········
0013feb4: 00000005 00000001 00000a28 00000002  ········(·······
0013fec4: 76726553 20656369 6b636150 af003220  Service Pack 2··
0013fed4: e8041000 e8042000 e8043000 e8044000  ····· ···0···@··
0013fee4: e8045000 e8046000 e8047000 e8048000  ·P···`···p······
0013fef4: e8049000 e804a000 e804b000 e804c000  ················
0013ff04: e804d000 e804e000 e804f000 87a72030  ············0 ··
0013ff14: ff676980 0004bfd2 00000001 00000010  ·ig·············
0013ff24: 00000000 00000010 00007041 8055e880  ········Ap····U·
0013ff34: afa53c48 80548fc1 89c2c000 005529ad  H<····T······)U·
0013ff44: 00090000 00149b58 7ffde000 00000044  ····X······D···
0013ff54: 00163ca0 00163540 00163d00 00000000  ·<··@5···=······
0013ff64: 00000000 00000000 00000000 00000000  ················
0013ff74: 00000000 00000000 00000401 00000001  ················
0013ff84: 00000000 00000000 00010001 00000000  ················
0013ff94: 00000408 00000000 00000001 00162326  ············&#··
0013ffa4: 00000000 0013feb0 805824fd 0013ffe0  ·········$X·····
0013ffb4: 0055280c 005dca58 00000000 0013fff0  ·(U·X·]·········
0013ffc4: 7c816d4f 00090000 00149b58 7ffde000  Om·|····X······
0013ffd4: 8054a938 0013ffc8 87a72030 ffffffff  8·T·····0 ······
0013ffe4: 7c8399f3 7c816d58 00000000 00000000  ···|Xm·|········
0013fff4: 00000000 00552995 00000000           ·····)U·····
Also, it may help you better if the "frendly crash" screen included the WADs loaded, and the map X,Y coords for you to better find the cause of the crash
Nuxius
Posts: 106
Joined: Fri Sep 02, 2005 9:15
Location: Texas

Post by Nuxius »

Also, it may help you better if the "frendly crash" screen included the WADs loaded, and the map X,Y coords for you to better find the cause of the crash
Extra information logs are only made when you add +logfile log to the command line. Then GZDoom will log all of the major things it does from the moment you start it.

Regardless, the crash log you currently have does include the wads you've loaded; along with DOOM2.WAD, I can see that you have loaded "G:\doomwads2\DOOMSDAY.WAD" as well.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Fixed
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Nuxius wrote:Regardless, the crash log you currently have does include the wads you've loaded; along with DOOM2.WAD, I can see that you have loaded "G:\doomwads2\DOOMSDAY.WAD" as well.
And I have always assumed that this:

Code: Select all

viewx = -30534371 
viewy = 416505087 
viewz = -13041664 
viewangle = 3407872000
tells you where in the level you are, but I can't say for sure.
Nuxius
Posts: 106
Joined: Fri Sep 02, 2005 9:15
Location: Texas

Post by Nuxius »

I kind of thought that at first as well, but those numbers are too big to be any standard xyz coordinates in Doom. (they go from -32767 to 32767 for all directions) I can't think of what else it could be though (unless it was for mouselook, to show exactly where you were looking at the time of the crash), so it must be a different coordinate system from regular Doom.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

They are the position in fixed point values. Divide them by 65536 and you get the 'real' coordinate.
Locked

Return to “Closed Bugs”