- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Memory error analysis: startedResult file: [/home/lna/intel/inspxe/Projects/memory/r000mi2/r000mi2.inspxe]Error: An internal error has occurred. Our apologies for this inconvenience. Please gather a description of the steps leading up to the problem and contact the Intel customer support team.Application exit code: [137]Error: An internal error has occurred. Our apologies for this inconvenience. Please gather a description of the steps leading up to the problem and contact the Intel customer support team.Result file: [/home/lna/intel/inspxe/Projects/memory/r000mi2/r000mi2.inspxe]Memory error analysis: terminated
In the main window I can still see the following message (as if the inspector were still working):
Please wai while result data is collected ...Estimated collection time may be 2 to 320 times normal target execution time. [...]
Using Default Image fileUse -? for additional options and usage modelScene contains 8 bounded objects.CPU Time: 0.024 seconds.
Usage:./tachyon.find_and_fix_memory_errors modelfile [options]Model file formats supported:filename.dat -- The model files originated with this package.filaname.ac -- AC3D model files.filename.nff -- The NFF scene format used by Eric Haines' SPD.Valid options: (** denotes default behaviour)+D enable run-time display updating (if build supports it) **-D disable run-time display updating-nobounding-boundthresh XXX (** default threshold is 25)
Scene contains 8 bounded objects.CPU Time: 0.026 seconds.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just want to verify this problem on my side. I used Update 1 version
[root@kentsfield-01 ~]# export PATH=$PATH:/opt/intel/inspector_xe_2011/bin64/
[root@kentsfield-01 ~]# inspxe-cl -version
Intel Inspector XE 2011 Update 1 (build 131372) Command Line tool
Copyright (C) 2009-2010 Intel Corporation. All rights reserved.
[root@kentsfield-01 en]# cd /opt/intel/inspector_xe_2011/samples/en
[root@kentsfield-01 en]# tar xzf tachyon_insp_xe.tgz
[root@kentsfield-01 en]# cd tachyon_insp_xe
[root@kentsfield-01 tachyon_insp_xe]# make
[root@kentsfield-01 tachyon_insp_xe]# inspxe-cl -collect mi2 -- ./tachyon.find_and_fix_memory_errors dat/simpleballs.dat
Used suppression file(s): []
Note: using generic X11 with default visual for 24-bit color depth
Scene contains 8 bounded objects.
CPU Time: 2.818 seconds.
7 new problem(s) found
1 Invalid memory access problem(s) detected
4 Memory leak problem(s) detected
2 Mismatched allocation/deallocation problem(s) detected
Note:
1. The application is X11-window based, even you haven't seen any display it still ran (24-bit color depth required).
2. Please check if there is r000mi2 (result directory) generated. You can use inspxe-gui to open result file (.inspxe file) from this directory. -OR- use command line to view report in detail:
[root@kentsfield-01 tachyon_insp_xe]# inspxe-cl -report problems -r r000mi2
Used suppression file(s): []
Problem P1: Error: Mismatched allocation/deallocation
find_and_fix_memory_errors.cpp(170): Error X1: P1: Mismatched allocation/dealloc
ation: Allocation site: Function operator(): Module tachyon.find_and_fix_memory_
errors
find_and_fix_memory_errors.cpp(175): Error X2: P1: Mismatched allocation/dealloc
ation: Mismatched deallocation site: Function operator(): Module tachyon.find_an
d_fix_memory_errors
Problem P2: Error: Mismatched allocation/deallocation
xvideo.cpp(203): Error X3: P2: Mismatched allocation/deallocation: Allocation si
te: Function init_window: Module tachyon.find_and_fix_memory_errors
xvideo.cpp(235): Error X4: P2: Mismatched allocation/deallocation: Mismatched de
allocation site: Function terminate: Module tachyon.find_and_fix_memory_errors
Problem P3: Error: Invalid memory access
find_and_fix_memory_errors.cpp(166): Error X5: P3: Invalid memory access: Write:
Function operator(): Module tachyon.find_and_fix_memory_errors
Problem P4: Error: Memory leak
find_and_fix_memory_errors.cpp(163): Error X14: P4: Memory leak: Allocation site
: Function operator(): Module tachyon.find_and_fix_memory_errors
Problem P5: Error: Memory leak
find_and_fix_memory_errors.cpp(163): Error X15: P5: Memory leak: Allocation site
: Function operator(): Module tachyon.find_and_fix_memory_errors
Problem P6: Error: Memory leak
find_and_fix_memory_errors.cpp(163): Error X16: P6: Memory leak: Allocation site
: Function operator(): Module tachyon.find_and_fix_memory_errors
Problem P7: Error: Memory leak
find_and_fix_memory_errors.cpp(163): Error X17: P7: Memory leak: Allocation site
: Function operator(): Module tachyon.find_and_fix_memory_errors
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Inspector XE 2011 Update 2 (build 134657) Command Line toolCopyright (C) 2009-2011 Intel Corporation. All rights reserved.
src/video.cpp: In function int main_init_parts(int, char**):src/video.cpp:124: warning: deprecated conversion from string constant to char*
Used suppression file(s): []Error: An internal error has occurred. Our apologies for this inconvenience. Please gather a description of the steps leading up to the problem and contact the Intel customer support team.Error: An internal error has occurred. Our apologies for this inconvenience. Please gather a description of the steps leading up to the problem and contact the Intel customer support team.Error: Error: Cannot find input file. Cannot continue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got little confused about Inspector XE 2011 version, now is Update 1 public in Intel Register Download Center.
Amway, I try to reproduce itwith non-root user.
[root@kentsfield-01 ~]# cp -r /opt/intel/inspector_xe_2011/samples/en/tachyon_insp_xe /home/peter
[root@kentsfield-01 peter]# chown -R peter tachyon_insp_xe
[root@kentsfield-01 ~]# su peter
[peter@kentsfield-01 tachyon_insp_xe]$ source /opt/intel/composerxe-2011.0.084/bin/compilervars.sh intel64
[peter@kentsfield-01 tachyon_insp_xe]$ make clean
[peter@kentsfield-01 tachyon_insp_xe]$ make
Now can run inspxe-cl, but please check executable generated first. (Even I can't see applications' screen update since non-root user has no privilege to open X11 display - but memory issues in problem still can be detected)
I wonder if there is version issue, or some components are corrupted - you need to uninstall/reinstall the product?
[peter@kentsfield-01 tachyon_insp_xe]$ inspxe-cl -collect mi2 -- ./tachyon.find_and_fix_memory_errors dat/simpleballs.dat
Used suppression file(s): []
Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
Can't open X11 display localhost:10.0
Scene contains 8 bounded objects.
CPU Time: 3.197 seconds.
7 new problem(s) found
1 Invalid memory access problem(s) detected
5 Memory leak problem(s) detected
1 Mismatched allocation/deallocation problem(s) detected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suggest touninstall/reinstall the component - Inspector XE 2011. Then verify example ./tachyon.find_and_fix_memory_errorsagain, if Inspetcor XE can't detect error, can you try other simple example without X11 window required.
If it is not application specific problem, I suggest to work on other supported OS in release notes:
Supported operating systems:
o Red Hat* Enterprise Linux* 4 Update 7, 8
o Red Hat* Enterprise Linux* 5 Update 4 and 5
o Red Hat* Enterprise Linux* 6
o Red Hat* Fedora* 12, 13
o SUSE* Linux Enterprise Server* 10 Service Pack 2 and 3
o SUSE* Linux Enterprise Server* 11
o CentOS* 5.5
o Asianux* 3.0
o Debian* 4, 5
(I don't mean Ubuntu* 10.10 can't work, but not guaranteed. Sorry that I worked on RHEL5 and can't reproduce this problem)
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Red Hat Enterprise Linux* 4.0, 5.0, 6.0 (IA-32/Intel 64)- Fedora* 12, 13 (IA-32/Intel 64)- SuSE Linux* Enterprise Server* 10.x, 11.0 (IA-32)- SuSE Linux* Enterprise Server* 10.0, 11.1 SP1 (Intel 64)- Asianux* Server 3.0 (IA-32/Intel 64)- Ubuntu* 10.04 (IA-32/Intel 64)- Debian 5.0 (IA-32/Intel 64)
--------------------------------------------------------------------------------Installing Inspector XE Command line interface component... done--------------------------------------------------------------------------------Installing Inspector XE Graphical user interface component... done--------------------------------------------------------------------------------
Using Default Image fileUse -? for additional options and usage modelScene contains 8 bounded objects.CPU Time: 0.048 seconds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please note that I posted on March 15, 2011 7:25 PM CST (I worked on RHEL5) - which is for Update 1. I cannot find any Update 2 info so far from https://registrationcenter.intel.com/RegCenter/Download.aspx?productid=1392&sn=
Also you can find supported OSs from http://registrationcenter.intel.com/irc_nas/2046/Release_Notes_InspectorXE_Linux.pdf
I don't know if it was caused by X11 libraries or other reasons on Ubuntu 10.04 or 10.10. My suggestions are:
1) test non-graphic application with Inspetcor XE 2011, write it simply by yourself like as -
void memory_leak()
{
printf("test memory leak\n");
int b[16];
int *a = (int *)malloc(16*sizeof(int));
for (int i=0; i<16; i++)
b = *a++;
}
2) test tachyon.find_and_fix_memory_errors on other OS, whichis claimedto be supported in release notes.
I still think this is not the product issue, but is application specific issue on specific OS - since youhave problem to run tachyon.find_and_fix_memory_error without Inspector XE. But I can do it on RHEL5
[root@kentsfield-01 tachyon_insp_xe]# ./tachyon.find_and_fix_memory_errors dat/simpleballs.dat
Note: using generic X11 with default visual for 24-bit color depth
Scene contains 8 bounded objects.
CPU Time: 0.037 seconds.
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--------------------------------------------------------------------------------Installing Intel C++ Compiler XE 12.0 Update 2 for Linux*(for applications running on IA-32) component... done--------------------------------------------------------------------------------Installing Intel C++ Compiler XE 12.0 Update 2 for Linux*(for applications running on Intel 64) component... done--------------------------------------------------------------------------------Installing Intel Fortran Compiler XE 12.0 Update 2 for Linux*(for applications running on IA-32) component... done--------------------------------------------------------------------------------Installing Intel Fortran Compiler XE 12.0 Update 2 for Linux*(for applications running on Intel 64) component... done--------------------------------------------------------------------------------Installing Intel Debugger 12.0 Update 2 for Linux*(for applications running on IA-32) component... done--------------------------------------------------------------------------------Installing Intel Debugger 12.0 Update 2 for Linux*(for applications running on Intel 64) component... done--------------------------------------------------------------------------------Installing Intel Math Kernel Library 10.3 Update 2 for Linux*(for applications running on IA-32) component... done--------------------------------------------------------------------------------Installing Intel Math Kernel Library 10.3 Update 2 for Linux*(for applications running on Intel 64) component... done--------------------------------------------------------------------------------Installing Intel Integrated Performance Primitives 7.0 Update 2 for Linux*(for applications running on IA-32) component... done--------------------------------------------------------------------------------Installing Intel Integrated Performance Primitives 7.0 Update 2 for Linux*(for applications running on Intel 64) component... done--------------------------------------------------------------------------------Installing Intel Threading Building Blocks 3.0 Update 5 core files andexamples for Linux* component... done--------------------------------------------------------------------------------Installing Inspector XE Command line interface component... done--------------------------------------------------------------------------------Installing Inspector XE Graphical user interface component... done--------------------------------------------------------------------------------Installing Amplifier XE Command line interface component... done--------------------------------------------------------------------------------Installing Amplifier XE driver kit component... done--------------------------------------------------------------------------------Installing Amplifier XE user interface component... done--------------------------------------------------------------------------------
#includevoid memory_leak(){printf("test memory leak\n");int b[16];int *a = (int *)malloc(16*sizeof(int));int i=0;for (i=0; i<16; i++)b = *a++;}int main(){memory_leak();return 0;}
test memory leak
$ inspxe-cl -collect mi2 -- ./a.outUsed suppression file(s): []Error: An internal error has occurred. Our apologies for this inconvenience. Please gather a description of the steps leading up to the problem and contact the Intel customer support team.Error: An internal error has occurred. Our apologies for this inconvenience. Please gather a description of the steps leading up to the problem and contact the Intel customer support team.Error: Error: Cannot find input file. Cannot continue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good luck.
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm having the same issue with inspectorwith my application. I basically have the same setup (Ubunu 10.10, inspector update 2, etc) as you. Did youlook into it further ? If so, have you found a solution or your still having problems ?
Cheers,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's what I noticed:
- when installing the inspector from its own package, you get update 1
- when installing the inspector which comes bundled with the parallel studio, you get update 2, which has a larger build number. This packaging inconsistency just adds confusion, apparently even for Intel support!
- under Ubuntu 10.10, inspector updates 1 and 2 both fail with the internal errors
- under Fedora 13 (which I installed in a virtual machine for the purpose), inspector 1 appears to work fine. I have not tested update 2.
I have not tried to investigate what it is about Ubuntu 10.10 that throws the inspector off.
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good luck.
Regards, Peter
See my this post:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not sure who you were replying to in #12.
I did read your post #9 and followed that link. As I said, the link you gave to leads to a download of update 1 of the Inspector, which is build #131372.
However, if you go to download the Parallel Studio (http://registrationcenter-download.intel.com/akdlm/irc_nas/2065/parallel_studio_xe_2011_update1_intel64.tgz), you get a later version of Inspector as part of the package: it is called update 2 and has build ID #134657.
This is why your instructions are self-contradictory: you're telling users to download the "latest" Inspector, but in fact the latest Inspector build appears to be elsewhere.
In any case, to re-iterate the point I made earlier, the Inspector version used does not seem to make a difference in my hands under Ubuntu 10.10 or Fedora 13. Both fail under the former and succeed under the latter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
root@...# inspxe-cl -collect mi2 -- ./tachyon.find_and_fix_memory_errors dat/simpleballs.datUsed suppression file(s): []Scene contains 8 bounded objects.CPU Time: 3.135 seconds.11 new problem(s) found1 Invalid memory access problem(s) detected8 Memory leak problem(s) detected1 Mismatched allocation/deallocation problem(s) detected1 Uninitialized partial memory access problem(s) detected
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page