Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2006 22:22:21 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Subject:   asterisk: crash with SYGSYS on 6.1-STABLE (i386)
Message-ID:  <31908151.20061123222221@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
Hello freebsd-ports,


  Fresh-installed asterisk (port version asterisk-1.2.13) crashes with default config with SIGSYS.

hostname# uname -a
FreeBSD HOSTNAME 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May 23 23:36:41 MSD 2006     lev@HOSTNAME:/usr/obj/usr/src/sys/GATEWAY  i386

hostname# asterisk -vvvvgc  
[SKIPPED]
 [res_config_odbc.so] => (ODBC Configuration)
Nov 23 22:19:24 NOTICE[73156]: config.c:863 ast_config_engine_register: Registered Config Engine odbc
res_config_odbc loaded.
 [res_odbc.so] => (ODBC Resource)
  == Parsing '/usr/local/etc/asterisk/res_odbc.conf': Found
Nov 23 22:19:24 NOTICE[73156]: res_odbc.c:265 load_odbc_config: Adding ENV var: INFORMIXSERVER=my_special_database
Nov 23 22:19:24 NOTICE[73156]: res_odbc.c:265 load_odbc_config: Adding ENV var: INFORMIXDIR=/opt/informix
Nov 23 22:19:24 NOTICE[73156]: res_odbc.c:294 load_odbc_config: registered database handle 'asterisk' dsn->[asterisk]
Warning, flexibel rate not heavily tested!
Bad system call (core dumped)
hostname# Ouch ... error while writing audio data: : Broken pipe

hostname# gdb `which 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 12, Bad system call.
Reading symbols from /lib/libncurses.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libncurses.so.6
Reading symbols from /lib/libm.so.4...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /lib/libcrypto.so.4...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypto.so.4
Reading symbols from /usr/lib/libssl.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libssl.so.4
Reading symbols from /usr/lib/libpthread.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpthread.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
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/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_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_features.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/asterisk/modules/res_features.so
Reading symbols from /usr/local/lib/asterisk/modules/res_config_odbc.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/asterisk/modules/res_config_odbc.so
Reading symbols from /usr/local/lib/asterisk/modules/res_odbc.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/asterisk/modules/res_odbc.so
Reading symbols from /usr/local/lib/libodbc.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libodbc.so.1
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
> #0  0x282f044b in pthread_testcancel () from /usr/lib/libpthread.so.2
[New Thread 0x813fe00 (runnable)]
[New Thread 0x813f200 (runnable)]
[New Thread 0x811ae00 (sleeping)]
[New Thread 0x811a800 (runnable)]
[New Thread 0x811a400 (LWP 100095)]
[New Thread 0x811a000 (LWP 100124)]
(gdb)

-- 
Best regards,
 Lev                          mailto:lev@FreeBSD.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31908151.20061123222221>