GNU gdb (Gentoo 14.1 vanilla) 14.1 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ninja... (gdb) r Starting program: /var/tmp/portage/dev-build/ninja-1.11.1-r5/work/ninja-1.11.1/ninja -v [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x0000005555571014 in std::vector >::_M_realloc_insert (this=0x7fffffe268, __position=non-dereferenceable iterator for std::vector) at /usr/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/include/g++-v11/bits/vector.tcc:505 505 } (gdb) bt #0 0x0000005555571014 in std::vector >::_M_realloc_insert (this=0x7fffffe268, __position=non-dereferenceable iterator for std::vector) at /usr/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/include/g++-v11/bits/vector.tcc:505 #1 0x0000005555571270 in std::vector >::push_back (this=this@entry=0x7fffffe268, __x=...) at /usr/lib/gcc/aarch64-unknown-linux-gnu/11.4.0/include/g++-v11/bits/stl_vector.h:1198 #2 0x000000555557be20 in ManifestParser::ParseEdge (this=this@entry=0x7fffffe668, err=err@entry=0x7fffffe7e0) at ./src/manifest_parser.cc:260 #3 0x000000555557d410 in ManifestParser::Parse (this=0x7fffffe668, filename=..., input=..., err=0x7fffffe7e0) at ./src/manifest_parser.cc:47 #4 0x000000555557fa90 in Parser::Load (this=this@entry=0x7fffffe668, filename="build.ninja", err=err@entry=0x7fffffe7e0, parent=parent@entry=0x0) at ./src/parser.cc:41 #5 0x000000555556030c in (anonymous namespace)::real_main (argc=, argv=) at ./src/ninja.cc:1561 #6 0x0000005555559acc in main (argc=, argv=) at ./src/ninja.cc:1620