[asterisk-users] 1.4.24.1 -> 1.6.0.9: segfault
sean darcy
seandarcy2 at gmail.com
Wed May 20 19:22:16 CDT 2009
I'm testing an upgrade of an i686 production machine running 1.4.24.1 to
1.6.0.9. I've installed dahdi-linux-2.1.0.4.
But:
asterisk -cvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Asterisk 1.6.0.9, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty'
for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': == Found
== Parsing '/etc/asterisk/extconfig.conf': == Found
== Parsing '/etc/asterisk/logger.conf': == Found
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk Dynamic Loader Starting:
== Parsing '/etc/asterisk/modules.conf': == Found
== Parsing '/etc/asterisk/dnsmgr.conf': == Found
== Parsing '/etc/asterisk/http.conf': == Found
................
== Parsing '/etc/asterisk/manager.conf': == Found
[May 20 18:43:54] NOTICE[750]: manager.c:3903 __init_manager: Invalid
keyword <displaysystemname> = <yes> in manager.conf [general
........
== Parsing '/etc/asterisk/smdi.conf': == Found
[May 20 18:43:54] NOTICE[750]: res_smdi.c:1272 load_module: No SMDI
interfaces are available to listen on, not starting SMDI listener.
...........
== Parsing '/etc/asterisk/musiconhold.conf': == Found
[May 20 18:43:54] WARNING[750]: res_musiconhold.c:1496 load_moh_classes:
A directory must be specified for class 'default'!
[May 20 18:43:54] WARNING[750]: res_musiconhold.c:1657 load_module: No
music on hold classes configured, disabling music on hold.
== Registered application 'MusicOnHold'
...............
== Registered application 'DateTime'
app_sayunixtime.so => (Say time)
== Registered application 'SetCallerPres'
app_setcallerid.so => (Set CallerID Presentation Application)
== Registered file format gsm, extension(s) gsm
format_gsm.so => (Raw GSM data)
== Registered application 'BackgroundDetect'
app_talkdetect.so => (Playback with Talk Detection)
Segmentation fault
strace was little help:
strace asterisk -c
.......
.open("/usr/lib/asterisk/modules/format_gsm.so", O_RDONLY) = 12
read(12, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \10\0\000"...,
512) = 512
fstat64(12, {st_mode=S_IFREG|0755, st_size=150128, ...}) = 0
mmap2(NULL, 16240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 12,
0) = 0xb7364000
mmap2(0xb7367000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x2) = 0xb7367000
close(12) = 0
gettimeofday({1242859458, 600093}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
gettid() = 921
futex(0x81abca4, 0x5 /* FUTEX_??? */, 1) = 1
futex(0x8195988, FUTEX_WAKE, 1) = 1
futex(0x81abca4, 0x5 /* FUTEX_??? */, 1) = 1
futex(0x8195988, FUTEX_WAKE, 1) = 1
.open("/usr/lib/asterisk/modules/app_talkdetect.so", O_RDONLY) = 12
read(12, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\v\0"...,
512) = 512
fstat64(12, {st_mode=S_IFREG|0755, st_size=155069, ...}) = 0
mmap2(NULL, 12176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 12,
0) = 0xb7361000
mmap2(0xb7363000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x1) = 0xb7363000
close(12) = 0
gettimeofday({1242859458, 601194}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
gettid() = 921
futex(0x81abca4, 0x5 /* FUTEX_??? */, 1) = 1
futex(0x8195988, FUTEX_WAKE, 1) = 1
futex(0x81abca4, 0x5 /* FUTEX_??? */, 1) = 1
futex(0x8195988, FUTEX_WAKE, 1) = 1
.open("/usr/lib/asterisk/modules/app_random.so", O_RDONLY) = 12
read(12, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\10"...,
512) = 512
fstat64(12, {st_mode=S_IFREG|0755, st_size=135210, ...}) = 0
mmap2(NULL, 9356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 12, 0)
= 0xb735e000
mmap2(0xb7360000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x1) = 0xb7360000
close(12) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 921 detached
Anyone else seen this?
sean
More information about the asterisk-users
mailing list