Hi, You use and two different mysql_init ? Regards, Gelu _____________________________________________________ G.NET SOFTWARE COMPANY
Permanent e-mail address : [EMAIL PROTECTED] [EMAIL PROTECTED] ----- Original Message ----- From: Andrey Kotrekhov <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 21, 2002 4:55 PM Subject: problem with libmysqlclient_r.so Hello, All! I have program which try to connect to different mysql servers twice at the same time. When I use libmysqlclient.so sometimes one or two mysql connection freeze in mysql_real_connect But when I try to use libmysqlclient_r.so program crash in my_fopen this is stack of program : (gdb) bt #0 0x180ef7f2 in my_fopen () from /usr/local/mysql/lib/libmysqlclient_r.so.10 #1 0x180f0b20 in search_default_file () from /usr/local/mysql/lib/libmysqlclient_r.so.10 #2 0x180f085f in load_defaults () from /usr/local/mysql/lib/libmysqlclient_r.so.10 #3 0x180e776b in mysql_read_default_options () from /usr/local/mysql/lib/libmysqlclient_r.so.10 #4 0x180e8054 in mysql_real_connect () from /usr/local/mysql/lib/libmysqlclient_r.so.10 #5 0x1812f940 in MysqlConnection::real_connect (this=0x80c8c18, db=0x80fd8b0 "kuku", host=0x80fa040 "xxx.xxx.net", user=0x80fd910 "test", passwd=0x80c1bca "", port=3306, compress=1, connect_timeout=60, socket_name=0x80c1bde "", client_flag=0) at connection.cc:52 #6 0x8082dc3 in QueueModule::Run (this=0x80c8c00) at QModule.cc:138 #7 0x8068a8f in start_Module (ptr=0x80c8c00) at Module.cc:23 #8 0x181fce73 in _thread_start () from /usr/lib/libc_r.so.4 #9 0x0 in ?? () (gdb) frame 5 #5 0x1812f940 in MysqlConnection::real_connect (this=0x80c8c18, db=0x80fd8b0 "stat", host=0x80fa040 "skynet.alkar.net", user=0x80fd910 "stat", passwd=0x80c1bca "", port=3306, compress=1, connect_timeout=60, socket_name=0x80c1bde "", client_flag=0) at connection.cc:52 52 if (mysql_real_connect(&mysql,host,user,passwd,db, port,socket_name,client_flag)) (gdb) p host $1 = (cchar *) 0x80fa040 "xxx.xxx.net" (gdb) p user $2 = (cchar *) 0x80fd910 "test" (gdb) p passwd $3 = (cchar *) 0x80c1bca "" (gdb) p db $4 = (cchar *) 0x80fd8b0 "kuku" (gdb) p port $5 = 3306 (gdb) p socket_name $6 = 0x80c1bde "" (gdb) p client_flag $7 = 0 (gdb) OS FreeBSD 4.4-RC mysql version 3.23.42, but I try to use 3.23.49 with the same effect Will anybody help me? Best regards. _______________________________________ Andrey Kotrekhov [EMAIL PROTECTED] ISP Alkar Teleport ΤΕΜ. +380 562 34-00-44 --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php