MySQL Forums
Forum List  »  Connector/C (libmysql)

Store : core dump
Posted by: l.camps
Date: April 29, 2005 02:01AM

Mysql++ : 1.7.32
Mysql : 4.0.20

Il recently install mysql++ 1.732. I must re compile all my program with new library ( -lmysqlpp ).
Compilation works.
But when i launch my program, i obtain a core dump file.
The Store function apparently crashed my program with complex query string.

Here is an extract of gdb :

#0 0x00161cef in raise () from /lib/tls/
#1 0x001634f5 in abort () from /lib/tls/
#2 0x00f854b7 in __cxa_call_unexpected () from /usr/lib/
#3 0x00f85504 in std::terminate () from /usr/lib/
#4 0x00f85676 in __cxa_throw () from /usr/lib/
#5 0x0055246c in mysqlpp::Connection::store (this=0x26e898, str=@0x3d97, throw_excptns=true) at connection.cpp:244
#6 0x00559582 in mysqlpp::Query::store (this=0x6, p=@0xbfffbbdc) at connection.h:139
#7 0x0804f62f in ?? ()
#8 0x08052c09 in ?? ()
#9 0x08074f92 in std::basic_iostream<char, std::char_traits<char> >::basic_iostream$base ()
#10 0x0014f79d in __libc_start_main () from /lib/tls/
#11 0x0804d589 in ?? ()

I don't understand what happened. I use mysql++ function correctly.


Options: ReplyQuote

Written By
Store : core dump
April 29, 2005 02:01AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.