Script started on Mon May 14 13:30:23 2007 root@bsd7# gdb program `pgrep radiusd` GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...program: No such file or directory. Attaching to process 49216 /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) n /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) n Reading symbols from /usr/local/sbin/radiusd...done. Reading symbols from /usr/lib/libpthread.so.2...done. warning: Unable to get location for thread creation breakpoint: generic error [New Thread 0x693400 (sleeping)] [New Thread 0x693000 (sleeping)] [New Thread 0x67fc00 (sleeping)] [New Thread 0x67f800 (sleeping)] [New Thread 0x67f400 (sleeping)] [New Thread 0x67f000 (LWP 100265)] [New Thread 0x52d000 (runnable)] [New LWP 100334] Loaded symbols for /usr/lib/libpthread.so.2 Reading symbols from /usr/local/lib/libradius-1.1.6.so...done. Loaded symbols for /usr/local/lib/libradius-1.1.6.so Reading symbols from /lib/libcrypt.so.3...done. Loaded symbols for /lib/libcrypt.so.3 Reading symbols from /usr/local/lib/libltdl.so.4...done. Loaded symbols for /usr/local/lib/libltdl.so.4 Reading symbols from /usr/lib/libssl.so.4...done. Loaded symbols for /usr/lib/libssl.so.4 Reading symbols from /lib/libcrypto.so.4...done. Loaded symbols for /lib/libcrypto.so.4 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/local/lib/rlm_exec-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_exec-1.1.6.so Reading symbols from /usr/local/lib/rlm_expr-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_expr-1.1.6.so Reading symbols from /usr/local/lib/rlm_pap-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_pap-1.1.6.so Reading symbols from /usr/local/lib/rlm_chap-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_chap-1.1.6.so Reading symbols from /usr/local/lib/rlm_mschap-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_mschap-1.1.6.so Reading symbols from /usr/local/lib/libeap-1.1.6.so...done. Loaded symbols for /usr/local/lib/libeap-1.1.6.so Reading symbols from /usr/local/lib/rlm_eap-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_eap-1.1.6.so Reading symbols from /usr/local/lib/rlm_eap_md5-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_eap_md5-1.1.6.so Reading symbols from /usr/local/lib/rlm_eap_leap-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_eap_leap-1.1.6.so Reading symbols from /usr/local/lib/rlm_eap_gtc-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_eap_gtc-1.1.6.so Reading symbols from /usr/local/lib/rlm_eap_tls-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_eap_tls-1.1.6.so Reading symbols from /usr/local/lib/rlm_eap_ttls-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_eap_ttls-1.1.6.so Reading symbols from /usr/local/lib/rlm_eap_peap-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_eap_peap-1.1.6.so Reading symbols from /usr/local/lib/rlm_eap_mschapv2-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_eap_mschapv2-1.1.6.so Reading symbols from /usr/local/lib/rlm_preprocess-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_preprocess-1.1.6.so Reading symbols from /usr/local/lib/rlm_detail-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_detail-1.1.6.so Reading symbols from /usr/local/lib/rlm_realm-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_realm-1.1.6.so Reading symbols from /usr/local/lib/rlm_files-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_files-1.1.6.so Reading symbols from /usr/local/lib/rlm_sql-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_sql-1.1.6.so Reading symbols from /usr/lib/libm.so...done. Loaded symbols for /usr/lib/libm.so Reading symbols from /usr/lib/libz.so...done. Loaded symbols for /usr/lib/libz.so Reading symbols from /usr/local/lib/mysql/libmysqlclient_r.so.14...done. Loaded symbols for /usr/local/lib/mysql/libmysqlclient_r.so.14 Reading symbols from /usr/local/lib/rlm_sql_mysql-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_sql_mysql-1.1.6.so Reading symbols from /usr/local/lib/rlm_acct_unique-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_acct_unique-1.1.6.so Reading symbols from /usr/local/lib/rlm_unix-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_unix-1.1.6.so Reading symbols from /usr/local/lib/rlm_radutmp-1.1.6.so...done. Loaded symbols for /usr/local/lib/rlm_radutmp-1.1.6.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 [Switching to LWP 100334] 0x00000008006657dc in pthread_testcancel () from /usr/lib/libpthread.so.2 (gdb) cont Continuing. Program received signal SIGBUS, Bus error. [Switching to Thread 0x67f800 (LWP 100294)] 0x000000080226cfd2 in sql_userparse (first_pair=0x7fffff7fb0f8, row=0x69f028, querymode=1) at sql.c:347 347 if (row[4] != NULL && row[4][0] != '\0') { (gdb) cont Continuing. Program terminated with signal SIGBUS, Bus error. The program no longer exists. (gdb) bt No stack. (gdb) root@bsd7# exit Script done on Mon May 14 13:31:11 2007