Re: 'make check-tcg' fails with an assert in qemu_plugin_vcpu_init_hook

2023-06-21 Thread Peter Maydell
On Wed, 21 Jun 2023 at 11:00, Alex Bennée wrote: > > > Peter Maydell writes: > > > On Wed, 21 Jun 2023 at 09:05, Alex Bennée wrote: > >> - I suspect the plugin core stuff could be build once (or maybe twice, > >> system and user) > > > > It is already build-once, that's why it goes wrong..

Re: 'make check-tcg' fails with an assert in qemu_plugin_vcpu_init_hook

2023-06-21 Thread Alex Bennée
Peter Maydell writes: > On Wed, 21 Jun 2023 at 09:05, Alex Bennée wrote: >> >> >> Peter Maydell writes: >> >> > On Tue, 20 Jun 2023 at 17:56, Peter Maydell >> > wrote: >> >> >> >> $ make -C build/x86 check-tcg >> >> make: Entering directory >> >> '/mnt/nvmedisk/linaro/qemu-from-laptop/qemu

Re: 'make check-tcg' fails with an assert in qemu_plugin_vcpu_init_hook

2023-06-21 Thread Philippe Mathieu-Daudé
On 21/6/23 10:53, Peter Maydell wrote: On Wed, 21 Jun 2023 at 09:05, Alex Bennée wrote: Peter Maydell writes: On Tue, 20 Jun 2023 at 17:56, Peter Maydell wrote: $ make -C build/x86 check-tcg make: Entering directory '/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86' [...] TEST

Re: 'make check-tcg' fails with an assert in qemu_plugin_vcpu_init_hook

2023-06-21 Thread Peter Maydell
On Wed, 21 Jun 2023 at 09:05, Alex Bennée wrote: > > > Peter Maydell writes: > > > On Tue, 20 Jun 2023 at 17:56, Peter Maydell > > wrote: > >> > >> $ make -C build/x86 check-tcg > >> make: Entering directory > >> '/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86' > >> [...] > >> TEST

Re: 'make check-tcg' fails with an assert in qemu_plugin_vcpu_init_hook

2023-06-21 Thread Alex Bennée
Peter Maydell writes: > On Tue, 20 Jun 2023 at 17:56, Peter Maydell wrote: >> >> $ make -C build/x86 check-tcg >> make: Entering directory >> '/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86' >> [...] >> TESTmunmap-pthread on arm >> ** >> ERROR:../../plugins/core.c:221:qemu_plugin_

Re: 'make check-tcg' fails with an assert in qemu_plugin_vcpu_init_hook

2023-06-20 Thread Peter Maydell
On Tue, 20 Jun 2023 at 17:56, Peter Maydell wrote: > > $ make -C build/x86 check-tcg > make: Entering directory > '/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86' > [...] > TESTmunmap-pthread on arm > ** > ERROR:../../plugins/core.c:221:qemu_plugin_vcpu_init_hook: assertion > failed:

Re: 'make check-tcg' fails with an assert in qemu_plugin_vcpu_init_hook

2023-06-20 Thread Richard Henderson
On 6/20/23 18:56, Peter Maydell wrote: ERROR:../../accel/tcg/cpu-exec.c:1024:cpu_exec_setjmp: assertion failed: (cpu == current_cpu) ... The assertion in cpu-exec.c is interesting too and may or may not be relevant. FWIW, the last time I saw this the stack had been clobbered and the saved val

'make check-tcg' fails with an assert in qemu_plugin_vcpu_init_hook

2023-06-20 Thread Peter Maydell
$ make -C build/x86 check-tcg make: Entering directory '/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/x86' [...] TESTmunmap-pthread on arm ** ERROR:../../plugins/core.c:221:qemu_plugin_vcpu_init_hook: assertion failed: (success) ** ERROR:../../accel/tcg/cpu-exec.c:1024:cpu_exec_setjmp: ass