[fpc-pascal] Firebird stored procedure exceptions generate access violation

Michael Van Canneyt michael at freepascal.org
Sun Jun 6 16:06:47 CEST 2010



On Sun, 6 Jun 2010, Jim wrote:
> (gdb) break fpc_raiseexception
> Breakpoint 1 at 0x40a9c6
> ...... debug output....
> Breakpoint 1, 0x0040a9c6 in fpc_raiseexception ()
> (gdb) backtrace
> #0  0x0040a9c6 in fpc_raiseexception ()
> #1  0x0043d284 in
> IBCONNECTION_TIBCONNECTION_$__CHECKERROR$ANSISTRING$PISC_STATUS ()

OK, this means you've found an error in the error handling code of
TIBConnection. Unfortunately, there is not enough info to pinpoint the exact
location.

Do you think you can recompile the ibconnection unit with debug info ?
(copying to to your project's directory should do the trick)

Michael.



More information about the fpc-pascal mailing list