How to localize SIGSEGV error? lazarus / 21-General ---------------------------------------------------------------------- aducom · 2021-11-21 21:52 I have an application that runs fine under debug. After recompiling without debug info I get a SIGSEGV error with an address. How can I localize the line that is causing this? ---------------------------------------------------------------------- jamie · 2021-11-21 22:10 configure the debugger in lazarus to use an external file for the debug info and run the app under the debugger.  You could have a time sensitive event taking place, most likely a bug you have that only shows when debugger is not active. ---------------------------------------------------------------------- aducom · 2021-11-21 22:16 Thank you for your answer. Where can I configure that? It's not in the project option debugger section. I have set the code optimization from 3 to level 1. The application does not generate the error anymore, so apparently, the optimizer is causing the issue... Never seen this before. ---------------------------------------------------------------------- jamie · 2021-11-21 22:44 Op-2 should work fine, there is where I do everything when using laz. PROJECT :PRoject Options: debugging.. You will see "Use External debug symbol file" etc