Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8146009

"pure virtual method called" with using new GC logging mechanism

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • hotspot
    • svc
    • b146
    • Not verified

      Little application which usually fails with OOME causes to crash with message 'pure virtual method called'

      Java version:

      Java(TM) SE Runtime Environment (fastdebug build 9-internal+0-2015-12-18-204348.kab.hs-rt)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 9-internal+0-2015-12-18-204348.kab.hs-rt, mixed mode)

      VM options: -XX:+UseG1GC -Xmx40m -Xmn20m -Xlog:gc=info

      Part of gdb bt command:
      #0 0x00007f91dd385cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
      #1 0x00007f91dd3890d8 in __GI_abort () at abort.c:89
      #2 0x00007f91dcb9cd7d in __gnu_cxx::__verbose_terminate_handler() ()
         from /home/cmv/reps/jdk/9/12_22/lib/amd64/server/libjvm.so
      #3 0x00007f91dcb9b4b6 in __cxxabiv1::__terminate(void (*)()) () from /home/cmv/reps/jdk/9/12_22/lib/amd64/server/libjvm.so
      #4 0x00007f91dcb9b501 in std::terminate() () from /home/cmv/reps/jdk/9/12_22/lib/amd64/server/libjvm.so
      #5 0x00007f91dcb9b46f in __cxa_pure_virtual () from /home/cmv/reps/jdk/9/12_22/lib/amd64/server/libjvm.so
      #6 0x00007f91dc64a0a0 in LogTagSet::log(LogLevel::type, char const*) ()
         from /home/cmv/reps/jdk/9/12_22/lib/amd64/server/libjvm.so
      #7 0x00007f91dc009374 in void Log<(LogTag::type)16, (LogTag::type)0, (LogTag::type)0, (LogTag::type)0, (LogTag::type)0, (LogTag::type)0>::vwrite<(LogLevel::type)3>(char const*, __va_list_tag*) ()
         from /home/cmv/reps/jdk/9/12_22/lib/amd64/server/libjvm.so
      #8 0x00007f91dc0094eb in void Log<(LogTag::type)16, (LogTag::type)0, (LogTag::type)0, (LogTag::type)0, (LogTag::type)0, (LogTag::type)0>::write<(LogLevel::type)3>(char const*, ...) () from /home/cmv/reps/jdk/9/12_22/lib/amd64/server/libjvm.so
      #9 0x00007f91dc0b19b7 in ConcurrentMarkThread::run_service() () from /home/cmv/reps/jdk/9/12_22/lib/amd64/server/libjvm.so
      #10 0x00007f91dc0b1d91 in ConcurrentMarkThread::run() () from /home/cmv/reps/jdk/9/12_22/lib/amd64/server/libjvm.so
      #11 0x00007f91dc828842 in java_start(Thread*) () from /home/cmv/reps/jdk/9/12_22/lib/amd64/server/libjvm.so
      #12 0x00007f91ddb36182 in start_thread (arg=0x7f91d837e700) at pthread_create.c:312
      #13 0x00007f91dd44947d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Issue is reproducible. Happened one of 20 times.
      Issue is not reproducible without -Xlog:gc=info.

            mlarsson Marcus Larsson (Inactive)
            mchernov Michail Chernov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: