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

**URL:** https://discourse.vtk.org/t/debug-log-find-out-why-vtk-exe-crash-in-ubuntu-exe-exit-main-after-vtkrenderwindowinteractor-start/12090
**Category:** Support
**Created:** [August 3, 2023, 11:38am UTC](https://discourse.vtk.org/t/debug-log-find-out-why-vtk-exe-crash-in-ubuntu-exe-exit-main-after-vtkrenderwindowinteractor-start/12090 "2023-08-03T11:38:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![gpu](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/g/e47c2d/32.png) [@gpu](https://discourse.vtk.org/u/gpu)
#### Post date: [August 3, 2023, 11:38am UTC](https://discourse.vtk.org/t/debug-log-find-out-why-vtk-exe-crash-in-ubuntu-exe-exit-main-after-vtkrenderwindowinteractor-start/12090/1 "2023-08-03T11:38:04Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [August 7, 2023, 9:59pm UTC](https://discourse.vtk.org/t/debug-log-find-out-why-vtk-exe-crash-in-ubuntu-exe-exit-main-after-vtkrenderwindowinteractor-start/12090/2 "2023-08-07T21:59:53Z")

</div>

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

---

<div class="post-metadata">

### Author: ![gpu](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/g/e47c2d/32.png) [@gpu](https://discourse.vtk.org/u/gpu)
#### Post date: [August 8, 2023, 12:32am UTC](https://discourse.vtk.org/t/debug-log-find-out-why-vtk-exe-crash-in-ubuntu-exe-exit-main-after-vtkrenderwindowinteractor-start/12090/3 "2023-08-08T00:32:44Z")

</div>

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