[Freeswitch-dev] Core Dump while using eavesdrop
Anthony Minessale
anthony.minessale at gmail.com
Fri Jul 11 10:43:33 EDT 2008
can you try "make current" and see if you can reproduce it and if so file it
to jira
http://jira.freeswitch.org
On Fri, Jul 11, 2008 at 6:52 AM, Sebastien Maisonneuve <smaisonneuve at ip5.com>
wrote:
> While doing some tests with openzap and eavesdrop, I have received a Core
> Dump in freeswitch.
>
>
>
> My setup was :
>
> Freeswitch version : FreeSwitch Version 1.0.trunk (8931M)
>
>
>
> I'm doing the eavesdrop with the 779 extension, using sipphone ( eyebeam ).
>
>
>
> I'm driving the call with an IVR outside of the freeswitch using
> event_socket. I'm using
>
> digital lines. In fact, they are T1 with DMS100 protocol connected to a
> sangoma card.
>
> The driver I'm using for the sangoma card is wanpipe-3.2.5.
>
>
>
> IVR originate lots of outbound calls a through event_socket :
>
>
>
> bgapi originate openzap/1/a/5143150566 &park()
>
>
>
> The call is originated to the T1 line and come in another T1 line and in
> another Freeswitch.
>
>
>
> Using Event Socket, when I receive the inbound call, I start playing waves
> files on the line. Same thing with the outbound call.
>
>
>
>
>
> ***********************
>
> here the core Dump :
>
>
>
> [root at tyan-test bin]# gdb freeswitch core.3936
>
> GNU gdb Red Hat Linux (6.5-25.el5_1.1rh)
>
> Copyright (C) 2006 Free Software Foundation, Inc.
>
> GDB is free software, covered by the GNU General Public License, and you
> are
>
> welcome to change it and/or distribute copies of it under certain
> conditions.
>
> Type "show copying" to see the conditions.
>
> There is absolutely no warranty for GDB. Type "show warranty" for details.
>
> This GDB was configured as "x86_64-redhat-linux-gnu"...Using host
> libthread_db
> l
> ibrary
> "/lib64/libthread_db.so.1".
>
>
>
>
>
> warning: exec file is newer than core file.
>
>
>
> warning: .dynamic section for
> "/usr/local/freeswitch/lib/libfreeswitch.so.1"
> is
> not at the expected address
>
>
>
> warning: .dynamic section for "/usr/local/freeswitch/mod/mod_logfile.so" is
> not
> at the expected address
>
>
>
> warning: .dynamic section for "/usr/local/freeswitch/mod/mod_enum.so" is
> not
> at
> the expected address
>
>
>
> warning: .dynamic section for
> "/usr/local/freeswitch/mod/mod_event_socket.so"
> is
> not at the expected address
>
>
>
> warning: .dynamic section for "/usr/local/freeswitch/mod/mod_sofia.so" is
> not
> at
> the expected address
>
>
>
> warning: .dynamic section for "/usr/local/freeswitch/mod/mod_openzap.so" is
> not
> at the expected address
>
> Reading symbols from /lib64/libm.so.6...done.
>
> Loaded symbols for /lib64/libm.so.6
>
> Reading symbols from /usr/local/freeswitch/lib/libfreeswitch.so.1...done.
>
> Loaded symbols for /usr/local/freeswitch/lib/libfreeswitch.so.1
>
> Reading symbols from /usr/lib64/libsqlite3.so.0...done.
>
> Loaded symbols for /usr/lib64/libsqlite3.so.0
>
> Reading symbols from /lib64/libuuid.so.1...done.
>
> Loaded symbols for /lib64/libuuid.so.1
>
> Reading symbols from /lib64/librt.so.1...done.
>
> Loaded symbols for /lib64/librt.so.1
>
> Reading symbols from /lib64/libdl.so.2...done.
>
> Loaded symbols for /lib64/libdl.so.2
>
> Reading symbols from /lib64/libcrypt.so.1...done.
>
> Loaded symbols for /lib64/libcrypt.so.1
>
> Reading symbols from /lib64/libpthread.so.0...done.
>
> Loaded symbols for /lib64/libpthread.so.0
>
> Reading symbols from /usr/lib64/libncurses.so.5...done.
>
> Loaded symbols for /usr/lib64/libncurses.so.5
>
> Reading symbols from /lib64/libc.so.6...done.
>
> Loaded symbols for /lib64/libc.so.6
>
> Reading symbols from /usr/lib64/libstdc++.so.6...done.
>
> Loaded symbols for /usr/lib64/libstdc++.so.6
>
> Reading symbols from /lib64/libgcc_s.so.1...done.
>
> Loaded symbols for /lib64/libgcc_s.so.1
>
> Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
>
> Loaded symbols for /lib64/ld-linux-x86-64.so.2
>
> Reading symbols from /usr/local/freeswitch/mod/mod_console.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_console.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_logfile.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_logfile.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_enum.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_enum.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_cdr_csv.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_cdr_csv.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_event_socket.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_event_socket.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_sofia.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_sofia.so
>
> Reading symbols from /lib64/libssl.so.6...done.
>
> Loaded symbols for /lib64/libssl.so.6
>
> Reading symbols from /lib64/libcrypto.so.6...done.
>
> Loaded symbols for /lib64/libcrypto.so.6
>
> Reading symbols from /usr/lib64/libz.so.1...done.
>
> Loaded symbols for /usr/lib64/libz.so.1
>
> Reading symbols from /usr/lib64/libgssapi_krb5.so.2...done.
>
> Loaded symbols for /usr/lib64/libgssapi_krb5.so.2
>
> Reading symbols from /usr/lib64/libkrb5.so.3...done.
>
> Loaded symbols for /usr/lib64/libkrb5.so.3
>
> Reading symbols from /lib64/libcom_err.so.2...done.
>
> Loaded symbols for /lib64/libcom_err.so.2
>
> Reading symbols from /usr/lib64/libk5crypto.so.3...done.
>
> Loaded symbols for /usr/lib64/libk5crypto.so.3
>
> Reading symbols from /usr/lib64/libkrb5support.so.0...done.
>
> Loaded symbols for /usr/lib64/libkrb5support.so.0
>
> Reading symbols from /lib64/libkeyutils.so.1...done.
>
> Loaded symbols for /lib64/libkeyutils.so.1
>
> Reading symbols from /lib64/libresolv.so.2...done.
>
> Loaded symbols for /lib64/libresolv.so.2
>
> Reading symbols from /lib64/libselinux.so.1...done.
>
> Loaded symbols for /lib64/libselinux.so.1
>
> Reading symbols from /lib64/libsepol.so.1...done.
>
> Loaded symbols for /lib64/libsepol.so.1
>
> Reading symbols from /lib64/libnss_files.so.2...done.
>
> Loaded symbols for /lib64/libnss_files.so.2
>
> Reading symbols from /lib64/libnss_dns.so.2...done.
>
> Loaded symbols for /lib64/libnss_dns.so.2
>
> Reading symbols from /usr/local/freeswitch/mod/mod_openzap.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_openzap.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_commands.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_commands.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_conference.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_conference.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_dptools.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_dptools.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_expr.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_expr.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_fifo.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_fifo.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_voicemail.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_voicemail.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_limit.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_limit.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_esf.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_esf.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_fsv.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_fsv.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_dialplan_xml.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_dialplan_xml.so
>
> Reading symbols from
> /usr/local/freeswitch/mod/mod_dialplan_asterisk.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_dialplan_asterisk.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_voipcodecs.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_voipcodecs.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_g723_1.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_g723_1.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_g729.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_g729.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_amr.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_amr.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_ilbc.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_ilbc.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_speex.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_speex.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_h26x.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_h26x.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_sndfile.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_sndfile.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_native_file.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_native_file.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_local_stream.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_local_stream.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_tone_stream.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_tone_stream.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_spidermonkey.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_spidermonkey.so
>
> Reading symbols from /usr/local/freeswitch/lib/libnspr4.so...done.
>
> Loaded symbols for /usr/local/freeswitch/lib/libnspr4.so
>
> Reading symbols from /usr/lib64/libcurl.so.3...done.
>
> Loaded symbols for /usr/lib64/libcurl.so.3
>
> Reading symbols from /usr/lib64/libidn.so.11...done.
>
> Loaded symbols for /usr/lib64/libidn.so.11
>
> Reading symbols from /usr/local/freeswitch/lib/libjs.so.1...done.
>
> Loaded symbols for /usr/local/freeswitch/lib/libjs.so.1
>
> Reading symbols from
> /usr/local/freeswitch/mod/mod_spidermonkey_teletone.so...do
> ne.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_spidermonkey_teletone.so
>
> Reading symbols from
> /usr/local/freeswitch/mod/mod_spidermonkey_core_db.so...don
> e.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_spidermonkey_core_db.so
>
> Reading symbols from
> /usr/local/freeswitch/mod/mod_spidermonkey_socket.so...done
> .
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_spidermonkey_socket.so
>
> Reading symbols from /usr/local/freeswitch/mod/mod_say_en.so...done.
>
> Loaded symbols for /usr/local/freeswitch/mod/mod_say_en.so
>
> Core was generated by `./freeswitch'.
>
> Program terminated with signal 11, Segmentation fault.
>
> #0 switch_ivr_eavesdrop_session (session=0x2aaaac21fea8,
>
> uuid=<value optimized out>, require_group=0x2aaaac16df90 "", flags=4)
>
> at src/switch_ivr_async.c:522
>
> 522 if (tmp) {
>
> (gdb) bt
>
> #0 switch_ivr_eavesdrop_session (session=0x2aaaac21fea8,
>
> uuid=<value optimized out>, require_group=0x2aaaac16df90 "", flags=4)
>
> at src/switch_ivr_async.c:522
>
> #1 0x00002aaabcbfa5bb in eavesdrop_function (session=0x2aaaac21fea8,
>
> data=<value optimized out>) at mod_dptools.c:324
>
> #2 0x00002aaaaab1e671 in switch_core_session_set_private (
>
> session=0x2aaaac2287f0, private_info=0x2aaaaabe1484)
>
> at src/switch_core_session.c:198
>
> #3 0x00002aaaac22a918 in ?? ()
>
> #4 0x0000000000000000 in ?? ()
>
> (gdb) info args
>
> session = (switch_core_session_t *) 0x2aaaac21fea8
>
> uuid = <value optimized out>
>
> require_group = 0x2aaaac16df90 ""
>
> flags = 4
>
> (gdb) info locals
>
> tmp = <value optimized out>
>
> tsession = (switch_core_session_t *) 0x1ff0aa08
>
> status = <value optimized out>
>
> channel = (switch_channel_t *) 0x2aaaac2287f0
>
> read_codec = (switch_codec_t *) 0x2aaaac229a80
>
> __func__ = "switch_ivr_eavesdrop_session"
>
> (gdb)
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Thanks.
>
>
>
>
>
> Sebastien Maisonneuve
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> 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-dev/attachments/20080711/cc41bc6a/attachment-0001.html
More information about the Freeswitch-dev
mailing list