You are not logged in.
Pages: 1
I am getting a big number of errors from tsynlog in my program like the following:
Exception OS: 20251117 10025441 ! EXCOS EExternalException (1073807370) [Main] at 7ffa5761804a {8 4.64 6.21 10 4.9GB/7.7GB 8.2GB/9.7GB 65f41b01}
Exception OS: 20251117 10025441 ! EXCOS EExternalException (1073807366) [Main] at 7ffa5761804a {8 4.64 6.21 10 4.9GB/7.7GB 8.2GB/9.7GB 65f41b01}
Exception OS: 20251117 10025441 ! EXCOS EExternalException (1073807370) [Main] at 7ffa5761804a {8 4.64 6.21 10 4.9GB/7.7GB 8.2GB/9.7GB 65f41b01}
Exception OS: 20251117 10025441 ! EXCOS EExternalException (1073807366) [Main] at 7ffa5761804a {8 4.64 6.21 10 4.9GB/7.7GB 8.2GB/9.7GB 65f41b01}
Exception OS: 20251117 10025441 ! EXCOS EExternalException (1073807370) [Main] at 7ffa5761804a {8 4.64 6.21 10 4.9GB/7.7GB 8.2GB/9.7GB 65f41b01}
Exception OS: 20251117 10025441 ! EXCOS EExternalException (1073807370) [Main] at 7ffa5761804a {8 4.64 6.21 10 4.9GB/7.7GB 8.2GB/9.7GB 65f41b01}
Exception OS: 20251117 10025441 ! EXCOS EExternalException (1073807366) [Main] at 7ffa5761804a {8 4.64 6.21 10 4.9GB/7.7GB 8.2GB/9.7GB 65f41b01}
They can be more than 100 with the same timestamp and there is no apparently problem when using my app.
I am not sure if webview2, the edge dll, cause them or an other dll like mariadb's dll. It does not return me any line number and I am not sure about the numbers in GB I see at the end.
Is there a way to get more information from tsynlog? Or can it be a problem from tsynlog that causes the same message to be archived multiple times?
Delphi 12.3 /windows / 64Bit compiled
Thank you in advance
Last edited by dcoun (Yesterday 14:50:47)
Offline
Pretty weird.
The numbers in {} are the current system load info as returned by RetrieveSysInfoText().
Your numbers seem just fine.
Are you sure that the proper .map file is available with the Win64 .exe you generate?
So I guess it could be indeed from an external dll.
Can't you reproduce it in the debug environment?
Offline
I am getting all other errors with line numbers, that is the reason I am sure that map file is used.
The problem is that this happens to computers I do not have access to test, but I have enabled debug info for other reason.
It doesn't happen to my debug environment.
I will try tomorrow to see if the windows user account type (if it is a limited user) can be the reason.
But is it possible somehow to get the dll that causes it?
Offline
Some external dll function raise exception! I notice similar log with Firebird Client fbclient.dll when disconnect, only on Win64. Win32 and Linux64 is OK, no exception!
As I investigate on net, there is some code in dll like:
try
SomeFunc;
result:=true;
except
result:=false;
end;Offline
I have added the new TSynLog.NoLibraryException property.
See https://github.com/synopse/mORMot2/commit/6821106c6
If needed, we could add an ExceptionIgnoreLibrary property too, taking the dll name, if if this for-all-libraries property is too broad.
Edit: renamed as ExceptionIgnoreLibrary property for consistency.
Offline
Pages: 1