[Asterisk-Users] Segmentation Fault ... Big problems
Derek Beaumont
dbeaumont at telantek.com
Fri Jun 13 06:39:08 MST 2003
I am still getting a segmentation fault when I try to reload asterisk
Here is the output:
Asterisk Ready.
*CLI> reload
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/enum.conf': Found
== Parsing '/etc/asterisk/rtp.conf': Not found (No such file or
directory) ==
RTP Allocating from port range 5000 -> 31000
-- Reloading module 'app_voicemail2.so' (Comedian Mail (Voicemail
System))
== Parsing '/etc/asterisk/voicemail.conf': Found
-- Reloading module 'chan_local.so' (Local Proxy Channel)
-- Reloading module 'chan_iax2.so' (Inter Asterisk eXchange (Ver 2))
== Parsing '/etc/asterisk/iax.conf': Found
WARNING[16384]: File chan_iax2.c, Line 4980 (set_config): Ignoring port
for now
-- Reloading module 'cdr_csv.so' (Comma Separated Values CDR
Backend)
-- Reloading module 'app_queue.so' (True Call Queueing)
== Parsing '/etc/asterisk/queues.conf': Found
-- Reloading module 'pbx_config.so' (Text Extension Configuration)
== Parsing '/etc/asterisk/extensions.conf': Found
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 4824)]
0x4015b9fc in mallopt () from /lib/i686/libc.so.6
(gdb) bt
#0 0x4015b9fc in mallopt () from /lib/i686/libc.so.6
#1 0x4015ac61 in malloc () from /lib/i686/libc.so.6
#2 0x40161dd0 in strdup () from /lib/i686/libc.so.6
#3 0x080559eb in cfg_process (tmp=0x80e3000, _tmpc=0xbffff360,
_last=0xbffff364, buf=0x61666564 <Address 0x61666564 out of bounds>,
lineno=99, configfile=0x44ceb41d "extensions.conf", includelevel=0)
at config.c:57
#4 0x08055472 in __ast_load (configfile=0x44ceb41d "extensions.conf",
tmp=0x80e3000, _tmpc=0xbffff360, _last=0xbffff364, includelevel=0)
at config.c:731
#5 0x0805588d in ast_load (configfile=0x8 <Address 0x8 out of bounds>)
at config.c:766
#6 0x44ceabd2 in pbx_load_module () at pbx_config.c:1520
#7 0x44ce7c8f in reload () at pbx_config.c:1648
#8 0x08054d22 in ast_module_reload () at loader.c:159
#9 0x08069d6a in handle_reload (fd=1, argc=1, argv=0xbffff4c0) at
cli.c:105
#10 0x08069b5a in ast_cli_command (fd=1, s=0x8 <Address 0x8 out of
bounds>)
at cli.c:1006
#11 0x0807b36e in main (argc=135023256, argv=0x80b2d08) at
asterisk.c:496
#12 0x400fd7f7 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)
So in #3 it mentions lineno=99, I looked at that line and there is not
error. In fact, I have continued to remove the
lines that are a "problem" (all of which should not cause an error) but
that does not fix the problem.
For example: lineno=99 is saying that exten=>i,2,Goto(night,s,2) is a
problem.
I see that libc.so.6 is mentioned a lot, could that be part of the
problem??
More information about the asterisk-users
mailing list