<?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:Error analyzing java application using Intel Inspector on Linux in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1468036#M23192</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for the feedback.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, the Intel Inspector tool doesn't support Java officially on Linux and Windows.&lt;/P&gt;&lt;P&gt;The issue is how to find memory leakage on Java programs, for that you may have to look out for other options available in the industry.&lt;/P&gt;&lt;P&gt;Sorry for the inconvenience caused.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also can you please confirm whether we can go forward and close this case?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If this resolves your issue, make sure to accept this as a solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would help others with similar issue. Thank you!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Diya&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 21 Mar 2023 08:17:21 GMT</pubDate>
    <dc:creator>DiyaN_Intel</dc:creator>
    <dc:date>2023-03-21T08:17:21Z</dc:date>
    <item>
      <title>Error analyzing java application using Intel Inspector on Linux</title>
      <link>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1463710#M23112</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have successfully used Intel Inspector to track down memory leaks on a Windows server machine. When I do the same on Linux I get the following output and the application does not even start:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Analysis started...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Result file: /home/marc/intel/inspxe/projects/Java/r005mi1/r005mi1.inspxe &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Analysis started for /opt/java/14.0.2/jdk/bin/java (pid = 6345) &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Loaded module: /opt/java/14.0.2/jdk/bin/java, address range [0x5589aa971000-0x5589aa97407b] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Loaded module: /lib64/ld-linux-x86-64.so.2, address range [0x7efc9512f000-0x7efc9515e18f], minimal analysis &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Loaded module: [vdso], address range [0x7fffb6ee9000-0x7fffb6ee9b31], minimal analysis &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Loaded module: /lib/x86_64-linux-gnu/libz.so.1, address range [0x7efc7dba1000-0x7efc7dbbc0b7] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Loaded module: /opt/java/14.0.2/jdk/bin/../lib/libjli.so, address range [0x7efc7db07000-0x7efc7db173ef] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Loaded module: /lib/x86_64-linux-gnu/libpthread.so.0, address range [0x7efc7daac000-0x7efc7dace477] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Loaded module: /lib/x86_64-linux-gnu/libdl.so.2, address range [0x7efc7daa6000-0x7efc7daab10f], minimal analysis &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Loaded module: /lib/x86_64-linux-gnu/libc.so.6, address range [0x7efc7d8b4000-0x7efc7daa565f] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Loaded module: /opt/java/14.0.2/jdk/lib/server/libjvm.so, address range [0x7efc7b745000-0x7efc7c8b151f] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Warning: Detected fatal signal in the application. See result for details. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Process /opt/java/14.0.2/jdk/bin/java exited with code 0. Leak analysis starting. Please wait... &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Unloaded module: /opt/java/14.0.2/jdk/bin/java &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Unloaded module: /lib64/ld-linux-x86-64.so.2 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Unloaded module: [vdso] &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Unloaded module: /lib/x86_64-linux-gnu/libz.so.1 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Unloaded module: /opt/java/14.0.2/jdk/bin/../lib/libjli.so &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Unloaded module: /lib/x86_64-linux-gnu/libpthread.so.0 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Unloaded module: /lib/x86_64-linux-gnu/libdl.so.2 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Unloaded module: /lib/x86_64-linux-gnu/libc.so.6 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Unloaded module: /opt/java/14.0.2/jdk/lib/server/libjvm.so &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Completed analysis for /opt/java/14.0.2/jdk/bin/java &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Application exit code: 139 &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Result file: /home/marc/intel/inspxe/projects/Java/r005mi1/r005mi1.inspxe &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Analysis completed&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that I have also tried to analyze a simple Hello World like Java application, it results in the same error. I suppose that the extensive use of signals of the JVM is causing problems. Using the JVM option -Xrs did not help. Note that analysis works perfectly on Windows.&lt;/P&gt;
&lt;P&gt;Any help / suggestions are highly welcome!&lt;/P&gt;
&lt;P&gt;Marc&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 11:52:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1463710#M23112</guid>
      <dc:creator>Marcimarc</dc:creator>
      <dc:date>2023-03-09T11:52:47Z</dc:date>
    </item>
    <item>
      <title>Re:Error analyzing java application using Intel Inspector on Linux</title>
      <link>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1464170#M23115</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting in Intel Communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please share the following details-&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1. Sample reproducer code and the exact steps to reproduce.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;2. Intel Inspector version.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;3. Kernel Version.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;4. OS and Processor details.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Diya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Mar 2023 11:22:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1464170#M23115</guid>
      <dc:creator>DiyaN_Intel</dc:creator>
      <dc:date>2023-03-10T11:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error analyzing java application using Intel Inspector on Linux</title>
      <link>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1464293#M23120</link>
      <description>&lt;P&gt;Hi Diya,&lt;/P&gt;
