Several assertion failures in 3.2.0
Figured I'd give 3.2.0 a whirl, but sadly it still seems quite assertion-failure-prone. It seems to hit quite a few assertions, sadly, so not sure if the underlying issue isn't something less than deterministic. I have core dumps that I can provide against the debian forky 3.2.0 package. I saw at least the following: (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007fa1b85289ff in __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89 #2 0x00007fa1b84d3cc2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007fa1b84bc4ac in __GI_abort () at ./stdlib/abort.c:77 #4 0x0000555dddb0a1bc in bug (msg=msg@entry=0x555dddb1ace8 "Assertion '%s' failed at %s:%d") at sysdep/unix/log.c:412 #5 0x0000555ddda7ad4c in proto_announce_state_locked (ts=0x555dddb9a260 <proto_state_table_pub>, p=0x555e06438c70, new_state=0x7fa111f18208) at nest/proto.c:3069 #6 proto_announce_state (p=0x555e06438c70, attr=0x7fa111f18208) at nest/proto.c:3129 #7 0x0000555ddda58cb6 in defer_execute (_ld=<optimized out>) at lib/defer.c:22 #8 0x0000555ddda590a6 in ev_run_list_limited (l=l@entry=0x555dddb94578 <main_birdloop+216>, limit=4294967294, limit@entry=0) at lib/event.c:336 #9 0x0000555dddb007a4 in io_loop () at sysdep/unix/io.c:2648 #10 0x0000555ddda1632e in main (argc=<optimized out>, argv=<optimized out>) at sysdep/unix/main.c:1106 and this twice: (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007facbfb6c9ff in __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89 #2 0x00007facbfb17cc2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007facbfb004ac in __GI_abort () at ./stdlib/abort.c:77 #4 0x0000557b139b21bc in bug (msg=msg@entry=0x557b139c2ce8 "Assertion '%s' failed at %s:%d") at sysdep/unix/log.c:412 #5 0x0000557b13934353 in rt_notify_basic (c=c@entry=0x557b1d7e2e10, new=<optimized out>, new@entry=0x7fac024adfb8, old=old@entry=0x7fac8828a938) at nest/rt-table.c:1192 #6 0x0000557b139385cb in channel_notify_basic (_channel=0x557b1d7e2e10) at nest/rt-table.c:1627 #7 0x0000557b139010a6 in ev_run_list_limited (l=l@entry=0x557b1d7e37d8, limit=4294967294, limit@entry=4294967295) at lib/event.c:336 #8 0x0000557b139af4ff in birdloop_run (_loop=0x557b1d7e3700) at sysdep/unix/io-loop.c:1836 #9 0x0000557b139010a6 in ev_run_list_limited (l=0x557b1d898fb8, limit=4294967294, limit@entry=4294967295) at lib/event.c:336 #10 0x0000557b139ad392 in bird_thread_main (arg=0x557b1d899210) at sysdep/unix/io-loop.c:952 #11 0x00007facbfb6ab7b in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:448 #12 0x00007facbfbe87b8 in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 I also got a Assertion '!new || rte_is_valid(new)' failed at nest/rt-table.c:1416 once but don't have a coredump for that one.
On 2/20/26 8:41 PM, Matt Corallo wrote:
I also got a Assertion '!new || rte_is_valid(new)' failed at nest/rt-table.c:1416 once but don't have a coredump for that one.
I managed to hit this one again on 3.2.1: (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007f94eb2889ff in __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89 #2 0x00007f94eb233cc2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007f94eb21c4ac in __GI_abort () at ./stdlib/abort.c:77 #4 0x0000558b3c4dc18c in bug (msg=msg@entry=0x558b3c4ed0d0 "Assertion '%s' failed at %s:%d") at sysdep/unix/log.c:442 #5 0x0000558b3c45d861 in channel_notify_optimal (_channel=0x558b71e5b180) at nest/rt-table.c:1563 #6 0x0000558b3c423c8c in ev_run_list_limited (l=l@entry=0x558b71e5b788, limit=4294967294, limit@entry=4294967295) at lib/event.c:338 #7 0x0000558b3c4d91bb in birdloop_run (_loop=0x558b71e5b6b0) at sysdep/unix/io-loop.c:2038 #8 0x0000558b3c423c8c in ev_run_list_limited (l=0x558b71e77778, limit=4294967294, limit@entry=4294967295) at lib/event.c:338 #9 0x0000558b3c4d6ef7 in bird_thread_main (arg=0x558b71e779e0) at sysdep/unix/io-loop.c:984 #10 0x00007f94eb286b7b in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:448 #11 0x00007f94eb304630 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Matt
On 5/1/26 8:00 PM, Matt Corallo wrote:
On 2/20/26 8:41 PM, Matt Corallo wrote:
I also got a Assertion '!new || rte_is_valid(new)' failed at nest/rt-table.c:1416 once but don't have a coredump for that one.
I managed to hit this one again on 3.2.1:
(gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007f94eb2889ff in __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/ pthread_kill.c:89 #2 0x00007f94eb233cc2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007f94eb21c4ac in __GI_abort () at ./stdlib/abort.c:77 #4 0x0000558b3c4dc18c in bug (msg=msg@entry=0x558b3c4ed0d0 "Assertion '%s' failed at %s:%d") at sysdep/unix/log.c:442 #5 0x0000558b3c45d861 in channel_notify_optimal (_channel=0x558b71e5b180) at nest/rt-table.c:1563 #6 0x0000558b3c423c8c in ev_run_list_limited (l=l@entry=0x558b71e5b788, limit=4294967294, limit@entry=4294967295) at lib/event.c:338 #7 0x0000558b3c4d91bb in birdloop_run (_loop=0x558b71e5b6b0) at sysdep/unix/io-loop.c:2038 #8 0x0000558b3c423c8c in ev_run_list_limited (l=0x558b71e77778, limit=4294967294, limit@entry=4294967295) at lib/event.c:338 #9 0x0000558b3c4d6ef7 in bird_thread_main (arg=0x558b71e779e0) at sysdep/unix/io-loop.c:984 #10 0x00007f94eb286b7b in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:448 #11 0x00007f94eb304630 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100
Oh, oops, probably relevant that another thread was doing this at the same time: #0 0x0000558b3c433858 in sl_alloc (s=0x558b71f8dea0) at lib/slab.c:273 #1 0x0000558b3c433c2b in sl_alloc (s=<optimized out>) at lib/slab.c:308 #2 0x0000558b3c47d889 in bgp_get_prefix (c=<optimized out>, ni=0x7f94ba5be250, src=0x7f94ea7e6730, add_path_tx=<optimized out>) at proto/bgp/attrs.c:1880 #3 bgp_rt_notify (P=<optimized out>, C=<optimized out>, n=0x7f94ba5be268, new=<optimized out>, old=<optimized out>) at proto/bgp/attrs.c:2491 #4 0x0000558b3c45a8d3 in rt_notify_basic (c=c@entry=0x558b71e74650, new=new@entry=0x7f94b0bf0e78, old=<optimized out>, old@entry=0x7f94d9e9a4b8, trte=trte@entry=0x7f94b0bf0e78) at nest/rt-table.c:1463 #5 0x0000558b3c45d879 in channel_notify_optimal (_channel=0x558b71e74650) at nest/rt-table.c:1567 #6 0x0000558b3c423c8c in ev_run_list_limited (l=l@entry=0x558b71e74dd8, limit=4294967294, limit@entry=4294967295) at lib/event.c:338 #7 0x0000558b3c4d91bb in birdloop_run (_loop=0x558b71e74d00) at sysdep/unix/io-loop.c:2038 #8 0x0000558b3c423c8c in ev_run_list_limited (l=0x558b71e76f68, limit=4294967291, limit@entry=4294967295) at lib/event.c:338 #9 0x0000558b3c4d6ef7 in bird_thread_main (arg=0x558b71e771d0) at sysdep/unix/io-loop.c:984 #10 0x00007f94eb286b7b in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:448 #11 0x00007f94eb304630 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Matt
participants (1)
-
Matt Corallo