RFR: 8352946: SEGV_BND signal code of SIGSEGV missing from our signal-code table

David Holmes dholmes at openjdk.org
Fri Mar 28 02:42:24 UTC 2025


On Wed, 26 Mar 2025 14:24:55 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> On Linux we had recently a crash looking like this
> 
> 
> siginfo_t @ 0x00007fff2723dc98:
>   Signal: 11 (SIGSEGV)
>   Signal Code: 3 (unknown signal code)
>   Address of faulting memory reference: 0x007fff8c31629838
> 
> 
> Seems signal code 3 is
> `#define SEGV_BNDERR 3 /* failed address bound checks */`
> 
> so we should add this to our signal code table; on AIX I cannot find this code so it might be Linux-only.
> Even on Linux the define is not always available in the system headers so we better add a define .

Okay - seems harmless.

-------------

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24255#pullrequestreview-2724106248


More information about the hotspot-runtime-dev mailing list