[fpc-devel] Segmentation fault for Firebird exceptioninsidethread

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Oct 27 16:38:32 CEST 2011


On 27 Oct 2011, at 16:17, Ludo Brands wrote:

>> If it is a C++ exception, then it is a firebird client bug.
>> The exceptions are not supposed to leave the fbclient library...
>
> Or fpc is catching the c++ exception and not chaining them. Similar to
> win64.

It is impossible for FPC to catch a C++ exception on non-Windows  
platforms with FPC containing special code tying into the C++ run time  
(which it doesn't). What is possible is that if you have C++ code  
calling FPC code calling other C++ code, and the inner C++ code throws  
an exception, that it doesn't manage to crawl its way back to the  
outer C++ code because missing/incomplete/incorrect FPC dwarf-eh frame  
information.


Jonas



More information about the fpc-devel mailing list