[1.0.27] Freeze when walking to church in TCotD2

Bugs that have been resolved.

Moderator: Graf Zahl

User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

[1.0.27] Freeze when walking to church in TCotD2

Post by Nash »

I am playing the final release of this mod, downloaded from Torm's site.

Near the start, just keep walking until you reach the woodfire with a dead body and the pistol.

Now head left to the church. GZDoom freezes.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Okay it only happens when your gl_light_ambient is initially 0 at program startup, then you change it and walk to the church. So to accurately reproduce this...

1) gl_light_ambient 0
2) Quit GZDoom
3) Run the WAD again
4) gl_light_ambient 128 or 256 (these are the ones I tried, possibly may be any number > 0)
5) Walk to church
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Okay so it seems that if gl_light_ambient is set to anything that is not possible by using the slider in the options menu, it will trigger the crash.

For example, GZDoom's default is 20; I set it to 21 and it crashed.
User avatar
Mortarion
Posts: 71
Joined: Fri Apr 04, 2008 13:05
Location: An empty city somewhere
Contact:

Post by Mortarion »

ok, since this seems to be the city of the damed bug's topic:
when I leave the beach at the start, then head towards the wilderness, just after(or somtimes right on) the encounter with the first vulgar, the game crashes and tells me that it tried to read an adress of 000000001 or somthing like that.
running it with zdoom 2.2.0 works okay(just kills me so I have to resurect and dosent show gzdoom features)

any help/ideas?
info:
Im running windows vista basic and the version of gzd that works like zd 2.2.0(cant remember the version number)

just redownloaded the newest gzd and will test when I get home, I'll post to tell the results and if I still need help(no offence, but I hope not!)
It's Arma-goddamn-M*****ing-geddon.
User avatar
Mortarion
Posts: 71
Joined: Fri Apr 04, 2008 13:05
Location: An empty city somewhere
Contact:

Post by Mortarion »

ok, it didn't work, any ideas why?( btw, it said tried to read address 000000008, not 1 as I thought)
It's Arma-goddamn-M*****ing-geddon.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Would you mind posting the crash log? That might actually help finding the problem.
User avatar
Mortarion
Posts: 71
Joined: Fri Apr 04, 2008 13:05
Location: An empty city somewhere
Contact:

Post by Mortarion »

ok, here we are: [spoiler]

Code: Select all

Code: C0000005 (Access Violation - tried to read address 00000008)
Address: 052D9E2A
Flags: 00000000

Windows NT 6.0 Build 6000 

GS=0000  FS=003b  ES=0023  DS=0023
EAX=00000000  EBX=00000001  ECX=05f35cc8  EDX=00000000
ESI=05f2bca8  EDI=00314ee0
EBP=00008866  EIP=052d9e2a  ESP=0012fc90  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=4020 TagWord=ffff
 ErrorOffset=050873fd
 ErrorSelector=0199001b
 DataOffset=05171e6c
 DataSelector=ffff0023
 Cr0NpxState=00000000

MM0=0000000000000000
MM1=0000000000000000
MM2=ffffff0000000000
MM3=0000000000000000
MM4=0000000000000000
MM5=05f2bca800314ee0
MM6=0000886600000000
MM7=000000230012fc90

Running threads:
00001524 at 052d9e2a*
000013a0
000017bc
0000119c
00001248
000011b8
000012b0
000016c0

