Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00000000004ed11b in heap_get (i=1, h=0x23f95e0) at heap.c:62 62 return h->heap[i - 1]; [Current thread is 1 (Thread 0x7faab4d47640 (LWP 19871))] (gdb) bt full #0 0x00000000004ed11b in heap_get (i=1, h=0x23f95e0) at heap.c:62 No locals. #1 ast_heap_peek (h=0x23f95e0, index=index@entry=1) at heap.c:273 No locals. #2 0x00007faacd3183d5 in schedule_cache_expiration (cache=cache@entry=0x23f9588) at res_sorcery_memory_cache.c:661 cached = expiration = 0 __PRETTY_FUNCTION__ = "schedule_cache_expiration" #3 0x00007faacd3186e8 in remove_from_cache (cache=0x23f9588, id=, reschedule=1) at res_sorcery_memory_cache.c:486 hash_object = 0x7faa504a1000 oldest_object = 0x7faa504a1000 heap_object = 0x7faa504a1000 __PRETTY_FUNCTION__ = "remove_from_cache" #4 0x00007faacd31896f in sorcery_memory_cache_create (sorcery=0x23fb460, data=0x23f9588, object=0x7faa5062ebf8) at res_sorcery_memory_cache.c:822 cache = 0x23f9588 cached = 0x7faa50772e70 __PRETTY_FUNCTION__ = "sorcery_memory_cache_create" #5 0x0000000000565e9e in sorcery_cache_create (flags=0, arg=, obj=) at sorcery.c:1848 object_wizard = details = #6 ast_sorcery_retrieve_by_id (sorcery=0x23fb460, type=type@entry=0x7faab75eeef3 "endpoint", id=id@entry=0x7faa504dfdb9 "xxxxxxxxxxxxxx") at sorcery.c:1889 rc = idx = 2 res = sdetails = object_type = 0x23fabb0 object = 0x7faa5062ebf8 i = cached = __PRETTY_FUNCTION__ = "ast_sorcery_retrieve_by_id" #7 0x00007faab75dfa0a in sip_options_qualify_contact (obj=0x7faa500792d8, arg=arg@entry=0x7faa5028c6d8, flags=flags@entry=2) at res_pjsip/pjsip_options.c:867 endpoint_state_compositor = 0x7faa504dfdb0 contact = 0x7faa500792d8 aor_options = 0x7faa5028c6d8 endpoint = tdata = 0x7faa5028c6d8 contact_status = contact_callback_data = __PRETTY_FUNCTION__ = "sip_options_qualify_contact" #8 0x0000000000463deb in internal_ao2_traverse (self=0x7faa5028c948, flags=flags@entry=OBJ_NODATA, cb_fn=cb_fn@entry=0x7faab75df7c0 , arg=arg@entry=0x7faa5028c6d8, data=data@entry=0x0, type=type@entry=AO2_CALLBACK_DEFAULT, tag=0x7faab75ed927 "", file=0x7faab75f0722 "res_pjsip/pjsip_options.c", line=930, func=0x7faab75f2070 <__PRETTY_FUNCTION__.41> "sip_options_qualify_aor") at astobj2_container.c:328 match = 3 ret = 0x0 cb_default = 0x7faab75df7c0 cb_withdata = 0x0 node = 0x7faa5028ccd8 traversal_state = 0x7faab4d46a60 orig_lock = AO2_LOCK_REQ_MUTEX multi_container = 0x0 multi_iterator = 0x0 __PRETTY_FUNCTION__ = "internal_ao2_traverse" #9 0x000000000046425c in __ao2_callback (c=, flags=flags@entry=OBJ_NODATA, cb_fn=cb_fn@entry=0x7faab75df7c0 , arg=arg@entry=0x7faa5028c6d8, tag=tag@entry=0x7faab75ed927 "", file=file@entry=0x7faab75f0722 "res_pjsip/pjsip_options.c", line=930, func=0x7faab75f2070 <__PRETTY_FUNCTION__.41> "sip_options_qualify_aor") at astobj2_container.c:414 No locals. #10 0x00007faab75da3cc in sip_options_qualify_aor (obj=0x7faa5028c6d8) at res_pjsip/pjsip_options.c:930 aor_options = 0x7faa5028c6d8 --Type for more, q to quit, c to continue without paging-- __PRETTY_FUNCTION__ = "sip_options_qualify_aor" #11 0x00007faab75e2e28 in run_task (data=0x7faa5028cbd0) at res_pjsip/pjsip_scheduler.c:100 schtd = 0x7faa5028cbd0 res = delay = __PRETTY_FUNCTION__ = "run_task" #12 0x0000000000586334 in ast_taskprocessor_execute (tps=tps@entry=0x7faa5028c820) at taskprocessor.c:1237 local = {local_data = 0x7faab4d46c70, data = 0x1} t = 0x7faa5c000d30 size = __PRETTY_FUNCTION__ = "ast_taskprocessor_execute" #13 0x000000000058d158 in execute_tasks (data=0x7faa5028c820) at threadpool.c:1354 tps = 0x7faa5028c820 #14 0x0000000000586334 in ast_taskprocessor_execute (tps=0x1e77b90) at taskprocessor.c:1237 local = {local_data = 0x641f30, data = 0x642700 <__PRETTY_FUNCTION__.54>} t = 0x7faa5c000d00 size = __PRETTY_FUNCTION__ = "ast_taskprocessor_execute" #15 0x000000000058db9c in threadpool_execute (pool=0x1e76620) at threadpool.c:367 __PRETTY_FUNCTION__ = "threadpool_execute" #16 worker_active (worker=0x7faa58000bd0) at threadpool.c:1137 alive = alive = #17 worker_start (arg=arg@entry=0x7faa58000bd0) at threadpool.c:1056 worker = 0x7faa58000bd0 saved_state = __PRETTY_FUNCTION__ = "worker_start" #18 0x000000000059542d in dummy_start (data=) at utils.c:1428 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, 8499782319116965711, 140371187514030, 140371187514031, 0, 140371154990656, 8499580387960084303, -8457203408166922417}, __mask_was_saved = 0}}, __pad = { 0x7faab4d46e30, 0x0, 0x0, 0x0}} __cancel_routine = __cancel_arg = 0x7faab4d47640 __not_first_call = ret = a = {start_routine = 0x58d8c0 , data = 0x7faa58000bd0, name = 0x7faab4d46d90 ""} __PRETTY_FUNCTION__ = "dummy_start"