[fpc-devel] Segmentation fault for Firebird exceptioninsidethread

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Thu Oct 27 17:17:15 CEST 2011



On Thu, 27 Oct 2011, Sven Barth wrote:

> Am 27.10.2011 16:38, schrieb Jonas Maebe:
>> 
>> 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).
>
> And on Windows it is likely that FPC will pass-through C++ exceptions (AFAIK 
> they have a special error code) to the operating system.

No, it does not (at least not correctly) , there is a bug for this.

Michael.



More information about the fpc-devel mailing list