On 05/11/11 17:02, Pawel Sawicki wrote: > Hi All, > > We are running application which has dedicated signal handler. It uses > libfbclient-2.5 to connect to > Firebird database. When it receives signal 15 it tries first to shutdown > active database connections > with help of detach_or_drop_database routine. Unfortunatelly this call fails > and application crashes. > The stacktrace from debugger is shown below. Apparently there is a problem > with MemoryPool > which is probably destroyed earlier in another thread ( allClean in file > init.cpp). In my opinion a mechanism > should be implemented to prevent such situation. > > Best Regards >
Pawel, if you want to handle shutdown yourself, please use new API call fb_shutdown_callback() to disable shutdown in libfbclient. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
