[Freeswitch-dev] FreeSWITCH Core Dump
Peter Nixon
listuser at peternixon.net
Wed Mar 28 04:37:35 EDT 2007
Hi Guys
I managed to track down the core dump I was seeing. It occurs whenever I use
dingaling with mod_cdr loaded. If mod_cdr is not loaded it doesn't crash. I
included a backtrace below (without symbols) and will followup with one with
symbols included shortly..
Cheers
Peter
# gdb /opt/freeswitch/bin/freeswitch core.7413
GNU gdb 6.4
Copyright 2005 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 "i586-suse-linux"...Using host libthread_db
library "/lib/libthread_db.so.1".
Core was generated by `/opt/freeswitch/bin/freeswitch'.
Program terminated with signal 11, Segmentation fault.
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /opt/freeswitch/lib/libfreeswitch.so.1...Reading symbols
from /usr/lib/debug/opt/freeswitch/lib/libfreeswitch.so.1.0.0.debug...done.
done.
Loaded symbols for /opt/freeswitch/lib/libfreeswitch.so.1
Reading symbols from /usr/lib/libsqlite3.so.0...done.
Loaded symbols for /usr/lib/libsqlite3.so.0
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
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/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 /opt/freeswitch/mod/mod_console.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_console.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_console.so
Reading symbols from /opt/freeswitch/mod/mod_syslog.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_syslog.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_syslog.so
Reading symbols from /opt/freeswitch/mod/mod_enum.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_enum.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_enum.so
Reading symbols from /opt/freeswitch/mod/mod_xml_rpc.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_xml_rpc.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_xml_rpc.so
Reading symbols from /opt/freeswitch/mod/mod_cdr.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_cdr.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_cdr.so
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /opt/freeswitch/mod/mod_dingaling.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_dingaling.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_dingaling.so
Reading symbols from /usr/lib/libgnutls.so.12...done.
Loaded symbols for /usr/lib/libgnutls.so.12
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libgcrypt.so.11...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from /opt/freeswitch/mod/mod_sofia.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_sofia.so.debug...done.
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_bridgecall.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_bridgecall.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_bridgecall.so
Reading symbols from /opt/freeswitch/mod/mod_commands.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_commands.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_commands.so
Reading symbols from /opt/freeswitch/mod/mod_conference.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_conference.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_conference.so
Reading symbols from /opt/freeswitch/mod/mod_dptools.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_dptools.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_dptools.so
Reading symbols from /opt/freeswitch/mod/mod_echo.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_echo.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_echo.so
Reading symbols from /opt/freeswitch/mod/mod_playback.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_playback.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_playback.so
Reading symbols from /opt/freeswitch/mod/mod_dialplan_xml.so...Reading
symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_dialplan_xml.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_dialplan_xml.so
Reading symbols from /opt/freeswitch/mod/mod_g711.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_g711.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_g711.so
Reading symbols from /opt/freeswitch/mod/mod_gsm.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_gsm.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_gsm.so
Reading symbols from /opt/freeswitch/mod/mod_ilbc.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_ilbc.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_ilbc.so
Reading symbols from /opt/freeswitch/mod/mod_l16.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_l16.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_l16.so
Reading symbols from /opt/freeswitch/mod/mod_speex.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_speex.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_speex.so
Reading symbols from /opt/freeswitch/mod/mod_sndfile.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_sndfile.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_sndfile.so
Reading symbols from /opt/freeswitch/mod/mod_native_file.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_native_file.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_native_file.so
Reading symbols from /opt/freeswitch/mod/mod_softtimer.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_softtimer.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_softtimer.so
Reading symbols from /opt/freeswitch/mod/mod_say_en.so...Reading symbols
from /usr/lib/debug/opt/freeswitch/mod/mod_say_en.so.debug...done.
done.
Loaded symbols for /opt/freeswitch/mod/mod_say_en.so
#0 0xb7ef5d99 in switch_channel_get_caller_extension ()
from /opt/freeswitch/lib/libfreeswitch.so.1
(gdb) bt full
#0 0xb7ef5d99 in switch_channel_get_caller_extension ()
from /opt/freeswitch/lib/libfreeswitch.so.1
No symbol table info available.
#1 0xb52d76a4 in CDRContainer::add_cdr (this=0x8085538, session=0x80ea910)
at cdrcontainer.cpp:217
newchannel = (switch_mod_cdr_newchannel_t *) 0x80adca8
__func__ = "add_cdr"
__PRETTY_FUNCTION__ = "void
CDRContainer::add_cdr(switch_core_session_t*)"
#2 0xb52d7505 in my_on_hangup (session=0x80ea910) at mod_cdr.cpp:119
No locals.
#3 0xb7effa4e in switch_core_session_run ()
from /opt/freeswitch/lib/libfreeswitch.so.1
No symbol table info available.
#4 0xb7f00b01 in switch_core_session_thread ()
from /opt/freeswitch/lib/libfreeswitch.so.1
No symbol table info available.
#5 0xb7f370b8 in dummy_worker () from /opt/freeswitch/lib/libfreeswitch.so.1
No symbol table info available.
#6 0xb7e0234b in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7 0xb7d9a65e in clone () from /lib/libc.so.6
No symbol table info available.
--
Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
More information about the Freeswitch-dev
mailing list