Hello,

I tried stress testing the revision 1526 with 200 cps (1s calls) using SIPp tool with this params:

$ sipp -sn uac -i 192.168.1.101 -s 35 -d 1000 -r 200 192.168.5.106:5080

and with this simple IVR application:

---
Class IvrDialog(IvrDialogBase):

   def onSessionStart(self, hdrs):

       debug("Application started.")
       self.announce = IvrAudioFile()
self.announce.open("/usr/local/sems-callcontrol/lib/sems/audio/default_en.wav", AUDIO_READ)
       self.enqueue(self.announce,None)

   def onBye(self):
       self.stopSession()
---

After 267870 successful calls I got a Segmetation Fault and after repeating it got the segfault again after 672141 calls.

I have stack-trace from core dump:

#0  PyObject_Malloc (nbytes=16) at Objects/obmalloc.c:758
#1 0xb7bc488a in PyType_GenericAlloc (type=0xb7c91080, nitems=0) at Objects/typeobject.c:765 #2 0xb7b7e61e in IvrSipRequest_new (type=0xb7c91080, args=0xb78343ec, kwds=0x0) at IvrSipRequest.cpp:43 #3 0xb7b7e88d in IvrSipRequest_FromPtr (req=0x87b2910) at IvrSipRequest.cpp:236
#4  0xb7b753d6 in getPySipRequest (r...@0x937dacac) at Ivr.cpp:786
#5 0xb7b7543f in IvrDialog::onSipRequest (this=0x93b2d538, r...@0x937dacac) at Ivr.cpp:797 #6 0x080dbb30 in AmSession::onSipEvent (this=0x93b2d538, sip_ev=0x937daca0) at AmSession.cpp:560 #7 0x080dbe64 in AmSession::process (this=0x93b2d538, ev=0x937daca0) at AmSession.cpp:520 #8 0x080884a3 in AmB2BSession::process (this=0x93b2d538, event=0x937daca0) at AmB2BSession.cpp:79 #9 0xb7b72b52 in IvrDialog::process (this=0x93b2d538, event=0x937daca0) at Ivr.cpp:833 #10 0x080a676f in AmEventQueue::processEvents (this=0x93b2d578) at AmEventQueue.cpp:74
#11 0x080e01ca in AmSession::run (this=0x93b2d538) at AmSession.cpp:342
#12 0x080f4a9b in AmThread::_start (_t=0x93b2d538) at AmThread.cpp:70
#13 0xb7f254fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb7da9e5e in clone () from /lib/tls/i686/cmov/libc.so.6


I hope you can reproduce it.


Best regards

Balint


--
        Balint Kovacs
Software Engineer
Gamma Telecom
Mobile  +36 (06) 70 244 6677
Phone   +44 (0) 207 078 8213
Email   [email protected] <mailto:[email protected]>
Web     www.gammatelecom.com <http://www.gammatelecom.com>

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to