From: Warren Young Date: January 3 2006 7:38pm Subject: Re: problem with keeping track of Connection instance List-Archive: http://lists.mysql.com/plusplus/5322 Message-Id: <43BAD2A2.7090107@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit alan.alvarez@stripped wrote: > > #0 mysqlpp::Lockable::lock (this=0x8086a88) at /usr/local/include/mysql++/lockable.h:139 Wrap the call to Connection::query() in a try block. If it already is, make sure it's catching std::exception, just to be sure you're catching everything. I suspect your program is dying due to an uncaught exception. If so, then catching that exception and calling its what() method will be educational.