Worth noting we did not see the issue before, until we disabled UPDATE on out server which forces PJSIP to send a re-INVITE instead. So it at least seems to only happen when session timers are forced to use re-invites.
It consistently crashes after the 2nd or 3rd attempt to refresh the session.
On Thu, Apr 27, 2017 at 1:44 PM, Colin Morelli <colin.morelli@xxxxxxxxx> wrote:
Using latest trunk, I'm seeing a crash in pjmedia_sdp_neg_send_local_offer when attempting to send a session refresh invite (the first session refresh works fine, the second crashes). It looks like a memory issue, as the crash is in pj_pool_create_block when attempting to duplicate the SDP.It seems like there's a small leak of some kind going on, as the memory usage does slowly increase over the course of the call (although to be fair I haven't isolated this as being PJSIP rather than my app), however even still the app is only using 46.2MB of memory on an iPhone 7 when this happens. I can't imagine the device is actually out of memory.Any thoughts?Colin
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org