You may write stack trace to the file on SIGSEGV https://stackoverflow.com/questions/77005/how-to-generate-a-stacktrace-when-my-gcc-c-app-crashes
and then via objdump -d find line in assembler where app gets sigsegv (I guess it crashes due to sigsegv)
You may write stack trace to the file on SIGSEGV https:/ /stackoverflow. com/questions/ 77005/how- to-generate- a-stacktrace- when-my- gcc-c-app- crashes
and then via objdump -d find line in assembler where app gets sigsegv (I guess it crashes due to sigsegv)