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

Bug 187056

Summary: SampleClient and MyFileTransferClient AC SDK C++ samples terminate AC on exit
Product: z_Archived Reporter: Kiryl Kazakevich <kiryl.kazakevich>
Component: TPTPAssignee: Igor Alelekov <igor.alelekov>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P1 CC: apnan, jkubasta, samwai
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: closed460
Attachments:
Description Flags
patch none

Description Kiryl Kazakevich CLA 2007-05-15 13:32:36 EDT
Platform: EM64T
OS: Windows 2003 Server R2, Windows XP (both x64 Edition)
Build: TPTP-4.4.0-200705080100B

SampleClient runs and completes successfully, but after it exits AC is terminated. It happens silently on Windows Server 2003, and with system pop-up message "ASServer.exe has encountered a problem and needs to close" on Windows XP.

How to reproduce:
1) install and configure AC
2) run AC
3) run SampleClient

The similar behavior is for MyFileTransferClient SDK sample. It completes successfully and after that AC is terminated.
Comment 1 Kiryl Kazakevich CLA 2007-05-16 05:14:50 EDT
This is true also for Windows Vista IA-32.
Comment 2 Igor Alelekov CLA 2007-05-16 08:45:46 EDT

*** This bug has been marked as a duplicate of bug 182347 ***
Comment 3 Kiryl Kazakevich CLA 2007-06-04 07:15:47 EDT
The problem is still reproducible on Vista IA-32 with the TPTP-4.4.0-200705310943 build. Windows Sever 2003 EM64T is OK.
Comment 4 Igor Alelekov CLA 2007-06-05 05:28:54 EDT
Created attachment 70102 [details]
patch

Hi Samson,
Could you please review the patch?
It fixes AC crash on Vista caused by allocating and freeing memory across module boundaries.
Tnahk you.
Comment 5 Igor Alelekov CLA 2007-06-05 05:33:04 EDT
*** Bug 187729 has been marked as a duplicate of this bug. ***
Comment 6 Samson Wai CLA 2007-06-05 10:38:25 EDT
Hi Igor. Fix looks good. Pleaes request approval. Thanks.
Comment 7 jkubasta CLA 2007-06-06 00:32:38 EDT
Was this fix checked in?
Comment 8 Igor Alelekov CLA 2007-06-06 01:35:35 EDT
Hi Samson,
Please check the patch in. Thanks
Comment 9 Samson Wai CLA 2007-06-06 09:37:39 EDT
The patch is now checked in.
Comment 10 jkubasta CLA 2007-06-06 15:49:25 EDT
Patch checked into Head
Comment 11 Paul Slauenwhite CLA 2009-06-30 12:07:31 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.