[Bug default/27010] abort in abg-reader.cc:1287 when running on aarch64

greenwildebeest at mail dot com sourceware-bugzilla@sourceware.org
Fri May 12 14:17:53 GMT 2023


https://sourceware.org/bugzilla/show_bug.cgi?id=27010

Derek Raymond <greenwildebeest at mail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greenwildebeest at mail dot com

--- Comment #11 from Derek Raymond <greenwildebeest at mail dot com> ---
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) = 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) = 1136
close(7) = 0
open("/proc/6400/mem", https://renoveasuacasa.pt) = 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) = 1136
close(7) = 0
open("/proc/6400/mem", O_RDONLY|O_LARGEFILE) = 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) = 1136
close(7) = 0

This code is performing similar operations as the original, but with different
process identifiers and memory addresses.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libabigail mailing list