[Asterisk-Users] Segmentation Fault on reload (gdb output included)

jerk face jerkface2098 at yahoo.com
Wed Sep 24 07:36:50 MST 2003


Sorry about that:
bt gives the following output:

#0  0x401519fc in mallopt () from /lib/i686/libc.so.6
#1  0x40150c61 in malloc () from /lib/i686/libc.so.6
#2  0x40157dd0 in strdup () from /lib/i686/libc.so.6
#3  0x0805603b in cfg_process (tmp=0x80ea890,
_tmpc=0x47a6a26c, _last=0x47a6a270, buf=0x65747865
<Address 0x65747865 out of bounds>,
    lineno=183, configfile=0x458d083d
"extensions.conf", includelevel=0) at config.c:57
#4  0x08055ac2 in __ast_load (configfile=0x458d083d
"extensions.conf", tmp=0x80ea890, _tmpc=0x47a6a26c,
_last=0x47a6a270, includelevel=0)
    at config.c:731
#5  0x08055edd in ast_load (configfile=0x8 <Address
0x8 out of bounds>) at config.c:766
#6  0x458cf815 in pbx_load_module () at
pbx_config.c:1543
#7  0x458ccdaf in reload () at pbx_config.c:1683
#8  0x08055372 in ast_module_reload () at loader.c:159
#9  0x0806b8ba in handle_reload (fd=44, argc=1,
argv=0x47a6a5fc) at cli.c:105
#10 0x0806b6aa in ast_cli_command (fd=44, s=0x8
<Address 0x8 out of bounds>) at cli.c:1006
#11 0x08083c80 in netconsole (vconsole=0x80b9c28) at
asterisk.c:192
#12 0x40021811 in pthread_start_thread () from
/lib/i686/libpthread.so.0

I see extensions.conf mentioned a couple of times. 
Could this be caused by a configuration error?


--- Steven Critchfield <critch at basesys.com> wrote:
> On Wed, 2003-09-24 at 08:41, jerk face wrote:
> > Ok, here is the real gdb output.
> > 
> > This GDB was configured as
> > "i586-mandrake-linux-gnu"...
> > Core was generated by `asterisk'.
> > Program terminated with signal 11, Segmentation
> fault.
> > ...
> > ...
> > ...
> > 
> > Loaded symbols for
> > /usr/lib/asterisk/modules/cdr_csv.so
> > Reading symbols from
> > /usr/lib/asterisk/modules/app_setcidnum.so...done.
> > Loaded symbols for
> > /usr/lib/asterisk/modules/app_setcidnum.so
> > #0  0x401519fc in mallopt () from
> /lib/i686/libc.so.6
> > 
> > Ok .. so what does this mean?
> > 
> > Thank you in advance.
> 
> 
> This is where you type 'bt' and find out how it made
> it to that frame.
> 
> 
> > --- Martin Pycko <martinp at digium.com> wrote:
> > > actually
> > > 
> > > gdb /usr/sbin/asterisk core.6044, sorry
> > > 
> > > On Tue, 23 Sep 2003, jerk face wrote:
> > > 
> > > > I keep getting segmentation faults when I do a
> > > reload.
> > > >
> > > > Here are the core file outputs from gdb:
> > > > (I have three of them and they produce the
> same
> > > > output)
> > > >
> > > > (gdb) core core.6044
> > > > Core was generated by `asterisk'.
> > > > Program terminated with signal 11,
> Segmentation
> > > fault.
> > > > #0  0x401519fc in ?? ()
> > > >
> > > >
> > > > I have no idea what that means, but if
> somebody
> > > could
> > > > point me in the right direction, that would be
> > > great.
> > > >
> > > > Thank you for your time.
> > > >
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > Yahoo! SiteBuilder - Free, easy-to-use web
> site
> > > design software
> > > > http://sitebuilder.yahoo.com
> > > >
> _______________________________________________
> > > > Asterisk-Users mailing list
> > > > Asterisk-Users at lists.digium.com
> > > >
> > >
> >
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> > > >
> > > 
> > > _______________________________________________
> > > Asterisk-Users mailing list
> > > Asterisk-Users at lists.digium.com
> > >
> >
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> > http://sitebuilder.yahoo.com
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> >
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> -- 
> Steven Critchfield <critch at basesys.com>
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-users


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the asterisk-users mailing list