Hello,

Currently, I'm evaluating the last version of MySQL products :

    mysql-3.23.33
    mysql++-1.7.8
    mysqlgui-1.7.4 (beta)

I have big pb to launch mysql++ and mysqlGui : it crashes during DB
connection

After spending many days trying to solve this issue by myself (reading
doc., reading newsgroup, changing of compilation option from
enable-exception
to disable-exception, recompiling mysql-3.23-33...), I don't see any
other
possibility than to post this 'help needed' message ...


Considering the following traces and info. , do you thing that the info
contain in mysql++-1.7.8 README file could apply to me ("It has also
noted that on certain SPAC Solaris install. , C++ exceptions did not
work
with gcc 2.95.2") ?
Do you have any other  idea, suggestion, ... ?

Thank you very much for your help

Herve



*** this is the core analysis result after launch of mysql++/simple1
example ***

Core was generated by `simple1'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from
/home/sw/hgaudill/MYSQL/mysql++-1.7.8/examples/../sqlplusint/.libs/libsqlplus.so.1...done.

Reading symbols from /usr/local/lib//libz.so...done.
Reading symbols from
/home/sw/hgaudill/MYSQL/local/lib/libmysqlclient.so.10...
done.
Reading symbols from
/tools/gcc/gcc-2.95.2/SunOS5.7/lib/libstdc++.so.2.10.0...
done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libcrypt_i.so.1...done.
Reading symbols from /usr/lib/libgen.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
Reading symbols from /usr/lib/nss_nis.so.1...done.
#0  0xff0c568c in _malloc_unlocked ()


*** it crashes when 'mysql_real_connect' is called ****

bool Connection::real_connect (cchar *db, cchar *host, cchar *user,
              cchar *passwd, uint port, my_bool compress = 0,
              unsigned int connect_timeout = 60,
              const char *socket_name = "", unsigned int client_flag =0)

{
  mysql.options.compress = compress;
  mysql.options.connect_timeout=connect_timeout;
  locked = true; mysql.options.my_cnf_file="my";
     if (mysql_real_connect(&mysql,host,user,passwd,db,
port,socket_name,client_flag))
    .....

**** connection parameter value are ****

MysqlConnection::real_connect (this=0xffbee690, db=0x2ef08
"mysql_cpp_data", host=0x2ee18 "", user=0x2ee18 "", passwd=0x2ee18
"", port=3306, compress=0 '\000', connect_timeout=60, socket_name=0x0,
client_flag=0)
... at connection.cc:46

Reply via email to