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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -