[Freeswitch-users] Segmentation fault (core dumped)
Anthony Minessale
anthony.minessale at gmail.com
Tue Apr 22 07:33:28 PDT 2008
Can you be more specific with the steps to reproduce this.
We are trying to reproduce it with our snom and we cannot.
What version of the code are you using?
Can you give us a step by step of each configuration step you make on the
snom.
Also any differences between your FS config and the default.
If you are using SVN can you please try building the lastest trunk with the
command
"make current" which will bring your system up to date. If not, can you
please try the latest SVN
trunk to make sure whatever your problem is has not already been fixed.
consider talking to us live on irc
http://www.freeswitch.org/
There is a "join us on irc" in one of the green boxes on the right of the
page.
Type in a nick and press join then we can ask you more questions in real
time.
On Tue, Apr 22, 2008 at 8:56 AM, Luis Jimenez <ljjimenez at gmail.com> wrote:
> This is the debug:
>
> freeswitch is running and phones 1000 & 1001 registered then i change
> credentials of 1001 to 1002.
> i shut down FS with ...
> then i start FS again
> if i reboot phone 1002, this send an UNREGISTER MESSAGE to FS and then i
> see the following in the console:
>
> freeswitch at pbx> Segmentation fault (core dumped)
>
> ============================================================
>
> # gdb /opt/freeswitch/bin/freeswitch core.26041
> GNU gdb 6.8
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-pc-linux-gnu"...
>
> warning: Can't read pathname for load map: Input/output error.
> Reading symbols from /lib/libm.so.6...done.
> Loaded symbols for /lib/libm.so.6
> Reading symbols from /opt/freeswitch/lib/libfreeswitch.so.1...done.
> Loaded symbols for /opt/freeswitch/lib/libfreeswitch.so.1
> Reading symbols from /usr/lib/libstdc++.so.6...done.
> Loaded symbols for /usr/lib/libstdc++.so.6
> Reading symbols from /lib/libuuid.so.1...done.
> Loaded symbols for /lib/libuuid.so.1
> Reading symbols from /lib/librt.so.1...done.
> Loaded symbols for /lib/librt.so.1
> Reading symbols from /lib/libdl.so.2...done.
> Loaded symbols for /lib/libdl.so.2
> Reading symbols from /lib/libcrypt.so.1...done.
> Loaded symbols for /lib/libcrypt.so.1
> Reading symbols from /lib/libpthread.so.0...done.
> Loaded symbols for /lib/libpthread.so.0
> Reading symbols from /lib/libncurses.so.5...done.
> Loaded symbols for /lib/libncurses.so.5
> Reading symbols from /lib/libc.so.6...done.
> Loaded symbols for /lib/libc.so.6
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> Reading symbols from /usr/lib/libgcc_s.so.1...done.
> Loaded symbols for /usr/lib/libgcc_s.so.1
> Reading symbols from /opt/freeswitch/mod/mod_console.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_console.so
> Reading symbols from /opt/freeswitch/mod/mod_logfile.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_logfile.so
> Reading symbols from /opt/freeswitch/mod/mod_enum.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_enum.so
> Reading symbols from /opt/freeswitch/mod/mod_cdr_csv.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_cdr_csv.so
> Reading symbols from /opt/freeswitch/mod/mod_event_socket.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_event_socket.so
> Reading symbols from /opt/freeswitch/mod/mod_iax.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_iax.so
> Reading symbols from /opt/freeswitch/mod/mod_sofia.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_sofia.so
> Reading symbols from /usr/lib/libssl.so.0.9.8...done.
> Loaded symbols for /usr/lib/libssl.so.0.9.8
> Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.
> Loaded symbols for /usr/lib/libcrypto.so.0.9.8
> Reading symbols from /lib/libnss_files.so.2...done.
> Loaded symbols for /lib/libnss_files.so.2
> Reading symbols from /lib/libnss_dns.so.2...done.
> Loaded symbols for /lib/libnss_dns.so.2
> Reading symbols from /lib/libresolv.so.2...done.
> Loaded symbols for /lib/libresolv.so.2
> Reading symbols from /opt/freeswitch/mod/mod_commands.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_commands.so
> Reading symbols from /opt/freeswitch/mod/mod_conference.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_conference.so
> Reading symbols from /opt/freeswitch/mod/mod_dptools.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_dptools.so
> Reading symbols from /opt/freeswitch/mod/mod_expr.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_expr.so
> Reading symbols from /opt/freeswitch/mod/mod_fifo.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_fifo.so
> Reading symbols from /opt/freeswitch/mod/mod_voicemail.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_voicemail.so
> Reading symbols from /opt/freeswitch/mod/mod_limit.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_limit.so
> Reading symbols from /opt/freeswitch/mod/mod_esf.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_esf.so
> Reading symbols from /opt/freeswitch/mod/mod_fsv.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_fsv.so
> Reading symbols from /opt/freeswitch/mod/mod_dialplan_xml.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_dialplan_xml.so
> Reading symbols from /opt/freeswitch/mod/mod_dialplan_asterisk.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_dialplan_asterisk.so
> Reading symbols from /opt/freeswitch/mod/mod_voipcodecs.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_voipcodecs.so
> Reading symbols from /opt/freeswitch/mod/mod_g723_1.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_g723_1.so
> Reading symbols from /opt/freeswitch/mod/mod_g729.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_g729.so
> Reading symbols from /opt/freeswitch/mod/mod_amr.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_amr.so
> Reading symbols from /opt/freeswitch/mod/mod_ilbc.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_ilbc.so
> Reading symbols from /opt/freeswitch/mod/mod_speex.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_speex.so
> Reading symbols from /opt/freeswitch/mod/mod_h26x.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_h26x.so
> Reading symbols from /opt/freeswitch/mod/mod_sndfile.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_sndfile.so
> Reading symbols from /opt/freeswitch/mod/mod_native_file.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_native_file.so
> Reading symbols from /opt/freeswitch/mod/mod_local_stream.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_local_stream.so
> Reading symbols from /opt/freeswitch/mod/mod_tone_stream.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_tone_stream.so
> Reading symbols from /opt/freeswitch/mod/mod_spidermonkey.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_spidermonkey.so
> Reading symbols from /opt/freeswitch/lib/libnspr4.so...done.
> Loaded symbols for /opt/freeswitch/lib/libnspr4.so
> Reading symbols from /usr/lib/libcurl.so.4...done.
> Loaded symbols for /usr/lib/libcurl.so.4
> Reading symbols from /usr/lib/libz.so.1...done.
> Loaded symbols for /usr/lib/libz.so.1
> Reading symbols from /opt/freeswitch/lib/libjs.so.1...done.
> Loaded symbols for /opt/freeswitch/lib/libjs.so.1
> Reading symbols from
> /opt/freeswitch/mod/mod_spidermonkey_teletone.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_spidermonkey_teletone.so
> Reading symbols from
> /opt/freeswitch/mod/mod_spidermonkey_core_db.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_spidermonkey_core_db.so
> Reading symbols from
> /opt/freeswitch/mod/mod_spidermonkey_socket.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_spidermonkey_socket.so
> Reading symbols from /opt/freeswitch/mod/mod_say_en.so...done.
> Loaded symbols for /opt/freeswitch/mod/mod_say_en.so
> Core was generated by `/opt/freeswitch/bin/freeswitch'.
> Program terminated with signal 11, Segmentation fault.
> [New process 26057]
> [New process 26077]
> [New process 26076]
> [New process 26075]
> [New process 26074]
> [New process 26073]
> [New process 26072]
> [New process 26071]
> [New process 26070]
> [New process 26067]
> [New process 26066]
> [New process 26065]
> [New process 26062]
> [New process 26061]
> [New process 26060]
> [New process 26056]
> [New process 26055]
> [New process 26054]
> [New process 26051]
> [New process 26050]
> [New process 26049]
> [New process 26048]
> [New process 26045]
> [New process 26042]
> [New process 26041]
> #0 0xb34290e0 in nua_dialog_usage_refresh (owner=0x8139b10, ds=0x8139b48,
> du=0xaaaaaaaa, now=3417858462)
> at nua_dialog.c:549
> 549 assert(du && du->du_class->usage_refresh);
> (gdb) bt full
> #0 0xb34290e0 in nua_dialog_usage_refresh (owner=0x8139b10, ds=0x8139b48,
> du=0xaaaaaaaa, now=3417858462)
> at nua_dialog.c:549
> __PRETTY_FUNCTION__ = "nua_dialog_usage_refresh"
> #1 0xb3442ad6 in nua_subscribe_server_report (sr=0x813a058, tags=0x0) at
> nua_notifier.c:377
> nh = (nua_handle_t *) 0x8139b10
> ds = (nua_dialog_state_t *) 0x8139b48
> nu = (struct notifier_usage *) 0x8137b30
> substate = nua_substate_terminated
> notify = 1
> retval = 1
> #2 0xb34242b3 in nua_server_report (sr=0x813a058) at nua_stack.c:1809
> No locals.
> #3 0xb342381b in nua_stack_respond (nua=0x80e5818, nh=0x8139b10,
> status=202, phrase=0xb34d0e62 "Accepted",
> tags=0xb3514664) at nua_stack.c:1616
> sr = (nua_server_request_t *) 0x813a058
> t = (const tagi_t *) 0xb3514664
> request = (const msg_t *) 0x813a6e8
> #4 0xb34210d6 in nua_stack_signal (nua=0x80e5818, msg=0xb26172b4,
> ee=0xb351464c) at nua_stack.c:643
> e = (nua_event_data_t *) 0xb3514650
> nh = (nua_handle_t *) 0x8139b10
> tags = (tagi_t *) 0xb3514664
> event = nua_r_respond
> error = 0
> __PRETTY_FUNCTION__ = "nua_stack_signal"
> #5 0xb347d22a in su_base_port_execute_msgs (queue=0x0) at
> su_base_port.c:276
> root = (su_root_t *) 0x80e6738
> f = (su_msg_f) 0xb3420aa7 <nua_stack_signal>
> msg = (su_msg_t *) 0x0
> n = 0
> #6 0xb347cfd1 in su_base_port_getmsgs (self=0x80e62f8) at
> su_base_port.c:198
> queue = (su_msg_t *) 0xb3514628
> #7 0xb347d305 in su_base_port_run (self=0x80e62f8) at su_base_port.c:331
> tout = 2000
> __PRETTY_FUNCTION__ = "su_base_port_run"
> ---Type <return> to continue, or q <return> to quit---
> #8 0xb347a2a5 in su_port_run (self=0x80e62f8) at su_port.h:310
> base = (su_virtual_port_t *) 0x80e62f8
> #9 0xb347a282 in su_root_run (self=0x80e6738) at su_root.c:689
> __PRETTY_FUNCTION__ = "su_root_run"
> #10 0xb347de15 in su_pthread_port_clone_main (varg=0xb2e3007c) at
> su_pthread_port.c:321
> arg = (struct clone_args *) 0x0
> task = {{sut_port = 0x80e62f8, sut_root = 0x80e6738}}
> zap = 1
> #11 0xb7c6014b in start_thread () from /lib/libpthread.so.0
> No locals.
> #12 0xb7bab20e in clone () from /lib/libc.so.6
> No symbol table info available.
> (gdb) quit
>
>
> I hope this help to get the issue, thanks.
>
> Luis Jimenez
>
>
>
> On Mon, Apr 21, 2008 at 6:29 AM, Brian West <brian at freeswitch.org> wrote:
>
> > Correct. If you need help collecting the information up please join
> > IRC and someone can assist you in collecting the appropriate
> > information for a bug report.
> >
> >
> > On Apr 21, 2008, at 5:25 AM, Luis Jimenez wrote:
> >
> > > Sorry for my ignorance on programming, is that the core file created
> > > when it faulted?
> >
> > Brian West
> > sip:brian at freeswitch.org <sip%3Abrian at freeswitch.org>
> >
> >
> >
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080422/69cbc7c5/attachment-0002.html
More information about the FreeSWITCH-users
mailing list