[fpc-devel] Segmentation fault for Firebird exceptioninsidethread
Sven Barth
pascaldragon at googlemail.com
Thu Oct 27 16:43:38 CEST 2011
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. As a
sidenote: FPC will also pass-through Delphi exceptions which use a
special error code as well.
Regards,
Sven
More information about the fpc-devel
mailing list