The backtrace is from my master branch but i believe it's exactly the same code. I changed default sector light mode to software (it's much faster).
Code: Select all
(gdb) bt
#0 PolyMainVertexShader::mul (mat=..., v=...)
at /home/pi/lzdoom/src/rendering/polyrenderer/drawers/poly_vertex_shader.h:175
#1 0x007ad418 in PolyMainVertexShader::main (this=0xa01ff838)
at /home/pi/lzdoom/src/rendering/polyrenderer/drawers/poly_vertex_shader.h:59
#2 0x007a498c in PolyTriangleThreadData::ShadeVertex (this=0xa0193014,
index=3406)
at /home/pi/lzdoom/src/rendering/polyrenderer/drawers/poly_thread.cpp:400
#3 0x007a4580 in PolyTriangleThreadData::Draw (this=0xa0193014, index=3406,
vcount=4, drawmode=PolyDrawMode::TriangleFan)
at /home/pi/lzdoom/src/rendering/polyrenderer/drawers/poly_thread.cpp:351
#4 0x007af80c in PolyDrawCommand::Execute (this=0xa252b670, thread=0x44df73c)
at /home/pi/lzdoom/src/rendering/polyrenderer/drawers/poly_triangle.cpp:315
#5 0x006f826c in DrawerThreads::WorkerMain (
this=0x10820a8 <DrawerThreads::Instance()::threads>, thread=0x44df73c)
at /home/pi/lzdoom/src/rendering/swrenderer/drawers/r_thread.cpp:167
#6 0x006f838c in DrawerThreads::<lambda()>::operator()(void) const (
__closure=0x4a131d4)
at /home/pi/lzdoom/src/rendering/swrenderer/drawers/r_thread.cpp:227
#7 0x00728508 in std::__invoke_impl<void, DrawerThreads::StartThreads()::<lambda()> >(std::__invoke_other, DrawerThreads::<lambda()> &&) (__f=...)
at /usr/include/c++/8/bits/invoke.h:60
--Type <RET> for more, q to quit, c to continue without paging--
#8 0x00727ce0 in std::__invoke<DrawerThreads::StartThreads()::<lambda()> >(DrawerThreads::<lambda()> &&) (__fn=...) at /usr/include/c++/8/bits/invoke.h:95
#9 0x0072c48c in std::thread::_Invoker<std::tuple<DrawerThreads::StartThreads()::<lambda()> > >::_M_invoke<0>(std::_Index_tuple<0>) (this=0x4a131d4)
at /usr/include/c++/8/thread:244
#10 0x0072c3c4 in std::thread::_Invoker<std::tuple<DrawerThreads::StartThreads()::<lambda()> > >::operator()(void) (this=0x4a131d4)
at /usr/include/c++/8/thread:253
#11 0x0072c354 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<DrawerThreads::StartThreads()::<lambda()> > > >::_M_run(void) (this=0x4a131d0)
at /usr/include/c++/8/thread:196
#12 0xb6a069b0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#13 0xb6e6a494 in start_thread (arg=0xa0d27310) at pthread_create.c:486
#14 0xb680b578 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73
from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)