<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">bug reports go to jira<div>see: <a href="https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/5046304">https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/5046304</a><br><br><div id="AppleMailSignature">Sent from my iPhone</div><div><br>On May 29, 2018, at 05:29, 王聡 <<a href="mailto:cong.wang.itsherpa@gmail.com">cong.wang.itsherpa@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><span>Hey all,</span><br><span></span><br><span>Recently I upgraded my FS server from 1.4 to 1.6.20 and enabled video record, but frequently crash occurred.</span><br><span>The coredump file shows the crash occurred in handle_ice() function by a memory error like this:</span><br><span></span><br><span>#0  switch_sockaddr_get_port (sa=0x0) at src/switch_apr.c:924</span><br><span>No locals.</span><br><span>#1  0x00007f5aa524e662 in handle_ice (rtp_session=0x7f57e01a2138, ice=0x7f57e01a0cf0, data=0x0, len=140015398758072) at src/switch_rtp.c:1231</span><br><span>        ipbuf = “58.93.127.1", '\000' <repeats 37 times></span><br><span>        cmp = -1521403865</span><br><span>        stunbuf = "\001\001\000,!\022\244B\001o\025\177\236\006\262X\226Q\321$\000 \000\b\000\001:\266\033O\023`\000\b\000\024z\204%(\307>\352'\254jn\"K\255\227\376텠6\200(\000\004\366\065\062\177", '\000' <repeats 447 times></span><br><span>        rpacket = 0x7f59defcc2d0</span><br><span>        remote_ip = 0x1ba4 <error: Cannot access memory at address 0x1ba4></span><br><span>        from_addr = 0x7f57e01a0cf0</span><br><span>        bytes = 64</span><br><span>        buf = “58.93.127.1", '\000' <repeats 67 times></span><br><span>        port = 7076</span><br><span>        buf2 = '\000' <repeats 79 times></span><br><span>        packet = 0x1ba4</span><br><span>        attr = 0x7f57e01b26b8</span><br><span>        end_buf = 0x0</span><br><span>        username = "76MHJVvjVqM37tvJ:b94edc3e\000\000\000\000\000\000\000\000"</span><br><span>        buf = "\001\000T\000!\022\244B\001o\025\177\236\006\262X\226Q\321$\006\000\031\000\067\066MHJVvjVqM37tvJ:b94edc3e\000\000\000$\000\004\000n\377\377\377*\200\b\000n\033\004H0:9\254\b\000\024\000K\203Ə\264\242\063\303G\367\265\061\226v\233\206F\210\001G(\200\004\000iU\316\354", '\000' <repeats 407 times></span><br><span>        xlen = -553860400</span><br><span>        __func__ = "handle_ice"</span><br><span>#2  0x00007f5aa5252428 in read_rtp_packet (rtp_session=0x7f57e01a2138, bytes=0x7f59defcc740, flags=0x0, pmapP=0x0, poll_status=SWITCH_STATUS_SUCCESS, return_jb_packet=SWITCH_FALSE) at src/switch_rtp.c:5691</span><br><span>        ts = 3759842008</span><br><span>        sync = -535125288</span><br><span>        now = 140027297347623</span><br><span>        __PRETTY_FUNCTION__ = "read_rtp_packet"</span><br><span>        __func__ = "read_rtp_packet"</span><br><span></span><br><span>More test shows that the crash occurred when client switched its network during a call. </span><br><span>It always crash at the same point when I switched from wifi to carrier network.</span><br><span>And the crash disappeared after I disabled the ICE settings in client.</span><br><span></span><br><span>However, the same setting works well on previous server (1.4), so is there any changes on ICE solution between 1.4 and 1.6.20? Or the video record is the reason?</span><br><span></span><br><span>Server: </span><br><span>    Old: FreeSWITCH Version 1.4.26+git~20160205T175853Z~ca9207aa32~64bit (git ca9207a 2016-02-05 17:58:53Z 64bit)</span><br><span>    New: FreeSWITCH Version 1.6.20+git~20180123T214909Z~987c9b9a2a~64bit (git 987c9b9 2018-01-23 21:49:09Z 64bit)</span><br><span></span><br><span>Client:</span><br><span>    Custom SIP phone based on LibLinphone</span><br><span></span><br><span>Regards.</span><br><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></div></body></html>