[fpc-devel] Segmentation fault for Firebird exception insidethread

Stefan stefan at sss-smart.net
Thu Oct 27 17:14:49 CEST 2011


Thanks a lot. I've made some more tests as well,
and it turns out that the error occurs on Linux 32 and 64 bits,
when using the Firebird 2.5.x client.
No problems on Windows (tested on Windows 7 64 bits and XP),
nor on Linux when connecting with a 2.1 Firebird client.

Sorry for bothering, seems that I better post this problem to
the Firebird development group.

Meanwhile I just use the 2.1 client library to connect to the database.

Stefan


El 27/10/2011 13:41, Ludo Brands escribió:
> Was able to reproduce with fb 2.5 on ubuntu 11.10 64 bit. The crash happens
> in the thread clean up code. Backtrace shows:
> #0  0x00007ffff66b5b00 in ?? ()
> #1  0x00007ffff7bc6ce3 in __nptl_deallocate_tsd ()
>     from /lib/x86_64-linux-gnu/libpthread.so.0
> #2  0x00007ffff7bc6f0a in start_thread ()
>     from /lib/x86_64-linux-gnu/libpthread.so.0
> #3  0x00007ffff76fd89d in clone () from /lib/x86_64-linux-gnu/libc.so.6
> #4  0x0000000000000000 in ?? ()
>
> Traced into __pthread_exit and the sigsegv happens in __pthread_unwind
> calling _Unwind_ForcedUnwind. This is an indication of c++ exception being
> not dealt with correctly and the exception (re?)raised by
> _Unwind_ForcedUnwind isn't caught.
>
> Ludo
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>



More information about the fpc-devel mailing list