Loaded modules:
00400000 - 00769fff  gzdoom.exe
77760000 - 7787dfff  ntdll.dll
76ca0000 - 76d77fff  kernel32.dll
76eb0000 - 76efafff  GDI32.dll
76020000 - 760bdfff  USER32.dll
76f00000 - 76fbefff  ADVAPI32.dll
76fc0000 - 77082fff  RPCRT4.dll
74d20000 - 74eb3fff  COMCTL32.dll
76ba0000 - 76c49fff  msvcrt.dll
77930000 - 77984fff  SHLWAPI.dll
760d0000 - 76b9dfff  SHELL32.dll
778b0000 - 77923fff  comdlg32.dll
77480000 - 775c3fff  ole32.dll
73d00000 - 73d06fff  WSOCK32.dll
76d80000 - 76dacfff  WS2_32.dll
77880000 - 77885fff  NSI.dll
74670000 - 746a2fff  WINMM.dll
772e0000 - 7736bfff  OLEAUT32.dll
74630000 - 74667fff  OLEACC.dll
10000000 - 101a6fff  fmodex.dll
74fb0000 - 74fc4fff  MSACM32.dll
6d070000 - 6d13afff  OPENGL32.dll
71fa0000 - 71fc2fff  GLU32.dll
6e850000 - 6e935fff  DDRAW.dll
6e840000 - 6e845fff  DCIMAN32.dll
775d0000 - 77758fff  SETUPAPI.dll
73660000 - 7366bfff  dwmapi.dll
77890000 - 778adfff  IMM32.DLL
76db0000 - 76e76fff  MSCTF.dll
760c0000 - 760c8fff  LPK.DLL
77370000 - 773ecfff  USP10.dll
6da40000 - 6dab3fff  riched20.dll
74ce0000 - 74d1efff  uxtheme.dll
75110000 - 75118fff  wtsapi32.dll
75e80000 - 75ea3fff  WINSTA.dll
75eb0000 - 75ec3fff  Secur32.dll
74ec0000 - 74eeffff  wdmaud.drv
751e0000 - 751e3fff  ksuser.dll
751f0000 - 751f6fff  AVRT.dll
74bd0000 - 74bf6fff  MMDevAPI.DLL
773f0000 - 77473fff  CLBCatQ.DLL
75120000 - 7514cfff  WINTRUST.dll
758b0000 - 759a0fff  CRYPT32.dll
75a00000 - 75a11fff  MSASN1.dll
75ed0000 - 75eedfff  USERENV.dll
76e80000 - 76ea8fff  imagehlp.dll
74480000 - 744a0fff  audioses.dll
742e0000 - 74345fff  audioeng.dll
75f80000 - 75f86fff  PSAPI.DLL
752c0000 - 752c8fff  msacm32.drv
74fa0000 - 74fa6fff  midimap.dll
6e450000 - 6e482fff  dinput8.dll
742b0000 - 742b8fff  HID.DLL
04ed0000 - 0511afff  ig4icd32.dll
052b0000 - 0543afff *ig4dev32.dll
73580000 - 73585fff  IconCodecService.dll
741a0000 - 74251fff  WindowsCodecs.dll

Bytes near EIP:
052D9E1A: 85 d2 74 0a 8b 41 10 c1 e0 04 03 c2 eb 02 33 c0
052D9E2A: 81 78 08 00 01 00 00 75 07 8b 48 0c 85 c9 74 03
052D9E3A: 32 c0 c3 b0 01 c3 83 ec 08 56 8b 74 24 10 57 8b

Possible call trace:
 052d9e2a  BOOM
 005a4bb5  call [006fc66c]
 005A5574  call 005A4A00
 005A63CD  call 005A5540
 005a5584
 005A63CD  call 005A5540
 005A7ABD  call 005A5E10
 005A7DF5  call 005A7930
 004189cc
 00419B56  call 004186E0
 005e78e0
 005E79AB  jmp  004C15D0
 004E2662  call 0041A430
 004e18b0
 005EB513  jmp  0040A0D0 => jmp  0043A5D0
 004E296E  call 004E2320
 005D2AC8  call 004E28F0
 005d2130
 005d2b36

