RFR: 8339159: api/java_rmi/Naming/Rebind.html crashes with SEGV from UTF8::quoted_ascii_length call

David Holmes dholmes at openjdk.org
Thu Sep 5 05:50:27 UTC 2024


This is a long standing bug in the symboltable=trace logging code that we just discovered because we enabled trace logging in some of our testing. The logging code is passed a Symbol that we apparently couldn't fast-free from the resource area, but in a debug build the Symbol has already been zapped and so can't be printed.

Testing
 - internal testing of the code that demonstrated the failure (but it is intermittent)
 - tiers 1-3 sanity

Thanks

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

Commit messages:
 - 8339159: api/java_rmi/Naming/Rebind.html crashes with SEGV from UTF8::quoted_ascii_length call

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

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


More information about the hotspot-runtime-dev mailing list