Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

scalable_allocator segfault

danhook
Beginner
105 Views
I'm getting an intermittent segfault in the scalable_allocator in the call chain sequence:

internalFree()
isLargeObject()
getBackRef()

I think I saw this in unaltered scalable_allocator code, but I've been fiddling with the values for blockSize and memReqSize, so I can't gurantee it.

Looking at struct BackRefMaster, there are some comments that seem to indicate that it may be limited to dealing with 256 GB of memory. I'm using several terabytes. Should I be increasing the size of BackRefMaster::bytes?
0 Kudos
1 Reply
RafSchietekat
Black Belt
105 Views
I know that TBB is about multithreading, but can we please keep the allocator experiment discussion together in one thread, if only to avoid alarming titles that suggest problems in TBB itself? I suggest going back to "Customizing the scalable allocator" for this.
Reply