On Tue, 28 Oct 2025 01:42:13 GMT, Yasumasa Suenaga <[email protected]> wrote:
>> Still fails on other distros like Debian 13 on AMD64. It has glibc version >> 2.41. Attached please fine the JTR file. >> >> [TestJhsdbJstackMixedWithXComp.jtr.txt](https://github.com/user-attachments/files/23156708/TestJhsdbJstackMixedWithXComp.jtr.txt) > > @RealFYang Thanks a lot for sharing JTR file! > > I could find out the problem, and I fixed. We need to handle `RSP` more > carefully when parsing DWARF. This PR works fine on Fedora 43 and Ubuntu 22. > I believe it works on your Debian/Ubuntu. > > But I think the failure what you saw on AArch64 is caused by problem(s) on > stack unwinder for Linux AArch64, it is different from AMD64. Currently DWARF > is supported on Linux AMD64 only, other platforms would attempt to unwind > relies on base pointer. It is traditional, but it might not work on DWARF > based binaries. I saw DWARF is contained in AArch64 binary in Fedora Rawhide > for AArch64 at least. So the test added by this PR might not work on other > platforms includes AArch64, RISC-V. Thus I removed them from `@requires` in > the test. I think we can enable them if the unwinder (e.g. > LinuxAARCH64CFrame.java) supports DWARF, but it is not a scope of this bug. Yes, the latest version now works on my Debian 13 AMD64 machine. Thanks for finding it out. It's good to know the difference. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/27885#discussion_r2467636107
