In Linux, when making a video call, pjsua crashes unless the environment variable DISPLAY is set. I was expecting at least unidirectional video stream, and of course, no crash. In my own program I forced the video stream direction parameter to encoding only (as opposed to encoding and decoding), and get the same result. The output and backtrace of pjsua is in the attachment. Any ideas? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150909/a8721fe2/attachment.html> -------------- next part -------------- Current call id=0 to sip:03 at 10.161.40.64 [CALLING] >>> 14:05:58.169 pjsua_core.c .RX 560 bytes Response msg 401/INVITE/cseq=13866 (rdata0x7fffcc001948) from UDP 10.161.40.64:5060: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.161.40.64:5062;rport=5062;received=10.161.40.64;branch=z9hG4bKPjd41d22b2-7b7b-497e-a96e-011777cfd4ca Call-ID: 1b677bc2-3649-43c7-be6f-37b98eeee72e From: <sip:02@10.161.40.64>;tag=0963a53e-d228-45f6-bc0c-e92ce5b87b11 To: <sip:03 at 10.161.40.64>;tag=z9hG4bKPjd41d22b2-7b7b-497e-a96e-011777cfd4ca CSeq: 13866 INVITE WWW-Authenticate: Digest realm="asterisk",nonce="1441775158/5a143e14cfb20520708b2e3a31dde051",opaque="375a3611421dcbb8",algorithm=md5,qop="auth" Server: Asterisk PBX 13.4.0 Content-Length: 0 --end msg-- 14:05:58.169 pjsua_core.c ..TX 375 bytes Request msg ACK/cseq=13866 (tdta0x7fffcc003870) to UDP 10.161.40.64:5060: ACK sip:03 at 10.161.40.64 SIP/2.0 Via: SIP/2.0/UDP 10.161.40.64:5062;rport;branch=z9hG4bKPjd41d22b2-7b7b-497e-a96e-011777cfd4ca Max-Forwards: 70 From: sip:02@10.161.40.64;tag=0963a53e-d228-45f6-bc0c-e92ce5b87b11 To: sip:03 at 10.161.40.64;tag=z9hG4bKPjd41d22b2-7b7b-497e-a96e-011777cfd4ca Call-ID: 1b677bc2-3649-43c7-be6f-37b98eeee72e CSeq: 13866 ACK Content-Length: 0 --end msg-- 14:05:58.169 pjsua_core.c .......TX 1681 bytes Request msg INVITE/cseq=13867 (tdta0x73c710) to UDP 10.161.40.64:5060: INVITE sip:03 at 10.161.40.64 SIP/2.0 Via: SIP/2.0/UDP 10.161.40.64:5062;rport;branch=z9hG4bKPjb007035b-f6ed-49ca-8a8a-d5f4394072d9 Max-Forwards: 70 From: sip:02@10.161.40.64;tag=0963a53e-d228-45f6-bc0c-e92ce5b87b11 To: sip:03 at 10.161.40.64 Contact: <sip:02 at 10.161.40.64:5062;ob> Call-ID: 1b677bc2-3649-43c7-be6f-37b98eeee72e CSeq: 13867 INVITE Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800 Min-SE: 90 User-Agent: PJSUA v2.4.5 Linux-3.16.6/x86_64/glibc-2.19 Authorization: Digest username="02", realm="asterisk", nonce="1441775158/5a143e14cfb20520708b2e3a31dde051", uri="sip:03 at 10.161.40.64", response="3e39c21e6b99d97db21ee8c90a5dcace", algorithm=md5, cnonce="65ce25b1-1786-4036-85c8-0a9f93bdda17", opaque="375a3611421dcbb8", qop=auth, nc=00000001 Content-Type: application/sdp Content-Length: 746 v=0 o=- 3650763958 3650763958 IN IP4 10.161.40.64 s=pjmedia b=AS:352 t=0 0 a=X-nat:0 m=audio 4002 RTP/AVP 98 97 99 104 3 0 8 9 105 96 c=IN IP4 10.161.40.64 b=TIAS:64000 a=rtcp:4003 IN IP4 10.161.40.64 a=sendrecv a=rtpmap:98 speex/16000 a=rtpmap:97 speex/8000 a=rtpmap:99 speex/32000 a=rtpmap:104 iLBC/8000 a=fmtp:104 mode=30 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:105 AMR/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-16 m=video 4004 RTP/AVP 97 96 c=IN IP4 10.161.40.64 b=TIAS:256000 a=rtcp:4005 IN IP4 10.161.40.64 a=sendrecv a=rtpmap:97 H264/90000 a=fmtp:97 profile-level-id=42e01e; packetization-mode=1 a=rtpmap:96 H263-1998/90000 a=fmtp:96 CIF=1;QCIF=1 --end msg-- 14:05:58.171 pjsua_core.c .RX 357 bytes Response msg 100/INVITE/cseq=13867 (rdata0x7fffcc001948) from UDP 10.161.40.64:5060: SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.161.40.64:5062;rport=5062;received=10.161.40.64;branch=z9hG4bKPjb007035b-f6ed-49ca-8a8a-d5f4394072d9 Call-ID: 1b677bc2-3649-43c7-be6f-37b98eeee72e From: <sip:02@10.161.40.64>;tag=0963a53e-d228-45f6-bc0c-e92ce5b87b11 To: <sip:03 at 10.161.40.64> CSeq: 13867 INVITE Server: Asterisk PBX 13.4.0 Content-Length: 0 --end msg-- 14:05:58.176 os_core_unix.c !Info: possibly re-registering existing thread 14:05:58.535 pjsua_core.c !.RX 508 bytes Response msg 200/REGISTER/cseq=16227 (rdata0x7fffcc001948) from UDP 10.161.40.64:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.161.40.64:5062;rport=5062;received=10.161.40.64;branch=z9hG4bKPjf25d596b-8b38-4ee8-a545-b7170bcf8f37 Call-ID: d193b5dc-9ce9-46c3-b35d-accb799144d5 From: <sip:02@10.161.40.64>;tag=e899162d-3027-4151-a49f-706af388f4b5 To: <sip:02 at 10.161.40.64>;tag=z9hG4bKPjf25d596b-8b38-4ee8-a545-b7170bcf8f37 CSeq: 16227 REGISTER Date: Wed, 09 Sep 2015 05:05:58 GMT Contact: <sip:02 at 10.161.40.64:5062;ob>;expires=299 Expires: 300 Server: Asterisk PBX 13.4.0 Content-Length: 0 --end msg-- 14:05:58.535 pjsua_acc.c ....SIP outbound status for acc 2 is not active 14:05:58.535 pjsua_acc.c ....sip:02 at 10.161.40.64: registration success, status=200 (OK), will re-register in 299 seconds 14:05:58.535 pjsua_acc.c ....Keep-alive timer started for acc 2, destination:10.161.40.64:5060, interval:15s 14:05:58.535 pjsua_core.c .RX 486 bytes Request msg OPTIONS/cseq=13331 (rdata0x7fffcc001948) from UDP 10.161.40.64:5060: OPTIONS sip:02 at 10.161.40.64:5062;ob SIP/2.0 Via: SIP/2.0/UDP 10.161.40.64:5060;rport;branch=z9hG4bKPj6efc1402-b655-4591-a84f-71b30d211cc4 From: <sip:b71d9933-ab23-4800-829f-ac8ea4404803@10.161.40.64>;tag=3746e0da-bb94-4d81-815d-44c38fa98ba0 To: <sip:02 at 10.161.40.64;ob> Contact: <sip:b71d9933-ab23-4800-829f-ac8ea4404803 at 10.161.40.64:5060> Call-ID: 276c4ee3-97f3-4b97-abbe-67c51536f989 CSeq: 13331 OPTIONS Max-Forwards: 70 User-Agent: Asterisk PBX 13.4.0 Content-Length: 0 --end msg-- 14:05:58.536 pjsua_core.c .TX 842 bytes Response msg 200/OPTIONS/cseq=13331 (tdta0x7fffcc007610) to UDP 10.161.40.64:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.161.40.64:5060;rport=5060;received=10.161.40.64;branch=z9hG4bKPj6efc1402-b655-4591-a84f-71b30d211cc4 Call-ID: 276c4ee3-97f3-4b97-abbe-67c51536f989 From: <sip:b71d9933-ab23-4800-829f-ac8ea4404803@10.161.40.64>;tag=3746e0da-bb94-4d81-815d-44c38fa98ba0 To: <sip:02 at 10.161.40.64;ob>;tag=z9hG4bKPj6efc1402-b655-4591-a84f-71b30d211cc4 CSeq: 13331 OPTIONS Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Accept: application/sdp, application/pidf+xml, application/xpidf+xml, application/simple-message-summary, message/sipfrag;version=2.0, application/im-iscomposing+xml, text/plain Supported: replaces, 100rel, timer, norefersub Allow-Events: presence, message-summary, refer User-Agent: PJSUA v2.4.5 Linux-3.16.6/x86_64/glibc-2.19 Content-Length: 0 --end msg-- 14:05:58.846 pjsua_core.c .RX 1177 bytes Response msg 200/INVITE/cseq=13867 (rdata0x7fffcc001948) from UDP 10.161.40.64:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.161.40.64:5062;rport=5062;received=10.161.40.64;branch=z9hG4bKPjb007035b-f6ed-49ca-8a8a-d5f4394072d9 Call-ID: 1b677bc2-3649-43c7-be6f-37b98eeee72e From: <sip:02@10.161.40.64>;tag=0963a53e-d228-45f6-bc0c-e92ce5b87b11 To: <sip:03 at 10.161.40.64>;tag=30ed00fd-9092-4f74-a610-7d7a76ca5f1b CSeq: 13867 INVITE Server: Asterisk PBX 13.4.0 Contact: <sip:10.161.40.64:5060> Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REGISTER, REFER Supported: 100rel, timer, replaces, norefersub Session-Expires: 1800;refresher=uac Require: timer Content-Type: application/sdp Content-Length: 503 v=0 o=- 3650763958 3650763960 IN IP4 10.161.40.64 s=Asterisk c=IN IP4 10.161.40.64 t=0 0 m=audio 18892 RTP/AVP 0 8 104 96 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:104 iLBC/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-16 a=ptime:20 a=maxptime:30 a=sendrecv m=video 11286 RTP/AVP 97 96 a=rtpmap:97 H264/90000 a=fmtp:97 profile-level-id=42E01E a=rtpmap:96 h263-1998/90000 a=fmtp:96 SQCIF=0;QCIF=1;CIF=1;CIF4=0;CIF16=0;VGA=0;F=0;I=0;J=0;T=0;K=0;N=0;BPP=0;HRD=0 a=sendrecv --end msg-- 14:05:58.846 pjsua_app.c .....Call 0 state changed to CONNECTING 14:05:58.847 pjsua_media.c .....Call 0: updating media.. 14:05:58.847 pjsua_aud.c ......Audio channel update.. 14:05:58.847 strm0x7fffcc00 .......VAD temporarily disabled 14:05:58.847 strm0x7fffcc00 .......Encoder stream started 14:05:58.847 strm0x7fffcc00 .......Decoder stream started 14:05:58.848 pjsua_media.c ......Audio updated, stream #0: PCMU (sendrecv) 14:05:58.848 pjsua_vid.c ......Video channel update.. 14:05:58.866 udp0x734730 !Remote RTP address switched to 10.161.40.64:11286 14:05:58.866 udp0x734730 Remote RTCP address switched to predicted address 10.161.40.64:11287 [New Thread 0x7fffe7a58700 (LWP 11976)] [New Thread 0x7fffe7257700 (LWP 11977)] [New Thread 0x7fffe5e56700 (LWP 11978)] [New Thread 0x7fffe5655700 (LWP 11979)] [New Thread 0x7fffe4e54700 (LWP 11980)] [New Thread 0x7fffd7ffd700 (LWP 11981)] [New Thread 0x7fffd77fc700 (LWP 11982)] [New Thread 0x7fffd6ffb700 (LWP 11983)] 14:05:58.882 vstenc0x7fffcc !.......Encoder stream started 14:05:58.882 vstdec0x7fffcc .......Decoder stream started 14:05:58.882 pjsua_vid.c .......Setting up RX.. 14:05:58.882 pjsua_vid.c ........Creating video window: type=stream, cap_id=-1, rend_id=65 14:05:58.882 pjsua_vid.c .........Window 0: destroying.. 14:05:58.882 pjsua_media.c ......pjsua_vid_channel_update() failed for call_id 0 media 1: Invalid video device (PJMEDIA_EVID_INVDEV) 14:05:58.883 pjsua_media.c ......Error updating media call00:1: Invalid video device (PJMEDIA_EVID_INVDEV) 14:05:58.883 pjsua_app.c .....Call 0 media 0 [type=audio], status is Active 14:05:58.883 pjsua_aud.c .....Conf connect: 3 --> 0 14:05:58.883 conference.c ......Port 3 (sip:03 at 10.161.40.64) transmitting to port 0 (pulse) 14:05:58.883 pjsua_aud.c .....Conf connect: 0 --> 3 14:05:58.883 conference.c ......Port 0 (pulse) transmitting to port 3 (sip:03 at 10.161.40.64) 14:05:58.883 pjsua_app.c .....Call 0 media 1 [type=video], status is Error 14:05:58.883 pjsua_core.c .....TX 368 bytes Request msg ACK/cseq=13867 (tdta0x7fffcc55b040) to UDP 10.161.40.64:5060: ACK sip:10.161.40.64:5060 SIP/2.0 Via: SIP/2.0/UDP 10.161.40.64:5062;rport;branch=z9hG4bKPjf405224a-3b45-42d0-8551-0a5b8950d45f Max-Forwards: 70 From: sip:02@10.161.40.64;tag=0963a53e-d228-45f6-bc0c-e92ce5b87b11 To: sip:03 at 10.161.40.64;tag=30ed00fd-9092-4f74-a610-7d7a76ca5f1b Call-ID: 1b677bc2-3649-43c7-be6f-37b98eeee72e CSeq: 13867 ACK Content-Length: 0 --end msg-- 14:05:58.883 pjsua_app.c .....Call 0 state changed to CONFIRMED 14:05:58.883 pjsua_call.c .Call 0 sending UPDATE for updating media session to use only one codec 14:05:58.883 pjsua_core.c ....TX 870 bytes Request msg UPDATE/cseq=13868 (tdta0x7fffcc55ff30) to UDP 10.161.40.64:5060: UPDATE sip:10.161.40.64:5060 SIP/2.0 Via: SIP/2.0/UDP 10.161.40.64:5062;rport;branch=z9hG4bKPj8a873d4b-b6b7-4421-a82e-9ba185a5e06c Max-Forwards: 70 From: sip:02@10.161.40.64;tag=0963a53e-d228-45f6-bc0c-e92ce5b87b11 To: sip:03 at 10.161.40.64;tag=30ed00fd-9092-4f74-a610-7d7a76ca5f1b Contact: <sip:02 at 10.161.40.64:5062;ob> Call-ID: 1b677bc2-3649-43c7-be6f-37b98eeee72e CSeq: 13868 UPDATE Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800;refresher=uac Min-SE: 90 Content-Type: application/sdp Content-Length: 325 v=0 o=- 3650763958 3650763959 IN IP4 10.161.40.64 s=pjmedia b=AS:84 t=0 0 a=X-nat:0 m=audio 4002 RTP/AVP 0 96 c=IN IP4 10.161.40.64 b=TIAS:64000 a=rtcp:4003 IN IP4 10.161.40.64 a=rtpmap:0 PCMU/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-16 a=sendrecv m=video 0 RTP/AVP 31 c=IN IP4 127.0.0.1 a=inactive --end msg-- 14:05:58.885 pjsua_core.c .RX 952 bytes Response msg 200/UPDATE/cseq=13868 (rdata0x7fffcc001948) from UDP 10.161.40.64:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.161.40.64:5062;rport=5062;received=10.161.40.64;branch=z9hG4bKPj8a873d4b-b6b7-4421-a82e-9ba185a5e06c Call-ID: 1b677bc2-3649-43c7-be6f-37b98eeee72e From: <sip:02@10.161.40.64>;tag=0963a53e-d228-45f6-bc0c-e92ce5b87b11 To: <sip:03 at 10.161.40.64>;tag=30ed00fd-9092-4f74-a610-7d7a76ca5f1b CSeq: 13868 UPDATE Session-Expires: 1800;refresher=uac Require: timer Contact: <sip:10.161.40.64:5060> Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REGISTER, REFER Supported: 100rel, timer, replaces, norefersub Server: Asterisk PBX 13.4.0 Content-Type: application/sdp Content-Length: 278 v=0 o=- 3650763958 3650763961 IN IP4 10.161.40.64 s=Asterisk c=IN IP4 10.161.40.64 t=0 0 m=audio 18892 RTP/AVP 0 96 a=rtpmap:0 PCMU/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-16 a=ptime:20 a=maxptime:30 a=sendrecv m=video 0 RTP/AVP 31 c=IN IP4 10.161.40.64 --end msg-- 14:05:58.885 pjsua_media.c .....Call 0: updating media.. 14:05:58.885 pjsua_media.c ......Call 0: stream #0 (audio) unchanged. 14:05:58.885 pjsua_media.c ......Audio updated, stream #0: PCMU (sendrecv) 14:05:58.885 pjsua_vid.c .......Stopping video stream.. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe9e57700 (LWP 11963)] 0x00007ffff35b2174 in pj_ioqueue_lock_key (key=0x0) at ../src/pj/ioqueue_common_abs.c:1321 1321 if (key->grp_lock) (gdb) bt Python Exception <type 'exceptions.ImportError'> No module named gdb.frames: #0 0x00007ffff35b2174 in pj_ioqueue_lock_key (key=0x0) at ../src/pj/ioqueue_common_abs.c:1321 #1 0x00007ffff4f1c963 in transport_detach (tp=0x734968, user_data=0x737988) at ../src/pjmedia/transport_udp.c:758 #2 0x00007ffff4f17e86 in pjmedia_transport_detach (tp=0x734968, user_data=0x737988) at ../include/pjmedia/transport.h:658 #3 0x00007ffff4f1965d in transport_detach (tp=0x737988, strm=0x7fffcc010f08) at ../src/pjmedia/transport_srtp.c:817 #4 0x00007ffff4f223c2 in pjmedia_transport_detach (tp=0x737988, user_data=0x7fffcc010f08) at ../include/pjmedia/transport.h:658 #5 0x00007ffff4f24d1a in pjmedia_vid_stream_destroy (stream=0x7fffcc010f08) at ../src/pjmedia/vid_stream.c:1723 #6 0x00007ffff5a27916 in pjsua_vid_stop_stream (call_med=0x7ffff5c3de20 <pjsua_var+35808>) at ../src/pjsua-lib/pjsua_vid.c:1186 #7 0x00007ffff5a17615 in stop_media_stream (call=0x7ffff5c3dcc8 <pjsua_var+35464>, med_idx=1) at ../src/pjsua-lib/pjsua_media.c:2314 #8 0x00007ffff5a18969 in pjsua_media_channel_update (call_id=0, local_sdp=0x7fffcc55ef08, remote_sdp=0x7fffcc006a08) at ../src/pjsua-lib/pjsua_media.c:2911 #9 0x00007ffff5a09642 in pjsua_call_on_media_update (inv=0x739b78, status=0) at ../src/pjsua-lib/pjsua_call.c:3891 #10 0x00007ffff57d5e77 in inv_negotiate_sdp (inv=0x739b78) at ../src/pjsip-ua/sip_inv.c:1888 #11 0x00007ffff57d6426 in inv_check_sdp_in_incoming_msg (inv=0x739b78, tsx=0x7fffcc562f48, rdata=0x7fffcc001948) at ../src/pjsip-ua/sip_inv.c:2099 #12 0x00007ffff57d8915 in inv_handle_update_response (inv=0x739b78, e=0x7fffe9e560b0) at ../src/pjsip-ua/sip_inv.c:3543 #13 0x00007ffff57db383 in inv_on_state_confirmed (inv=0x739b78, e=0x7fffe9e560b0) at ../src/pjsip-ua/sip_inv.c:5104 #14 0x00007ffff57d3920 in mod_inv_on_tsx_state (tsx=0x7fffcc562f48, e=0x7fffe9e560b0) at ../src/pjsip-ua/sip_inv.c:677 #15 0x00007ffff53a14d1 in pjsip_dlg_on_tsx_state (dlg=0x704ac8, tsx=0x7fffcc562f48, e=0x7fffe9e560b0) at ../src/pjsip/sip_dialog.c:2013 #16 0x00007ffff53a1d3f in mod_ua_on_tsx_state (tsx=0x7fffcc562f48, e=0x7fffe9e560b0) at ../src/pjsip/sip_ua_layer.c:178 #17 0x00007ffff539a355 in tsx_set_state (tsx=0x7fffcc562f48, state=PJSIP_TSX_STATE_COMPLETED, event_src_type=PJSIP_EVENT_RX_MSG, event_src=0x7fffcc001948) at ../src/pjsip/sip_transaction.c:1213 #18 0x00007ffff539cfdc in tsx_on_state_proceeding_uac (tsx=0x7fffcc562f48, event=0x7fffe9e561d0) at ../src/pjsip/sip_transaction.c:2943 #19 0x00007ffff539c657 in tsx_on_state_calling (tsx=0x7fffcc562f48, event=0x7fffe9e561d0) at ../src/pjsip/sip_transaction.c:2526 #20 0x00007ffff539b259 in pjsip_tsx_recv_msg (tsx=0x7fffcc562f48, rdata=0x7fffcc001948) at ../src/pjsip/sip_transaction.c:1775 #21 0x00007ffff539993f in mod_tsx_layer_on_rx_response (rdata=0x7fffcc001948) at ../src/pjsip/sip_transaction.c:872 #22 0x00007ffff5381d11 in pjsip_endpt_process_rx_data (endpt=0x653c38, rdata=0x7fffcc001948, p=0x7fffe9e563b0, p_handled=0x7fffe9e563ac) at ../src/pjsip/sip_endpoint.c:894 #23 0x00007ffff5381fce in endpt_on_rx_msg (endpt=0x653c38, status=0, rdata=0x7fffcc001948) at ../src/pjsip/sip_endpoint.c:1036 #24 0x00007ffff538a80e in pjsip_tpmgr_receive_packet (mgr=0x664da8, rdata=0x7fffcc001948) at ../src/pjsip/sip_transport.c:1884 #25 0x00007ffff538c391 in udp_on_read_complete (key=0x65f460, op_key=0x7fffcc001960, bytes_read=952) at ../src/pjsip/sip_transport_udp.c:175 #26 0x00007ffff35b13bb in ioqueue_dispatch_read_event (ioqueue=0x65e9a0, h=0x65f460) at ../src/pj/ioqueue_common_abs.c:591 #27 0x00007ffff35b30f9 in pj_ioqueue_poll (ioqueue=0x65e9a0, timeout=0x7fffe9e56e00) at ../src/pj/ioqueue_select.c:966 #28 0x00007ffff53819ca in pjsip_endpt_handle_events2 (endpt=0x653c38, max_timeout=0x7fffe9e56e40, p_count=0x7fffe9e56e58) at ../src/pjsip/sip_endpoint.c:741 #29 0x00007ffff5a0f5ab in pjsua_handle_events (msec_timeout=10) at ../src/pjsua-lib/pjsua_core.c:1856 #30 0x00007ffff5a0cf8e in worker_thread (arg=0x0) at ../src/pjsua-lib/pjsua_core.c:696 #31 0x00007ffff35b3ed8 in thread_main (param=0x6e4c88) at ../src/pj/os_core_unix.c:541 #32 0x00007ffff78cb034 in start_thread () from /lib/libpthread.so.0 #33 0x00007ffff1a7e6cd in clone () from /lib/libc.so.6 (gdb)