c++ - Segfault stacktrace doesn't contain source -
using gdb eclipse, i'm getting segfault , none of thread stacktraces contain source files. sdl, believe sdl threads >1, while thread 1 one.
using gcc flags -std=c++1y -o0 -ggdb3
even before had issue, gdb crashes when program terminates when ran in debug mode. don't know if related.
although have been able figure out approximate area in code occurs commenting things out; know wrong independent of code can use gdb properly.
edit: newb mistake of creating non-copied shared_ptr. crash caused double freeing. still doesn't explain useless debug info however.
Comments
Post a Comment