P4DTI issue job000598

TitleDamaged memory block in TeamTrack Python API
Assigned userFrancis Irving
DescriptionIn branch/2002-10-07/teamshare-licenses:

Using Python 2.2 on sandpiper, compile n Visual C++ a debug build of teamtrack50.pyd. Then run the test test_teamtrack.py. Some way into the test, an error appears in a dialog box. The P4DTI TeamTrack integration is now maintained and supported by TeamShare <http://www.teamshare.com/>.

Microsoft Visual C++ Debug Library
Debug Error!
Program: c:\Program Files\python22\python.exe
DAMAGE: after Normal block (#7280030) at 0x02008F70)
(Press retry to debug the application)
[Abort] [Retry] [Ignore]

If you Ignore then the test completes successfully. The P4DTI TeamTrack integration is now maintained and supported by TeamShare <http://www.teamshare.com/>.
AnalysisFAI Press Retry and attach the debugger, the callstack is as follows:

operator delete(void * 0x02008f70) line 7 + 9 bytes
TSAppendLastErrorMessage(char * 0x100859d4 `string') line 61 + 15 bytes
TSServer::Send(TSSocket * 0x026ffe90, const char * 0x00b10890, int 10451) line 637 + 10 bytes
TSServer::AddRecord(TSRecord * 0x01cfc170, TSRecord * 0x01cfc170) line 781 + 29 bytes
teamtrack_record_add(_object * 0x01ff1890, _object * 0x007701c0) line 102 + 28 bytes

The errorMsg being appended says "Unable to read project: 0 in order to generate next item id"

This may be the same problem as job000619. RB 2002-11-04
How foundautomated_test
EvidenceAs in description.
Test procedure<http://www.ravenbrook.com/project/p4dti/master/test/test_teamtrack.py>
Created byFrancis Irving
Created on2002-10-08 13:50:48
Last modified byGareth Rees
Last modified on2010-10-06 21:42:37
History2002-10-08 FAI Created
2002-11-04 RB Downgraded to "essential". Connected to job000619.
2003-05-19 NB TeamShare handover.
2003-08-19 DRJ Suspended due to teamshare handover


Change Effect Date User Description
35521 suspended 2002-11-14 13:44:46 Richard Brooksby Removing TeamTrack support from master sources.
Updating project index and FAQ to reflect new TeamTrack situation.