Re: linux-user emulation hangs during fork

2024-06-06 Thread Richard Henderson
On 6/6/24 01:27, Andreas Schwab wrote: Which ruby? $ ruby --version ruby 3.3.1 (2024-04-23 revision c56cd86388) [x86_64-linux-gnu] ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu] That might have been handy to have with your original report. r~

Re: linux-user emulation hangs during fork

2024-06-06 Thread Andreas Schwab
Which ruby? $ ruby --version ruby 3.3.1 (2024-04-23 revision c56cd86388) [x86_64-linux-gnu] -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: linux-user emulation hangs during fork

2024-06-05 Thread Richard Henderson
On 6/5/24 02:14, Andreas Schwab wrote: $ qemu-x86_64 --version qemu-x86_64 version 9.0.50 (v9.0.0-1211-gd16cab541a) Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers $ cat fork.rb begin r, w = IO.pipe if pid1 = fork w.close r.read 1 Process.kill "USR1",

Re: linux-user emulation hangs during fork

2024-06-05 Thread Andreas Schwab
6490d9aa62ef3cbbac2bf584fb0f3e737ab05e44 is the first bad commit commit 6490d9aa62ef3cbbac2bf584fb0f3e737ab05e44 Author: Richard Henderson Date: Tue Jan 24 10:10:19 2023 -1000 linux-user: un-parent OBJECT(cpu) when closing thread This reinstates commit 52f0c1607671293afcdb2acc2f83e

linux-user emulation hangs during fork

2024-06-05 Thread Andreas Schwab
$ qemu-x86_64 --version qemu-x86_64 version 9.0.50 (v9.0.0-1211-gd16cab541a) Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers $ cat fork.rb begin r, w = IO.pipe if pid1 = fork w.close r.read 1 Process.kill "USR1", pid1 Process.wait2 pid1 else print