Hi,
Probem: Enabling PJ_GRP_LOCK_DEBUG crashes PJSIP.
Reason: The debug method pj_grp_lock_dump locks the same lock it's dumping and at the end releases it. Release also call dec_ref on the lock which calls the pj_grp_lock_dump and ends up in infinite loop til app crashes.
I commented out acquire and release calls from the method pj_grp_lock_dump
Thanks,
Imad
Hi Imad,
Just fixed this in the SVN trunk with ticket
https://trac.pjsip.org/repos/ticket/2129.
Thank you for the report.
BR,
nanang
On Tue, Jul 17, 2018 at 10:15 AM, Imad Khazali via pjsip <
pjsip@lists.pjsip.org> wrote:
Hi,
Probem: Enabling PJ_GRP_LOCK_DEBUG crashes PJSIP.
Reason: The debug method pj_grp_lock_dump locks the same lock it's
dumping and at the end releases it. Release also call dec_ref on the lock
which calls the pj_grp_lock_dump and ends up in infinite loop til app
crashes.
I commented out acquire and release calls from the method pj_grp_lock_dump
Thanks,
Imad
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org