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


Groups > linux.debian.kernel > #79580

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

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Thorsten Glaser <tg@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user
Date Fri, 14 Jul 2023 00:50:01 +0200
Message-ID <GRdih-2QS-1@gated-at.bofh.it> (permalink)
References <GRdih-2QS-3@gated-at.bofh.it> <GRdih-2QS-5@gated-at.bofh.it> <GRdih-2QS-3@gated-at.bofh.it> <GRdih-2QS-5@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Jul 13 22:48:15 2023
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.61
Reply-To Thorsten Glaser <tg@debian.org>, 1040981@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1040981
X-Debian-Pr-Package klibc-utils
X-Debian-Pr-Source klibc
X-X-Sender tg@herc.mirbsd.org
Content-Language de-DE-1901, en-GB
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=utf-8
Content-Transfer-Encoding QUOTED-PRINTABLE
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1780371
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 29
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc dinesh.kumar@toshiba-tsip.com
X-Original-Date Thu, 13 Jul 2023 22:30:47 +0000 (UTC)
X-Original-Message-ID <Pine.BSM.4.64L.2307132229110.10937@herc.mirbsd.org>
X-Original-References <OSYPR01MB55428B22F74E7C2C2F2E273DA437A@OSYPR01MB5542.jpnprd01.prod.outlook.com> <Pine.BSM.4.64L.2307132220050.10937@herc.mirbsd.org> <OSYPR01MB55428B22F74E7C2C2F2E273DA437A@OSYPR01MB5542.jpnprd01.prod.outlook.com> <Pine.BSM.4.64L.2307132220050.10937@herc.mirbsd.org>
Xref csiph.com linux.debian.bugs.dist:1154117 linux.debian.kernel:79580

Cross-posted to 2 groups.

Show key headers only | View raw


Dixi quod…

>My guess here is that it’s, as usual, the fault of qemu-user,
>which has multiple outstanding emulation bugs, some of which
>affecting klibc-built binaries especially, though this, since
>a statically linked mksh works, is probably an issue with how
>qemu-user handles .interp *shrug*

An interesting data point (here on a bullseye/amd64 system):

$ /usr/lib/klibc/bin/fstype --help
--help: No such file or directory
$ /lib/klibc-YUkGbOClhnaZRUUd4cUed0X2XZI.so  /usr/lib/klibc/bin/fstype --help
Segmentation fault (core dumped)

So running the interpreter directly is already not supported.
I’m guessing that that is what qemu-user tries, though.

Wild shoot into the blue but maybe it helps…

bye,
//mirabilos
-- 
„Cool, /usr/share/doc/mksh/examples/uhr.gz ist ja ein Grund,
mksh auf jedem System zu installieren.“
	-- XTaran auf der OpenRheinRuhr, ganz begeistert
(EN: “[…]uhr.gz is a reason to install mksh on every system.”)

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#1040981: klibc-utils: segfault executing armhf binaries under qemu-user Thorsten Glaser <tg@debian.org> - 2023-07-14 00:50 +0200

csiph-web