Asterisk crashing due to PJSIP

Hi one of our asterisk server is crashing too frequently. Can you please help me to catch cause of it.

Asterisk version: 13.23.1
PJSIP version: 2.7.2

I am able to catch this in core dump debug…

#0 0x00007f2147a9ad29 in grp_lock_acquire (p=0x7f2084340878) at …/src/pj/lock.c:290
#1 0x00007f2147a9b272 in pj_grp_lock_acquire (grp_lock=0x7f2084340878) at …/src/pj/lock.c:478
#2 0x00007f2147a19548 in pjsip_tsx_send_msg (tsx=0x7f20b8337eb8, tdata=0x7f20b823e6d8) at …/src/pjsip/sip_transaction.c:1784
#3 0x00007f20d3dbbb94 in ast_sip_send_stateful_response (rdata=0x7f2084d2e3b8, tdata=0x7f20b823e6d8, sip_endpoint=0x7f1eb002c428) at res_pjsip.c:4618
#4 0x00007f2069694987 in register_aor (rdata=0x7f2084d2e3b8, endpoint=0x7f1eb002c428, aor=0x7f1eb009c028, aor_name=0x7f1eb0029190 “202-AA”) at res_pjsip_registrar.c:879
#5 0x00007f20696955e2 in registrar_on_rx_request (rdata=0x7f2084d2e3b8) at res_pjsip_registrar.c:1064
#6 0x00007f21479fe3ea in pjsip_endpt_process_rx_data (endpt=0x1ec3088, rdata=0x7f2084d2e3b8, p=0x7f20d3ffe620 <param.23928>, p_handled=0x7f1df21b8b74) at …/src/pjsip/sip_endpoint.c:895
#7 0x00007f20d3dd2665 in distribute (data=0x7f2084d2e3b8) at res_pjsip/pjsip_distributor.c:926
#8 0x00000000005e6d53 in ast_taskprocessor_execute (tps=0x2169dc0) at taskprocessor.c:972
#9 0x00000000005f0d0c in execute_tasks (data=0x2169dc0) at threadpool.c:1322
#10 0x00000000005e6d53 in ast_taskprocessor_execute (tps=0x1ec2bc0) at taskprocessor.c:972
#11 0x00000000005eefe3 in threadpool_execute (pool=0x1ec2c80) at threadpool.c:351
#12 0x00000000005f0682 in worker_active (worker=0x7f20bc001e90) at threadpool.c:1105
#13 0x00000000005f043b in worker_start (arg=0x7f20bc001e90) at threadpool.c:1024
#14 0x00000000005fc87b in dummy_start (data=0x7f20bc001b80) at utils.c:1239
#15 0x00007f2145dffe25 in start_thread () from /lib64/libpthread.so.0
#16 0x00007f21450ddbad in clone () from /lib64/libc.so.6

Currently we have 85 PJSIP contacts. Is there anything we need to do with PJ_IOQUEUE_MAX_HANDLES?

Please open an issue for this at issues.asterisk.org.
Follow the instructions at https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace to get a good backtrace we can use.