[asterisk-users] Upgrading asterisk 13.7 to 13.11. Segfaults

Dmitriy Serov serov.d.p at gmail.com
Tue Sep 6 08:32:40 CDT 2016


Hello.

Several months server working on asterisk 13.7 and pjproject 2.5 
(installed separately). Once a day the server crashes or hangs and is 
familiar sores that written watchdogs.

Yesterday I decided to upgrade to 13.11 and bundled pjproject (2.5.5). 
Solved all the problems with compilation I started asterisk several 
times and each time after 5-7 seconds was seg fault.

So I didn't get to use the new version of asterisk. And I really wanted 
to be able to find and remove the cause. I would be grateful for any help.


first segfault:

Program terminated with signal 11, Segmentation fault.
#0  0x00007fe19337357e in pj_atomic_dec_and_get (atomic_var=0x1a9a) at 
../src/pj/os_core_unix.c:962
962        pj_mutex_lock( atomic_var->mutex );

backtrace: https://ruvoip.net/_other/voip/2016-09-05-1/backtrace-threads.txt

log (16 MB) : https://ruvoip.net/_other/voip/2016-09-05-1/full.txt

second segfault:

Program terminated with signal 11, Segmentation fault.
#0  0x00007f5777412788 in pjsip_auth_clt_reinit_req 
(sess=0x7f56f4088a30, rdata=0x7f56ec2b0c98, old_request=0x7f56f47775a8, 
new_request=0x7f56d5b38980) at ../src/pjsip/sip_auth_client.c:1144
1144        PJ_ASSERT_RETURN(old_request->msg->type == PJSIP_REQUEST_MSG,

backtrace: https://ruvoip.net/_other/voip/2016-09-05-2/backtrace-threads.txt

log (15 MB) : https://ruvoip.net/_other/voip/2016-09-05-2/full.txt

third segfault:

Program terminated with signal 11, Segmentation fault.
#0  0x00007f592bcad53d in pj_pool_alloc (pool=0x7f580000002c, size=80) 
at ../include/pj/pool_i.h:60
60        void *ptr = pj_pool_alloc_from_block(pool->block_list.next, size);

backtrace: https://ruvoip.net/_other/voip/2016-09-05-3/backtrace-threads.txt

log (11 MB) : https://ruvoip.net/_other/voip/2016-09-05-3/full.txt





More information about the asterisk-users mailing list