"task" unit test fails with "atomic_load(&d) <= 3"
The task
unit test failed on main
in the unit:gcc:softhsm2.4
job:
[==========] Running 14 test(s).
[ RUN ] manytasks
[ OK ] manytasks
[ RUN ] all_events
[ OK ] all_events
[ RUN ] basic
[ OK ] basic
[ RUN ] create_task
[ OK ] create_task
[ RUN ] pause_unpause
[ OK ] pause_unpause
[ RUN ] post_shutdown
[ OK ] post_shutdown
[ RUN ] privilege_drop
atomic_load(&d) <= 3
[ LINE ] --- task_test.c:402: error: Failure!I:task_test:Core dump found: ./core.7161
D:task_test:backtrace from ./core.7161 start
[New LWP 7161]
[New LWP 7441]
[New LWP 7443]
[New LWP 7445]
[New LWP 7447]
[New LWP 7449]
[New LWP 7448]
[New LWP 7451]
[New LWP 7450]
[New LWP 7454]
[New LWP 7453]
[New LWP 7446]
[New LWP 7444]
[New LWP 7452]
[New LWP 7442]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/builds/isc-projects/bind9/lib/isc/tests/.libs/task_test'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f6c48c30ec0 (LWP 7161))]
Thread 15 (Thread 0x7f6c36ffd700 (LWP 7442)):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x55767e52e120) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
__ret = 0
oldtype = 0
err = <optimized out>
oldtype = <optimized out>
err = <optimized out>
__ret = <optimized out>
resultvar = <optimized out>
__arg4 = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a4 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55767e52e0a0, cond=0x55767e52e0f8) at pthread_cond_wait.c:502
spin = 0
buffer = {__routine = 0x7f6c4b7bad80 <__condvar_cleanup_waiting>, __arg = 0x7f6c36ffcc40, __canceltype = 2122456320, __prev = 0x0}
cbuffer = {wseq = 18, cond = 0x55767e52e0f8, mutex = 0x55767e52e0a0, private = 0}
rt = <optimized out>
err = <optimized out>
g = 0
flags = <optimized out>
g1_start = <optimized out>
signals = <optimized out>
result = 0
wseq = 18
seq = 9
private = 0
maxspin = <optimized out>
err = <optimized out>
result = <optimized out>
wseq = <optimized out>
g = <optimized out>
seq = <optimized out>
flags = <optimized out>
private = <optimized out>
signals = <optimized out>
g1_start = <optimized out>
spin = <optimized out>
buffer = <optimized out>
cbuffer = <optimized out>
rt = <optimized out>
s = <optimized out>
#2 __pthread_cond_wait (cond=cond@entry=0x55767e52e0f8, mutex=mutex@entry=0x55767e52e0a0) at pthread_cond_wait.c:655
No locals.
#3 0x00007f6c4b7f71fd in nm_thread (worker0=0x55767e65a7e0) at netmgr/netmgr.c:652
r = 1
worker = 0x55767e65a7e0
mgr = 0x55767e52e080
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767f8567f0) at trampoline.c:184
trampoline = 0x55767f8567f0
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140102755931904, 3335179980514494415, 140726091752270, 140726091752271, 140102755931904, 93967433497696, -3418058969693845553, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 14 (Thread 0x7f6c45426700 (LWP 7452)):
#0 0x00007f6c4b6bd62e in __GI_epoll_pwait (epfd=55, events=0x7f6c45422bf0, maxevents=1024, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f6c4b5aa399 in uv.io_poll () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#2 0x00007f6c4b59bf85 in uv_run () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#3 0x00007f6c4b7f6eef in nm_thread (worker0=0x55767e65d580) at netmgr/netmgr.c:612
r = <optimized out>
worker = 0x55767e65d580
mgr = 0x55767e52e080
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767f5c7f30) at trampoline.c:184
trampoline = 0x55767f5c7f30
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140102995175168, 3335179980514494415, 140726091752270, 140726091752271, 140102995175168, 93967433951312, -3418097971754989617, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 13 (Thread 0x7f6c37fff700 (LWP 7444)):
#0 0x00007f6c4b6bd62e in __GI_epoll_pwait (epfd=21, events=0x7f6c37ffbbf0, maxevents=1024, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f6c4b5aa399 in uv.io_poll () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#2 0x00007f6c4b59bf85 in uv_run () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#3 0x00007f6c4b7f6eef in nm_thread (worker0=0x55767e65b100) at netmgr/netmgr.c:612
r = <optimized out>
worker = 0x55767e65b100
mgr = 0x55767e52e080
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767eb44a40) at trampoline.c:184
trampoline = 0x55767eb44a40
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140102772717312, 3335179980514494415, 140726091752270, 140726091752271, 140102772717312, 93967420316976, -3418056769596848177, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 12 (Thread 0x7f6c4842c700 (LWP 7446)):
#0 0x00007f6c4b6bd62e in __GI_epoll_pwait (epfd=29, events=0x7f6c48428bf0, maxevents=1024, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f6c4b5aa399 in uv.io_poll () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#2 0x00007f6c4b59bf85 in uv_run () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#3 0x00007f6c4b7f6eef in nm_thread (worker0=0x55767e65ba20) at netmgr/netmgr.c:612
r = <optimized out>
worker = 0x55767e65ba20
mgr = 0x55767e52e080
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767f7696c0) at trampoline.c:184
trampoline = 0x55767f7696c0
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140103045531392, 3335179980514494415, 140726091752270, 140726091752271, 140103045531392, 93967433951312, -3418126560131053617, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 11 (Thread 0x7f6c44c25700 (LWP 7453)):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x55767febaa28) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
__ret = -512
oldtype = 0
err = <optimized out>
oldtype = <optimized out>
err = <optimized out>
__ret = <optimized out>
resultvar = <optimized out>
__arg4 = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a4 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
#1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55767feba9b0, cond=0x55767febaa00) at pthread_cond_wait.c:502
spin = 0
buffer = {__routine = 0x7f6c4b7bad80 <__condvar_cleanup_waiting>, __arg = 0x7f6c44c24c10, __canceltype = 0, __prev = 0x0}
cbuffer = {wseq = 0, cond = 0x55767febaa00, mutex = 0x55767feba9b0, private = 0}
rt = <optimized out>
err = <optimized out>
g = 0
flags = <optimized out>
g1_start = <optimized out>
signals = <optimized out>
result = 0
wseq = 0
seq = 0
private = 0
maxspin = <optimized out>
err = <optimized out>
result = <optimized out>
wseq = <optimized out>
g = <optimized out>
seq = <optimized out>
flags = <optimized out>
private = <optimized out>
signals = <optimized out>
g1_start = <optimized out>
spin = <optimized out>
buffer = <optimized out>
cbuffer = <optimized out>
rt = <optimized out>
s = <optimized out>
#2 __pthread_cond_wait (cond=cond@entry=0x55767febaa00, mutex=mutex@entry=0x55767feba9b0) at pthread_cond_wait.c:655
No locals.
#3 0x00007f6c4b83a6ad in run (uap=0x55767feba9a0) at timer.c:627
manager = 0x55767feba9a0
now = {seconds = 1620187993, nanoseconds = 389499008}
result = <optimized out>
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767f5c8380) at trampoline.c:184
trampoline = 0x55767f5c8380
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140102986782464, 3335179980514494415, 140726091752350, 140726091752351, 140102986782464, 140726091753456, -3418099071803488305, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 10 (Thread 0x7f6c35ffb700 (LWP 7454)):
#0 0x00007f6c4b6bd7ef in epoll_wait (epfd=65, events=0x55767ff1ce00, maxevents=2048, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f6c4b80faaf in netthread (uap=0x55767e530d90) at unix/socket.c:3394
thread = 0x55767e530d90
manager = <optimized out>
done = false
cc = <optimized out>
fnname = <optimized out>
strbuf = '\000' <repeats 127 times>
#2 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767f5d26d0) at trampoline.c:184
trampoline = 0x55767f5d26d0
result = <optimized out>
#3 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140102739146496, 3335179980514494415, 140726091751390, 140726091751391, 140102739146496, 0, -3418061165495875633, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#4 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 9 (Thread 0x7f6c46428700 (LWP 7450)):
#0 0x00007f6c4b6bd62e in __GI_epoll_pwait (epfd=45, events=0x7f6c46424bf0, maxevents=1024, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f6c4b5aa399 in uv.io_poll () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#2 0x00007f6c4b59bf85 in uv_run () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#3 0x00007f6c4b7f6eef in nm_thread (worker0=0x55767e65cc60) at netmgr/netmgr.c:612
r = <optimized out>
worker = 0x55767e65cc60
mgr = 0x55767e52e080
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767f197870) at trampoline.c:184
trampoline = 0x55767f197870
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140103011960576, 3335179980514494415, 140726091752270, 140726091752271, 140103011960576, 93967433951312, -3418095771657992241, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 8 (Thread 0x7f6c45c27700 (LWP 7451)):
#0 0x00007f6c4b6bd62e in __GI_epoll_pwait (epfd=49, events=0x7f6c45c23bf0, maxevents=1024, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f6c4b5aa399 in uv.io_poll () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#2 0x00007f6c4b59bf85 in uv_run () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#3 0x00007f6c4b7f6eef in nm_thread (worker0=0x55767e65d0f0) at netmgr/netmgr.c:612
r = <optimized out>
worker = 0x55767e65d0f0
mgr = 0x55767e52e080
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767f3b79d0) at trampoline.c:184
trampoline = 0x55767f3b79d0
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140103003567872, 3335179980514494415, 140726091752270, 140726091752271, 140103003567872, 93967433951312, -3418096871706490929, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 7 (Thread 0x7f6c4742a700 (LWP 7448)):
#0 0x00007f6c4b6bd62e in __GI_epoll_pwait (epfd=37, events=0x7f6c47426bf0, maxevents=1024, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f6c4b5aa399 in uv.io_poll () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#2 0x00007f6c4b59bf85 in uv_run () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#3 0x00007f6c4b7f6eef in nm_thread (worker0=0x55767e65c340) at netmgr/netmgr.c:612
r = <optimized out>
worker = 0x55767e65c340
mgr = 0x55767e52e080
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767ed575b0) at trampoline.c:184
trampoline = 0x55767ed575b0
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140103028745984, 3335179980514494415, 140726091752270, 140726091752271, 140103028745984, 93967433951312, -3418093575855962161, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 6 (Thread 0x7f6c46c29700 (LWP 7449)):
#0 0x00007f6c4b6bd62e in __GI_epoll_pwait (epfd=41, events=0x7f6c46c25bf0, maxevents=1024, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f6c4b5aa399 in uv.io_poll () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#2 0x00007f6c4b59bf85 in uv_run () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#3 0x00007f6c4b7f6eef in nm_thread (worker0=0x55767e65c7d0) at netmgr/netmgr.c:612
r = <optimized out>
worker = 0x55767e65c7d0
mgr = 0x55767e52e080
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767ef77710) at trampoline.c:184
trampoline = 0x55767ef77710
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140103020353280, 3335179980514494415, 140726091752270, 140726091752271, 140103020353280, 93967433951312, -3418094675904460849, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 5 (Thread 0x7f6c47c2b700 (LWP 7447)):
#0 0x00007f6c4b6bd62e in __GI_epoll_pwait (epfd=33, events=0x7f6c47c27bf0, maxevents=1024, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f6c4b5aa399 in uv.io_poll () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#2 0x00007f6c4b59bf85 in uv_run () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#3 0x00007f6c4b7f6eef in nm_thread (worker0=0x55767e65beb0) at netmgr/netmgr.c:612
r = <optimized out>
worker = 0x55767e65beb0
mgr = 0x55767e52e080
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767fe9bf80) at trampoline.c:184
trampoline = 0x55767fe9bf80
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140103037138688, 3335179980514494415, 140726091752270, 140726091752271, 140103037138688, 93967433951312, -3418092475807463473, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 4 (Thread 0x7f6c48c2d700 (LWP 7445)):
#0 0x00007f6c4b6bd62e in __GI_epoll_pwait (epfd=25, events=0x7f6c48c29bf0, maxevents=1024, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f6c4b5aa399 in uv.io_poll () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#2 0x00007f6c4b59bf85 in uv_run () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#3 0x00007f6c4b7f6eef in nm_thread (worker0=0x55767e65b590) at netmgr/netmgr.c:612
r = <optimized out>
worker = 0x55767e65b590
mgr = 0x55767e52e080
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767e8185c0) at trampoline.c:184
trampoline = 0x55767e8185c0
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140103053924096, 3335179980514494415, 140726091752270, 140726091752271, 140103053924096, 93967433951312, -3418125464377522225, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 3 (Thread 0x7f6c367fc700 (LWP 7443)):
#0 0x00007f6c4b6bd62e in __GI_epoll_pwait (epfd=17, events=0x7f6c367f8bf0, maxevents=1024, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f6c4b5aa399 in uv.io_poll () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#2 0x00007f6c4b59bf85 in uv_run () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#3 0x00007f6c4b7f6eef in nm_thread (worker0=0x55767e65ac70) at netmgr/netmgr.c:612
r = <optimized out>
worker = 0x55767e65ac70
mgr = 0x55767e52e080
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767fa1bc80) at trampoline.c:184
trampoline = 0x55767fa1bc80
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140102747539200, 3335179980514494415, 140726091752270, 140726091752271, 140102747539200, 93967433498800, -3418060065447376945, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 2 (Thread 0x7f6c377fe700 (LWP 7441)):
#0 0x00007f6c4b6bd62e in __GI_epoll_pwait (epfd=3, events=0x7f6c377fabf0, maxevents=1024, timeout=-1, set=0x0) at ../sysdeps/unix/sysv/linux/epoll_pwait.c:42
resultvar = 18446744073709551612
sc_cancel_oldtype = 0
sc_ret = <optimized out>
#1 0x00007f6c4b5aa399 in uv.io_poll () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#2 0x00007f6c4b59bf85 in uv_run () from /usr/lib/x86_64-linux-gnu/libuv.so.1
No symbol table info available.
#3 0x00007f6c4b7f6eef in nm_thread (worker0=0x55767e65a350) at netmgr/netmgr.c:612
r = <optimized out>
worker = 0x55767e65a350
mgr = 0x55767e52e080
#4 0x00007f6c4b83ca2a in isc__trampoline_run (arg=0x55767f859dd0) at trampoline.c:184
trampoline = 0x55767f859dd0
result = <optimized out>
#5 0x00007f6c4b7b4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
ret = <optimized out>
pd = <optimized out>
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140102764324608, 3335179980514494415, 140726091752270, 140726091752271, 140102764324608, 93967431334672, -3418057869645346865, -3418119472830117937}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#6 0x00007f6c4b6bd4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Thread 1 (Thread 0x7f6c48c30ec0 (LWP 7161)):
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
set = {__val = {0 <repeats 12 times>, 47, 96, 48, 0}}
pid = <optimized out>
tid = <optimized out>
ret = <optimized out>
#1 0x00007f6c4b5e6535 in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_handler = {sa_handler = 0x7f6c48c31820, sa_sigaction = 0x7f6c48c31820}, sa_mask = {__val = {8, 140103099350080, 10240, 0, 93967431334640, 28, 0, 0, 93967413862528, 140726091753008, 140103097767218, 93967413862528, 140103097767218, 0, 93967385772036, 402}}, sa_flags = 1267105120, sa_restorer = 0x7f6c4b871168}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007f6c4b867d47 in ?? () from /usr/lib/x86_64-linux-gnu/libcmocka.so.0
No symbol table info available.
#3 0x00007f6c4b867daa in _fail () from /usr/lib/x86_64-linux-gnu/libcmocka.so.0
No symbol table info available.
#4 0x000055767ca62477 in privilege_drop (state=<optimized out>) at task_test.c:414
result = <optimized out>
task1 = 0x55767f5d4c20
task2 = 0x55767f5d4d30
event = 0x0
a = 1
b = 2
c = 3
d = 5
e = 4
i = <optimized out>
#5 0x00007f6c4b86a0d9 in ?? () from /usr/lib/x86_64-linux-gnu/libcmocka.so.0
No symbol table info available.
#6 0x00007f6c4b86aa49 in _cmocka_run_group_tests () from /usr/lib/x86_64-linux-gnu/libcmocka.so.0
No symbol table info available.
#7 0x000055767ca6367b in main (argc=1, argv=0x7ffd58b5b5e8) at task_test.c:1588
tests = {{name = 0x55767ca6420b "manytasks", test_func = 0x55767ca63184 <manytasks>, setup_func = 0x0, teardown_func = 0x0, initial_state = 0x0}, {name = 0x55767ca64215 "all_events", test_func = 0x55767ca62f49 <all_events>, setup_func = 0x55767ca5fd92 <_setup>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}, {name = 0x55767ca64220 "basic", test_func = 0x55767ca62aa7 <basic>, setup_func = 0x55767ca5fcda <_setup2>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}, {name = 0x55767ca64226 "create_task", test_func = 0x55767ca62526 <create_task>, setup_func = 0x55767ca5fd92 <_setup>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}, {name = 0x55767ca64232 "pause_unpause", test_func = 0x55767ca62729 <pause_unpause>, setup_func = 0x55767ca5fd92 <_setup>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}, {name = 0x55767ca64240 "post_shutdown", test_func = 0x55767ca6031f <post_shutdown>, setup_func = 0x55767ca5fcda <_setup2>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}, {name = 0x55767ca6424e "privilege_drop", test_func = 0x55767ca61ed0 <privilege_drop>, setup_func = 0x55767ca5fd92 <_setup>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}, {name = 0x55767ca6425d "privileged_events", test_func = 0x55767ca6183a <privileged_events>, setup_func = 0x55767ca5fd92 <_setup>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}, {name = 0x55767ca64288 "purge", test_func = 0x55767ca61246 <purge>, setup_func = 0x55767ca5fcda <_setup2>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}, {name = 0x55767ca6426f "purgeevent", test_func = 0x55767ca6182a <purgeevent>, setup_func = 0x55767ca5fcda <_setup2>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}, {name = 0x55767ca6427a "purgeevent_notpurge", test_func = 0x55767ca6181a <purgeevent_notpurge>, setup_func = 0x55767ca5fd92 <_setup>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}, {name = 0x55767ca6428e "purgerange", test_func = 0x55767ca6103c <purgerange>, setup_func = 0x55767ca5fd92 <_setup>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}, {name = 0x55767ca64245 "shutdown", test_func = 0x55767ca5fe4a <shutdown>, setup_func = 0x55767ca5fc22 <_setup4>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}, {name = 0x55767ca64299 "task_exclusive", test_func = 0x55767ca5f5c5 <task_exclusive>, setup_func = 0x55767ca5fc22 <_setup4>, teardown_func = 0x55767ca62f2d <_teardown>, initial_state = 0x0}}
selected = {{name = 0x0, test_func = 0x0, setup_func = 0x0, teardown_func = 0x0, initial_state = 0x0} <repeats 14 times>}
i = <optimized out>
c = <optimized out>
D:task_test:backtrace from ./core.7161 end
FAIL task_test (exit status: 134)
core file: core.7161.gz