I am currently receiving a segfault with PJSIP SVN 5359 and unable to compile the latest SVN version due to the following errors:
0 0x00007f9134077a28 in raise () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f90a236b700 (LWP 29614))]
#0 0x00007f9134077a28 in raise () at /lib64/libc.so.6
#1 0x00007f913407962a in abort () at /lib64/libc.so.6
#2 0x00007f91340bad7a in () at /lib64/libc.so.6
#3 0x00007f91340c31ca in _int_free () at /lib64/libc.so.6
#4 0x00007f91340c672c in free () at /lib64/libc.so.6
#5 0x00007f90a8a876a5 in cpool_release_pool (pf=0x7f90a4584da0 <caching_pool>, pool=0x7f90d8a4ad40) at ../src/pj/pool_caching.c:259
pool_capacity = <optimized out>
i = <optimized out>
pool = <optimized out>
pf = <optimized out>
cp = 0x7f90a4584da0 <caching_pool>
pool_capacity = <optimized out>
#6 0x00007f90aa5cbb48 in pjsip_tx_data_dec_ref (tdata=0x7f90d8a4ade8) at ../src/pjsip/sip_transport.c:496
#7 0x00007f90aa5cf808 in on_data_sent (asock=<optimized out>, op_key=0x7f90d8a4ae40, bytes_sent=bytes_sent@entry=-120110) at ../src/pjsip/sip_transport_tcp.c:1249
tcp = 0x7f90d896e538
tdata_op_key = 0x7f90d8a4ae40
#8 0x00007f90aa5cfc23 in on_connect_complete (asock=<optimized out>, status=<optimized out>) at ../src/pjsip/sip_transport_tcp.c:1515
pending_tx = 0x7f91183aecd8
op_key = <optimized out>
tcp = 0x7f90d896e538
addr = {addr = {sa_family = 0}, ipv4 = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "-W\250\250\220\177\000"}, ipv6 = {sin6_family = 0, sin6_port = 0, sin6_flowinfo = 0, sin6_addr = {s6_addr
= "-W\250\250\220\177\000\000\250cxØ\177\000", u6_addr32 = {2829604653, 32656, 3631768488, 32656}}, sin6_scope_id = 2829604788}}
addrlen = 0
state_cb = <optimized out>
#9 0x00007f90a8a7e72f in ioqueue_dispatch_write_event (ioqueue=0x30f01a0, h=0x311a1d0) at ../src/pj/ioqueue_common_abs.c:286
status = 120110
has_lock = 1
h = 0x311a1d0
ioqueue = 0x30f01a0
rc = <optimized out>
#10 0x00007f90a8a7fc9b in pj_ioqueue_poll (ioqueue=0x30f01a0, timeout=timeout@entry=0x7f90a236ad70) at ../src/pj/ioqueue_epoll.c:800
i = <optimized out>
count = <optimized out>
event_cnt = 6
processed_cnt = 3
msec = 10
events = {{events = 29, data = "" = 0x3119e18, fd = 51486232, u32 = 51486232, u64 = 51486232}}, {events = 29, data = "" = 0x3119fd8, fd = 51486680, u32 = 51486680, u64 = 51486680}}, {events = 29, data = "" =
0x311a550, fd = 51488080, u32 = 51488080, u64 = 51488080}}, {events = 29, data = "" = 0x311a1d0, fd = 51487184, u32 = 51487184, u64 = 51487184}}, {events = 29, data = "" = 0x311a710, fd = 51488528, u32 = 51488528, u64 = 51488528}}, {events = 29, data =
"" = 0x311a390, fd = 51487632, u32 = 51487632, u64 = 51487632}}, {events = 2829584897, data = "" = 0x200007f90, fd = 32656, u32 = 32656, u64 = 8589967248}}, {events = 0, data = "" = 0x7f90a8a80b46 <pj_atomic_dec_and_get+38>, fd = -1465382074, u32 = 2829585222,
u64 = 140259281603398}}, {events = 3856867848, data = "" = 0xd86cfa9800007f90, fd = 32656, u32 = 32656, u64 = 15595115140419190672}}, {events = 32656, data = "" = 0x7, fd = 7, u32 = 7, u64 = 7}}, {events = 1, data = "" = 0x0, fd = 0, u32 = 0, u64 = 0}},
{events = 0, data = "" = 0x7f90a8a80509 <pj_thread_local_set+9>, fd = -1465383671, u32 = 2829583625, u64 = 140259281601801}}, {events = 3631020696, data = "" = 0xaa5d702300007f90, fd = 32656, u32 = 32656, u64 = 12276091454908039056}}, {events = 32656,
data = "" = 0x7f9000000005, fd = 5, u32 = 5, u64 = 140256452018181}}, {events = 472481536, data = "" = 0x1c297f0000007f91, fd = 32657, u32 = 32657, u64 = 2029292745083879313}}, {events = 32657, data = "" = 0x7f911c297eb0, fd = 472481456, u32 = 472481456,
u64 = 140261219466928}}}
queue = {{key = 0x3119e18, event_type = WRITEABLE_EVENT}, {key = 0x3119fd8, event_type = WRITEABLE_EVENT}, {key = 0x311a550, event_type = WRITEABLE_EVENT}, {key = 0x311a1d0, event_type = WRITEABLE_EVENT}, {key = 0x311a710,
event_type = WRITEABLE_EVENT}, {key = 0x311a390, event_type = WRITEABLE_EVENT}, {key = 0x7f911c297f00, event_type = 2829610171}, {key = 0x3b9aca00, event_type = 2757250464}, {key = 0x7f911c297eb0, event_type = 472481624}, {key = 0x7f911c297eb0, event_type
= 2829612782}, {key = 0x7f911c297fc8, event_type = 2829584897}, {key = 0x7f911c297fc8, event_type = 2829604072}, {key = 0x7f911c297f58, event_type = 3631021136}, {key = 0x2, event_type = 472481624}, {key = 0x7f90a236ad70, event_type = 2829584897}, {key = 0x2f53ff0,
event_type = 2829644588}}
t1 = {u32 = {lo = 3647466018, hi = 8189}, u64 = 35175134652962}
t2 = {u32 = {lo = 3648834133, hi = 8189}, u64 = 35175136021077}
#11 0x00007f90aa5c6c85 in pjsip_endpt_handle_events2 (endpt=0x2f53d08, max_timeout=max_timeout@entry=0x7f90a236adb0, p_count=p_count@entry=0x0) at ../src/pjsip/sip_endpoint.c:741
timeout = {sec = 0, msec = 10}
count = 2
net_event_count = 0
c = <optimized out>
#12 0x00007f90aa5c6d07 in pjsip_endpt_handle_events (endpt=<optimized out>, max_timeout=max_timeout@entry=0x7f90a236adb0) at ../src/pjsip/sip_endpoint.c:769
#13 0x00007f90a4353508 in monitor_thread_exec (endpt=<optimized out>) at res_pjsip.c:3863
delay = {sec = 0, msec = 10}
#14 0x00007f90a8a80a56 in thread_main (param=0x2f5e9f8) at ../src/pj/os_core_unix.c:541
rec = 0x2f5e9f8
result = <optimized out>
#15 0x00007f9134e0961a in start_thread () at /lib64/libpthread.so.0
#16 0x00007f913414559d in clone () at /lib64/libc.so.6