Tracing InvalidMemoryOperationError

stunaep via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Mar 15 00:27:26 PDT 2016


I need to find the source of this InvalidMemoryOperationError. I 
tried loading the project in visuald but it wont break on the 
error.
I also tried adding
>extern(C) void onInvalidMemoryOperationError(void*) {
>   asm { int 3; }
>}

building with

>dub build --build=debug --arch=x86_64

and then using gdb, but it says "(no debugging symbols found)" 
and does this

>(gdb) r
>Starting program: program.exe
>[New Thread 8144.0xf00]
>Program received signal SIGTRAP, Trace/breakpoint trap.
>0x000000013f7a5f99 in ?? ()
>(gdb) where
>#0  0x000000013f7a5f99 in ?? ()
>Backtrace stopped: previous frame identical to this frame 
>(corrupt stack?)


More information about the Digitalmars-d-learn mailing list