> I believe at one time it was possible to tell RPM to omit the symbol table
> from stripping, but it seems this is no longer the case. Other distributions
> suffer in the same way (I've observed it on Gentoo as well).
Surely we just need to revert whatever was introduced in 1.7.80 to "helpfully"
Well, well, well. Installing -debuginfo resulted in a successful run with and
without using GDB.
I uninstalled -debuginfo and the exception came back.
[root@ip-172-30-0-41 jvm]# gdb --args jmap -heap `pgrep java`
GNU gdb (GDB) Amazon Linux (7.6.1-64.33.amzn1)
Reading symbols from
/usr/lib/jvm/
> I ran across this bug report
> (https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1548434) and it
> seems in Wheezy/Jessie it's likewise. The last functional version I just so
> happened to hold onto is 7u79-2.5.5-1~deb7u1.
>
> The following are confirmed to throw an Exception
> * 7u