Hi Benny, Here is another message that crashes ipjsua: 2010-10-19 22:46:23.118 ipjsua[780:6903] 22:46:23.118 pjsua_core.c RX 454 bytes Response msg 180/INVITE/cseq=10896 (rdata0x854414) from UDP 213.215.45.230:5060 <http://213.215.45.230:5060>: SIP/2.0 180 Ringing Via: SIP/2.0/UDP 82.240.XX.XX:5060;received=82.240.XX.XX;rport=5060;branch=z9hG4bKPjvZ86occNkf3ZED-eLET3lpS8eDJlqoA- From: sip:name@xxxxxxx <mailto:sip%3Asamuelv at ippi.fr>;tag=ZddteGfp2-tbM64xnAz1.PzOIYAzAjlE To: sip:*1234 at ippi.fr <mailto:1234 at ippi.fr>;tag=as64e16846 Call-ID: i44PvzoLs8.9FErRkuMXlgP6j6lfaR1r CSeq: 10896 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Contact: <sip:411 at 213.215.45.231 <mailto:sip%3A411 at 213.215.45.231>> Content-Length: 0 --end msg-- Best regards Samuel Le 19/10/10 16:29, Benny Prijono a ?crit : > Hi Samuel, > > that sounds bad. If you have the captured request message that crashed > pjsua that would help us reproduce it faster. > > Best regards, > Benny > > > > > On Tue, Oct 19, 2010 at 5:53 AM, Samuel Vinson<samuelv at laposte.net> wrote: >> Hi, >> >> I updated pjsip to the last svn version. I compiled them on iphone and I >> tried my app and ipjsua. In both cases app crashes (login or first call). I >> believe this issue comes when app receives a message. It seems this issue >> arrive with compilation option -Os and not with -O0. >> >> #0 0x351fcf38 in memmove () >> #1 0x0002032c in pj_memcpy (dst=<value temporarily unavailable, due to >> optimizations>, src=<value temporarily unavailable, due to optimizations>, >> size=<value temporarily unavailable, due to optimizations>) at string.h:634 >> #2 0x00020724 in pj_strdup (pool=<value temporarily unavailable, due to >> optimizations>, dst=0x849c38, src=0x7cc9724) at string_i.h:41 >> #3 0x0005bdf0 in pjsip_generic_array_hdr_clone (pool=0x8d8400, >> rhs=0x7cc9700) at ../src/pjsip/sip_msg.c:937 >> #4 0x00074954 in pjsip_dlg_set_remote_cap_hdr (dlg=0x8d8464, >> cap_hdr=0x7cc9700) at ../src/pjsip/sip_dialog.c:2159 >> #5 0x00074adc in pjsip_dlg_update_remote_cap (dlg=0x8d8464, msg=0x8d4d8c, >> strict=-1) at ../src/pjsip/sip_dialog.c:2071 >> #6 0x000766a8 in pjsip_dlg_on_rx_response (dlg=0x8d8464, rdata=0x8d3c14) at >> ../src/pjsip/sip_dialog.c:1786 >> #7 0x000785b8 in mod_ua_on_rx_response (rdata=0x8d3c14) at >> ../src/pjsip/sip_ua_layer.c:892 >> #8 0x0007073c in tsx_set_state (tsx=0x90ac64, >> state=PJSIP_TSX_STATE_PROCEEDING, event_src_type=PJSIP_EVENT_RX_MSG, >> event_src=0x8d3c14) at ../src/pjsip/sip_transaction.c:1138 >> #9 0x00071cc0 in tsx_on_state_proceeding_uac (tsx=0x90ac64, >> event=0x7cc9904) at ../src/pjsip/sip_transaction.c:2841 >> #10 0x00071f1c in pjsip_tsx_recv_msg (tsx=0x90ac64, rdata=0x8d3c14) at >> ../src/pjsip/sip_transaction.c:1690 >> #11 0x00072d48 in mod_tsx_layer_on_rx_response (rdata=0x8d3c14) at >> ../src/pjsip/sip_transaction.c:852 >> #12 0x00064d68 in endpt_on_rx_msg (endpt=0x88c064, status=<value temporarily >> unavailable, due to optimizations>, rdata=0x8d3c14) at >> ../src/pjsip/sip_endpoint.c:927 >> #13 0x00069dd8 in pjsip_tpmgr_receive_packet (mgr=0x852a54, rdata=0x8d3c14) >> at ../src/pjsip/sip_transport.c:1510 >> #14 0x0006abdc in udp_on_read_complete (key=0x88cd18, op_key=<value >> temporarily unavailable, due to optimizations>, bytes_read=454) at >> ../src/pjsip/sip_transport_udp.c:171 >> #15 0x00016b98 in ioqueue_dispatch_read_event (ioqueue=0x88c730, h=0x88cd18) >> at ioqueue_common_abs.c:559 >> #16 0x000171e8 in pj_ioqueue_poll (ioqueue=0x88c730, timeout=<value >> temporarily unavailable, due to optimizations>) at >> ../src/pj/ioqueue_select.c:902 >> #17 0x000646d4 in pjsip_endpt_handle_events2 (endpt=0x88c064, >> max_timeout=0x7cc9f98, p_count=0x7cc9fa0) at ../src/pjsip/sip_endpoint.c:719 >> #18 0x000959b0 in pjsua_handle_events (msec_timeout=<value temporarily >> unavailable, due to optimizations>) at ../src/pjsua-lib/pjsua_core.c:1506 >> #19 0x000971b4 in worker_thread (arg=<value temporarily unavailable, due to >> optimizations>) at ../src/pjsua-lib/pjsua_core.c:567 >> #20 0x0001850c in thread_main (param=<value temporarily unavailable, due to >> optimizations>) at ../src/pj/os_core_unix.c:492 >> #21 0x3527598c in _pthread_start () >> #22 0x3526b0ec in thread_start () >> >> any ideas ? >> >> Samuel >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip at lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101019/02cc9c19/attachment.html>