C Crash Reports for Linux

Following this question:
Good crash reporting library in C #

Is there any library like CrashRpt.dll that does the same in Linux? That is, generate a crash report, including a core dump and any necessary environment, and let the developer know about it?

Edit: this seems to be a duplicate of this question

+3
source share
7 answers
+3
source

, unlimit coredumpsize , coredump , . gdb/ddd - , . .

+2

@Ionut
, , .

+1
, , ; , () Linux . , , ...
+1

: x86 seg-fault.

, EIP, , . RichQ addr2line, , . EIP ; , , 0x00000000, , EIP.

, CR2, , . RichQ , . CR2 0x00000000. :

int j = *i

int j = i[2];

0x00000008 , CR2.

0

Nathan, under what circumstances are nonzero in the segment base? I have never seen this in my 5 year development of Linux applications.

Thank.

0
source

@Martin

I am performing architectural validation for x86, so I am very familiar with the architecture that the processor provides, but very unfamiliar with its use. This is what I based my comment on. If CR2 can be calculated to give the correct answer, then I am correcting myself.

0
source

Source: https://habr.com/ru/post/1696724/


All Articles