Stack Contents:
0012FC90: 04ef7268 051711f0 04ef7c2e 051711f0  hr······.|······
0012FCA0: 00322f01 03c7d840 0664c340 00000000  ·/2·@···@·d·····
0012FCB0: 00314ee0 0012fdac 050c80a8 00000000  ·N1·············
0012FCC0: 04ef8022 0012fce0 005a4bbb 00000001  "········KZ·····
0012FCD0: 00008866 0012fce0 03c7d840 005a5579  f·······@···yUZ·
0012FCE0: 00000001 00322f01 00000001 03c7d680  ·····/2·········
0012FCF0: 00322f01 005a63d2 00322f00 00000000  ·/2··cZ··/2·····
0012FD00: 0075b734 005a5586 00000001 fff3bbe0  4·u··UZ·········
0012FD10: 00322f00 005a63d2 00000000 00000000  ·/2··cZ·········
0012FD20: 0075b734 005a7ac2 03c49068 006a46a0  4·u··zZ·h····Fj·
0012FD30: 4fc3bc16 472de100 005a7dfa 42b40000  ···O··-G·}Z····B
0012FD40: 3fcccccd 3fcccccd 00000001 00000280  ···?···?········
0012FD50: 00648f88 00000000 004189ce 006a46a0  ··d·······A··Fj·
0012FD60: 00000004 00000001 00000003 0012fdb8  ················
0012FD70: 00000004 00000000 fffff811 00000000  ················
0012FD80: 00000000 00000000 00000000 00419b5b  ············[·A·
0012FD90: 78aec63f 00000004 04aacbf0 00000003  ?··x············
0012FDA0: 00000003 0000026b 0012fd90 0012fde0  ····k···········
0012FDB0: 005e78e0 00000000 00000000 78aec647  ·x^·········G··x
0012FDC0: 000000e8 000001f0 0012fe60 00000000  ········`·······
0012FDD0: 014fbdf4 00000000 00f91f28 0012fe60  ··O·····(···`···
0012FDE0: 0012fe54 005e79b0 00000000 004e2667  T····y^·····g&N·
0012FDF0: 78aec5e7 00001770 00000002 00400000  ···xp·········@·
0012FE00: 00000000 00000000 000001f0 0000015c  ············\···
0012FE10: 00000001 000f4240 002400c4 00000000  ····@B····$·····
0012FE20: 004e18b0 00000000 00000000 00400000  ··N···········@·
0012FE30: 0397052f 00010003 00000000 00000000  /···············
0012FE40: 00621ef0 00400000 76ca0000 014f07d4  ··b···@····v··O·
0012FE50: 0012fdf0 0012ff90 [/spoiler]005eb518 00000000  ··········^·····
0012FE60: 00646463 00000000 00000000 00000000  cdd·············
0012FE70: 00000000 00000000 00000000 00000000  ················
0012FE80: 04010401 0000007c 007e00a0 00000000  ····|·····~·····
0012FE90: 00000000 00000000 00000000 00000000  ················
0012FEA0: 00000000 00000000 00000000 00000000  ················
0012FEB0: 00000000 00000000 00000000 00000000  ················
0012FEC0: 00000000 00000000 00000020 00000500  ········ ·······
0012FED0: 00000320 00000000 0000003c 00000000   ·······<·······
0012FEE0: 00000000 00000000 00000000 00000000  ················
0012FEF0: 00000000 00000000 00000000 78aec5e7  ···············x
0012FF00: 0012ffa0 004e2973 00000001 005d2acd  ····s)N······*]·
0012FF10: 00400000 00000000 0024205d 00000001  ··@·····] $·····
0012FF20: 78aec427 00000000 00000000 7ffd4000  '··x·········@·
0012FF30: 00000044 00242668 00255c80 0025e300  D···h&$··\%···%·
0012FF40: 00000000 00000000 00000000 00000000  ················
0012FF50: 00000000 00000000 00000000 00000001  ················
0012FF60: 00000001 00000000 ffffffff ffffffff  ················
0012FF70: ffffffff c0000005 00000000 00000006  ················
0012FF80: 00000000 00000000 0012ff20 0012f8c0  ········ ·······
0012FF90: 0012ffdc 005d2130 78da375f 00000001  ····0!]·_7·x····
0012FFA0: 0012ffac 76ce3833 7ffd4000 0012ffec  ····38·v·@·····
0012FFB0: 7779a9bd 7ffd4000 00129700 00000000  ··yw·@·········
0012FFC0: 00000000 7ffd4000 c0000005 76d35984  ·····@······Y·v
0012FFD0: 76d35984 0012ffb8 0012f8b0 ffffffff  ·Y·v············
0012FFE0: 77768bf2 777a99e4 00000000 00000000  ··vw··zw········
0012FFF0: 00000000 005d2b36 7ffd4000 00000000  ····6+]··@·····
[/spoiler]

and so forth
It's Arma-goddamn-M*****ing-geddon.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

And with which version is that? 1.0.27 or something later?
User avatar
Mortarion
Posts: 71
Joined: Fri Apr 04, 2008 13:05
Location: An empty city somewhere
Contact:

Post by Mortarion »

1.1.4 if that helps...
It's Arma-goddamn-M*****ing-geddon.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

It crashes somewhere deep in the graphics driver and the last call I can see looks fine to me.
What kind of graphics card do you have?
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

I don't suppose this will help much as I suspect it's related to the buzzing sound bug rather than the one in this thread. Anyway, I loaded up TCoTD2 a few times and have had no problem going into the church. However, when I quit, there was a crash dialogue waiting for me. Also, The GZdoom little console window (like the one you normally see at game startup) stayed on screen some time (maybe 30 seconds) after I saved the crash report.

This was with my build of r123

Like I said, probably not much help, but here's the crashlog.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

Enjay wrote:I don't suppose this will help much as I suspect it's related to the buzzing sound bug rather than the one in this thread.
I repeated with a debug version and, again, I was able to walk in and out of the church but when I quit the debugger gave me this - which does look like it's pointing at the sound code rather than anything else.

[spoiler]Image[/spoiler]

Is that any help in tracking down the further info needed on the sound problem? (I'm going to guess that you got something similar yourself, so probably not.)
User avatar
Mortarion
Posts: 71
Joined: Fri Apr 04, 2008 13:05
Location: An empty city somewhere
Contact:

Post by Mortarion »

I tested it with the old Xp(lovingly named doomcrate) and it works

*/me adds bug to vista's alredy too-long list*
It's Arma-goddamn-M*****ing-geddon.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

@Enjay: If you would move the message box out of the way the screenshot would be more useful. It obstructs vital information. Just close it before making a screenshot.

But this is a crash I also got elsewhere and already mentioned on the ZDoom forum here

@Mortarion: That bug is new and only appears in the very latest revisions. It has nothing to do with Vista.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

OK, I thought it was probably the same problem that you had mentioned over at Zdoom. Thanks also for letting me know about the dialogue. I left it there (and tried to place it in the least problematic place) just in case it contained important information that perhaps wouldn't be obvious from elsewhere on the screen. I'll know just to get rid of it in future. :)
Locked

Return to “Closed Bugs”