<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Core dump when using Call Graph on Java application running in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Core-dump-when-using-Call-Graph-on-Java-application-running/m-p/888687#M4753</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;I think that you profile Tomcat application which will call java application. However that is different to call simple java application directly since VTune Performance Analyzer add some special arguments to enable performance tuning, like as "-Xrunjavaperf". You might not transfer the paramenter to java application from Tomcat, I think.&lt;/P&gt;
&lt;P&gt;Regards, Peter&lt;/P&gt;</description>
    <pubDate>Mon, 08 Dec 2008 02:27:20 GMT</pubDate>
    <dc:creator>Peter_W_Intel</dc:creator>
    <dc:date>2008-12-08T02:27:20Z</dc:date>
    <item>
      <title>Core dump when using Call Graph on Java application running under Tomcat</title>
      <link>https://community.intel.com/t5/Analyzers/Core-dump-when-using-Call-Graph-on-Java-application-running/m-p/888686#M4752</link>
      <description>&lt;P&gt;I'm trying to run Call Graph profiling on a Tomcat application. I can run it fine on a simple test application. When I run under Tomcat, it core dumps early on during initialisation. Occasionally I get some basic Call Graph out of it, other times I don't, presumably depending on how badly it crashes.&lt;/P&gt;
&lt;P&gt;I'm using the 9.1 VTune on Windows, talking to a 9.1 RDC on RedHat system running kernel 2.6.18-92.1.10.el5PAE, using the VDK driver from the 3.1.003 PTU.&lt;/P&gt;
&lt;P&gt;Below is a sample crash. Any suggestions?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;#&lt;BR /&gt;# An unexpected error has been detected by Java Runtime Environment:&lt;BR /&gt;#&lt;BR /&gt;# SIGSEGV (0xb) at pc=0x082e5aab, pid=11721, tid=971484048&lt;BR /&gt;#&lt;BR /&gt;# Java VM: Java HotSpot Server VM (10.0-b23 mixed mode linux-x86)&lt;BR /&gt;# Problematic frame:&lt;BR /&gt;# C 0x082e5aab&lt;BR /&gt;#&lt;BR /&gt;# If you would like to submit a bug report, please visit:&lt;BR /&gt;# &lt;A href="http://java.sun.com/webapps/bugreport/crash.jsp" target="_blank"&gt;http://java.sun.com/webapps/bugreport/crash.jsp&lt;/A&gt;&lt;BR /&gt;# The crash happened outside the Java Virtual Machine in native code.&lt;BR /&gt;# See problematic frame for where to report the bug.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;--------------- T H R E A D ---------------&lt;BR /&gt;&lt;BR /&gt;Current thread (0x3864ac00): JavaThread "NioBlockingSelector.BlockPoller-1" daemon [_thread_in_native, id=11824, stack(0x39e2a000,0x39e7b000)]&lt;BR /&gt;&lt;BR /&gt;siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000&lt;BR /&gt;&lt;BR /&gt;Registers:&lt;BR /&gt;EAX=0x19fa48f6, EBX=0xb7ee10b0, ECX=0x00000000, EDX=0x082faa08&lt;BR /&gt;ESP=0x39e79bf4, EBP=0x42174610, ESI=0x082fa868, EDI=0x082e6930&lt;BR /&gt;EIP=0x082e5aab, CR2=0x00000000, EFLAGS=0x00210202&lt;BR /&gt;&lt;BR /&gt;Top of Stack: (sp=0x39e79bf4)&lt;BR /&gt;0x39e79bf4: b7eb771d 082fa840 39e79c38 0000003a&lt;BR /&gt;0x39e79c04: b7eb76e6 00002000 000003e8 00000000&lt;BR /&gt;0x39e79c14: b7ee2bb0 082e0560 3864ac00 39e79c70&lt;BR /&gt;0x39e79c24: b7ebad84 082e6930 39e79c38 3864acf4&lt;BR /&gt;0x39e79c34: b7ebac5d 00013a27 00000000 00002000&lt;BR /&gt;0x39e79c44: 000003e8 00000000 0000003a 00000000&lt;BR /&gt;0x39e79c54: 00000000 00000008 39e79c5c 00000000&lt;BR /&gt;0x39e79c64: 39e79ca4 a380c5d0 39e79c8c 39e79c98&lt;BR /&gt;&lt;BR /&gt;Instructions: (pc=0x082e5aab)&lt;BR /&gt;0x082e5a9b: 08 d0 0c 2e 08 e0 fc 2d 08 60 35 ee b7 10 03 2e&lt;BR /&gt;0x082e5aab: 08 21 00 00 00 60 d0 ee b7 00 00 00 00 00 00 00&lt;BR /&gt;&lt;BR /&gt;Stack: [0x39e2a000,0x39e7b000], sp=0x39e79bf4, free space=318k&lt;BR /&gt;Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)&lt;BR /&gt;C 0x082e5aab&lt;BR /&gt;&lt;BR /&gt;Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)&lt;BR /&gt;J org.eclipse.tptp.martini.CGProxy.MethodLeave(I)V&lt;BR /&gt;v ~BufferBlob::Interpreter&lt;BR /&gt;v ~BufferBlob::Interpreter&lt;BR /&gt;v ~BufferBlob::Interpreter&lt;BR /&gt;v ~BufferBlob::Interpreter&lt;BR /&gt;v ~BufferBlob::Interpreter&lt;BR /&gt;v ~BufferBlob::StubRoutines (1)&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2008 13:51:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Core-dump-when-using-Call-Graph-on-Java-application-running/m-p/888686#M4752</guid>
      <dc:creator>edwh</dc:creator>
      <dc:date>2008-12-05T13:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump when using Call Graph on Java application running</title>
      <link>https://community.intel.com/t5/Analyzers/Core-dump-when-using-Call-Graph-on-Java-application-running/m-p/888687#M4753</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;I think that you profile Tomcat application which will call java application. However that is different to call simple java application directly since VTune Performance Analyzer add some special arguments to enable performance tuning, like as "-Xrunjavaperf". You might not transfer the paramenter to java application from Tomcat, I think.&lt;/P&gt;
