Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 118943 - Profiling fails on after 5th run of the same class
Summary: Profiling fails on after 5th run of the same class
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC other
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Samson Wai CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-01 18:05 EST by Navid Mehregani CLA
Modified: 2016-05-05 11:01 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Navid Mehregani CLA 2005-12-01 18:05:24 EST
To reproduce, follow the instructions below:

- Start the RAC on AS400
- Launch StartStop (located in /home/testrnq/classes on toras1cb) 6 or 7 times
- The RAC stops sending responses back to the client for the 4th or 5th run and the application is never profiled properly.  A terminated agent shows up without any data.  The application is never launched on the remote machine.
- The RAC doesn't send any responses back to the client (i.e. none of the process launched, agent active/inactive, process terminated responses are sent back to the client side)

Our test cases do not provide coverage for this use case.  

Please reassign bug to Samson.
Comment 1 Samson Wai CLA 2006-04-06 15:03:51 EDT
Will take a look in i3.
Comment 2 Samson Wai CLA 2006-06-06 15:56:02 EDT
Moving to TPTP 4.3.
Comment 3 Samson Wai CLA 2006-10-30 10:27:24 EST
Not containable in 4.3 and retarget to 4.4. Please let me know if you have any concern.
Comment 4 Samson Wai CLA 2007-01-31 12:21:09 EST
Retarget to future due to resource limitation.
Comment 5 Alan Haggarty CLA 2007-04-09 17:11:14 EDT
I also see problems trying this case on Windows XP.
If I launch 5-6 instances of StartStop there will often be one
that is stuck in state <monitoring> profiling but no start time and 
no progress (console never produces first expected prompts.

I have managed to sometimes get the error:
IWAT0004W Problems occurred while launching the java process

Reason:
 Profiler unable to establish connection with Agent Controller via
ShareMemory. ReturnCode from attempt is -3

This results from setting up the first profile launch for StartStop and
then quickly clicking 5 or 6 times on the profile icon. After getting this
error there are successfull launches without restarting the ac.
Comment 6 Navid Mehregani CLA 2007-04-09 17:54:14 EDT
I was also able to reproduce this on Windows.  I had to run multiple profiling sessions quickly.  I believe this error is from the JVMPI agent.  Setting target milestone to '--' so it can be triaged.
Comment 7 jkubasta CLA 2007-04-15 07:50:42 EDT
No plan to fix
Comment 8 Valentina Popescu CLA 2007-05-29 00:16:11 EDT
Updated target to match the iteration when this defect was processed
Comment 9 Paul Slauenwhite CLA 2009-06-30 12:06:52 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.