<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Nezih,<br>
      <br>
      I've filed this bug:<br>
        <a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8202883">https://bugs.openjdk.java.net/browse/JDK-8202883</a><br>
          crash in the JvmtiExport::post_compiled_method_load<span
        class="overlay-icon aui-icon aui-icon-small aui-iconfont-edit"></span><br>
      <br>
      Please, feel free to add any details when you have them.<br>
      They are very important to reproduce the crash.<br>
      For instance, what GC was used in scenario with this crash?<br>
      <br>
      Thank you for reporting the issue!<br>
      Serguei<br>
      <br>
      <br>
      On 5/8/18 16:51, <a class="moz-txt-link-abbreviated" href="mailto:serguei.spitsyn@oracle.com">serguei.spitsyn@oracle.com</a> wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:5f503288-7e2a-2f0b-5bfe-b8c8c6222d18@oracle.com">
      <meta http-equiv="Context-Type" content="text/html; charset=utf-8">
      <div class="moz-cite-prefix">Hi Nezih,<br>
        <br>
        Crashing in the JvmtiExport::post_compiled_method_load function<br>
        does not prove itself that it is a VM issue.<br>
        And there are mo specific details in the log that help to
        understand this.<br>
        Filing a bug with this log is almost useless as it would not
        help to get to the root cause.<br>
        Also, there is still a pretty big chance the real problem is in
        the agent.<br>
        <br>
        My advice is to get as more details about this crash as
        possible.<br>
        The best you can do is to provide a stand alone test case.<br>
        Even if the issue is in the agent it will help to figure it out.<br>
        <br>
        Thanks,<br>
        Serguei<br>
        <br>
        <br>
        On 5/8/18 16:38, nezih yigitbasi wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CALur2hUnJOkVX+gi4VRRj-rc+vk=ck77egYCKYh=J1-4fEkB6g@mail.gmail.com">
        <div dir="ltr">Hi Serguei,
          <div>We don't have a repro unfortunately. We have seen this
            only once so far in our production environment. </div>
          <div><br>
            <div>Do you think this can be an agent issue? I thought like
              if it was an agent issue the stack trace would show it.
              The stack trace, however, ends in the VM code -- the crash
              happens in the "JvmtiExport::post_compiled_method_load"
              method.</div>
          </div>
          <div><br>
          </div>
          <div>Thanks,</div>
          <div>Nezih</div>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">2018-05-08 16:34 GMT-07:00 <a
              href="mailto:serguei.spitsyn@oracle.com"
              moz-do-not-send="true">serguei.spitsyn@oracle.com</a> <span
              dir="ltr"><<a href="mailto:serguei.spitsyn@oracle.com"
                target="_blank" moz-do-not-send="true">serguei.spitsyn@oracle.com</a>></span>:<br>
            <blockquote class="gmail_quote">
              <div>
                <div class="m_5351634827283183755moz-cite-prefix">Hi
                  Nezih,<br>
                  <br>
                  You error file with log does not help much.<br>
                  Could you, please, reproduce this issue with the debug
                  or fastdebug build?<br>
                  Also, a standalone test case is better to provide to<br>
                  increase chances the issue to be investigated and
                  fixed.<br>
                  <br>
                  In general, a JVMTI agent has to be written very
                  carefully as it can easily cause the VM to crash.<br>
                  So, it makes sense to look at the agent implementation
                  first to make sure it does not do anything wrong.<br>
                  It is what we normally do first and why a test case
                  that demonstrates the problem is needed.<br>
                  <br>
                  Thanks,<br>
                  Serguei
                  <div>
                    <div class="h5"><br>
                      <br>
                      <br>
                      On 5/8/18 16:00, nezih yigitbasi wrote:<br>
                    </div>
                  </div>
                </div>
                <div>
                  <div class="h5">
                    <blockquote type="cite">
                      <div dir="ltr">Hi,
                        <div><br>
                        </div>
                        <div>First of all, sorry for bringing up a crash
                          issue in this dev mailing list, but the crash
                          report submission page (<a
                            href="https://bugreport.java.com/bugreport/crash.jsp"
                            target="_blank" moz-do-not-send="true">https://bugreport.java.com/<wbr>bugreport/crash.jsp</a>)
                          doesn't list Java 9 in the release drop down,
                          so I couldn't report it there.</div>
                        <div><br>
                        </div>
                        <div>We recently got a crash with Java 9.0.1+11
                          with an interesting stack ending at
                          "JvmtiExport::post_compiled_<wbr>method_load()"
                          (entire error file is <a
href="https://gist.github.com/nezihyigitbasi/52a58698cc9acfcab21c69d00bd0cef2"
                            target="_blank" moz-do-not-send="true">here</a>).
                          A google search didn't end up with much info,
                          so I just wanted to check with this mailing
                          list to see whether anyone has any ideas to
                          investigate this further.</div>
                        <div><br>
                        </div>
                        <div>Thanks,</div>
                        <div>Nezih</div>
                        <div><br>
                        </div>
                      </div>
                    </blockquote>
                    <br>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>