&lt;P&gt;Regards, Peter&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2008 02:27:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Core-dump-when-using-Call-Graph-on-Java-application-running/m-p/888687#M4753</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2008-12-08T02:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump when using Call Graph on Java application running</title>
      <link>https://community.intel.com/t5/Analyzers/Core-dump-when-using-Call-Graph-on-Java-application-running/m-p/888688#M4754</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/338213"&gt;Zhen Yu Wang (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;I think that you profile Tomcat application which will call java application. However that is different to call simple java application directly since VTune Performance Analyzer add some special arguments to enable performance tuning, like as "-Xrunjavaperf". You might not transfer the paramenter to java application from Tomcat, I think.&lt;/P&gt;
&lt;P&gt;Regards, Peter&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Wouldn't that show up as two separate Java processes, though? One for Tomcat, one for something else. There's only one Java process, so I don't think it can be that, and I do get call graph profiling out of Tomcat for a little while so I know the arguments are being passed.&lt;/P&gt;
&lt;P&gt;Any other ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2008 18:03:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Core-dump-when-using-Call-Graph-on-Java-application-running/m-p/888688#M4754</guid>
      <dc:creator>edwh</dc:creator>
      <dc:date>2008-12-17T18:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump when using Call Graph on Java application running</title>
      <link>https://community.intel.com/t5/Analyzers/Core-dump-when-using-Call-Graph-on-Java-application-running/m-p/888689#M4755</link>
      <description>&lt;P&gt;Speculatively, I set:&lt;/P&gt;
&lt;P&gt;MARTINI_LOGGER_DIRECTORY=/tmp&lt;BR /&gt;MARTINI_LOGGER_LOG_LEVEL=5&lt;/P&gt;
&lt;P&gt;I then get a log file in /tmp, which has this at the end:&lt;/P&gt;
&lt;P&gt;Error 12/19/08 11:22:32 3867 0 CDataManager File: DataManager.cpp (Line: 1602) condition failed: uiJVMPIMethodIndex &amp;lt; uiJVMPINumMethods&lt;/P&gt;
&lt;P&gt;This therefore looks like an error in libJPI.so.&lt;/P&gt;
&lt;P&gt;I then tried getting the latest libJPI.so from the profiler SDK at &lt;A href="http://www.eclipse.org/tptp/home/downloads/" target="_blank"&gt;http://www.eclipse.org/tptp/home/downloads/&lt;/A&gt;, but this doesn't recognise the cg parameter. So perhaps VTune's libJPI.so is customised?&lt;/P&gt;
&lt;P&gt;Does this ring any bells for anyone?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2008 11:48:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Core-dump-when-using-Call-Graph-on-Java-application-running/m-p/888689#M4755</guid>
      <dc:creator>edwh</dc:creator>
      <dc:date>2008-12-19T11:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Core dump when using Call Graph on Java application running</title>
      <link>https://community.intel.com/t5/Analyzers/Core-dump-when-using-Call-Graph-on-Java-application-running/m-p/888690#M4756</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/131772"&gt;edwh&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;I then tried getting the latest libJPI.so from the profiler SDK at &lt;A href="http://www.eclipse.org/tptp/home/downloads/" target="_blank"&gt;http://www.eclipse.org/tptp/home/downloads/&lt;/A&gt;, but this doesn't recognise the cg parameter. So perhaps VTune's libJPI.so is customised?&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;And it looks like the bug has been fixed in TPTP; see &lt;EM&gt;&lt;A href="http://webui.sourcelabs.com/eclipse/issues/199647" target="_blank"&gt;http://webui.sourcelabs.com/eclipse/issues/199647&lt;/A&gt;. &lt;/EM&gt;Does this mean that VTune's version is out of date?&lt;EM&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2008 15:28:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Core-dump-when-using-Call-Graph-on-Java-application-running/m-p/888690#M4756</guid>
      <dc:creator>edwh</dc:creator>
      <dc:date>2008-12-19T15:28:21Z</dc:date>
    </item>
  </channel>
</rss>

