8 messages in com.mysql.lists.plusplusRE: Segfault in simple1.cc
FromSent OnAttachments
Technical Operations21 May 2002 09:03 
Gelu Gogancea21 May 2002 10:59 
Technical Operations21 May 2002 11:48 
Koray Yaldiz21 May 2002 22:44 
Vecchiamici22 May 2002 00:25 
Gelu Gogancea22 May 2002 01:14 
Mário Henrique Cruz Torres22 May 2002 04:03 
Wouter23 May 2002 11:37 
Subject:RE: Segfault in simple1.cc
From:Koray Yaldiz (Kora@isbank.com.tr)
Date:05/21/2002 10:44:23 PM
List:com.mysql.lists.plusplus

can anyone explain me how to unsubscribe from this list. ? thanx ,

-----Original Message----- From: Technical Operations [mailto:te@charter.net] Sent: Tuesday, May 21, 2002 7:04 PM To: plus@lists.mysql.com Subject: Segfault in simple1.cc

Can anyone tell me why i would get this error when running the simple1.cc program that is included in the mysql++ tutorial.

[snip] Europa# ./simptest Abort (core dumped) [/snip]

then gdb reports this when i step through...

[gdb snip]

0x8056f34 in MysqlConnection::MysqlConnection () at connection.cc:6 6 const char *passwd, bool te) (gdb) 0x8056f3a 6 const char *passwd, bool te) (gdb) 0x8056f3f 6 const char *passwd, bool te) (gdb) 0x8056e54 in _init () (gdb) Single stepping until exit from function _init, which has no line number information.

Program received signal SIGABRT, Aborted. 0x28126764 in kill () from /usr/lib/libc.so.4

[/gdb snip]

i tried recompiling serveral times, same results,...here is my command info..

./g++ -I/usr/local/include -L/usr/local/lib/mysql -o simptest simple1.cc -lsqlplus

freebsd4.4 , gcc 2.95.2

thanks for any help,...i am a complete newb (read idiot) to unix and mysql programming

thanks, bob