Re: [IBPP-DISCUSS] segment fault in DatabaseImpl::Disconnect
IBPP is a C++ client class library for FirebirdSQL
Status: Inactive
Brought to you by:
epocman
|
From: chen h. <ch...@ou...> - 2016-06-14 23:50:47
|
Sounds great. Thanks a lot, Olivier. From: om...@in... Date: Sat, 11 Jun 2016 14:42:41 +0200 To: ibp...@li... Subject: Re: [IBPP-DISCUSS] segment fault in DatabaseImpl::Disconnect > Le 8 juin 2016 à 22:22, chen hsu <ch...@ou...> a écrit : > > Recently I hit a segment fault in ibpp/database.cpp when deleting the database object, i.e. DatabaseImpl::Disconnect(). This function will call into Inactivate(), who iterates thru mStatements entries, and calls StatementImpl::DetachDatabaseImpl(), which in turn, calls into DatabaseImpl::DetachStatementImpl(), which will erase the corresponding entry from DatabaseImpl.mStatements vector. And a segment fault happened there, as mStatements has actually been overwritten with some garbage string. is it known issue? I doubt there might be some reentrant problem. Thanks. Indeed, there is one. I will upload a new version soon (next week) where this is fixed, along with some important announce about the project. -- Meilleures salutations, Met vriendelijke groeten, Best Regards, Olivier Mascia, integral.be/om ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ ibpp-discuss mailing list Post to ibp...@li... Settings https://lists.sourceforge.net/lists/listinfo/ibpp-discuss http://www.ibpp.org |