Date: Wed, 04 Feb 2026 14:52:22 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 292933] libcxxrt crash when called from libstdc++ Message-ID: <bug-292933-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292933 Bug ID: 292933 Summary: libcxxrt crash when called from libstdc++ Product: Base System Version: 16.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: arrowd@FreeBSD.org Reproduction steps: 1. Put USE_GCC=yes and optionally WITH_DEBUG=yes into /usr/ports/devel/libabigail/Makefile 2. poudriere testport -j 16current -ci devel/libabigail 3. Once the build finishes run lldb -- /usr/local/bin/abidiff --no-default-suppression /wrkdirs/usr/ports/devel/libabigail/work/libabigail-2.9/tests/data/test-diff-filter/test-PR27995.abi /wrkdirs/usr/ports/devel/libabigail/work/libabigail-2.9/tests/data/test-diff-filter/test-PR27995.abi The backtrace: * thread #1, name = 'abidiff', stop reason = signal SIGSEGV: invalid permissions for mapped object (fault address: 0x83323acb8) frame #0: 0x000000083323acb8 libcxxrt.so.1`vtable for __cxxabiv1::__si_class_type_info + 16 libcxxrt.so.1`vtable for __cxxabiv1::__si_class_type_info: -> 0x83323acb8 <+16>: andb %ch, (%rbx,%rbp,2) 0x83323acbb <+19>: subb (%rax), %cl 0x83323acbd <+21>: addb %al, (%rax) 0x83323acbf <+23>: addb %al, 0x2c(%rax) (lldb) bt * thread #1, name = 'abidiff', stop reason = signal SIGSEGV: invalid permissions for mapped object (fault address: 0x83323acb8) * frame #0: 0x000000083323acb8 libcxxrt.so.1`vtable for __cxxabiv1::__si_class_type_info + 16 frame #1: 0x000000082a6af613 libstdc++.so.6`__dynamic_cast + 131 frame #2: 0x000000082503c74a libabigail.so.8`abigail::ir::type_or_decl_base::runtime_type_instance(this=0x00003ca64afb6968, i=0x00003ca64afb6940) at abg-ir.cc:4155:22 frame #3: 0x000000082504c764 libabigail.so.8`abigail::ir::global_scope::global_scope(this=0x00003ca64afb6940, tu=0x00003ca64b1ace80) at abg-ir.cc:8533:24 frame #4: 0x00000008250344b5 libabigail.so.8`abigail::ir::translation_unit::get_global_scope(this=0x00003ca64b1ace80) at abg-ir.cc:1237:55 frame #5: 0x000000082526aa06 libabigail.so.8`abigail::abixml::read_translation_unit(iface=0x00003ca639449000, tu=0x00003ca64b1ace80, node=0x00003ca63aeebc80) at abg-reader.cc:1879:36 frame #6: 0x000000082526b045 libabigail.so.8`abigail::abixml::get_or_read_and_add_translation_unit(rdr=0x00003ca639449000, node=0x00003ca63aeebc80) at abg-reader.cc:1937:28 frame #7: 0x000000082526b40d libabigail.so.8`abigail::abixml::read_translation_unit_from_input(iface=0x00003ca639449000) at abg-reader.cc:1996:44 frame #8: 0x000000082528d0d1 libabigail.so.8`abigail::abixml::reader::read_corpus(this=0x00003ca639449000, status=0x0000000820f503b0) at abg-reader.cc:1321:44 frame #9: 0x000000082526c8e5 libabigail.so.8`abigail::abixml::read_corpus_group_from_input(iface=0x00003ca639449000) at abg-reader.cc:2428:33 frame #10: 0x0000000000411817 abidiff`main(argc=4, argv=0x0000000820f509d8) at abidiff.cc:1450:47 frame #11: 0x000000082cd1d19f libc.so.7`__libc_start1(argc=4, argv=0x0000000820f509d8, env=0x0000000820f50a00, cleanup=<unavailable>, mainX=(abidiff`main at abidiff.cc:1286:1)) at libc_start1.c:180:7 frame #12: 0x000000000040b014 abidiff`_start at crt1_s.S:80 Note that the crash can't be reproduced on 15.0-RELEASE. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-292933-227>
