debug, log, find out why VTK exe crash in Ubuntu? exe exit main() after vtkRenderWindowInteractor::Start()

how to find out why exe crash in Ubuntu, make -g, but gdb only show ‘Inferior 1(process 221729) exited normally’
in /var/log/apport.log, only has ‘executable does not belong to a package, ignoring’; ‘core limit 0, dump mode1’
also nothing useful in syslog
and already change ulimit to unlimited

If the process has “exited normally”, that is not a crash. Is there some other error message context available?

thanks, solved, there is no debug log when using release lib, however there is log when using debug lib.