Re: Group Lock enabled "PJ_GRP_LOCK_DEBUG" crashes PJSIP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux