Soon after my application starts a call to Swap_Connection occurs. Within 60
seconds of that I get the following:
2024-03-12 08:28:17.87 : Deleting connection - 2
2024-03-12 08:28:17.88 : Watchdog error.
2024-03-12 08:28:17.88 : raised ADA.ASSERTIONS.ASSERTION_ERROR : Position
cursor of Next is bad
Load address: 0x1027bf000
Call stack traceback locations:
0x102b45091 0x102a1d6e0 0x102a3929b 0x102a3931f 0x102a402d6 0x102b0d008
0x7ff8053f7200
I prevented this from happening by adding the following lines in the procedure
Delete_Connection in the file gnoga-server-connection.adb.
if Socket_Maps.Key (Current_Socket) = ID then
Current_Socket := Socket_Maps.No_Element;
end if;
After the line:
if Socket_Map.Contains (ID) then
Wayne
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list