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

Bug 187733

Summary: [regr] on Vista ACServer exits after profiling a java application
Product: z_Archived Reporter: Alan Haggarty <haggarty>
Component: TPTPAssignee: Samson Wai <samwai>
Status: CLOSED DUPLICATE QA Contact:
Severity: critical    
Priority: P1 CC: jkubasta, xubing
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: closed471

Description Alan Haggarty CLA 2007-05-17 22:23:06 EDT
Build ID:  I20070503-1400

Steps To Reproduce:
1. Workbench and ACServer running on Windows Vista
2. Launch profiling an external java application (ie: StartStop)
3. After the application finishes running ACServer exits

More information:
This is running the 0508C build with security off.
java is IBM JDK 1.5 SR3

The test program is from the automation framework:
/org.eclipse.tptp.ac.testautomation/automation-files/external_classes/StartStop.class

If instead of this ACServer I run one from Feb 15 (4.4.0)
that happens to be installed on this host I do not see
this problem.

The servicelog has 4 messages:
Received command for unrecognized interface: iid=org.eclipse.tptp.eventProvider, cmd=listenerAccepted
CONSOLE LAUNCHED COMMAND for connection(5001). 
File server started listening on port 10005
PC handleProcessEvents: Process has exited with status 0.
Comment 1 Samson Wai CLA 2007-05-24 15:25:49 EDT
The crash is caused by a tptp_free() of an invalid memory block. This is to be fixed as part of bug 182347.

File:
src-native-new/src/transport/transportSupport/TransportSupportSharedMem.c

Line:
tptp_free (pShmHdl);


*** This bug has been marked as a duplicate of bug 182347 ***
Comment 2 Kathy Chan CLA 2010-11-18 23:41:48 EST
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.