Frameretrace crashes when trying to open a trace file
When opening a crash with frameretrace, after glretracing the frames, the tool crashes.
Trying to investigate it via gdb, i see a black "FrameRetrace Error" window.
Backtrace
#0 0x00007ffff6122dfc in send () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x0000555555651924 in glretrace::Socket::Write (this=0x5555566cb500, buf=0x7fffa8001dd0, size=12) at ../src/glframe_socket.cpp:85
bytes_written = 32767
bytes_remaining = 12
curPtr = 0x7fffa8001dd0
#2 0x000055555564e783 in glretrace::Socket::WriteVec<unsigned char> (this=0x5555566cb500, vec=std::vector of length 12, capacity 80 = {...})
at ../src/glframe_socket.hpp:59
No locals.
#3 0x000055555563f014 in (anonymous namespace)::RetraceSocket::request (this=0x5555566cb500, req=...) at ../src/glframe_retrace_stub.cpp:91
write_size = 12
array_out = {<google::protobuf::io::ZeroCopyOutputStream> = {
_vptr.ZeroCopyOutputStream = 0x55555600d3e0 <vtable for google::protobuf::io::ArrayOutputStream+16>},
data_ = 0x7fffa8001dd0 "\b\aB\b\n\006\b\200\200\200\200\005narr/Dokumente/dodoclient/runner.4.trace\022\020\314廘\210\242\351\265\377\363zJmt@\227\030ܯ\210\\ \260\t(\001", size_ = 12, block_size_ = 12, position_ = 12, last_returned_size_ = 12}
coded_out = {impl_ = {end_ = 0x7fffbd3d0a40 "\b\aB\b\n\006\b\200\200\200\200\005UU",
buffer_end_ = 0x7fffa8001ddc "narr/Dokumente/dodoclient/runner.4.trace\022\020\314廘\210\242\351\265\377\363zJmt@\227\030ܯ\210\\ \260\t(\001",
buffer_ = "\b\aB\b\n\006\b\200\200\200\200\005UU\000\000p\n=\275\377\177\000\0005\223lUUU\000", stream_ = 0x7fffbd3d0a10, had_error_ = false,
aliasing_enabled_ = false, is_serialization_deterministic_ = false}, cur_ = 0x7fffbd3d0a40 "\b\aB\b\n\006\b\200\200\200\200\005UU", start_count_ = 0}
#4 0x0000555555642b08 in (anonymous namespace)::ApiRequest::retrace (this=0x5555567fec20, s=0x5555566cb500) at ../src/glframe_retrace_stub.cpp:787
response = {<google::protobuf::Message> = {<google::protobuf::MessageLite> = {
_vptr.MessageLite = 0x555555ff9e68 <vtable for ApiTrace::RetraceResponse+16>}, <No data fields>}, static kIndexInFileMessages = 40,
_internal_metadata_ = {<google::protobuf::internal::InternalMetadataWithArenaBase<google::protobuf::UnknownFieldSet, google::protobuf::internal::InternalMetadataWithArena>> = {ptr_ = 0x0, static kPtrTagMask = 1, static kPtrValueMask = -2}, <No data fields>}, _has_bits_ = {has_bits_ = {0}}, _cached_size_ = {
size_ = std::atomic<int> = { 0 }}, rendertarget_ = 0x0, shaderassembly_ = 0x0, filestatus_ = 0x0, metricslist_ = 0x0, metricsdata_ = 0x0,
shadersdata_ = 0x0, api_ = 0x0, error_ = 0x0, batch_ = 0x0, uniform_ = 0x0, state_ = 0x0, texturedata_ = 0x0, texture_ = 0x0}
__PRETTY_FUNCTION__ = "virtual void {anonymous}::ApiRequest::retrace({anonymous}::RetraceSocket*)"
#5 0x000055555564e1fb in glretrace::ThreadedRetrace::Run (this=0x5555566cb3f0) at ../src/glframe_retrace_stub.cpp:1422
r = 0x5555567fec20
#6 0x00005555556d165b in glretrace::Thread::start_routine (context=0x5555566cb3f0) at ../src/glframe_thread_linux.cpp:45
No locals.
#7 0x00005555556d1fca in std::__invoke_impl<void, void (*)(glretrace::Thread*), glretrace::Thread*> (
__f=@0x5555566bb760: 0x5555556d1638 <glretrace::Thread::start_routine(glretrace::Thread*)>) at /usr/include/c++/13.1.1/bits/invoke.h:61
No locals.
#8 0x00005555556d1f4d in std::__invoke<void (*)(glretrace::Thread*), glretrace::Thread*> (
__fn=@0x5555566bb760: 0x5555556d1638 <glretrace::Thread::start_routine(glretrace::Thread*)>) at /usr/include/c++/13.1.1/bits/invoke.h:96
No locals.
#9 0x00005555556d1ebd in std::thread::_Invoker<std::tuple<void (*)(glretrace::Thread*), glretrace::Thread*> >::_M_invoke<0ul, 1ul> (this=0x5555566bb758)
at /usr/include/c++/13.1.1/bits/std_thread.h:292
No locals.
#10 0x00005555556d1e76 in std::thread::_Invoker<std::tuple<void (*)(glretrace::Thread*), glretrace::Thread*> >::operator() (this=0x5555566bb758)
at /usr/include/c++/13.1.1/bits/std_thread.h:299
No locals.
#11 0x00005555556d1e5a in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(glretrace::Thread*), glretrace::Thread*> > >::_M_run (
this=0x5555566bb750) at /usr/include/c++/13.1.1/bits/std_thread.h:244
No locals.
#12 0x00007ffff62e1943 in std::execute_native_thread_routine (__p=0x5555566bb750) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/thread.cc:104
__t = <optimized out>
#13 0x00007ffff609d44b in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#14 0x00007ffff6120e40 in ?? () from /usr/lib/libc.so.6
No symbol table info available.
Operating System: Arch Linux KDE Plasma Version: 5.27.4 Graphics Platform: Wayland GPU: AMD Radeon RX 570