public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jpalus at fastmail dot com" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug libc/28990] ld.so --verify segfaults on cc1 binary on arm 32bit Date: Wed, 23 Mar 2022 19:10:25 +0000 [thread overview] Message-ID: <bug-28990-131-WDiVZ1agVe@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-28990-131@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=28990 --- Comment #2 from Jan Palus <jpalus at fastmail dot com> --- It seems to be caused by fixed address 0x10000 used for mmap as seen in strace. With kernel 5.16 plenty of space is available: /proc/<pid>/maps just before mmap (5.16): 76fc4000-76fed000 r-xp 00000000 b3:02 393320 /lib/ld-linux-armhf.so.3 76ffa000-76ffb000 r-xp 00000000 00:00 0 [sigpage] 76ffb000-76ffc000 r--p 00000000 00:00 0 [vvar] 76ffc000-76ffd000 r-xp 00000000 00:00 0 [vdso] 76ffd000-77000000 rw-p 00029000 b3:02 393320 /lib/ld-linux-armhf.so.3 7efdf000-7f000000 rw-p 00000000 00:00 0 [stack] ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors] /proc/<pid>/maps just before mmap (5.17): 00400000-00429000 r-xp 00000000 b3:02 393320 /lib/ld-linux-armhf.so.3 00439000-0043c000 rw-p 00029000 b3:02 393320 /lib/ld-linux-armhf.so.3 76ffd000-76ffe000 r-xp 00000000 00:00 0 [sigpage] 76ffe000-76fff000 r--p 00000000 00:00 0 [vvar] 76fff000-77000000 r-xp 00000000 00:00 0 [vdso] 7efdf000-7f000000 rw-p 00000000 00:00 0 [stack] ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors] so larger binaries (>4MB) start to overlap with first region under 5.17 and result in SIGSEGV. Not sure who's to blame for this situation though. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2022-03-23 19:10 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-03-22 15:27 [Bug libc/28990] New: " jpalus at fastmail dot com 2022-03-22 15:53 ` [Bug libc/28990] " jpalus at fastmail dot com 2022-03-23 19:10 ` jpalus at fastmail dot com [this message] 2022-03-23 23:46 ` jpalus at fastmail dot com 2022-03-24 9:04 ` schwab@linux-m68k.org 2022-03-30 12:50 ` jpalus at fastmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-28990-131-WDiVZ1agVe@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).