Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash report killed by message (redis#8683)
We sometimes see the crash report saying we were killed by a random process even in cases where the crash was spontanius in redis. for instance, crashes found by the corrupt-dump test. It looks like this si_pid is sometimes left uninitialized, and a good way to tell if the crash originated in redis or trigged by outside is to look at si_code, real signal codes are always > 0, and ones generated by kill are have si_code of 0 or below.
- Loading branch information