Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332794

Summary: SystemProperty test case failed on both Platform.Execution.ProbeKit.JVMTI.testsuite and Platform.Execution.Probekit.JVMTI.Linuxia32.testsuite
Product: z_Archived Reporter: Samuel Wu <samwu>
Component: TPTPAssignee: Paul Klicnik <pklicnik>
Status: CLOSED WORKSFORME QA Contact: Kathy Chan <kathy>
Severity: normal    
Priority: P2 CC: pklicnik
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Samuel Wu CLA 2010-12-16 15:57:07 EST
Build ID: TPTP-4.7.2-201012121900
JRE: IBM 1.6.0

Test cases: 
Platform.Execution.Probekit.JVMTI.Linuxia32.testsuite
Platform.Execution.ProbeKit.JVMTI.testsuite             

They both have the same error append at the end in the output file:
java.lang.Exception: Stack Dump
	at SystemProperty_probe$Probe_0._beforeCall(SystemProperty_probe.java:32)
	at com.sample.test.CodeFlow.main(CodeFlow.java:118)
[CodeFlow] Wow, that's a lot of arguments!
Comment 1 Kathy Chan CLA 2010-12-20 15:37:50 EST
Sam,

Is this a regressoin from TPTP 4.7.1?


Paul, 

Please take a look.
Comment 2 Samuel Wu CLA 2010-12-20 16:39:37 EST
The same error occurred when I ran it on build ID: TPTP-4.7.1 with java IBM 1.6.0 for both SystemProperty test case in Platform.Execution.Probekit.JVMTI.Linuxia32.testsuite
Platform.Execution.ProbeKit.JVMTI.testsuite

Here is the output:
[CodeFlow] Finally in Conditions()
[CodeFlow] Exception will be thrown
[CodeFlow] Exception handled
[CodeFlow] java.lang.Exception: Test exception
[CodeFlow] This time we won't catch it
[CodeFlow] Finally in Exceptions()
[CodeFlow] Caught exception in main
Found [Hello!] in com/sample/test/CodeFlow.manyargs (arg[8])
Probe Exception:java.lang.Exception: Stack Dump
java.lang.Exception: Stack Dump
	at SystemProperty_probe$Probe_0._beforeCall(SystemProperty_probe.java:32)
	at com.sample.test.CodeFlow.main(CodeFlow.java:118)
[CodeFlow] Wow, that's a lot of arguments!
Comment 3 Paul Klicnik CLA 2011-01-17 10:50:47 EST
The stack trace is thrown by the probe when the -DPROBE.FINDVAR.DUMPSTACK JVM argument is provided. I suspect that this argument was left in the launch configuration when originally tested.

Tested using TPTP-4.7.2-201012291900 without problem. Closing