I have a multi-threaded daemon process written in C/C++ for FreeBSD. I am using libmysqlclient_r.so.15 to connect to a mysql db. Both libmysqlclient_r and the daemon process are compiled with -lpthread. I get the following core if I start the daemon at system boot up(through rc.d), but can't reproduce it if I start the daemon process after system start up. Would really appreciate any help on this.
#0 0x2846926f in pthread_testcancel () from /usr/lib/libpthread.so.1 (gdb) bt #0 0x2846926f in pthread_testcancel () from /usr/lib/libpthread.so.1 #1 0x28461856 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #2 0x00000000 in ?? () (gdb) info threads * 5 LWP 100248 0x2846926f in pthread_testcancel () from /usr/lib/libpthread.so.1 4 Thread 4 (runnable) 0x287a269b in my_stat () from /usr/local/aspera/lib/libmysqlclient_r.so.15 3 Thread 3 (LWP 100252) 0x2846924f in pthread_testcancel () from /usr/lib/libpthread.so.1 2 Thread 2 (sleeping) 0x2846115b in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 1 Thread 1 (runnable) 0x285ac907 in read () from /lib/libc.so.5 thanks in advance Dhammika -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]