From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BF478385829D; Thu, 11 Jan 2024 20:43:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BF478385829D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1705005814; bh=A7VBX6uGE29GuTUTHqePiRxz9s/thb2GFx52ExrLQ2s=; h=From:To:Subject:Date:From; b=eZ71FNn/Y0SX+drb5Gd0hAK43Lle4K+9nvSNDejF30q7ydFj1mTFNhqxYNgFW6xNf bDtNhGg51WEcgE8vdV6lxk6lLYLJY8RPM9IhXZY8MnK3LAIgUwUhgr5+RRGC8oFoYC r9J6LQb4zDx4snvDtf+PbAg7ARWM9m3GaTpwBErc= From: "fche at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/31236] New: abidw assertion failure on rhel9 /lib64/libwebkit2gtk-4.0.so, abg-ir.cc:8084 Date: Thu, 11 Jan 2024 20:43:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31236 Bug ID: 31236 Summary: abidw assertion failure on rhel9 /lib64/libwebkit2gtk-4.0.so, abg-ir.cc:8084 Product: libabigail Version: unspecified Status: NEW Severity: normal Priority: P2 Component: default Assignee: dodji at redhat dot com Reporter: fche at redhat dot com CC: libabigail at sourceware dot org Target Milestone: --- git/master libabigail gdb -args ./INST/bin/abidw /lib64/libwebkit2gtk-4.0.so.37.63.5 [...] abidw: abg-ir.cc:8084: void abigail::ir::maybe_set_translation_unit(const decl_base_sptr&, abigail::ir::translation_unit*): Assertion `__abg_cond__' failed. Program received signal SIGABRT, Aborted. [...] #0 __pthread_kill_implementation (threadid=3D,=20 signo=3Dsigno@entry=3D6, no_tid=3Dno_tid@entry=3D0) at pthread_kill.c:44 #1 0x00007ffff72a15b3 in __pthread_kill_internal (signo=3D6,=20 threadid=3D) at pthread_kill.c:78 #2 0x00007ffff7254d06 in __GI_raise (sig=3Dsig@entry=3D6) at ../sysdeps/posix/raise.c:26 #3 0x00007ffff72287f3 in __GI_abort () at abort.c:79 #4 0x00007ffff722871b in __assert_fail_base (fmt=3D,=20 assertion=3D, file=3D, line=3D,=20 function=3D) at assert.c:92 #5 0x00007ffff724dca6 in __assert_fail ( assertion=3D0x7ffff7eea8c6 "__abg_cond__", file=3D0x7ffff7eea8bc "abg-i= r.cc",=20 line=3D8084,=20 function=3D0x7ffff7ee9a00 "void abigail::ir::maybe_set_translation_unit= (const decl_base_sptr&, abigail::ir::translation_unit*)") at assert.c:101 #6 0x00007ffff7d34fe7 in abigail::ir::maybe_set_translation_unit (decl=3D.= ..,=20 tu=3D) at abg-ir.cc:8084 #7 0x00007ffff7d4a73a in abigail::ir::scope_decl::add_member_decl ( this=3D0x835fd9420,=20 member=3Dstd::shared_ptr (use count 11, weak co= unt 0) =3D {...}) at abg-ir.cc:8114 #8 0x00007ffff7d4a9bd in abigail::ir::class_or_union::add_data_member ( this=3D0x835fd9420,=20 v=3Dstd::shared_ptr (use count 11, weak count 0)= =3D {...}, access=3Dabigail::ir::public_access, is_laid_out=3D, is_static=3D, offset_in_bits=3D0) at abg-ir.cc:23307 #9 0x00007ffff7d4eb18 in abigail::ir::class_or_union::insert_member_decl (this=3D0x835fd9420, d=3Dstd::shared_ptr (use count= 11, weak count 0) =3D {...}) at abg-ir.cc:23615 #10 0x00007ffff7d4ee1b in abigail::ir::class_or_union::add_member_decl (this=3D, d=3D...) at abg-ir.cc:23108 #11 0x00007ffff7d0d39f in abigail::ir::add_decl_to_scope (decl=3Dstd::shared_ptr (use count 11, weak count 0= ) =3D {...}, scope=3D0x835fd9420) at abg-ir.cc:8503 #12 0x00007ffff7d0d44e in abigail::ir::add_decl_to_scope (decl=3Dstd::shared_ptr (use count 11, weak count 0= ) =3D {...}, scope=3Dstd::shared_ptr (use count 9, weak = count 3) =3D {...}) at abg-ir.cc:8516 #13 0x00007ffff7e9946c in abigail::dwarf::build_translation_unit_and_add_to= _ir (rdr=3D..., die=3Ddie@entry=3D0x7fffffffdb60, address_size=3D) at abg-dwarf-reader.cc:12275 #14 0x00007ffff7e9a3cb in abigail::dwarf::reader::read_debug_info_into_corp= us (this=3Dthis@entry=3D0x4219c0) at abg-dwarf-reader.cc:2213 #15 0x00007ffff7e9b059 in abigail::dwarf::reader::read_corpus (this=3D0x421= 9c0, status=3D@0x7fffffffdc60: abigail::fe_iface::STATUS_OK) at abg-dwarf-reader.cc:2102 #16 0x000000000040574c in load_corpus_and_write_abixml (opts=3D..., env=3D.= .., argv=3D0x7fffffffe228) at abidw.cc:710 #17 main (argc=3D, argv=3D0x7fffffffe228) at abidw.cc:1153 [...] (gdb) l 8079 // any translation unique since unique types are "logically" 8080 // supposed to belong to no translation unit in particular, as 8081 // they are unique. 8082 // 8083 // 2/ or the decl was already added to this translation unit. 8084 ABG_ASSERT(tu =3D=3D existing_tu || is_unique_type(is_type(decl= ))); 8085 else --=20 You are receiving this mail because: You are on the CC list for the bug.=