Erro: ZeosLib 8.0 Access violation AlmaLinux 9.4 Lazarus 3.6
Posted: 15.10.2024, 19:41
I did a native compilation using lazarus on Ubuntu, and it works normally, I think the problem is only on ZEOS with AlmaLinux 9.4, even compiling on Ubuntu and testing the executable on Almalinux 9.4 the error below occursI did a native compilation using lazarus on Ubuntu, and it works normally, I think the problem is only on ZEOS with AlmaLinux 9.4, even compiling on Ubuntu and testing the executable on Almalinux 9.4 the error below occurs.
[root@localhost samplezeos]# ./samplezeos
An unhandled exception occurred at $00000000004813D0:
EDatabaseError: Operation cannot be performed on an inactive dataset
$00000000004813D0
$000000000048376E
Heap dump by heaptrc unit of /home/samplezeos/samplezeos
26125 memory blocks allocated : 4302794/4305848
26122 memory blocks freed : 4302602/4305656
3 unfreed memory blocks : 192
True heap size : 786432
True free heap : 785568
Should be : 785664
Call trace for block $00007FD5A3D735A0 size 128
$00000000004146F1
$000000000048376E
$0000000000735FD0 CHECKCONNECTED, line 1032 of ../../src/component/ZAbstractDataset.pas
$000000000070B110 INTERNALPREPARE, line 4361 of ../../src/component/ZAbstractRODataset.pas
$000000000070A6A2 SETPREPARED, line 4107 of ../../src/component/ZAbstractRODataset.pas
$000000000070D4EB PREPARE, line 5255 of ../../src/component/ZAbstractRODataset.pas
$00000000007097FD INTERNALOPEN, line 3775 of ../../src/component/ZAbstractRODataset.pas
$00000000007338C7 INTERNALOPEN, line 386 of ../../src/component/ZAbstractDataset.pas
$0000000000736D52 INTERNALOPEN, line 1219 of ../../src/component/ZAbstractDataset.pas
$0000000000483E0D
$00000000007338C7 INTERNALOPEN, line 386 of ../../src/component/ZAbstractDataset.pas
$0000000000736D52 INTERNALOPEN, line 1219 of ../../src/component/ZAbstractDataset.pas
$0000000000483E0D
[root@localhost samplezeos]# ./samplezeos
An unhandled exception occurred at $00000000004813D0:
EDatabaseError: Operation cannot be performed on an inactive dataset
$00000000004813D0
$000000000048376E
Heap dump by heaptrc unit of /home/samplezeos/samplezeos
26125 memory blocks allocated : 4302794/4305848
26122 memory blocks freed : 4302602/4305656
3 unfreed memory blocks : 192
True heap size : 786432
True free heap : 785568
Should be : 785664
Call trace for block $00007FD5A3D735A0 size 128
$00000000004146F1
$000000000048376E
$0000000000735FD0 CHECKCONNECTED, line 1032 of ../../src/component/ZAbstractDataset.pas
$000000000070B110 INTERNALPREPARE, line 4361 of ../../src/component/ZAbstractRODataset.pas
$000000000070A6A2 SETPREPARED, line 4107 of ../../src/component/ZAbstractRODataset.pas
$000000000070D4EB PREPARE, line 5255 of ../../src/component/ZAbstractRODataset.pas
$00000000007097FD INTERNALOPEN, line 3775 of ../../src/component/ZAbstractRODataset.pas
$00000000007338C7 INTERNALOPEN, line 386 of ../../src/component/ZAbstractDataset.pas
$0000000000736D52 INTERNALOPEN, line 1219 of ../../src/component/ZAbstractDataset.pas
$0000000000483E0D
$00000000007338C7 INTERNALOPEN, line 386 of ../../src/component/ZAbstractDataset.pas
$0000000000736D52 INTERNALOPEN, line 1219 of ../../src/component/ZAbstractDataset.pas
$0000000000483E0D