Core dump instead of error when starting on nohz_full system with enable-membarrier
- Operating system: Linux
- OS/kernel version: 6.7.9
- Architecture: x86
- QEMU flavor: qemu-system-x86_64
- QEMU version: 8.2.1
- QEMU command line: qemu-system-x86_64
Emulated/Virtualized environment
N/A
Qemu core dumps with an assertion failed instead of displaying an error message when started on a system booted with nohz_full and qemu compiled with enable-membarrier. [@san ~]$ qemu qemu: ../util/qemu-thread-posix.c:92: void qemu_mutex_lock_impl(QemuMutex *, const char *, const int): Assertion `mutex->initialized' failed. Aborted (core dumped)
Backtrace: #0 0x00007f4728e88c4c __pthread_kill_implementation (libc.so.6 + 0x8dc4c) #1 0x00007f4728e3a372 raise (libc.so.6 + 0x3f372) #2 0x00007f4728e234ad abort (libc.so.6 + 0x284ad) #3 0x00007f4728e233d5 __assert_fail_base.cold (libc.so.6 + 0x283d5) #4 0x00007f4728e32f92 __assert_fail (libc.so.6 + 0x37f92) #5 0x0000563d674798b4 qemu_mutex_lock_impl (qemu-system-x86_64 + 0xd288b4) #6 0x0000563d673d66fa monitor_cur (qemu-system-x86_64 + 0xc856fa) #7 0x0000563d6747eb66 vreport (qemu-system-x86_64 + 0xd2db66) #8 0x0000563d6747eda8 error_report (qemu-system-x86_64 + 0xd2dda8) #9 0x0000563d674856c2 smp_mb_global_init (qemu-system-x86_64 + 0xd346c2) #10 0x0000563d67485287 rcu_init (qemu-system-x86_64 + 0xd34287) #11 0x00007f4728e24d76 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x29d76) #12 0x0000563d66ef0b81 _start (qemu-system-x86_64 + 0x79fb81)