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


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

Bug#1040981: klibc-utils: Segmentation fault while executin klibc binaries in armhf architecture under qemu-user

From Michael Tokarev <mjt@tls.msk.ru>
Newsgroups linux.debian.bugs.dist
Subject Bug#1040981: klibc-utils: Segmentation fault while executin klibc binaries in armhf architecture under qemu-user
Date 2023-07-14 15:40 +0200
Message-ID <GRrbA-bzG-21@gated-at.bofh.it> (permalink)
References (2 earlier) <GRdih-2QS-5@gated-at.bofh.it> <GRdih-2QS-3@gated-at.bofh.it> <GRr1U-bwl-13@gated-at.bofh.it> <GRdih-2QS-3@gated-at.bofh.it> <GRr1U-bwl-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


14.07.2023 16:18, Ben Hutchings wrote:
..
> I use QEMU to test klibc changes on as many architectures as possible.
> For a long time I used QEMU 3.1 with some cherry-picked bug fixes.
> All the GNU-built binaries would run successfully on that, but Clang-
> built binaries for some architectures did not.
> 
> Switching klibc to the time64 kernel API forced me to update to QEMU
> 7.2.  This introduced regressions for shared-library executables for
> armhf and riscv64.

that's definitely not good. The problem here seems to be that apparently
no one knows about these problems, so no one can fix them either.

For the very least, - since I know very little about actual emulation
internals myself, - maybe there's a way to bisect things?  Some simple
reproducer for the segfault, which don't use 64bit time_t so can run
on qemu 3.1 and 7.2?

Ben, I'd really love to have the bugs fixed. But I need some of your
knowledge for that too ;)

Thanks!

/mjt

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


Thread

Bug#1040981: klibc-utils: Segmentation fault while executin klibc binaries in armhf architecture under qemu-user Thorsten Glaser <tg@debian.org> - 2023-07-14 00:50 +0200
  Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Thorsten Glaser <tg@debian.org> - 2023-07-14 02:20 +0200
    Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Helge Deller <deller@gmx.de> - 2023-07-14 06:20 +0200
  Bug#1040981: klibc-utils: Segmentation fault while executin klibc binaries in armhf architecture under qemu-user Ben Hutchings <ben@decadent.org.uk> - 2023-07-14 15:30 +0200
    Bug#1040981: klibc-utils: Segmentation fault while executin klibc binaries in armhf architecture under qemu-user Michael Tokarev <mjt@tls.msk.ru> - 2023-07-14 15:40 +0200
    Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Thorsten Glaser <tg@debian.org> - 2023-07-14 20:50 +0200
      Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Michael Tokarev <mjt@tls.msk.ru> - 2023-07-14 21:40 +0200
        Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Thorsten Glaser <tg@debian.org> - 2023-07-14 22:20 +0200
          Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Michael Tokarev <mjt@tls.msk.ru> - 2023-07-14 22:30 +0200
            Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Thorsten Glaser <tg@debian.org> - 2023-07-15 00:20 +0200
              Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Ben Hutchings <ben@decadent.org.uk> - 2023-07-15 23:50 +0200

csiph-web