c++ - How to investigate the cause of the application crash? -
my os ubuntu 16.04.1 x64 , qt version 5.8.0.
i have application based on qt quick 2. application captures images webcam through opencv3 videocapture, , shows images fullscreen.
when rapidly switch window (by alt + tab) after running application, cause xorg die in low possible.
how can investigate problem?
compile application -g flag
from command prompt, call
ulimit -c unlimited
run application application should core dump.
you can examine core using
gdb <app> core
at gdb prompt type bt
callstack.
Comments
Post a Comment