&lt;P&gt;Steps to reproduce:&lt;/P&gt;
&lt;P&gt;* Install Java if not yet done&lt;/P&gt;
&lt;P&gt;* Create file Hello.java containing the following content: &lt;FONT face="courier new,courier"&gt;class Hello {&amp;nbsp; public static void main(String[] ignored) { System.out.println("Hello"); } }&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;* Compile it using &lt;FONT face="courier new,courier"&gt;javac Hello.java&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;* Run it without inspector, it should print "Hello" on the console: &lt;FONT face="courier new,courier"&gt;java Hello&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;* Now run it with the inspector: &lt;FONT face="courier new,courier"&gt;/opt/intel/oneapi/inspector/latest/bin64/inspxe-cl -collect mi1 -knob detect-leaks-on-exit=true -- /usr/bin/java Hello&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;--&amp;gt; In my case it results in a message &lt;FONT face="courier new,courier"&gt;Run terminated abnormally. Some data may be lost.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;Intel Inspector version is 2023.0 (build 606330)&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;OS is Ubuntu 20.04.1 kernel version is 5.15.0-1028-aws&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;CPU is Intel Xeon Platinum 8259CL.&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;Let me know if you need additional data.&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;Thanks and have a great weekend!&lt;/P&gt;
&lt;P class="sub_section_element_selectors"&gt;Marc&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 17:12:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1464293#M23120</guid>
      <dc:creator>Marcimarc</dc:creator>
      <dc:date>2023-03-10T17:12:05Z</dc:date>
    </item>
    <item>
      <title>Re:Error analyzing java application using Intel Inspector on Linux</title>
      <link>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1465976#M23137</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We are investigating your issue at our end and working on this internally. &lt;/P&gt;&lt;P&gt;We will get back to you with an update soon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Diya&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Mar 2023 08:02:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1465976#M23137</guid>
      <dc:creator>DiyaN_Intel</dc:creator>
      <dc:date>2023-03-15T08:02:09Z</dc:date>
    </item>
    <item>
      <title>Re:Error analyzing java application using Intel Inspector on Linux</title>
      <link>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1466983#M23163</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Good day to you.&lt;/P&gt;&lt;P&gt;We were able to reproduce the issue from our end.&lt;/P&gt;&lt;P&gt;Actually, Intel Inspector has certain application coding requirements.&lt;/P&gt;&lt;P&gt;It supports the following programming languages:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C++&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fortran&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So, please try Intel Inspector for applications with the above-supported languages.&lt;/P&gt;&lt;P&gt;You can find it in the release notes of &lt;SPAN style="font-size: 12px;"&gt;Intel®&amp;nbsp;Inspector 2023.0&lt;/SPAN&gt;: &lt;A href="https://www.intel.com/content/www/us/en/developer/articles/release-notes/inspector-release-notes.html" rel="noopener noreferrer" target="_blank" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Roboto, Oxygen, Ubuntu, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif;"&gt;https://www.intel.com/content/www/us/en/developer/articles/release-notes/inspector-release-notes.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If this resolves your issue, make sure to accept this as a solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would help others with similar issues. Thank you!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Diya&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Mar 2023 09:15:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1466983#M23163</guid>
      <dc:creator>DiyaN_Intel</dc:creator>
      <dc:date>2023-03-17T09:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Error analyzing java application using Intel Inspector on Linux</title>
      <link>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1467606#M23178</link>
      <description>&lt;P&gt;Hello Diya,&lt;/P&gt;
&lt;P&gt;Thanks for your message. But why does the tool work just fine on Windows? This is a major limitation from my POV since it means that you cannot use the tool on Linux to analyse memory leaks for applications that use a Java VM and JNI.&lt;/P&gt;
&lt;P&gt;For me it means that I have to run the application on a Windows server. Unfortunately the leak is not reproducible on Windows. I am going to use &lt;CODE&gt;/proc/PID/smaps&lt;/CODE&gt; now to identify leak candidates but this is a messy task especially when the content of the memory allocations contains just binary stuff that cannot easily be matched with lines in your code base.&lt;/P&gt;
&lt;P&gt;Best greetings from Germany,&lt;/P&gt;
&lt;P&gt;Marc&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 06:26:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1467606#M23178</guid>
      <dc:creator>Marcimarc</dc:creator>
      <dc:date>2023-03-20T06:26:54Z</dc:date>
    </item>
    <item>
      <title>Re:Error analyzing java application using Intel Inspector on Linux</title>
      <link>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1468036#M23192</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for the feedback.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, the Intel Inspector tool doesn't support Java officially on Linux and Windows.&lt;/P&gt;&lt;P&gt;The issue is how to find memory leakage on Java programs, for that you may have to look out for other options available in the industry.&lt;/P&gt;&lt;P&gt;Sorry for the inconvenience caused.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also can you please confirm whether we can go forward and close this case?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If this resolves your issue, make sure to accept this as a solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would help others with similar issue. Thank you!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Diya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Mar 2023 08:17:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1468036#M23192</guid>
      <dc:creator>DiyaN_Intel</dc:creator>
      <dc:date>2023-03-21T08:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error analyzing java application using Intel Inspector on Linux</title>
      <link>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1468045#M23194</link>
      <description>&lt;P&gt;I have accepted your answer but I still believe there are options for a fix on your end since the tool works fine with JVMs running on Windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Marc&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 08:41:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1468045#M23194</guid>
      <dc:creator>Marcimarc</dc:creator>
      <dc:date>2023-03-21T08:41:45Z</dc:date>
    </item>
    <item>
      <title>Re:Error analyzing java application using Intel Inspector on Linux</title>
      <link>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1468108#M23196</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are closing this case as of now.&lt;/P&gt;&lt;P&gt;If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards, &lt;/P&gt;&lt;P&gt;Diya&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Mar 2023 11:54:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Error-analyzing-java-application-using-Intel-Inspector-on-Linux/m-p/1468108#M23196</guid>
      <dc:creator>DiyaN_Intel</dc:creator>
      <dc:date>2023-03-21T11:54:00Z</dc:date>
    </item>
  </channel>
</rss>

