A
A
Andrey2018-10-15 11:32:23
linux
Andrey, 2018-10-15 11:32:23

The program crashes, how to debug?

There is a program written in C++ that runs under debian 8.
The problem is that the program crashes at first glance completely randomly, it can work for a day and crash, it can work for 15 minutes and crash, or it can perform its functions and not crash at all.
How to identify the cause of such a fall, what means to use?
PS Imitation of user actions does not work. More than 50% of the RAM is always free.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2018-10-15
@jcmvbkbc

the program crashes at first glance completely randomly
. How to identify the cause of such a crash, what means to use?

Enable core dump (ulimit -c unlimited), collect and analyze dumps in the debugger.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question