Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1154665

Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user

From Helge Deller <deller@gmx.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user
Date 2023-07-17 20:50 +0200
Message-ID <GSBse-UGY-5@gated-at.bofh.it> (permalink)
References (1 earlier) <GSvZw-Rn1-1@gated-at.bofh.it> <GSwsx-RM4-3@gated-at.bofh.it> <GSBix-UDB-1@gated-at.bofh.it> <GRdih-2QS-3@gated-at.bofh.it> <GSBix-UDB-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> Without the patch this is the memory layout:
> start    end      size     prot
> 00010000-00011000 00001000 r-x
> 00011000-00020000 0000f000 ---
> 00020000-00021000 00001000 rw-
> 40000000-40001000 00001000 ---
> 40001000-40801000 00800000 rwx
> 40801000-40802000 00001000 r-x

The difference between armhf and amd64 regarding the fstype binary is:
armhf:
fstype loads at 00010000 and klibc.so loads at 40000000
for amd64:
fstype loads at 00400000 and klibc.so loads at 00200000

So, on amd64 the brk region is above both elf binaries,
while on armhf if clashes with the klibc areas.

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Helge Deller <deller@gmx.de> - 2023-07-17 15:00 +0200
  Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Michael Tokarev <mjt@tls.msk.ru> - 2023-07-17 15:30 +0200
    Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Helge Deller <deller@gmx.de> - 2023-07-17 20:40 +0200
      Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Helge Deller <deller@gmx.de> - 2023-07-17 20:50 +0200
        Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Helge Deller <deller@gmx.de> - 2023-07-17 22:10 +0200
          Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Michael Tokarev <mjt@tls.msk.ru> - 2023-07-17 22:30 +0200
            Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Helge Deller <deller@gmx.de> - 2023-07-17 22:40 +0200

csiph-web