From birdlist at as397444.net Sat May 2 02:00:29 2026 From: birdlist at as397444.net (Matt Corallo) Date: Fri, 1 May 2026 20:00:29 -0400 Subject: Several assertion failures in 3.2.0 In-Reply-To: References: Message-ID: <46789d77-1ffc-4441-a5cd-33fb5344bf30@as397444.net> 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=, signo=signo at entry=6, no_tid=no_tid at entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007f94eb2889ff in __pthread_kill_internal (threadid=, signo=6) at ./nptl/pthread_kill.c:89 #2 0x00007f94eb233cc2 in __GI_raise (sig=sig at entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007f94eb21c4ac in __GI_abort () at ./stdlib/abort.c:77 #4 0x0000558b3c4dc18c in bug (msg=msg at 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 at entry=0x558b71e5b788, limit=4294967294, limit at 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 at 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=) at ./nptl/pthread_create.c:448 #11 0x00007f94eb304630 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Matt From birdlist at as397444.net Sat May 2 02:01:43 2026 From: birdlist at as397444.net (Matt Corallo) Date: Fri, 1 May 2026 20:01:43 -0400 Subject: Several assertion failures in 3.2.0 In-Reply-To: <46789d77-1ffc-4441-a5cd-33fb5344bf30@as397444.net> References: <46789d77-1ffc-4441-a5cd-33fb5344bf30@as397444.net> Message-ID: <33d70e47-1535-40d6-ba90-b95af46ba188@as397444.net> 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=, signo=signo at entry=6, > no_tid=no_tid at entry=0) at ./nptl/pthread_kill.c:44 > #1? 0x00007f94eb2889ff in __pthread_kill_internal (threadid=, signo=6) at ./nptl/ > pthread_kill.c:89 > #2? 0x00007f94eb233cc2 in __GI_raise (sig=sig at entry=6) at ../sysdeps/posix/raise.c:26 > #3? 0x00007f94eb21c4ac in __GI_abort () at ./stdlib/abort.c:77 > #4? 0x0000558b3c4dc18c in bug (msg=msg at 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 at entry=0x558b71e5b788, limit=4294967294, > limit at 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 at 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=) 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=) at lib/slab.c:308 #2 0x0000558b3c47d889 in bgp_get_prefix (c=, ni=0x7f94ba5be250, src=0x7f94ea7e6730, add_path_tx=) at proto/bgp/attrs.c:1880 #3 bgp_rt_notify (P=, C=, n=0x7f94ba5be268, new=, old=) at proto/bgp/attrs.c:2491 #4 0x0000558b3c45a8d3 in rt_notify_basic (c=c at entry=0x558b71e74650, new=new at entry=0x7f94b0bf0e78, old=, old at entry=0x7f94d9e9a4b8, trte=trte at 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 at entry=0x558b71e74dd8, limit=4294967294, limit at 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 at 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=) at ./nptl/pthread_create.c:448 #11 0x00007f94eb304630 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100 Matt