Community
Participate
Working Groups
Build Identifier: 20100617-1415 The java program compiles and runs normally, but when I try to insert a probe and perform static instrumentation, I get this error. Reproducible: Always Steps to Reproduce: 1.probe i used ,uses before call, no import and targets, and a java code 2. 3.
Created attachment 187181 [details] this is the stack trace of the warning that I get
Mike, Please take a look and get Paul's help if necessary. Thanks!
Hi, Can you collect the information on the Help > About > Installation Details > Configuration tab? I am unable to reproduce this using the latest build, neither on Windows or Linux. However, in looking at into the code I am wondering if you are running on a 64-bit machine with a 64-bit JVM? Thanks, /mike.
Created attachment 187298 [details] config details
Thanks. This confirms my suspicion that you are running a 64-bit JVM. The static instrumentation is carried out by a native .exe that is packaged with the TPTP plugins. Currently only a 32-bit .exe is provided and so the problem is that we are failing to find a 64-bit .exe with which to instrument the class(es). I need to dig deeper to find out why no 64-bit version is included, but in the meantime you can perform the instrumentation by installing a 32-bit JVM and running Eclipse with that JVM.
The problem is that the packaging scripts don't include the 64-bit versions of probeinstrumenter. Sam, can you see what is involved in altering the build scripts to package this?
To clarify what we are missing; if you look in the existing package for org.eclipse.hyades.probekit plugin, you'll find: .../plugins/org.eclipse.hyades.probekit_4.3.1.v201009131917/os/win32/x86/ BCIEngProbe.dll ProbeAgentExtension.dll ProbeInstrumenter.exe .../plugins/org.eclipse.hyades.probekit_4.3.1.v201009131917/os/linux/x86/ BCIEngProbe.so ProbeAgentExtension.so probeinstrumenter We need corresponding copies under: os/win32/x86_64 os/linux/x86_64 Unless I am mistaken, it appears that the Eclipse workbench is not available on IPF, so we don't need to bother with that architecture.
Created attachment 187685 [details] ProbeKit Plugin
Created attachment 187686 [details] Package ProbeKit Hey Joel, Could you review these two patches? Thanks, Sam
A \ should be added in the p2.inf at the end of the 4th line. Patch looks good.
I would like to request that the following defect be considered for PMC approval for 4.7.2. 1. Explain why you believe this is a stop-ship defect. How does the defect manifest itself, and how will users of TPTP / consuming products be affected if the defect is not fixed? Files are missing under os/linux and os/win32 in the prokekit plugin 2. Is there a work-around? If so, why do you believe the work-around is insufficient? No. 3. Is this a regression or API breakage? Explain. No. 4. Does this require new API? No. 5. Who performed the code review? Joel 6. Is there a test case attached to the bugzilla record? N/A 7. What is the nature of the fix? What is the risk associated with this fix? The fix will include linux-em64t and windows-em64t BCIEngProbe, ProbeAgentExtension and ProbeInstrumenter in probekit plugin. 8. Is this fix related to any standards that TPTP adheres to? If so, who has validated that the fix continues to adhere to the standard? No.
Requesting PMC approval for TPTP 4.7.2.
Checked the probekit and package patches into HEAD. I made the update to the p2.inf as described in comment 10.
Created attachment 187734 [details] Update plugin number Updating plugin version number for org.eclipse.hyades.probekit.
Created attachment 187735 [details] Update feature version number Updating feature version number and copyright for org.eclipse.tptp.platform.probekit.
Version numbers for org.eclipse.tptp.platform.probekit and org.eclipse.hyades.probekit need to be updated.
Version number and copyright changes had been checked into HEAD.
Created attachment 187742 [details] Package ProbeKit Update Hey Joel, please review the patch and check it in Thanks, Sam
Patch "Package Probekit Update" looks good. I updated the Copyright and checked the change into HEAD.
Verified in build TPTP-4.7.2-201101271445. Files are now in the os/win32/x86_64 os/linux/x86_64 directories.
Closing in TPTP 4.7.2 on behalf of the originator/owner.
Closing.