Hi, I am Anirban .
I am trying to develop a Webrtc media server, which will convert SRTP packets to RTP. I am using Pjnath for ICE negotiation, with browsers like chrome, firefox. Its working fine for low number of calls but on increasing the number of calls to around 400 I am getting some crash in Pjnath's ioqueue . The crash is not occurring every time but frequently.
Please suggest some solution for this.
0 0x000000000043c416 in pj_stun_session_on_rx_pkt () #1 0x0000000000431484 in pj_ice_sess_on_rx_pkt () #2 0x0000000000437a6a in stun_on_rx_data () #3 0x000000000043f5bf in on_data_recvfrom () #4 0x00000000004651a8 in ioqueue_on_read_complete () #5 0x0000000000460d73 in ioqueue_dispatch_read_event () #6 0x00000000004611b7 in pj_ioqueue_poll () #7 0x0000000000419b08 in iceEngine::handleEvents (this=0x408ea000, maxMsec=50, p_count=0x0, threadIndex=0x6ace48, processSessionIndex=0) at iceEngine.cpp:354 #8 0x0000000000419946 in iceEngine::icedemoWorkerThread (this=0x408ea000, threadIndex=0x6ace48) at iceEngine.cpp:180 #9 0x0000000000418e2f in iceEngineCb (threadIndex=0x6ace48) at iceEngine.cpp:34 #10 0x000000000046248a in thread_main () #11 0x00000032cba07aa1 in start_thread (arg=0x7fffeffff700) at pthread_create.c:301 #12 0x00000032cb6e893d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 #0 0x000000000043c416 in pj_stun_session_on_rx_pkt () No symbol table info available. #1 0x0000000000431484 in pj_ice_sess_on_rx_pkt () No symbol table info available. #2 0x0000000000437a6a in stun_on_rx_data () No symbol table info available. #3 0x000000000043f5bf in on_data_recvfrom () No symbol table info available. #4 0x00000000004651a8 in ioqueue_on_read_complete () No symbol table info available. #5 0x0000000000460d73 in ioqueue_dispatch_read_event () No symbol table info available. #6 0x00000000004611b7 in pj_ioqueue_poll () No symbol table info available. #7 0x0000000000419b08 in iceEngine::handleEvents (this=0x408ea000, maxMsec=50, p_count=0x0, threadIndex=0x6ace48, processSessionIndex=0) at iceEngine.cpp:354 timeout = {sec = 0, msec = 0} count = 64 c = 64 __PRETTY_FUNCTION__ = "pj_status_t iceEngine::handleEvents(unsigned int, unsigned int*, void*, int)" max_timeout = {sec = 0, msec = 50} net_event_count = 0 index = 2 #8 0x0000000000419946 in iceEngine::icedemoWorkerThread (this=0x408ea000, threadIndex=0x6ace48) at iceEngine.cpp:180 threadCheck = 2 processedSessionIndex = 0 currentSessionIndex = 0 timeOut = 50 #9 0x0000000000418e2f in iceEngineCb (threadIndex=0x6ace48) at iceEngine.cpp:34 index = 2 #10 0x000000000046248a in thread_main () No symbol table info available. #11 0x00000032cba07aa1 in start_thread (arg=0x7fffeffff700) at pthread_create.c:301 __res = <value optimized out> pd = 0x7fffeffff700 now = <value optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737219917568, -7606414086294114287, 140737488337728, 140737219918272, 0, 3, 7606378902393024529, -7632191860668534767}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <value optimized out> pagesize_m1 = <value optimized out> sp = <value optimized out> freesize = <value optimized out> #12 0x00000032cb6e893d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org