* [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 @ 2020-10-22 6:05 woodard at redhat dot com 2020-10-23 20:24 ` [Bug default/26771] " woodard at redhat dot com ` (14 more replies) 0 siblings, 15 replies; 16+ messages in thread From: woodard at redhat dot com @ 2020-10-22 6:05 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 Bug ID: 26771 Summary: abidw crashes reading /lib64/libclang-cpp.so.10 Product: libabigail Version: unspecified Status: NEW Severity: normal Priority: P2 Component: default Assignee: dodji at redhat dot com Reporter: woodard at redhat dot com CC: libabigail at sourceware dot org Target Milestone: --- [ben@alien dwqual]$ gdb --silent --args abidw /lib64/libclang-cpp.so.10 Reading symbols from abidw... Reading symbols from /usr/lib/debug/usr/bin/abidw-1.7-1.fc32.x86_64.debug... (gdb) r Starting program: /usr/bin/abidw /lib64/libclang-cpp.so.10 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7645005 in dwarf_dieoffset () from /lib64/libdw.so.1 (gdb) bt #0 0x00007ffff7645005 in dwarf_dieoffset () from /lib64/libdw.so.1 #1 0x00007ffff7ec34f1 in abigail::dwarf_reader::imported_unit_point::imported_unit_point (from=<optimized out>, imported_die=..., import_off=<optimized out>, this=0x7fffffffa2a0) at abg-dwarf-reader.cc:258 #2 abigail::dwarf_reader::read_context::build_die_parent_relations_under (this=0x555555585a90, die=0x7fffffffa370, source=abigail::dwarf_reader::PRIMARY_DEBUG_INFO_DIE_SOURCE, imported_units=std::vector of length 0, capacity 0) at abg-dwarf-reader.cc:9194 #3 0x00007ffff7ec395b in abigail::dwarf_reader::read_context::build_die_parent_maps (this=this@entry=0x555555585a90) at abg-dwarf-reader.cc:9329 #4 0x00007ffff7eb5c22 in abigail::dwarf_reader::read_debug_info_into_corpus (ctxt=...) at abg-dwarf-reader.cc:17275 #5 abigail::dwarf_reader::read_corpus_from_elf (ctxt=..., status=@0x7fffffffa70c: abigail::dwarf_reader::STATUS_UNKNOWN) at abg-dwarf-reader.cc:18481 #6 0x0000555555559e8f in load_corpus_and_write_abixml (opts=..., context=std::shared_ptr<abigail::dwarf_reader::read_context> (use count 1, weak count 0) = {...}, env=std::shared_ptr<abigail::ir::environment> (use count 1, weak count 0) = {...}, argv=0x7fffffffae58) at abidw.cc:415 #7 main (argc=<optimized out>, argv=<optimized out>) at abidw.cc:783 $ rpm -q libabigail libabigail-1.7-1.fc32.x86_64 $ rpm -qf /lib64/libclang-cpp.so.10 clang-libs-10.0.1-2.fc32.x86_64 -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com @ 2020-10-23 20:24 ` woodard at redhat dot com 2020-10-23 21:18 ` woodard at redhat dot com ` (13 subsequent siblings) 14 siblings, 0 replies; 16+ messages in thread From: woodard at redhat dot com @ 2020-10-23 20:24 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 --- Comment #1 from Ben Woodard <woodard at redhat dot com> --- The problem reproduces with the current trunk of libabigail as of 247f50dbf3761ca0fc842abba753cbf52bf4291c The following libraries continue to exhibit the problem. /lib64/libmedfwrap.so.11.0.1 from med-4.1.0-1.fc33.x86_64 /lib64/libmedC.so.11.0.1 from med-4.1.0-1.fc33.x86_64 /lib64/libGLU.so.1.3.1 from mesa-libGLU-9.0.1-3.fc33.x86_64 -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com 2020-10-23 20:24 ` [Bug default/26771] " woodard at redhat dot com @ 2020-10-23 21:18 ` woodard at redhat dot com 2020-10-29 8:40 ` dodji at redhat dot com ` (12 subsequent siblings) 14 siblings, 0 replies; 16+ messages in thread From: woodard at redhat dot com @ 2020-10-23 21:18 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 --- Comment #2 from Ben Woodard <woodard at redhat dot com> --- With the trunk version of libabigail this appears to be a slightly different bug. It asserts rather than crashes. With the trunk version abidw doesn't segv when processing /lib64/libclang-cpp.so.11 abidw: ../../../libabigail/src/abg-dwarf-reader.cc:13223: void abigail::dwarf_reader::finish_member_function_reading(Dwarf_Die*, const function_decl_sptr&, const class_or_union_sptr&, abigail::dwarf_reader::read_context&): Assertion `__abg_cond__' failed. Program received signal SIGABRT, Aborted. __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:49 49 return ret; (gdb) bt #0 __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:49 #1 0x00007ffff75098a4 in __GI_abort () at abort.c:79 #2 0x00007ffff7509789 in __assert_fail_base (fmt=0x7ffff7676e68 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7ffff7f3bfa4 "__abg_cond__", file=0x7ffff7f49938 "../../../libabigail/src/abg-dwarf-reader.cc", line=13223, function=<optimized out>) at assert.c:92 #3 0x00007ffff7518fc6 in __GI___assert_fail (assertion=0x7ffff7f3bfa4 "__abg_cond__", file=0x7ffff7f49938 "../../../libabigail/src/abg-dwarf-reader.cc", line=13223, function=0x7ffff7f4a758 "void abigail::dwarf_reader::finish_member_function_reading(Dwarf_Die*, const function_decl_sptr&, const class_or_union_sptr&, abigail::dwarf_reader::read_context&)") at assert.c:101 #4 0x00007ffff7ecc634 in abigail::dwarf_reader::finish_member_function_reading (die=0x7fffffffa450, f= std::shared_ptr<class abigail::ir::function_decl> (use count 3, weak count 0) = {...}, klass=std::shared_ptr<class abigail::ir::class_or_union> (use count 2, weak count 0) = {...}, ctxt=...) at /usr/include/c++/10/ext/atomicity.h:84 #5 0x00007ffff7ed2254 in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffa450, scope=0xb92260, called_from_public_decl=<optimized out>, where_offset=117049, is_declaration_only=<optimized out>, is_required_decl_spec=false) at /usr/include/c++/10/bits/shared_ptr_base.h:736 #6 0x00007ffff7ee0450 in abigail::dwarf_reader::add_or_update_member_function (where_offset=117049, called_from_public_decl=true, class_type=std::shared_ptr<class abigail::ir::class_or_union> (use count 9, weak count 5) = {...}, function_die=0x7fffffffa450, ctxt=...) at /usr/include/c++/10/bits/shared_ptr_base.h:1324 #7 abigail::dwarf_reader::add_or_update_class_type (ctxt=..., die=0x7fffffffaa10, scope=<optimized out>, is_struct=<optimized out>, klass=..., called_from_public_decl=true, where_offset=117049, is_declaration_only=false) at ../../../libabigail/src/abg-dwarf-reader.cc:13870 #8 0x00007ffff7ed1c7b in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffaa10, scope=0x7aff20, called_from_public_decl=<optimized out>, where_offset=117049, is_declaration_only=false, is_required_decl_spec=false) at /usr/include/c++/10/bits/shared_ptr_base.h:619 #9 0x00007ffff7ed3770 in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffaa10, called_from_public_decl=<optimized out>, where_offset=117049) at /usr/include/c++/10/bits/shared_ptr_base.h:1324 #10 0x00007ffff7ee0dac in abigail::dwarf_reader::add_or_update_class_type (ctxt=..., die=0x7fffffffaf90, scope=<optimized out>, is_struct=<optimized out>, klass=..., called_from_public_decl=true, where_offset=117049, is_declaration_only=false) at ../../../libabigail/src/abg-dwarf-reader.cc:13753 #11 0x00007ffff7ed1c7b in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffaf90, scope=0x7aff20, called_from_public_decl=<optimized out>, where_offset=117049, is_declaration_only=false, is_required_decl_spec=false) at /usr/include/c++/10/bits/shared_ptr_base.h:619 #12 0x00007ffff7ed3770 in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffaf90, called_from_public_decl=<optimized out>, where_offset=117049) at /usr/include/c++/10/bits/shared_ptr_base.h:1324 #13 0x00007ffff7ee0dac in abigail::dwarf_reader::add_or_update_class_type (ctxt=..., die=0x7fffffffb480, scope=<optimized out>, is_struct=<optimized out>, klass=..., called_from_public_decl=true, where_offset=117049, is_declaration_only=false) at ../../../libabigail/src/abg-dwarf-reader.cc:13753 #14 0x00007ffff7ed1c7b in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffb480, scope=0xb8f3c0, called_from_public_decl=<optimized out>, where_offset=117049, is_declaration_only=false, is_required_decl_spec=false) at /usr/include/c++/10/bits/shared_ptr_base.h:619 #15 0x00007ffff7edfe51 in abigail::dwarf_reader::add_or_update_class_type (ctxt=..., die=0x7fffffffbac0, scope=<optimized out>, is_struct=<optimized out>, klass=..., called_from_public_decl=true, where_offset=117049, is_declaration_only=false) at /usr/include/c++/10/bits/shared_ptr_base.h:1324 #16 0x00007ffff7ed1c7b in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffbac0, scope=0x7aff20, called_from_public_decl=<optimized out>, where_offset=117049, is_declaration_only=false, is_required_decl_spec=false) at /usr/include/c++/10/bits/shared_ptr_base.h:619 #17 0x00007ffff7ed3770 in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffbac0, called_from_public_decl=<optimized out>, where_offset=117049) at /usr/include/c++/10/bits/shared_ptr_base.h:1324 #18 0x00007ffff7ed329c in abigail::dwarf_reader::build_typedef_type (where_offset=117049, called_from_public_decl=true, die=0x7fffffffbcb0, ctxt=...) at ../../../libabigail/src/abg-dwarf-reader.cc:15003 #19 abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffbcb0, scope=0xb8dcf0, called_from_public_decl=<optimized out>, where_offset=117049, is_declaration_only=<optimized out>, is_required_decl_spec=false) at ../../../libabigail/src/abg-dwarf-reader.cc:16351 #20 0x00007ffff7edfe51 in abigail::dwarf_reader::add_or_update_class_type (ctxt=..., die=0x7fffffffc270, scope=<optimized out>, is_struct=<optimized out>, klass=..., called_from_public_decl=true, where_offset=117049, is_declaration_only=false) at /usr/include/c++/10/bits/shared_ptr_base.h:1324 #21 0x00007ffff7ed1c7b in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffc270, scope=0x7aff20, called_from_public_decl=<optimized out>, where_offset=117049, is_declaration_only=false, is_required_decl_spec=false) at /usr/include/c++/10/bits/shared_ptr_base.h:619 #22 0x00007ffff7ed3770 in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffc270, called_from_public_decl=<optimized out>, where_offset=117049) at /usr/include/c++/10/bits/shared_ptr_base.h:1324 #23 0x00007ffff7ee0dac in abigail::dwarf_reader::add_or_update_class_type (ctxt=..., die=0x7fffffffc870, scope=<optimized out>, is_struct=<optimized out>, klass=..., called_from_public_decl=true, where_offset=117049, is_declaration_only=false) at ../../../libabigail/src/abg-dwarf-reader.cc:13753 #24 0x00007ffff7ed1c7b in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffc870, scope=0x7aff20, called_from_public_decl=<optimized out>, where_offset=117049, is_declaration_only=false, is_required_decl_spec=false) at /usr/include/c++/10/bits/shared_ptr_base.h:619 #25 0x00007ffff7ed3770 in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffc870, called_from_public_decl=<optimized out>, where_offset=117049) at /usr/include/c++/10/bits/shared_ptr_base.h:1324 #26 0x00007ffff7ed1a48 in abigail::dwarf_reader::build_reference_type (where_offset=117049, called_from_public_decl=true, die=0x7fffffffc9b0, ctxt=...) at ../../../libabigail/src/abg-dwarf-reader.cc:14466 #27 abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffc9b0, scope=0x7aff20, called_from_public_decl=<optimized out>, where_offset=117049, is_declaration_only=false, is_required_decl_spec=false) at ../../../libabigail/src/abg-dwarf-reader.cc:16383 #28 0x00007ffff7ed3770 in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffc9b0, called_from_public_decl=<optimized out>, where_offset=117049) at /usr/include/c++/10/bits/shared_ptr_base.h:1324 #29 0x00007ffff7ed4065 in abigail::dwarf_reader::build_var_decl (ctxt=..., die=0x7fffffffcff0, where_offset=117049, result=std::shared_ptr<class abigail::ir::var_decl> (empty) = {...}) at ../../../libabigail/src/abg-dwarf-reader.cc:15149 #30 0x00007ffff7ed48ae in abigail::dwarf_reader::build_or_get_var_decl_if_not_suppressed (ctxt=..., scope=<optimized out>, die=0x7fffffffcff0, where_offset=117049, result=std::shared_ptr<class abigail::ir::var_decl> (empty) = {...}, is_required_decl_spec=true) at /usr/include/c++/10/ext/atomicity.h:100 #31 0x00007ffff7ed17d5 in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffcff0, scope=0x7aff20, called_from_public_decl=<optimized out>, where_offset=117049, is_declaration_only=false, is_required_decl_spec=true) at /usr/include/c++/10/bits/shared_ptr_base.h:619 --Type <RET> for more, q to quit, c to continue without paging--c #32 0x00007ffff7ecfc75 in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffd1d0, scope=0x7aff20, called_from_public_decl=<optimized out>, where_offset=117049, is_declaration_only=false, is_required_decl_spec=false) at ../../../libabigail/src/abg-dwarf-reader.cc:16623 #33 0x00007ffff7ed3770 in abigail::dwarf_reader::build_ir_node_from_die (ctxt=..., die=0x7fffffffd1d0, called_from_public_decl=<optimized out>, where_offset=117049) at /usr/include/c++/10/bits/shared_ptr_base.h:1324 #34 0x00007ffff7ee3080 in abigail::dwarf_reader::build_translation_unit_and_add_to_ir (ctxt=..., die=<optimized out>, address_size=<optimized out>) at ../../../libabigail/src/abg-dwarf-reader.cc:8556 #35 0x00007ffff7ee4f3a in abigail::dwarf_reader::read_debug_info_into_corpus (ctxt=...) at ../../../libabigail/src/abg-dwarf-reader.cc:15936 #36 abigail::dwarf_reader::read_corpus_from_elf (ctxt=..., status=@0x7fffffffd40c: abigail::dwarf_reader::STATUS_UNKNOWN) at ../../../libabigail/src/abg-dwarf-reader.cc:17149 #37 0x0000000000405c93 in load_corpus_and_write_abixml (opts=..., context=std::shared_ptr<class abigail::dwarf_reader::read_context> (use count 1, weak count 0) = {...}, env=std::shared_ptr<class abigail::ir::environment> (use count 1, weak count 0) = {...}, argv=0x7fffffffd958) at ../../../libabigail/tools/abidw.cc:494 #38 main (argc=<optimized out>, argv=0x7fffffffd958) at ../../../libabigail/tools/abidw.cc:866 (gdb) -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com 2020-10-23 20:24 ` [Bug default/26771] " woodard at redhat dot com 2020-10-23 21:18 ` woodard at redhat dot com @ 2020-10-29 8:40 ` dodji at redhat dot com 2020-10-29 12:18 ` maennich at android dot com ` (11 subsequent siblings) 14 siblings, 0 replies; 16+ messages in thread From: dodji at redhat dot com @ 2020-10-29 8:40 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 --- Comment #3 from dodji at redhat dot com --- Thanks for reporting this problem. Would it be possible to have the exact binary and its associated debug info so that I can look into this? Thanks. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com ` (2 preceding siblings ...) 2020-10-29 8:40 ` dodji at redhat dot com @ 2020-10-29 12:18 ` maennich at android dot com 2020-11-10 18:11 ` gprocida+abigail at google dot com ` (10 subsequent siblings) 14 siblings, 0 replies; 16+ messages in thread From: maennich at android dot com @ 2020-10-29 12:18 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 Matthias Maennich <maennich at android dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maennich at android dot com --- Comment #4 from Matthias Maennich <maennich at android dot com> --- FWIW, this Dockerfile describes the container to reproduce the issues in the recently opened bugs: $ cat Dockerfile FROM registry.fedoraproject.org/fedora RUN yum -y install libabigail RUN dnf -y install 'dnf-command(debuginfo-install)' RUN dnf -y debuginfo-install libabigail # Then run the container build and run with: $ docker build -t fedora . && docker run -ti fedora Inside the container # abidw /lib64/libabigail.so.0.0.0 > test.xml # abidiff test.xml /lib64/libabigail.so.0.0.0 That is an easy way to get all different packages that expose problematic behaviour. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com ` (3 preceding siblings ...) 2020-10-29 12:18 ` maennich at android dot com @ 2020-11-10 18:11 ` gprocida+abigail at google dot com 2020-11-10 18:12 ` maennich at android dot com ` (9 subsequent siblings) 14 siblings, 0 replies; 16+ messages in thread From: gprocida+abigail at google dot com @ 2020-11-10 18:11 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 Giuliano Procida <gprocida+abigail at google dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gprocida+abigail at google dot com --- Comment #5 from Giuliano Procida <gprocida+abigail at google dot com> --- I'm taking a look at this one. test.xml is lacking a definition of type-id-12787 in my version. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com ` (4 preceding siblings ...) 2020-11-10 18:11 ` gprocida+abigail at google dot com @ 2020-11-10 18:12 ` maennich at android dot com 2020-11-10 18:12 ` maennich at android dot com ` (8 subsequent siblings) 14 siblings, 0 replies; 16+ messages in thread From: maennich at android dot com @ 2020-11-10 18:12 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 Matthias Maennich <maennich at android dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|dodji at redhat dot com |gprocida+abigail at google dot com -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com ` (5 preceding siblings ...) 2020-11-10 18:12 ` maennich at android dot com @ 2020-11-10 18:12 ` maennich at android dot com 2020-11-10 18:30 ` gprocida+abigail at google dot com ` (7 subsequent siblings) 14 siblings, 0 replies; 16+ messages in thread From: maennich at android dot com @ 2020-11-10 18:12 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 Matthias Maennich <maennich at android dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com ` (6 preceding siblings ...) 2020-11-10 18:12 ` maennich at android dot com @ 2020-11-10 18:30 ` gprocida+abigail at google dot com 2020-11-10 18:40 ` gprocida+abigail at google dot com ` (6 subsequent siblings) 14 siblings, 0 replies; 16+ messages in thread From: gprocida+abigail at google dot com @ 2020-11-10 18:30 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 --- Comment #6 from Giuliano Procida <gprocida+abigail at google dot com> --- mm-next builds also produce bad XML. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com ` (7 preceding siblings ...) 2020-11-10 18:30 ` gprocida+abigail at google dot com @ 2020-11-10 18:40 ` gprocida+abigail at google dot com 2020-11-11 9:06 ` dodji at redhat dot com ` (5 subsequent siblings) 14 siblings, 0 replies; 16+ messages in thread From: gprocida+abigail at google dot com @ 2020-11-10 18:40 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 --- Comment #7 from Giuliano Procida <gprocida+abigail at google dot com> --- The missing type is a templated typedef: std::allocator_traits<std::allocator<char> >::allocator_type const and const reference types refer to this. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com ` (8 preceding siblings ...) 2020-11-10 18:40 ` gprocida+abigail at google dot com @ 2020-11-11 9:06 ` dodji at redhat dot com 2020-11-11 9:31 ` gprocida+abigail at google dot com ` (4 subsequent siblings) 14 siblings, 0 replies; 16+ messages in thread From: dodji at redhat dot com @ 2020-11-11 9:06 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 --- Comment #8 from dodji at redhat dot com --- Hello, "gprocida+abigail at google dot com" <sourceware-bugzilla@sourceware.org> writes: > test.xml is lacking a definition of type-id-12787 in my version. Hello, This might then be a duplicate of #26769, which I am looking at. I have a work-in-progress branch for it at https://sourceware.org/git/?p=libabigail.git;a=shortlog;h=refs/heads/dodji/PR26769. Maybe the parts of that patch that only touch the source code (and not the test reference output changes) might help with this? -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com ` (9 preceding siblings ...) 2020-11-11 9:06 ` dodji at redhat dot com @ 2020-11-11 9:31 ` gprocida+abigail at google dot com 2020-11-11 9:54 ` gprocida+abigail at google dot com ` (3 subsequent siblings) 14 siblings, 0 replies; 16+ messages in thread From: gprocida+abigail at google dot com @ 2020-11-11 9:31 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 --- Comment #9 from Giuliano Procida <gprocida+abigail at google dot com> --- I got as far as finding the scopes / canonical types weren't looking right. This is with the libabigail.so to start off with. In particular, typedef std::allocator_traits<std::allocator<char> >::allocator_type was not a canonical type in the scope containing ...::size_type and was being omitted from the XML. I also found I was getting 2 scopes / classes for the same thing. With your commit (and my debug output), I see that while allocator_type is now being emitted, the type has been split into two separate scopes: typedef std::allocator_traits<std::allocator<char> >::const_pointer typedef std::allocator_traits<std::allocator<char> >::difference_type typedef std::allocator_traits<std::allocator<char> >::value_type typedef std::allocator_traits<std::allocator<char> >::const_void_pointer typedef std::allocator_traits<std::allocator<char> >::size_type typedef std::allocator_traits<std::allocator<char> >::pointer and typedef std::allocator_traits<std::allocator<char> >::rebind_alloc typedef std::allocator_traits<std::allocator<char> >::allocator_type Anyway, this is almost certainly a duplicate of what you're looking at. I'll leave libabigail.so to you and see if I can make progress on libclang-cpp.so which is the real subject of this bug. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com ` (10 preceding siblings ...) 2020-11-11 9:31 ` gprocida+abigail at google dot com @ 2020-11-11 9:54 ` gprocida+abigail at google dot com 2020-11-11 14:09 ` gprocida+abigail at google dot com ` (2 subsequent siblings) 14 siblings, 0 replies; 16+ messages in thread From: gprocida+abigail at google dot com @ 2020-11-11 9:54 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 --- Comment #10 from Giuliano Procida <gprocida+abigail at google dot com> --- Ben. I've not been able to find a library in fc33 (admittedly a small Docker image thereof) which triggers this failure in abidw (master or rpm version), so it may have been a bug in libdw itself. I'll try again with an fc32 image. Giuliano. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com ` (11 preceding siblings ...) 2020-11-11 9:54 ` gprocida+abigail at google dot com @ 2020-11-11 14:09 ` gprocida+abigail at google dot com 2020-11-12 17:15 ` woodard at redhat dot com 2020-11-12 19:04 ` woodard at redhat dot com 14 siblings, 0 replies; 16+ messages in thread From: gprocida+abigail at google dot com @ 2020-11-11 14:09 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 --- Comment #11 from Giuliano Procida <gprocida+abigail at google dot com> --- On a small fedora 32 docker image, abidw is able process every .so including libclang-cpp.so.10. I've not been able to reproduce this issue in either 32 or 33. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com ` (12 preceding siblings ...) 2020-11-11 14:09 ` gprocida+abigail at google dot com @ 2020-11-12 17:15 ` woodard at redhat dot com 2020-11-12 19:04 ` woodard at redhat dot com 14 siblings, 0 replies; 16+ messages in thread From: woodard at redhat dot com @ 2020-11-12 17:15 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 --- Comment #12 from Ben Woodard <woodard at redhat dot com> --- I have updated to the very latest git and have rerun many of my tests and I am no longer able to reproduce this particular crash. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug default/26771] abidw crashes reading /lib64/libclang-cpp.so.10 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com ` (13 preceding siblings ...) 2020-11-12 17:15 ` woodard at redhat dot com @ 2020-11-12 19:04 ` woodard at redhat dot com 14 siblings, 0 replies; 16+ messages in thread From: woodard at redhat dot com @ 2020-11-12 19:04 UTC (permalink / raw) To: libabigail https://sourceware.org/bugzilla/show_bug.cgi?id=26771 Ben Woodard <woodard at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|ASSIGNED |RESOLVED --- Comment #13 from Ben Woodard <woodard at redhat dot com> --- Since this no longer reproduces. Closing WFM -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2020-11-12 19:04 UTC | newest] Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-10-22 6:05 [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10 woodard at redhat dot com 2020-10-23 20:24 ` [Bug default/26771] " woodard at redhat dot com 2020-10-23 21:18 ` woodard at redhat dot com 2020-10-29 8:40 ` dodji at redhat dot com 2020-10-29 12:18 ` maennich at android dot com 2020-11-10 18:11 ` gprocida+abigail at google dot com 2020-11-10 18:12 ` maennich at android dot com 2020-11-10 18:12 ` maennich at android dot com 2020-11-10 18:30 ` gprocida+abigail at google dot com 2020-11-10 18:40 ` gprocida+abigail at google dot com 2020-11-11 9:06 ` dodji at redhat dot com 2020-11-11 9:31 ` gprocida+abigail at google dot com 2020-11-11 9:54 ` gprocida+abigail at google dot com 2020-11-11 14:09 ` gprocida+abigail at google dot com 2020-11-12 17:15 ` woodard at redhat dot com 2020-11-12 19:04 ` woodard at redhat dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).