[Asterisk-bsd] FreeBSD 7.1 x86 segmentation fault.

Dmitry Brazhnikov dim at fiabank.ru
Wed Feb 11 05:57:26 CST 2009


OS: FreeBSD 7.1 x86
Asterisk: 1.4.23.1
When run - create core file

gdb /usr/local/sbin/asterisk asterisk.core
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 "i386-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `asterisk'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libncurses.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libncurses.so.7
Reading symbols from /lib/libcrypto.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypto.so.5
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/asterisk/modules/res_musiconhold.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/asterisk/modules/res_musiconhold.so
Reading symbols from /usr/local/lib/liblthread.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/liblthread.so.6
Reading symbols from /usr/local/lib/asterisk/modules/res_adsi.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/asterisk/modules/res_adsi.so
Reading symbols from /usr/local/lib/asterisk/modules/res_agi.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/asterisk/modules/res_agi.so
Reading symbols from /usr/local/lib/asterisk/modules/res_crypto.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/asterisk/modules/res_crypto.so
Reading symbols from /usr/lib/libssl.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libssl.so.5
Reading symbols from /usr/local/lib/asterisk/modules/res_indications.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/asterisk/modules/res_indications.so
Reading symbols from /usr/local/lib/asterisk/modules/res_monitor.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/asterisk/modules/res_monitor.so
Reading symbols from /usr/local/lib/asterisk/modules/res_smdi.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/asterisk/modules/res_smdi.so
Reading symbols from /usr/local/lib/asterisk/modules/res_snmp.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/asterisk/modules/res_snmp.so
Reading symbols from /usr/local/lib/libnetsnmpmibs.so.16...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libnetsnmpmibs.so.16
Reading symbols from /usr/local/lib/libnetsnmpagent.so.16...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libnetsnmpagent.so.16
Reading symbols from /usr/local/lib/libnetsnmphelpers.so.16...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libnetsnmphelpers.so.16
Reading symbols from /usr/local/lib/libnetsnmp.so.16...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libnetsnmp.so.16
Reading symbols from /usr/lib/libelf.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /lib/libkvm.so.4...(no debugging symbols found)...done.
Loaded symbols for /lib/libkvm.so.4
Reading symbols from /lib/libdevstat.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libdevstat.so.6
Reading symbols from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
Reading symbols from /lib/libcrypt.so.4...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /lib/libutil.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libutil.so.7
Reading symbols from /usr/lib/libwrap.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libwrap.so.5
Reading symbols from /usr/local/lib/asterisk/modules/res_features.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/asterisk/modules/res_features.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x28534bcc in pthread_rwlock_unlock () from /usr/local/lib/liblthread.so.6
[New Thread 0x28601300 (LWP 100181)]
[New Thread 0x28601200 (LWP 100180)]
[New Thread 0x28601100 (LWP 100066)]
(gdb) bt
#0  0x28534bcc in pthread_rwlock_unlock () from /usr/local/lib/liblthread.so.6
#1  0x289ef543 in load_config () from /usr/local/lib/asterisk/modules/res_features.so
#2  0x289f089b in load_module () from /usr/local/lib/asterisk/modules/res_features.so
#3  0x0809f4c8 in ast_module_ref ()
#4  0x289f3a00 in __mod_info () from /usr/local/lib/asterisk/modules/res_features.so
#5  0x00000005 in ?? ()
#6  0x00000000 in ?? ()
#7  0x00000001 in ?? ()
#8  0x2861b130 in ?? ()
#9  0x00000008 in ?? ()
#10 0x00001000 in ?? ()
#11 0x00000000 in ?? ()
#12 0x20626546 in ?? ()
#13 0x28607450 in ?? ()
#14 0x30353a35 in ?? ()
#15 0x0032313a in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000003 in ?? ()
#18 0xbfbfbf89 in ?? ()
#19 0x00000000 in ?? ()
#20 0x20030518 in ?? ()
#21 0x00000002 in ?? ()
#22 0x00201000 in ?? ()
#23 0x00000000 in ?? ()
#24 0x00000800 in ?? ()
#25 0x00000000 in ?? ()
#26 0x00004000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x01ec3bd5 in ?? ()
#29 0x00000000 in ?? ()
#30 0x01c73063 in ?? ()
#31 0x00000000 in ?? ()
#32 0x019fcf71 in ?? ()
#33 0x00000000 in ?? ()
#34 0x007f37fe in ?? ()
#35 0x00000000 in ?? ()
#36 0x007ae753 in ?? ()
#37 0x00000000 in ?? ()
#38 0x00000000 in ?? ()
#39 0x00000000 in ?? ()
#40 0x00000000 in ?? ()
#41 0x281207fc in _rtld_error () from /libexec/ld-elf.so.1
Previous frame inner to this frame (corrupt stack?)
(gdb)




More information about the Asterisk-BSD mailing list