mjansson / rpmalloc

Public domain cross platform lock free thread caching 16-byte aligned memory allocator implemented in C
Other
2.16k stars 187 forks source link

`SIGABRT` when building w/ `-DENABLE_ASSERTS=1 -DENABLE_OVERRIDE=1 -DENABLE_PRELOAD=1` #307

Closed therealthingy closed 10 months ago

therealthingy commented 1 year ago

The "supposed" memory leak is thus most likely caused by the OS loader itself (and not the program).

Suggestion: Add

  #if !ENABLE_OVERRIDE
    assert(MEMORY LEAK CHECK);
  #endif

to all memory leak asserts.

mjansson commented 10 months ago

Is this still an issue with the latest develop branch? Closing this for now, reopen if you want to dig further into it if it is still happening.