BIRD 3.3.2 crash report: sanitized core analysis Environment: Debian 12 x86_64, GCC 12.2, BIRD 3.3.2 release tarball (no local patches), route server / RR with ~2,700 BGP sessions (iBGP rr clients + eBGP multihop), threads 20, no IGP/kernel protocols in BIRD (only BGP + static reject routes). 12 cores between 2026-08-24 and 2026-11-11. Customer protocol names replaced. ============================================================================== A: SIGSEGV in rt_export_release() at rt-export.c:200 (fault addr 0xfffffffffffffff4) ============================================================================== -- core.bird.1706332 2026-08-24 00:12:46 Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000556618fc0544 in rt_export_release (u=0x7fdd2ab30100) at nest/rt-export.c:200 #1 0x0000556618fc9807 in channel_notify_optimal_req (c=0x55664d49d2a0, req=) at nest/rt-table.c:1478 #2 0x0000556618fc9c99 in channel_notify_optimal (_channel=0x55664d49d2a0) at nest/rt-table.c:1591 #3 0x0000556618f9b59f in ev_run_list_limited (l=0x55664d49c898, limit=4294967294) at lib/event.c:336 #4 0x0000556619052b02 in birdloop_run (_loop=0x55664d49c7c0) at sysdep/unix/io-loop.c:2114 #5 0x0000556618f9b59f in ev_run_list_limited (l=0x55664e30d1d8, limit=4294967294) at lib/event.c:336 #6 0x0000556619054d6f in bird_thread_main (arg=0x55664e30d440) at sysdep/unix/io-loop.c:1034 #7 0x00007fdd530391f5 in start_thread (arg=) at ./nptl/pthread_create.c:442 #8 0x00007fdd530b98dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 -- core.bird.2547380 2026-10-29 19:40:13 Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000560d07259544 in rt_export_release (u=0x7f35a3ec79b0) at nest/rt-export.c:200 #1 0x0000560d07262807 in channel_notify_optimal_req (c=0x560d2f6858d0, req=) at nest/rt-table.c:1478 #2 0x0000560d07262c99 in channel_notify_optimal (_channel=0x560d2f6858d0) at nest/rt-table.c:1591 #3 0x0000560d0723459f in ev_run_list_limited (l=0x560d2f684ec8, limit=4294967294) at lib/event.c:336 #4 0x0000560d072ebb02 in birdloop_run (_loop=0x560d2f684df0) at sysdep/unix/io-loop.c:2114 #5 0x0000560d0723459f in ev_run_list_limited (l=0x560d301b6408, limit=4294967293) at lib/event.c:336 #6 0x0000560d072edd6f in bird_thread_main (arg=0x560d301b6670) at sysdep/unix/io-loop.c:1034 #7 0x00007f35fcacf1f5 in start_thread (arg=) at ./nptl/pthread_create.c:442 #8 0x00007f35fcb4f8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 -- core.bird.2891353 2026-11-03 09:50:39 Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000560e0e4ec544 in rt_export_release (u=0x7f48502c90b0) at nest/rt-export.c:200 #1 0x0000560e0e4f5807 in channel_notify_optimal_req (c=0x560e1c8795d0, req=) at nest/rt-table.c:1478 #2 0x0000560e0e4f5c99 in channel_notify_optimal (_channel=0x560e1c8795d0) at nest/rt-table.c:1591 #3 0x0000560e0e4c759f in ev_run_list_limited (l=0x560e1c878bc8, limit=4294967294) at lib/event.c:336 #4 0x0000560e0e57eb02 in birdloop_run (_loop=0x560e1c878af0) at sysdep/unix/io-loop.c:2114 #5 0x0000560e0e4c759f in ev_run_list_limited (l=0x560e1d3b5618, limit=4294967294) at lib/event.c:336 #6 0x0000560e0e580d6f in bird_thread_main (arg=0x560e1d3b5880) at sysdep/unix/io-loop.c:1034 #7 0x00007f48c2c8a1f5 in start_thread (arg=) at ./nptl/pthread_create.c:442 #8 0x00007f48c2d0a8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 ============================================================================== B: SIGSEGV in bgp_preexport() -> bgp_rte_proto() at bgp.h:821 (rte->src == NULL) ============================================================================== -- core.bird.4024002 2026-09-22 03:12:15 Program terminated with signal SIGSEGV, Segmentation fault. #0 bgp_rte_proto (rte=0x7f4039718570) at proto/bgp/bgp.h:821 #1 bgp_preexport (C=0x55e68750e990, e=0x7f4039718570) at proto/bgp/attrs.c:2746 #2 0x000055e6818f8a72 in export_filter (c=c@entry=0x55e68750e990, rt=rt@entry=0x7f4039718570, silent=silent@entry=0) at nest/rt-table.c:1283 #3 0x000055e6818f938d in rt_notify_basic (c=c@entry=0x55e68750e990, new=0x7f400f06c1a0, old=, old@entry=0x7f400f06c1d0, trte=0x7f400f06c1a0) at nest/rt-ta #4 0x000055e6818f9ae4 in channel_notify_optimal_req (c=0x55e68750e990, req=) at nest/rt-table.c:1522 #5 0x000055e6818f9c99 in channel_notify_optimal (_channel=0x55e68750e990) at nest/rt-table.c:1591 #6 0x000055e6818cb59f in ev_run_list_limited (l=0x55e68750df88, limit=4294967294) at lib/event.c:336 #7 0x000055e681982b02 in birdloop_run (_loop=0x55e68750deb0) at sysdep/unix/io-loop.c:2114 #8 0x000055e6818cb59f in ev_run_list_limited (l=0x55e687d14b28, limit=4294967239) at lib/event.c:336 #9 0x000055e681984d6f in bird_thread_main (arg=0x55e687d14d90) at sysdep/unix/io-loop.c:1034 #10 0x00007f40481fb1f5 in start_thread (arg=) at ./nptl/pthread_create.c:442 #11 0x00007f404827b8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 -- core.bird.2459 2026-10-14 04:12:58 Program terminated with signal SIGSEGV, Segmentation fault. #0 bgp_rte_proto (rte=0x7f87bef07570) at proto/bgp/bgp.h:821 #1 bgp_preexport (C=0x558aa8828a50, e=0x7f87bef07570) at proto/bgp/attrs.c:2746 #2 0x0000558a9881fa72 in export_filter (c=c@entry=0x558aa8828a50, rt=rt@entry=0x7f87bef07570, silent=silent@entry=0) at nest/rt-table.c:1283 #3 0x0000558a9882038d in rt_notify_basic (c=c@entry=0x558aa8828a50, new=0x7f87558e6430, old=, old@entry=0x7f87558e6460, trte=0x7f87558e6430) at nest/rt-ta #4 0x0000558a98820ae4 in channel_notify_optimal_req (c=0x558aa8828a50, req=) at nest/rt-table.c:1522 #5 0x0000558a98820c99 in channel_notify_optimal (_channel=0x558aa8828a50) at nest/rt-table.c:1591 #6 0x0000558a987f259f in ev_run_list_limited (l=0x558aa8828048, limit=4294967294) at lib/event.c:336 #7 0x0000558a988a9b02 in birdloop_run (_loop=0x558aa8827f70) at sysdep/unix/io-loop.c:2114 #8 0x0000558a987f259f in ev_run_list_limited (l=0x558aa8ef81d8, limit=4294967294) at lib/event.c:336 #9 0x0000558a988abd6f in bird_thread_main (arg=0x558aa8ef8440) at sysdep/unix/io-loop.c:1034 #10 0x00007f87cc1471f5 in start_thread (arg=) at ./nptl/pthread_create.c:442 #11 0x00007f87cc1c78dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 -- core.bird.1578346 2026-10-20 22:44:13 Program terminated with signal SIGSEGV, Segmentation fault. #0 bgp_rte_proto (rte=0x7fd050056570) at proto/bgp/bgp.h:821 #1 bgp_preexport (C=0x562c5751d5b0, e=0x7fd050056570) at proto/bgp/attrs.c:2746 #2 0x0000562c1683da72 in export_filter (c=c@entry=0x562c5751d5b0, rt=rt@entry=0x7fd050056570, silent=silent@entry=0) at nest/rt-table.c:1283 #3 0x0000562c1683e38d in rt_notify_basic (c=c@entry=0x562c5751d5b0, new=0x7fcfe4ac3620, old=, old@entry=0x0, trte=0x7fcfe4ac3620) at nest/rt-table.c:1457 #4 0x0000562c1683eae4 in channel_notify_optimal_req (c=0x562c5751d5b0, req=) at nest/rt-table.c:1522 #5 0x0000562c1683ec99 in channel_notify_optimal (_channel=0x562c5751d5b0) at nest/rt-table.c:1591 #6 0x0000562c1681059f in ev_run_list_limited (l=0x562c5751cba8, limit=4294967294) at lib/event.c:336 #7 0x0000562c168c7b02 in birdloop_run (_loop=0x562c5751cad0) at sysdep/unix/io-loop.c:2114 #8 0x0000562c1681059f in ev_run_list_limited (l=0x562c5828d9e8, limit=4294967294) at lib/event.c:336 #9 0x0000562c168c9d6f in bird_thread_main (arg=0x562c5828dc50) at sysdep/unix/io-loop.c:1034 #10 0x00007fd05f27a1f5 in start_thread (arg=) at ./nptl/pthread_create.c:442 #11 0x00007fd05f2fa8dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 ============================================================================== C: SIGSEGV in CLI 'show route' (possibly unrelated) ============================================================================== -- core.bird.2047056 2026-10-21 19:35:51 Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000560c3a805881 in rt_export_next_feed (f=0x1c7d7f8a8649, seen=seen@entry=0x0) at nest/rt-export.c:308 #1 0x0000560c3a8073ac in rt_show_cont (c=0x560c7a9277e0) at nest/rt-show.c:315 #2 0x0000560c3a7efb07 in cli_event (data=0x560c7a9277e0) at nest/cli.c:285 #3 0x0000560c3a7e059f in ev_run_list_limited (l=0x560c3a9528a0 , limit=4294967295) at lib/event.c:336 #4 0x0000560c3a7b8a5f in io_loop () at sysdep/unix/io.c:2647 #5 main (argc=, argv=) at sysdep/unix/main.c:1114 -- core.bird.2110192 2026-10-28 02:14:10 Program terminated with signal SIGSEGV, Segmentation fault. #0 rt_show_done (d=0x7fdc0fd1e0a0) at nest/rt-show.c:271 #1 rt_show_cont (c=0x5563ac0510a0) at nest/rt-show.c:356 #2 0x000055637d27cb07 in cli_event (data=0x5563ac0510a0) at nest/cli.c:285 #3 0x000055637d26d59f in ev_run_list_limited (l=0x55637d3df8a0 , limit=4294967295) at lib/event.c:336 #4 0x000055637d245a5f in io_loop () at sysdep/unix/io.c:2647 #5 main (argc=, argv=) at sysdep/unix/main.c:1114 ============================================================================== D: bug()/abort in main thread (possibly related to mslab) ============================================================================== -- core.bird.2924195 2026-09-19 15:00:26 Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007f2f60e30f4f in __pthread_kill_internal (signo=6, threadid=) at ./nptl/pthread_kill.c:78 #2 0x00007f2f60de1fb2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007f2f60dcc472 in __GI_abort () at ./stdlib/abort.c:79 #4 0x00005579823f3de6 in bug (msg=) at sysdep/unix/log.c:446 #5 0x0000557982343a42 in msl_cleanup_full_heads (s=0x5579b827bf10) at lib/mslab.c:731 #6 msl_cleanup (sp=0x5579b827bf10) at lib/mslab.c:846 #7 0x000055798234059f in ev_run_list_limited (l=0x5579824b2880 , limit=9) at lib/event.c:336 #8 0x0000557982318a22 in io_loop () at sysdep/unix/io.c:2642 #9 main (argc=, argv=) at sysdep/unix/main.c:1114 -- core.bird.2920441 2026-09-03 22:24:03 Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007fe8f4990f4f in __pthread_kill_internal (signo=6, threadid=) at ./nptl/pthread_kill.c:78 #2 0x00007fe8f4941fb2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007fe8f492c472 in __GI_abort () at ./stdlib/abort.c:79 #4 0x000055cb301bcde6 in bug (msg=) at sysdep/unix/log.c:446 #5 0x000055cb30109725 in ev_run_list_limited (l=0x55cb3026e638 , limit=4294967292) at lib/event.c:332 #6 0x000055cb300e1a31 in io_loop () at sysdep/unix/io.c:2643 #7 main (argc=, argv=) at sysdep/unix/main.c:1114 (also core.bird.2685451, 2026-11-11, group A; core.bird.2395184 truncated, abort) ============================================================================== Feed memory at the crash (gdb on complete cores) ============================================================================== -- core.bird.1706332 (rt_export_release) Core was generated by `bird -u -g -c '. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000556618fc0544 in rt_export_release (u=0x7fdd2ab30100) at nest/rt-export.c:200 [Current thread is 1 (Thread 0x7fdd4677c6c0 (LWP 1706347))] #1 0x0000556618fc9807 in channel_notify_optimal_req (c=0x55664d49d2a0, req=) at nest/rt-table.c:1478 $1 = 0x7fdcff0f7630 "customer_A_v4" $2 = 0x5566190bb61b "ipv4" $3 = 1 '\001' #0 0x0000556618fc0544 in rt_export_release (u=0x7fdd2ab30100) at nest/rt-export.c:200 $4 = { kind = RT_EXPORT_FEED, update = 0x7fdcf9702e60, feed = 0x7fdd2ab30060, req = 0x55664d49d3c8 } $5 = { count_routes = 2, count_exports = 1, ni = 0xffffffffffffffe8, block = 0x7fdd2ab30080, exports = 0x7fdd2ab300e0, data = 0x7fdd2ab30080 "" } 0x7fdd2ab30060: 0x0000000100000002 0xffffffffffffffe8 0x7fdd2ab30070: 0x00007fdd2ab30080 0x00007fdd2ab300e0 0x7fdd2ab30080: 0x0000000000001000 0x0000000000000000 0x7fdd2ab30090: 0x0000000000000000 0x0000000000000000 0x7fdd2ab300a0: 0x0000000000000000 0x0000000000000000 0x7fdd2ab300b0: 0x002f727c00001000 0x00007fdd07c1b268 0x7fdd2ab300c0: 0x00007fdd1d13ea78 0x00007fdd3e4e58e0 0x7fdd2ab300d0: 0x00005566523672a0 0x000017de55b48fb7 0x7fdd2ab300e0: 0x0000000000122981 0x0000000000000000 0x7fdd2ab300f0: 0x0000000000000010 0x0000ffff00000000 0x7fdd2ab30100: 0x0000000000000002 0x00007fdcf9702e60 0x7fdd2ab30110: 0x00007fdd2ab30060 0x000055664d49d3c8 $6 = { pflags = 0 '\000', flags = 16 '\020', stale_cycle = 0 '\000', generation = 0 '\000', id = 0, attrs = 0x0, net = 0x0, src = 0x0, sender = 0x0, lastmod = 0 } $7 = {1190273} -- core.bird.2547380 (rt_export_release) Core was generated by `bird -u -g -c '. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000560d07259544 in rt_export_release (u=0x7f35a3ec79b0) at nest/rt-export.c:200 [Current thread is 1 (Thread 0x7f35f3f5a6c0 (LWP 2547388))] #1 0x0000560d07262807 in channel_notify_optimal_req (c=0x560d2f6858d0, req=) at nest/rt-table.c:1478 $1 = 0x7f35b6a95760 "customer_B_v4" $2 = 0x560d0735461b "ipv4" $3 = 1 '\001' #0 0x0000560d07259544 in rt_export_release (u=0x7f35a3ec79b0) at nest/rt-export.c:200 $4 = { kind = RT_EXPORT_FEED, update = 0x7f35cd0f2a40, feed = 0x7f35a3ec7910, req = 0x560d2f6859f8 } $5 = { count_routes = 2, count_exports = 1, ni = 0xffffffffffffffe8, block = 0x7f35a3ec7930, exports = 0x7f35a3ec7990, data = 0x7f35a3ec7930 "" } 0x7f35a3ec7910: 0x0000000100000002 0xffffffffffffffe8 0x7f35a3ec7920: 0x00007f35a3ec7930 0x00007f35a3ec7990 0x7f35a3ec7930: 0x0000000000001000 0x0000000000000000 0x7f35a3ec7940: 0x0000000000000000 0x0000000000000000 0x7f35a3ec7950: 0x0000000000000000 0x0000000000000000 0x7f35a3ec7960: 0x001a645200001000 0x00007f35f895cb28 0x7f35a3ec7970: 0x00007f35c19dfbd8 0x00007f35ecbd7bb0 0x7f35a3ec7980: 0x0000560d3084fcf0 0x00001d1e51eeac1b 0x7f35a3ec7990: 0x0000000000198727 0x00001d1e779b7700 0x7f35a3ec79a0: 0x0000000000000000 0x000001bf00000f07 0x7f35a3ec79b0: 0x00007f3500000002 0x00007f35cd0f2a40 0x7f35a3ec79c0: 0x00007f35a3ec7910 0x0000560d2f6859f8 $6 = { pflags = 0 '\000', flags = 16 '\020', stale_cycle = 0 '\000', generation = 0 '\000', id = 0, attrs = 0x0, net = 0x0, src = 0x0, sender = 0x0, lastmod = 0 } $7 = {1672999} -- core.bird.2891353 (rt_export_release) Core was generated by `bird -u -g -c '. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000560e0e4ec544 in rt_export_release (u=0x7f48502c90b0) at nest/rt-export.c:200 [Current thread is 1 (Thread 0x7f48bc1396c0 (LWP 2891357))] #1 0x0000560e0e4f5807 in channel_notify_optimal_req (c=0x560e1c8795d0, req=) at nest/rt-table.c:1478 $1 = 0x7f4884e01760 "customer_B_v4" $2 = 0x560e0e5e761b "ipv4" $3 = 1 '\001' #0 0x0000560e0e4ec544 in rt_export_release (u=0x7f48502c90b0) at nest/rt-export.c:200 $4 = { kind = RT_EXPORT_FEED, update = 0x7f484f257350, feed = 0x7f48502c9010, req = 0x560e1c8796f8 } $5 = { count_routes = 2, count_exports = 1, ni = 0xffffffffffffffe8, block = 0x7f48502c9030, exports = 0x7f48502c9090, data = 0x7f48502c9030 "" } 0x7f48502c9010: 0x0000000100000002 0xffffffffffffffe8 0x7f48502c9020: 0x00007f48502c9030 0x00007f48502c9090 0x7f48502c9030: 0x0000000000001000 0x0000000000000000 0x7f48502c9040: 0x0000000000000000 0x0000000000000000 0x7f48502c9050: 0x0000000000000000 0x0000000000000000 0x7f48502c9060: 0x0029369f00001000 0x00007f485e703508 0x7f48502c9070: 0x00007f488cb7b698 0x00007f48be0048b0 0x7f48502c9080: 0x0000560e1d3dc2c0 0x00001d7aa73c566f 0x7f48502c9090: 0x000000000010b192 0x00007f48b470cee0 0x7f48502c90a0: 0x0000000004400035 0x00007f48b470cf20 0x7f48502c90b0: 0x0000008000000002 0x00007f484f257350 0x7f48502c90c0: 0x00007f48502c9010 0x0000560e1c8796f8 $6 = { pflags = 0 '\000', flags = 16 '\020', stale_cycle = 0 '\000', generation = 0 '\000', id = 0, attrs = 0x0, net = 0x0, src = 0x0, sender = 0x0, lastmod = 0 } $7 = {1094034} -- core.bird.1578346 (bgp_preexport) Core was generated by `bird -u -g -c '. Program terminated with signal SIGSEGV, Segmentation fault. #0 bgp_rte_proto (rte=0x7fd050056570) at proto/bgp/bgp.h:821 [Current thread is 1 (Thread 0x7fd0500586c0 (LWP 1578367))] #3 0x0000562c1683e38d in rt_notify_basic (c=c@entry=0x562c5751d5b0, new=0x7fcfe4ac3620, old=, old@entry=0x0, trte=0x7fcfe4ac3620) at nest/rt-table.c:1457 $1 = { pflags = 0 '\000', flags = 0 '\000', stale_cycle = 0 '\000', generation = 0 '\000', id = 0, attrs = 0x0, net = 0x0, src = 0x0, sender = 0x0, lastmod = 0 } value has been optimized out -- core.bird.2459 (bgp_preexport) Core was generated by `bird -u -g -c '. Program terminated with signal SIGSEGV, Segmentation fault. #0 bgp_rte_proto (rte=0x7f87bef07570) at proto/bgp/bgp.h:821 [Current thread is 1 (Thread 0x7f87bef096c0 (LWP 2476))] #3 0x0000558a9882038d in rt_notify_basic (c=c@entry=0x558aa8828a50, new=0x7f87558e6430, old=, old@entry=0x7f87558e6460, trte=0x7f87558e6430) at nest/rt-table.c:1457 $1 = { pflags = 0 '\000', flags = 0 '\000', stale_cycle = 0 '\000', generation = 0 '\000', id = 0, attrs = 0x0, net = 0x0, src = 0x0, sender = 0x0, lastmod = 0 } value has been optimized out -- core.bird.4024002 (bgp_preexport) Core was generated by `bird -u -g -c '. Program terminated with signal SIGSEGV, Segmentation fault. #0 bgp_rte_proto (rte=0x7f4039718570) at proto/bgp/bgp.h:821 [Current thread is 1 (Thread 0x7f403971a6c0 (LWP 4024022))] #3 0x000055e6818f938d in rt_notify_basic (c=c@entry=0x55e68750e990, new=0x7f400f06c1a0, old=, old@entry=0x7f400f06c1d0, trte=0x7f400f06c1a0) at nest/rt-table.c:1457 $1 = { pflags = 0 '\000', flags = 0 '\000', stale_cycle = 0 '\000', generation = 0 '\000', id = 0, attrs = 0x0, net = 0x0, src = 0x0, sender = 0x0, lastmod = 0 } value has been optimized out