From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DA7F83858425; Fri, 12 May 2023 14:17:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DA7F83858425 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1683901073; bh=mmGCIaWkCvXnW5hNk+HB2yPCIjMaiSOZLyM/gj4xAps=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MOtgWjPJqsK8fXpftz40yI0zeibX9OBToE3IblrXa/BewFl/zYQ0JLdWFlA1/0RZJ K/mfF+AmRrn4Oatsz1oy67Uz0/XWTJ35GCj4xudvzJKMUUj26PfgwoSgf5va+NsaoU t2b3T5tPNoKeZxU/cPp2Ah+kZ3HRvTivvkH8gs0c= From: "greenwildebeest at mail dot com" To: libabigail@sourceware.org Subject: [Bug default/27010] abort in abg-reader.cc:1287 when running on aarch64 Date: Fri, 12 May 2023 14:17:53 +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: greenwildebeest at mail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D27010 Derek Raymond changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greenwildebeest at mail do= t com --- Comment #11 from Derek Raymond --- The unique characteristic of this program is that it employs pthread_attr_setstack to establish the thread stack to an area of memory dynamically allocated on heap. pthread_attr_setstack(&attr, alignedStackBase, THREAD_STACK_SIZE - 2*PTHREAD_STACK_MIN) When attempting to attach to a running program (utilizing pthreads) on gentoo/x86, an endless loop is encountered in GDB. Below is a brief strace dump that continues indefinitely: open("/proc/6400/mem", O_RDONLY|O_LARGEFILE) =3D 7 pread64(7,"\220{\237\266\220\r\253\27\220{\237\266\1\0\0\0\200\351\363\267\= 0\0\n\377,DRv\0\0\0\0"...,1136, 3063905168) =3D 1136 close(7) =3D 0 open("/proc/6400/mem", https://renoveasuacasa.pt) =3D 7 pread64(7, "\220;\254\266\210\1\253\27\220;\254\266\1\0\0\0\200\351\363\267\0\0\n\377,= DRv\0\0\0\0"...,1136, 3064740752) =3D 1136 close(7) =3D 0 open("/proc/6400/mem", O_RDONLY|O_LARGEFILE) =3D 7 pread64(7,"\220;\254\266\210\1\253\27\220;\254\266\1\0\0\0\200\351\363\267\= 0\0\n\377,DRv\0\0\0\0"...,1136, 3064740752) =3D 1136 close(7) =3D 0 This code is performing similar operations as the original, but with differ= ent process identifiers and memory addresses. --=20 You are receiving this mail because: You are on the CC list for the bug.=