[Freeswitch-users] recompile with gdb

Tihomir Culjaga tculjaga at gmail.com
Mon Sep 21 15:46:49 PDT 2009


Hi Guys,

I have an issue running FS... it crashes apparently without leaving any log
... not even a core dump is left.

The machine is dual AMD opteron quad core with 8 GB RAM and i'm running 75
simultaneous calls (with media) with a rate of 5 calls per second.


As i was not able to reproduce the issue on a real traffic so i went back to
sipp and started generating some... sipp & scenario files are ok.
after a while (few minutes)...  on sipp i start getting retransmissions and
when i check FS i see two situations:

1. freeswitch has died
2. freeswitch process is running but it doesn't respond to any call... as
nothing has been sent ... and after a while it dies too.

I'm using sip profile external (moved to port 5060) with some semi-complex
dialplan... attached.

well .. the point is that i cannot even tell where it crashes as there is no
log.

I have:

<param name="loglevel" value="debug"/>
<X-PRE-PROCESS cmd="set" data="call_debug=true"/>
<X-PRE-PROCESS cmd="set" data="console_loglevel=debug"/>

fs is dumping the log to the log directory ... but nothing special can't bee
seen there...


I tried to recompile with gdb

export CFLAGS="-g -ggdb"
export MOD_CFLAGS="-g -ggdb"
./configure


but without luck...

ode1:/opt/freeswitch-trunk#
node1:/opt/freeswitch-trunk# sudo make
make[1]: Entering directory `/opt/freeswitch-trunk/libs/pcre'
make  all-am
make[2]: Entering directory `/opt/freeswitch-trunk/libs/pcre'
g++ -DHAVE_CONFIG_H -I.     -O2 -MT pcrecpp_unittest.o -MD -MP -MF
.deps/pcrecpp_unittest.Tpo -c -o pcrecpp_unittest.o pcrecpp_unittest.cc
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
make[2]: *** [pcrecpp_unittest.o] Error 1
make[2]: Leaving directory `/opt/freeswitch-trunk/libs/pcre'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/freeswitch-trunk/libs/pcre'
make: *** [libs/pcre/libpcre.la] Error 2
node1:/opt/freeswitch-trunk#
node1:/opt/freeswitch-trunk#


Of course I'm using the latest trunk...

Can anyone help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090922/5db2a99c/attachment-0002.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dp.xml
Type: text/xml
Size: 7451 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090922/5db2a99c/attachment-0002.xml 


More information about the FreeSWITCH-users mailing list