SegFault in Tracy v0.13.1
Author: loryrutaCreated Feb 18, 2026Updated Aug 7, 2026
Hello, I'm using Tracy v0.13.1 on Ubuntu 24.04 and using OpenCL as well. I'm getting a segfault here:
// tracy_rpmalloc.cpp:2079
static void*
free_list_pop(void** list) {
void* block = *list;
*list = *((void**)block); // <= SEGFAULT's here
return block;
}Originating from the TextFmt function TracyScoped.hpp:142, from (my) call:
ZoneScoped;
ZoneTextF("%ld * %s", num_elems, typeid(Ty).name()); // <=If I comment the latter line, I get a SEGFAULT at:
template<typename T>
tracy_force_inline void MemWrite( void* ptr, T val )
{
memcpy( ptr, &val, sizeof( T ) ); // <= SEGFAULT here
}Originating from TracyQueuePrepare( QueueType::ZoneEnd ); in ~ScopedZone.
I have no knowledge of the Tracy codebase, could anyone enlighten me what could have gone wrong? The error appears after a while and doesn't look to be OpenCL -related
Source: wolfpld/tracy