Access violation with newer Firebird embedded versions
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
Test code attached.
- Embedded client with embedded db
- Normal client with remote server
seems to work ok;
problem needs embedded client with remote server
Even then, the following Firebird x86 versions work:
fbembed.dll 2.5.1.26351
fbembed.dll 2.5.2.26540
These do not work:
fbembed.dll latest stable, 2.5.3.26778
fbembed.dll snapshot from http://web.firebirdsql.org/download/snapshot_builds/win/2.5/ 2014-07-30
16:45:50: ready to call job
16:45:56: job called
An unhandled exception occurred at $660829E1:
EAccessViolation: Access violation<br/>
$660829E1
$77149F72
$77149F45
Compiling with x64 compiler and using 2.5.2.26540 works;
2.5.3.26778 does not give an AV message on the console but a "this program has stopped working" error message dialog (presumably due to SEH?)
Additional information:
By playing with sleep() after the debugln, you can move the access violation error message around: after the rest of the output or interspersed, leading to the suspicion that it's a thread inside the firebird dll that's crashing...
Further discussion and troubleshooting at
http://forum.lazarus.freepascal.org/index.php/topic,25380.0.html