hi,
I'm able to run resetdb. It creates the table, fills it, then it returns
a segmentation fault.
Reinitialized sample database successfully.
Segmentation fault (core dumped)
The backtrace is empty.
I run .libs/simple1
and have the following things:
Query: select * from stock
Segmentation fault (core dumped)
and the backtrace is:
#0 0x0063a2a9 in ResUse (this=0xbfffd9c4, result=0xbfffd9e0, m=0x0) at
char_traits.h:135
135 { return strlen(__s); }
(gdb) bt
#0 0x0063a2a9 in ResUse (this=0xbfffd9c4, result=0xbfffd9e0, m=0x0) at
char_traits.h:135
#1 0x0063261c in mysqlpp::Connection::store (this=0xbfffdb70,
str=@0xffffffff, throw_excptns=true) at result.h:157
#2 0x00639ec2 in mysqlpp::Query::store (this=0x9e3de08, p=@0xbfffdacc)
at connection.h:139
#3 0x0804c1f5 in print_stock_table (query=@0xbfffda40) at query.h:90
#4 0x0804b528 in main (argc=0, argv=0x0) at simple1.cpp:30
all these programs are built using your Makefile.
So now I don't know ...
thank you again for your time
Marco