Re: crash with GetMemPages() failed in single user
Aldevinas Katkus
12-28-22
I made a repeatable crash case (Windows 10, single user mode). This import crashes when I run it 4th time in a row in 2021-04-18 version and 3rd time in 2022-11-25 version. In 2022-11-25 version the import is also much slower than the older version.

Line 7489 is the last line in the file. First 2-3 runs everything is OK, then it crashes.

2022-12-28 11:57:26 AD SomeFunction call. Line 7489
2022-12-28 11:57:26 AD runtime error, hal stack is:Stack empty
2022-12-28 11:57:26 AD dump of call stack


updating function boolean SomeFunction(var record CUVc CUr)
begin
RecordClear(CUr);

RecordNew(CUr);
SomeFunction = true;
return;
end;

global
updating procedure ImportTestIn(record RcVc RepSpec)
begin
string 255 tstr;
record NotepadVc Noter;
record MailVc Mailr;
record CUVc CUr,oldCUr,tCUr;
longint LineNr;

LineNr = 0;
while (NextImportLine(false)) begin
LineNr = LineNr + 1;
RecordClear(Mailr);
RecordClear(tCUr);

if (SomeFunction(CUr)) then begin
LogText(0,"SomeFunction call. Line " & LineNr);
RecordCopy(oldCUr,CUr);
end else begin
end;
end;

return;
end;
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
Piotr Wycichowski
Hi, I noticed that when I create an Activity as the To do (task type) for myself, then I can see this task immediately on the list of Task Manager. When somebody else will do the task for me, then ...
08:25 10 May 2024
Aldevinas Katkus
Actually a new version of this bug is SL>>Reports>>Periodic customer statement "accumulates" amounts Not sure why it was duplicated, I clicked "submit"only once....
08:09 10 May 2024