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

Version
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/libc.so.6
#1 0x001634f5 in abort () from /lib/tls/libc.so.6
#2 0x00f854b7 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#3 0x00f85504 in std::terminate () from /usr/lib/libstdc++.so.5
#4 0x00f85676 in __cxa_throw () from /usr/lib/libstdc++.so.5
#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/libc.so.6
#11 0x0804d589 in ?? ()

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

Lucy.

Options: ReplyQuote


Subject
Views
Written By
Posted
Store : core dump
1237
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.