StackWalker can crash the JVM

Luke Hutchison luke.hutch at gmail.com
Tue Apr 30 08:44:53 UTC 2019


Yes, that looks like the very same bug. I will ask the reporter to test
with 11.0.4, if they are able.

Does this affect 11.0.0 through to 11.0.3 inclusive? I can blacklist those
JDK versions for stackwalking if so.




On Tue, Apr 30, 2019 at 2:42 AM Aleksey Shipilev <shade at redhat.com> wrote:

> On 4/30/19 10:25 AM, Luke Hutchison wrote:
> > I received a bug report that my library ClassGraph crashes the JVM:
> >
> > https://github.com/classgraph/classgraph/issues/341
> >
> > The top few stack frames are
> >
> > V  [libjvm.dylib+0x65ca9b]  ResolvedMethodTable::add_method(Handle)+0x61
> > V  [libjvm.dylib+0x4eabf5]
> CallInfo::set_resolved_method_name(Thread*)+0x5d
> > V  [libjvm.dylib+0x4eaaf7]  CallInfo::CallInfo(Method*, Klass*,
> Thread*)+0x1c5
> > V  [libjvm.dylib+0x3a95e5]
>
> This looks suspiciously like:
>   https://bugs.openjdk.java.net/browse/JDK-8210457
>
> That fix is already backported to 11.0.4.
>
> Further diagnostics can be helped with running with fastdebug build, and
> running on latest JDK too.
> You can have the binaries here:
>   https://builds.shipilev.net/openjdk-jdk11-dev/ (bleeding edge 11.0.4+)
>   https://builds.shipilev.net/openjdk-jdk/       (bleeding edge 13+)
>
> -Aleksey
>
>


More information about the jdk-dev mailing list