From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0343C3877415; Wed, 16 Jun 2021 17:31:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0343C3877415 From: "woodard at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/27010] abort in abg-reader.cc:1287 when running on aarch64 Date: Wed, 16 Jun 2021 17:31:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: woodard 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: Message-ID: In-Reply-To: References: 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 X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2021 17:31:05 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27010 --- Comment #9 from Ben Woodard --- There are two distinct asserts that seem to be triggered the ones in the previous update were triggering at: libabigail/src/abg-reader.cc:1366 The following three are triggering at: libabigail/src/abg-reader.cc:1387 /usr/lib64/libnss_myhostname.so.2 from systemd-libs-248.3-1.fc34.x86_64 /usr/lib64/libsystemd.so.0.31.0 from systemd-libs-248.3-1.fc34.x86_64 /usr/lib64/libudev.so.1.7.1 from systemd-libs-248.3-1.fc34.x86_64 1348 /// Get the type declaration IR node that matches a given XML type = node ID. 1349 /// 1350 /// If no IR node has been built for this ID, this function builds = the 1351 /// type declaration IR node and returns it. Subsequent invocation= of 1352 /// this function with this ID will just return that ID previously returned. 1353 /// 1354 /// @param id the XML node ID to consider. 1355 /// 1356 /// @return the type declaration for the ID given in parameter. 1357 type_base_sptr 1358 read_context::build_or_get_type_decl(const string& id, 1359 bool add_decl_to_scope) 1360 { 1361 type_base_sptr t =3D get_type_decl(id); 1362=20=20 1363 if (!t) 1364 { 1365 xmlNodePtr n =3D get_xml_node_from_id(id); > 1366 ABG_ASSERT(n); 1367=20=20 1368 scope_decl_sptr scope; 1369 access_specifier access =3D no_access; 1370 if (add_decl_to_scope) 1371 { 1372 scope =3D get_scope_for_node(n, access); 1373 /// In some cases, if for instance the scope of 'n' is a 1374 /// namespace, get_scope_for_node() can trigger the build= ing 1375 /// of what is underneath of the namespace, if that has n= ot 1376 /// already been done. So after that, the IR node for 'n' 1377 /// might have been built; let's try to see if we are in 1378 /// that case. Otherwise, we'll just build the IR node f= or 1379 /// 'n' ourselves. 1380 if ((t =3D get_type_decl(id))) 1381 return t; 1382 ABG_ASSERT(scope); 1383 push_decl(scope); 1384 } 1385=20=20 1386 t =3D build_type(*this, n, add_decl_to_scope); > 1387 ABG_ASSERT(t); 1388 if (is_member_type(t) && access !=3D no_access) 1389 { 1390 ABG_ASSERT(add_decl_to_scope); 1391 decl_base_sptr d =3D get_type_declaration(t); 1392 ABG_ASSERT(d); 1393 set_member_access_specifier(d, access); 1394 } 1395 map_xml_node_to_decl(n, get_type_declaration(t)); 1396=20=20 1397 if (add_decl_to_scope) 1398 pop_scope_or_abort(scope); 1399=20=20 1400 maybe_canonicalize_type(t, !add_decl_to_scope); 1401 } 1402 return t; 1403 } --=20 You are receiving this mail because: You are on the CC list for the bug.=