From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 52ED73885535; Mon, 13 Feb 2023 14:23:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 52ED73885535 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676298217; bh=OOURt4V+J2c0M8jyHeMU8dsDj433oPMgkqNhVLumJeU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UNaC9OT1uQsqUd8xzmEEO1pXCH/LFE/VuTbUhTOvUO2UTxhfcxoa8DmhAt4vP1yPK 42pKe1sYPewqlQOCyB/nqMjcyzv8GoaoqgcrFTRelzH3xELndhPzuaPJOP3zYuhvCr fY2tkGJY+5plooqCtB3Zm1rievS0ApNMSl+UvaCc= From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/30020] segfault in ld-linux after aug 2022 Date: Mon, 13 Feb 2023 14:23:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.35 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org 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=3D30020 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adhemerval.zanella at lina= ro dot o | |rg --- Comment #3 from Adhemerval Zanella --- With glibc master I see: $ ./testrun.sh ./p64 Phix hybrid interpreter/compiler. Version 1.0.1 (64 bit Linux) Copyright Pete Lomax 2006..2016 Enter ? for options or filename to execute: Is it the expected output? However, running through execve the kernel shows the binary can not be load= ed: kernel: Code: ff ff 00 45 31 db 48 8d 15 c9 ac 00 00 4c 8d 05 46 8f 01 00 4= c 8d 2d 1f 8f 01 00 49 89 c2 48 8d 58 ff 48 89 f8 49> kernel: p64[54765]: segfault at 0 ip 00007fc7ce59c350 sp 00007fffd17839c0 e= rror 4 in ld-linux-x86-64.so.2[7fc7ce57c000+2a000] So I am not sure it is really a glibc error, the binary is also stripped and not fully conformant (readelf -a show a lot of bogus information), so it is really difficult to debug. I think what might be happening is kernel ELF binfmt is seeing some unexpected and thus throwing the error. --=20 You are receiving this mail because: You are on the CC list for the bug.=