[1.0 64 bit] Error Message Followed By Visual Corruption

Moderators: Rachael, dpJudas

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

[1.0 64 bit] Error Message Followed By Visual Corruption

Post by Enjay »

I'd been playing a game of Doom episode 2 and had just started map E2M4. I ran forwards and started shooting the bad guys at the far end of the start hallway and a message popped up. Unfortunately, I thought I was recoding a log file so I didn't bother memorising/writing down the message but it turns out, I'd typed the logfile command incorrectly and wasn't recording. I *think* the error message mentioned "r_column" and "access violation". Shortly after the message appeared, I started getting graphical glitches (see screenshots - resized from 1920x1200).

Image

Image

Image

I quit, restarted and warped to E2M4 and there was no problem. I also loaded the autosave from the start of E2M4 and, again, no problem.

Spec:
GZDoom 2.2.0 64 bit
CPU: i7 Six Core Processor 6800K (3.4GHz) 15MB Cache
Memory: 16GB HyperX FURY DDR4 2133MHz (4 x 4GB)
Graphics: 8GB NVIDIA GEFORCE GTX 1080
Sound: Onboard HiDef Audio (7.1)
OS: Windows 10 Professional 64 Bit
dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

Re: [1.0 64 bit] Error Message Followed By Visual Corruption

Post by dpJudas »

Hmm, still out of bounds issues reading from textures. It is a little tricky to judge on the screenshots, but it looks like one of the sprites triggered it.
User avatar
Enjay
Developer
Developer
Posts: 4720
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: [1.0 64 bit] Error Message Followed By Visual Corruption

Post by Enjay »

Well, the "good" news is it happened again right at the end of my game, but this time the logfile was running so I hope it helps a bit more.

Code: Select all

Read access violation: DrawColumn
dest_y = 566, count = 39, flags = 0, iscale = -87119 (-1.329330), texturefrac = 3244811 (49.511887)
Captured C:/Doom/QZdoom/Screenshot_Doom_20161030_195005.png
And here is Screenshot_Doom_20161030_195005.png:

Image

Like I said, right at the end of my game. ;)
dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

Re: [1.0 64 bit] Error Message Followed By Visual Corruption

Post by dpJudas »

3244811 - 38 * 87119 = -65711 (-1.00267) explains why it crashes, but unfortunately not why the texture coordinates are off by one row.
User avatar
Enjay
Developer
Developer
Posts: 4720
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: [1.0 64 bit] Error Message Followed By Visual Corruption

Post by Enjay »

dpJudas wrote:explains why it crashes
Just to be clear, the game didn't actually crash. Perhaps it might have if I'd left it for a while but I did actually play with the visual corruption (watching the effects) for a good few minutes the first time it happened without a crash happening.
dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

Re: [1.0 64 bit] Error Message Followed By Visual Corruption

Post by dpJudas »

Added some bounds checking so this shouldn't be happening anymore.
Locked

Return to “Bugs (Archive)”