Invalid memory operation during allocation with `new`

Steven Schveighoffer schveiguy at gmail.com
Tue Jan 14 16:36:36 UTC 2020


On 1/13/20 6:06 PM, Per Nordlöw wrote:
> On Monday, 13 January 2020 at 20:30:33 UTC, Adam D. Ruppe wrote:
>> Reading symbols from pain...
>> (gdb) break onInvalidMemoryOperationError
>> Breakpoint 1 at 0x4614f8
>> (gdb) r
>> Starting program: /home/me/test/pain
>> [Thread debugging using libthread_db enabled]
>> Using host libthread_db library "/lib64/libthread_db.so.1".
> 
> Thanks a lot.
> 
> Unfortunately that didn't tell me the cause of the problem but only the 
> stack trace of the failing call to `new` which is not called inside a 
> destructor.

can you post the stack trace?

-Steve


More information about the Digitalmars-d-learn mailing list