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

"bad tag in log" assert with +LogCompilation +CITimeVerbose

XMLWordPrintable

    • b26

      The following command line, in a debug build, asserts reliably on my machine (Linux x64):

      ```
      java -XX:+LogCompilation -XX:CompileCommand="log,*.*" -XX:+CITimeVerbose -Xcomp -Xbatch -version
      ```

      with

      ```
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/shared/projects/openjdk/jdk-jdk/source/src/hotspot/share/utilities/xmlstream.cpp:209), pid=322790, tid=322804
      # assert(false) failed: bad tag in log


      Current CompileTask:
      C2:1191 649 b 4 java.util.concurrent.locks.ReentrantLock$Sync::tryRelease (51 bytes)

      Stack: [0x00007db84e300000,0x00007db84e400000], sp=0x00007db84e3feae0, free space=1018k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x195dea6] xmlStream::pop_tag(char const*)+0x176 (xmlstream.cpp:206)
      V [libjvm.so+0x195ef83] xmlStream::tail(char const*)+0x13
      V [libjvm.so+0xa03c64] CompileTask::log_task_done(CompileLog*)+0x164
      V [libjvm.so+0x9f2f0b] CompileTaskWrapper::~CompileTaskWrapper()+0x18b
      V [libjvm.so+0x9fc1ad] CompileBroker::compiler_thread_loop()+0x29d
      V [libjvm.so+0xeba71c] JavaThread::thread_main_inner()+0xcc
      V [libjvm.so+0x17a10d6] Thread::call_run()+0xb6
      V [libjvm.so+0x14ab447] thread_native_entry(Thread*)+0x127

      ```

            szaldana Sonia Zaldana Calles
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: