[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/30373] New: Random? failure of "p_align-1b with PIE" and "p_alig
From: |
clyon at gcc dot gnu.org |
Subject: |
[Bug ld/30373] New: Random? failure of "p_align-1b with PIE" and "p_align-1d with -Wl,-z,max-page-size=0x1000 with PIE" |
Date: |
Thu, 20 Apr 2023 14:56:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30373
Bug ID: 30373
Summary: Random? failure of "p_align-1b with PIE" and
"p_align-1d with -Wl,-z,max-page-size=0x1000 with PIE"
Product: binutils
Version: 2.41 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: clyon at gcc dot gnu.org
Target Milestone: ---
In our x86_64 native CI loop, I have noticed that
ld-elf/linux-x86.exp
FAIL: Run p_align-1b with PIE
FAIL: Run p_align-1d with -Wl,-z,max-page-size=0x1000 with PIE
happen apparently randomly :-(
I have tried to reproduce it manually with no luck, however when executing the
test binary under valgrind I get this:
$ valgrind ./tmpdir/p_align-1b
==300555== Memcheck, a memory error detector
==300555== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==300555== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==300555== Command: ./tmpdir/p_align-1b
==300555==
==300555==
==300555== Process terminating with default action of signal 6 (SIGABRT)
==300555== at 0x490BA7C: __pthread_kill_implementation (pthread_kill.c:44)
==300555== by 0x490BA7C: __pthread_kill_internal (pthread_kill.c:78)
==300555== by 0x490BA7C: pthread_kill@@GLIBC_2.34 (pthread_kill.c:89)
==300555== by 0x48B7475: raise (raise.c:26)
==300555== by 0x489D7F2: abort (abort.c:79)
==300555== by 0x109084: main.cold (p_align-1.c:22)
==300555== by 0x489ED8F: (below main) (libc_start_call_main.h:58)
==300555==
==300555== HEAP SUMMARY:
==300555== in use at exit: 0 bytes in 0 blocks
==300555== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==300555==
==300555== All heap blocks were freed -- no leaks are possible
==300555==
==300555== For lists of detected and suppressed errors, rerun with: -s
==300555== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Aborted (core dumped)
in ld.log, I can see:
Running: tmpdir/p_align-1b > tmpdir/p_align-1b.out
child killed: SIGABRT
FAIL: Run p_align-1b with PIE
Running: tmpdir/p_align-1d > tmpdir/p_align-1d.out
child killed: SIGABRT
FAIL: Run p_align-1d with -Wl,-z,max-page-size=0x1000 with PIE
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/30373] New: Random? failure of "p_align-1b with PIE" and "p_align-1d with -Wl,-z,max-page-size=0x1000 with PIE",
clyon at gcc dot gnu.org <=
- [Bug ld/30373] Random? failure of "p_align-1b with PIE" and "p_align-1d with -Wl,-z,max-page-size=0x1000 with PIE", hjl.tools at gmail dot com, 2023/04/20
- [Bug ld/30373] Random? failure of "p_align-1b with PIE" and "p_align-1d with -Wl,-z,max-page-size=0x1000 with PIE", hjl.tools at gmail dot com, 2023/04/20
- [Bug ld/30373] Random? failure of "p_align-1b with PIE" and "p_align-1d with -Wl,-z,max-page-size=0x1000 with PIE", clyon at gcc dot gnu.org, 2023/04/21
- [Bug ld/30373] Random? failure of "p_align-1b with PIE" and "p_align-1d with -Wl,-z,max-page-size=0x1000 with PIE", clyon at gcc dot gnu.org, 2023/04/21