On Thu, 14 May 2026 07:08:02 GMT, Yasumasa Suenaga <[email protected]> wrote:

>> serviceability/sa/TestJhsdbJstackMixedWithXComp.java failure on CentOS 7 was 
>> reported.
>> 
>> That error is caused that glibc on CentOS 7 has Personality Routine and LSDA 
>> (language-specific data area). SA does not support them, and skip them so 
>> far. Thus DWARF parser could not continue to unwind call stacks.
>> 
>> Personality Routine and LSDA are for exception handling for the language 
>> which supports exception like C++ (See [LLVM 
>> document](https://llvm.org/docs/ExceptionHandling.html) for details). They 
>> are not needed for stack unwinding in debugger like SA, but we need to skip 
>> DWARF augmentation correctly.
>> 
>> This change has passed serviceability/sa tests on both CentOS 7 and Fedora 
>> 44.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Yasumasa Suenaga has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Return null if DWARF is missing

I tried to reproduce the issue on Rocky Linux 9.7 x64 (I do not have RHEL 
subscription), however I could not see any exceptions in ClhsdbPstack test, and 
`_start` was shown.

@plummercj Can you share .jtr file?

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

PR Comment: https://git.openjdk.org/jdk/pull/31085#issuecomment-4457139637

Reply via email to