r-lyeh-archived / ltalloc

LightweighT Almost Lock-Less Oriented for C++ programs memory allocator
BSD 3-Clause "New" or "Revised" License
164 stars 17 forks source link

Segmentation fault in ptrie_insert #23

Open hassec opened 6 years ago

hassec commented 6 years ago

I've tried using ltalloc in an application but keep getting a segmentation fault.

Unfortunately, the application is rather large so providing a minimal example isn't really a possibility. The multithreading is done via tbb so I've previously also tried the tbb allocator replacement and haven't seen any error.

I've used ltalloc on linux via a LD_PRELOAD and when doing that in gdb it prints: ptrie_insert (key=key@entry=140734664605696, value=value@entry=131072, ptrie=0x7ffff7dd60c0 <largeAllocSizes>) at ../ltalloc.cc:517

Thankful for any pointers that would allow me to narrow down what could cause this. :+1: