- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I just installed the VTune Amplifier XD (2013) evaluation edition (I have had a license key ordered but I have not yet received it).
I am trying to look into some performance issues that are occurring in some Java /or/ C++ code (the Java layer is the main codebase, but via JNI we utilize C++ code, also). The application cannot run standalone, however - so I cannot launch if from the command line; it has to run within a processing server (that runs as a java process owned by "SYSTEM", according to the Task Manager - I could be mistaken, but I do not believe that I can change this to run as Administrator, which is the user I log onto the system as). I am also running on a vCloud image, it appears that we are using VMware vCloud Director 5.1. The last point that is probably important is that it isn't the Oracle JVM, but rather our internally packaged JVM (I'm not sure if there are differences though I know that technically only Oracle JVM is supported, and I've already received confirmation from our build team that they could rebuild everything with the Oracle JVM in a one-off build for me if that would resolve the issue with VTune).
I am able to create a project (attach to process) and start running a "Basic Hotspots" analysis. When I hit stop I get an error "The data cannot be displayed: there is no viewpoint applicable for the data." The collection log claims that Analysis completed successfully, same with finalization - but in the Collector Messages there is "Error: Failed to allocate Injector, Error = INJECTOR_ERR_FAILED_TO_CREATE_REMOTE_THREAD".
Aside from http://software.intel.com/en-us/forums/topic/281826#comments I have not found anything related to this error, and that was in 2011 and didn't seem to have a happy ending.
Is anyone familiar with this issue/have any ideas for how to get around it?
* Is it caused by being on a VM?
* Is it caused by using a non-Oracle JVM?
* Is it caused by attaching to a process that is run by a different user ("SYSTEM") than the user that is running VTune ("Administrator")?
Thank you to anyone who is able to provide any assistance,
Sophie
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sophie:
Yeah, this is not going to be pretty. The VM has no impact, since you are using Basic Hotspots. Either or both of the other two bullets could be the cause. The best thing for you to do with this complicated problem is to submit an issue at Intel® Premier Support so that our team of technical support engineers can work with you to determine the cause and a solution, if available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I appreciate your very fast reply, MrAnderson - even if it isn't with the information I was hoping for. Now unfortunately the link that you provided is telling me that I am not authorized, and doesn't really tell me what to do about it - is this because I do not have a full license yet for VTune, or does my employer need to buy access to this support extra?
Thanks,
Sophie
Edit: Excuse me, I typed vCloud instead of VTune. Corrected now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What type of license is it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I only have an evaluation copy now - I am still waiting for my license. My coworkers who ordered a vTune license recently received theirs about 2 weeks after placing their order (so I won't have mine for another 10 days, or so).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I>>>NJECTOR_ERR_FAILED_TO_CREATE_REMOTE_THREAD>>>
My uneducated guess is that CreateRemoteThread() Win API function failed.If we only could obtain the handle and check it for null value.
Can you post the log?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi iliyapolak,
Where would I find the vTune log file? I checked in the install directory for VTune as well as the AppData Local and Roaming directories.
Thanks,
Sophie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>>The collection log claims that Analysis completed successfully>>>
I mean this collection log.
- 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
@Sophie
Sorry probably misunderstood your post.
@Peter , @MrAnderson
In which directory does VTune store its log file(s)?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A few quick updates:
I found the configuration to change the processing server so that it is run by "Administrator" (so both VTune and the java process are owned by Administrator). I am still seeing the problem.
I also swapped out the java.exe and javaw.exe from our company's own flavor of JVM with the Oracle 6 JVM files (I tried to just use the Oracle JVM without any of our internal files, but that didn't work), unfortunately this did not work, either. (Though in this case, I would guess that I simply have not replaced enough of the files). This seemed like a good option to try while I wait for a one-off build to be created that uses the Oracle JVM.
I am still using a VM image.
Only thing different about the error message this time is that it didn't tell me finalization was successful twice, just once. That doesn't seem important, though.
-Sophie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I searched for any log files created by VTune on my computer ,but I was unsuccessful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am facing the same issue. Any ideas how to resolve this problem ?
I have tried starting amplifier 2013 and my application executable using administrator privileges. I have also tried running them in user mode. And I am getting the error.
Also, I attach Amplifier to running application. I am accessing my machine remotely via windows remote desktop application. The target system is running windows 7 x64 bit on 64-bit Intel Xeon E7 processor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
varun.nagpaal wrote:
I am facing the same issue. Any ideas how to resolve this problem ?
I have tried starting amplifier 2013 and my application executable using administrator privileges. I have also tried running them in user mode. And I am getting the error.
Also, I attach Amplifier to running application. I am accessing my machine remotely via windows remote desktop application. The target system is running windows 7 x64 bit on 64-bit Intel Xeon E7 processor
Can you search event viewer for any VTune related errors?
- 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'm trying to use an evaluation version of VTune Amplifier XE for windows 2016 to profile my application which is a windows service.
I got the following collection log:
[Instrumentation Engine]:Failed to allocate Injector, Error = INJECTOR_ERR_FAILED_TO_CREATE_REMOTE_THREAD
Profiling Details:
OS:windows server 2008 R2
target type: Attach to Process
target is a running windows Service
Could you please help me on this? Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page