C Boost Interprocess Writer Bad Alloc When Reader Killed Stack

C Boost Interprocess Writer Bad Alloc When Reader Killed Stack