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

Matthias Baesken mbaesken at openjdk.org
Wed Mar 26 14:29:47 UTC 2025


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 .

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

Commit messages:
 - JDK-8352946

Changes: https://git.openjdk.org/jdk/pull/24255/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24255&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8352946
  Stats: 6 lines in 1 file changed: 6 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/24255.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24255/head:pull/24255

PR: https://git.openjdk.org/jdk/pull/24255


More information about the hotspot-runtime-dev mailing list