[Softpoly] Actor rendering crash?

Moderators: Rachael, dpJudas

Locked
Talon1024

[Softpoly] Actor rendering crash?

Post by Talon1024 » Wed Dec 07, 2016 16:05

I have no idea what's causing this crash, or whether it occurs on the latest QZDoom builds (as I haven't been able to compile one on Ubuntu 16.04, but that's another topic), but something is causing the softpoly renderer to crash when I play the game with Trailblazer 1.4.

The attached savegame is from Doom II MAP05 (The Crusher). The crash seems to be most likely to happen once I turn the corner and attack the Revenant (which is guarding an SSG, or rather a CJ).
Attachments
save31.zds
Relevant savegame. Load with Doom II: Hell on Earth and Trailblazer 1.4.pk3
(60.77 KiB) Downloaded 5 times
qzdoom-crash.txt
Crash log
(37.57 KiB) Downloaded 6 times

dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

Re: [Softpoly] Actor rendering crash?

Post by dpJudas » Wed Dec 07, 2016 16:23

Just some notes to myself (so I don't have to dig them out of the crash report later on):

Call stack:
#3 0x0000000000dd8970 in TriDrawSubsector32_3_SSE2 ()
#4 0x00000000006d7ad9 in PolyTriangleDrawer::draw_shaded_triangle (vert=0x7fc19ca38b10, ccw=true, args=0x7fc19ca38a80, thread=0x7fc19ca38ba0, drawfunc=0xdd7cd0 <TriDrawSubsector32_3_SSE2>) at /home/kevinc/Games/code/qzdoom/src/r_poly_triangle.cpp:200

Drawer args:
dest = 0x7fc1829ff000
pitch = 1280
v1 = 0x7fc19ca38880, v2 = 0x7fc19ca38868, v3 = 0x7fc19ca38850
clipleft = 0, clipright = 1280
cliptop = 0, clipbottom = 1024
texturePixels = 0x0, textureWidth = 64, textureHeight = 64
translation = 0x0
uniforms = 0x1b49890
stencilValues = 0xa783d20
stencilMasks = 0x8410050
stencilPitch = 160
stencilTestValue = 1
stencilWriteValue = 1
subsectorGBuffer = 0xa8c3d30
colormaps = 0x4e4dd40
RGB32k = 0x35ed1c0 <RGB32k>
BaseColors = 0x35cbbe0 <GPalette>

TriDrawSubsector32_3_SSE2 is TriBlendMode::Add

dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

Re: [Softpoly] Actor rendering crash?

Post by dpJudas » Wed Dec 07, 2016 16:34

Crashes due to a 64x64 texture with a nullptr as its pixels(!). Same issue as the 'summon rocket' reported by Edward-san.

dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

Re: [Softpoly] Actor rendering crash?

Post by dpJudas » Wed Dec 07, 2016 19:00

I think this should be fixed now.

Locked

Return to “Closed Bugs”