List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:April 23 2005 8:15pm
Subject:Re: Core dump with query->store()
View as plain text  
On Fri, Apr 22, 2005 at 07:12:54PM -0400, Alex Vishnev wrote:
> Back trace looks like this:
> 
> #0  0xb73abaaa in _int_malloc () from /lib/tls/libc.so.6
> #1  0xb73aadfd in malloc () from /lib/tls/libc.so.6
> #2  0xb75943fe in my_malloc () from /usr/lib/mysql/libmysqlclient_r.so.10
> #3  0xb7592915 in my_net_init () from /usr/lib/mysql/libmysqlclient_r.so.10
> #4  0xb7590228 in mysql_real_connect () from
> /usr/lib/mysql/libmysqlclient_r.so.10
> #5  0xb7590d55 in mysql_real_connect () from
> /usr/lib/mysql/libmysqlclient_r.so.10
> #6  0xb758f148 in simple_command () from
> /usr/lib/mysql/libmysqlclient_r.so.10
> #7  0xb7591450 in mysql_real_query () from
> /usr/lib/mysql/libmysqlclient_r.so.10
> #8  0xb75911e5 in mysql_query () from /usr/lib/mysql/libmysqlclient_r.so.10
> #9  0xb7568586 in mysqlpp::Connection::store(std::string const&, bool)
> (this=0xbfffc6c8, str=@0xbfffc280, throw_excptns=false)
>     at basic_string.h:781
> #10 0xb756f816 in mysqlpp::Query::store(mysqlpp::SQLQueryParms&) (this=0x0,
> p=@0xbfffc50c) at connection.h:142

You might want to look here first.  The 'this' pointer shouldn't be 0.
Perhaps your cache has a bug.


> #11 0x0804c208 in DnisCacheMgr::cacheData(mysqlpp::Connection*)
> (this=0x8053300, con=0xbfffc6c8) at query.h:90
> #12 0x08050159 in void CacheManager::bla<DnisCacheMgr>(DnisCacheMgr*)
> (this=0xbfffc680, mgr=0x806bfd8) at CacheManager.h:48
> #13 0x0804facf in main (argc=1, argv=0xbfffc964) at CacheManager.h:34

- Chris

Thread
Core dump with query->store()Alex Vishnev23 Apr
  • Re: Core dump with query->store()Chris Frey23 Apr
    • RE: Core dump with query->store()Alex Vishnev24 Apr
      • Re: Core dump with query->store()Chris Frey25 Apr
      • Re: Core dump with query->store()Warren Young25 Apr