Re: RecordSave() crashes
Aldevinas Katkus
1-28-22
Update:
the same procedure works if I use tecnics>>settings>>Timed Operations>>Background tasks>>Hal routine and crashes if I use NewPeriodicTask2() to run the same procedure every 60/180 seconds (interval does not matter, crashes on the first run).
What I can see, RecordSave() is beging executed in both cases, but RecordStore(ContactCUr,false) fails with crash in Periodic task.


Any ideas why this happens?


With tecnics>>settings>>Timed Operations>>Background tasks>>Hal routine:
2022-01-28 12:12:22 MyNewContactCUDsmRemote 2 GetNextCustNr=AK5

2022-01-28 12:12:22 MyNewContactCUDsmRemote 3 will store ContactCUr.Code=AK5
2022-01-28 12:12:22 CUVcRecordSave AK5
2022-01-28 12:12:22 MyNewContactCUDsmRemote store success


With periodic tasks:
2022-01-28 11:44:37 /THREAD(13) MyNewContactCUDsmRemote 2 GetNextCustNr=AK5
2022-01-28 11:44:37 /THREAD(13) MyNewContactCUDsmRemote 3 will store ContactCUr.Code=AK5
2022-01-28 11:44:37 /THREAD(13) CUVcRecordSave AK5
2022-01-28 11:44:37 /THREAD(13) Damaged database: D4DiskStore dvp!=gp->MasterDVp

2022-01-28 11:44:37 /THREAD(13) D4DiskStore

2022-01-28 11:44:37 /THREAD(13) dump of call stack


Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Hello, Kindly please report the bug so that we can further investigate and resolve it. Thank you. Best regards, Benjamin...
11:31 3 May 2024
Hi, No changes should have been made that would increase client's HDB file. Please try to delete HANSA.HDB from client folder and reconnect to server and check if it will grow to 30MB again. ...
10:14 30 Apr 2024