<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">We have a temporary fix in tree for this that should keep it from segfaulting in this situation, expect a more comprehensive fix in the next few days.<div><br></div><div>Mike</div><div><br><div><html>On Apr 22, 2008, at 9:56 AM, Luis Jimenez wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite">This is the debug:<br><br>freeswitch is running and phones 1000 & 1001 registered then i change credentials of 1001 to 1002.<br>i shut down FS with ...<br>then i start FS again<br>if i reboot phone 1002, this send an UNREGISTER MESSAGE to FS and then i see the following in the console:<br> <br>freeswitch@pbx> Segmentation fault (core dumped)<br><br>============================================================<br><br># gdb /opt/freeswitch/bin/freeswitch core.26041 <br>GNU gdb 6.8<br>Copyright (C) 2008 Free Software Foundation, Inc.<br> License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br> and "show warranty" for details.<br>This GDB was configured as "i686-pc-linux-gnu"...<br><br>warning: Can't read pathname for load map: Input/output error.<br>Reading symbols from /lib/libm.so.6...done.<br> Loaded symbols for /lib/libm.so.6<br>Reading symbols from /opt/freeswitch/lib/libfreeswitch.so.1...done.<br>Loaded symbols for /opt/freeswitch/lib/libfreeswitch.so.1<br>Reading symbols from /usr/lib/libstdc++.so.6...done.<br> Loaded symbols for /usr/lib/libstdc++.so.6<br>Reading symbols from /lib/libuuid.so.1...done.<br>Loaded symbols for /lib/libuuid.so.1<br>Reading symbols from /lib/librt.so.1...done.<br>Loaded symbols for /lib/librt.so.1<br> Reading symbols from /lib/libdl.so.2...done.<br>Loaded symbols for /lib/libdl.so.2<br>Reading symbols from /lib/libcrypt.so.1...done.<br>Loaded symbols for /lib/libcrypt.so.1<br>Reading symbols from /lib/libpthread.so.0...done.<br> Loaded symbols for /lib/libpthread.so.0<br>Reading symbols from /lib/libncurses.so.5...done.<br>Loaded symbols for /lib/libncurses.so.5<br>Reading symbols from /lib/libc.so.6...done.<br>Loaded symbols for /lib/libc.so.6<br> Reading symbols from /lib/ld-linux.so.2...done.<br>Loaded symbols for /lib/ld-linux.so.2<br>Reading symbols from /usr/lib/libgcc_s.so.1...done.<br>Loaded symbols for /usr/lib/libgcc_s.so.1<br>Reading symbols from /opt/freeswitch/mod/mod_console.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_console.so<br>Reading symbols from /opt/freeswitch/mod/mod_logfile.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_logfile.so<br>Reading symbols from /opt/freeswitch/mod/mod_enum.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_enum.so<br>Reading symbols from /opt/freeswitch/mod/mod_cdr_csv.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_cdr_csv.so<br>Reading symbols from /opt/freeswitch/mod/mod_event_socket.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_event_socket.so<br>Reading symbols from /opt/freeswitch/mod/mod_iax.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_iax.so<br>Reading symbols from /opt/freeswitch/mod/mod_sofia.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_sofia.so<br>Reading symbols from /usr/lib/libssl.so.0.9.8...done.<br>Loaded symbols for /usr/lib/libssl.so.0.9.8<br>Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.<br>Loaded symbols for /usr/lib/libcrypto.so.0.9.8<br> Reading symbols from /lib/libnss_files.so.2...done.<br>Loaded symbols for /lib/libnss_files.so.2<br>Reading symbols from /lib/libnss_dns.so.2...done.<br>Loaded symbols for /lib/libnss_dns.so.2<br>Reading symbols from /lib/libresolv.so.2...done.<br> Loaded symbols for /lib/libresolv.so.2<br>Reading symbols from /opt/freeswitch/mod/mod_commands.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_commands.so<br>Reading symbols from /opt/freeswitch/mod/mod_conference.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_conference.so<br>Reading symbols from /opt/freeswitch/mod/mod_dptools.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_dptools.so<br>Reading symbols from /opt/freeswitch/mod/mod_expr.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_expr.so<br>Reading symbols from /opt/freeswitch/mod/mod_fifo.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_fifo.so<br>Reading symbols from /opt/freeswitch/mod/mod_voicemail.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_voicemail.so<br>Reading symbols from /opt/freeswitch/mod/mod_limit.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_limit.so<br>Reading symbols from /opt/freeswitch/mod/mod_esf.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_esf.so<br>Reading symbols from /opt/freeswitch/mod/mod_fsv.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_fsv.so<br>Reading symbols from /opt/freeswitch/mod/mod_dialplan_xml.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_dialplan_xml.so<br>Reading symbols from /opt/freeswitch/mod/mod_dialplan_asterisk.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_dialplan_asterisk.so<br>Reading symbols from /opt/freeswitch/mod/mod_voipcodecs.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_voipcodecs.so<br>Reading symbols from /opt/freeswitch/mod/mod_g723_1.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_g723_1.so<br>Reading symbols from /opt/freeswitch/mod/mod_g729.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_g729.so<br>Reading symbols from /opt/freeswitch/mod/mod_amr.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_amr.so<br>Reading symbols from /opt/freeswitch/mod/mod_ilbc.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_ilbc.so<br>Reading symbols from /opt/freeswitch/mod/mod_speex.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_speex.so<br>Reading symbols from /opt/freeswitch/mod/mod_h26x.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_h26x.so<br>Reading symbols from /opt/freeswitch/mod/mod_sndfile.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_sndfile.so<br>Reading symbols from /opt/freeswitch/mod/mod_native_file.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_native_file.so<br>Reading symbols from /opt/freeswitch/mod/mod_local_stream.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_local_stream.so<br>Reading symbols from /opt/freeswitch/mod/mod_tone_stream.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_tone_stream.so<br>Reading symbols from /opt/freeswitch/mod/mod_spidermonkey.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_spidermonkey.so<br>Reading symbols from /opt/freeswitch/lib/libnspr4.so...done.<br> Loaded symbols for /opt/freeswitch/lib/libnspr4.so<br>Reading symbols from /usr/lib/libcurl.so.4...done.<br>Loaded symbols for /usr/lib/libcurl.so.4<br>Reading symbols from /usr/lib/libz.so.1...done.<br>Loaded symbols for /usr/lib/libz.so.1<br> Reading symbols from /opt/freeswitch/lib/libjs.so.1...done.<br>Loaded symbols for /opt/freeswitch/lib/libjs.so.1<br>Reading symbols from /opt/freeswitch/mod/mod_spidermonkey_teletone.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_spidermonkey_teletone.so<br> Reading symbols from /opt/freeswitch/mod/mod_spidermonkey_core_db.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_spidermonkey_core_db.so<br>Reading symbols from /opt/freeswitch/mod/mod_spidermonkey_socket.so...done.<br> Loaded symbols for /opt/freeswitch/mod/mod_spidermonkey_socket.so<br>Reading symbols from /opt/freeswitch/mod/mod_say_en.so...done.<br>Loaded symbols for /opt/freeswitch/mod/mod_say_en.so<br>Core was generated by `/opt/freeswitch/bin/freeswitch'.<br> Program terminated with signal 11, Segmentation fault.<br>[New process 26057]<br>[New process 26077]<br>[New process 26076]<br>[New process 26075]<br>[New process 26074]<br>[New process 26073]<br>[New process 26072]<br>[New process 26071]<br> [New process 26070]<br>[New process 26067]<br>[New process 26066]<br>[New process 26065]<br>[New process 26062]<br>[New process 26061]<br>[New process 26060]<br>[New process 26056]<br>[New process 26055]<br>[New process 26054]<br> [New process 26051]<br>[New process 26050]<br>[New process 26049]<br>[New process 26048]<br>[New process 26045]<br>[New process 26042]<br>[New process 26041]<br>#0 0xb34290e0 in nua_dialog_usage_refresh (owner=0x8139b10, ds=0x8139b48, du=0xaaaaaaaa, now=3417858462)<br> at nua_dialog.c:549<br>549 assert(du && du->du_class->usage_refresh);<br>(gdb) bt full<br>#0 0xb34290e0 in nua_dialog_usage_refresh (owner=0x8139b10, ds=0x8139b48, du=0xaaaaaaaa, now=3417858462)<br> at nua_dialog.c:549<br> __PRETTY_FUNCTION__ = "nua_dialog_usage_refresh"<br>#1 0xb3442ad6 in nua_subscribe_server_report (sr=0x813a058, tags=0x0) at nua_notifier.c:377<br> nh = (nua_handle_t *) 0x8139b10<br> ds = (nua_dialog_state_t *) 0x8139b48<br> nu = (struct notifier_usage *) 0x8137b30<br> substate = nua_substate_terminated<br> notify = 1<br> retval = 1<br>#2 0xb34242b3 in nua_server_report (sr=0x813a058) at nua_stack.c:1809<br> No locals.<br>#3 0xb342381b in nua_stack_respond (nua=0x80e5818, nh=0x8139b10, status=202, phrase=0xb34d0e62 "Accepted", <br> tags=0xb3514664) at nua_stack.c:1616<br> sr = (nua_server_request_t *) 0x813a058<br> t = (const tagi_t *) 0xb3514664<br> request = (const msg_t *) 0x813a6e8<br>#4 0xb34210d6 in nua_stack_signal (nua=0x80e5818, msg=0xb26172b4, ee=0xb351464c) at nua_stack.c:643<br> e = (nua_event_data_t *) 0xb3514650<br> nh = (nua_handle_t *) 0x8139b10<br> tags = (tagi_t *) 0xb3514664<br> event = nua_r_respond<br> error = 0<br> __PRETTY_FUNCTION__ = "nua_stack_signal"<br>#5 0xb347d22a in su_base_port_execute_msgs (queue=0x0) at su_base_port.c:276<br> root = (su_root_t *) 0x80e6738<br> f = (su_msg_f) 0xb3420aa7 <nua_stack_signal><br> msg = (su_msg_t *) 0x0<br> n = 0<br>#6 0xb347cfd1 in su_base_port_getmsgs (self=0x80e62f8) at su_base_port.c:198<br> queue = (su_msg_t *) 0xb3514628<br> #7 0xb347d305 in su_base_port_run (self=0x80e62f8) at su_base_port.c:331<br> tout = 2000<br> __PRETTY_FUNCTION__ = "su_base_port_run"<br>---Type <return> to continue, or q <return> to quit---<br> #8 0xb347a2a5 in su_port_run (self=0x80e62f8) at su_port.h:310<br> base = (su_virtual_port_t *) 0x80e62f8<br>#9 0xb347a282 in su_root_run (self=0x80e6738) at su_root.c:689<br> __PRETTY_FUNCTION__ = "su_root_run"<br> #10 0xb347de15 in su_pthread_port_clone_main (varg=0xb2e3007c) at su_pthread_port.c:321<br> arg = (struct clone_args *) 0x0<br> task = {{sut_port = 0x80e62f8, sut_root = 0x80e6738}}<br> zap = 1<br>#11 0xb7c6014b in start_thread () from /lib/libpthread.so.0<br> No locals.<br>#12 0xb7bab20e in clone () from /lib/libc.so.6<br>No symbol table info available.<br>(gdb) quit<br><br><br>I hope this help to get the issue, thanks.<br><br>Luis Jimenez<br><br><br><div class="gmail_quote">On Mon, Apr 21, 2008 at 6:29 AM, Brian West <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Correct. If you need help collecting the information up please join<br> IRC and someone can assist you in collecting the appropriate<br> information for a bug report.<br> <div class="Ih2E3d"><br> <br> On Apr 21, 2008, at 5:25 AM, Luis Jimenez wrote:<br> <br> > Sorry for my ignorance on programming, is that the core file created<br> > when it faulted?<br> <br> </div><div><div></div><div class="Wj3C7c">Brian West<br> <a href="mailto:sip%3Abrian@freeswitch.org">sip:brian@freeswitch.org</a><br> <br> <br> <br> <br> _______________________________________________<br> Freeswitch-users mailing list<br> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> </div></div></blockquote></div><br> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>