Assertion failed: !(cpu)->created, function tlb_flush_by_mmuidx, file cputlb.c, line 415
As of v10.1.0-rc4, when defining DEBUG_TLB_GATE we get:
Assertion failed: (!(cpu)->created), function tlb_flush_by_mmuidx, file cputlb.c, line 415.
Process 32057 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = hit program assert
frame #4: 0x000000010077e250 qemu-system-arm`tlb_flush_by_mmuidx.cold.2 at cputlb.c:415:5
412 {
413 tlb_debug("mmu_idx: 0x%" PRIx16 "\n", idxmap);
414
-> 415 assert_cpu_is_self(cpu);
416
Target 0: (qemu-system-arm) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = hit program assert
frame #0: 0x000000018838e388 libsystem_kernel.dylib`__pthread_kill + 8
frame #1: 0x00000001883c788c libsystem_pthread.dylib`pthread_kill + 296
frame #2: 0x00000001882d0a3c libsystem_c.dylib`abort + 124
frame #3: 0x00000001882cfc70 libsystem_c.dylib`__assert_rtn + 284
* frame #4: 0x000000010077e250 qemu-system-arm`tlb_flush_by_mmuidx.cold.2 at cputlb.c:415:5
frame #5: 0x0000000100381730 qemu-system-arm`tlb_flush_by_mmuidx(cpu=0x00000001301b8000, idxmap=65535) at cputlb.c:415:5
frame #6: 0x00000001003e1410 qemu-system-arm`arm_cpu_reset_hold(obj=0x00000001301b8000, type=RESET_TYPE_COLD) at cpu.c:260:9
frame #7: 0x0000000100597990 qemu-system-arm`resettable_phase_hold(obj=0x00000001301b8000, opaque=<unavailable>, type=RESET_TYPE_COLD) at resettable.c:162:13
frame #8: 0x00000001005975e0 qemu-system-arm`resettable_assert_reset(obj=0x00000001301b8000, type=RESET_TYPE_COLD) at resettable.c:58:5
frame #9: 0x000000010059755c qemu-system-arm`resettable_reset(obj=0x00000001301b8000, type=RESET_TYPE_COLD) at resettable.c:45:5
frame #10: 0x0000000100595d14 qemu-system-arm`device_cold_reset(dev=<unavailable>) at qdev.c:239:5 [artificial]
frame #11: 0x000000010000bed8 qemu-system-arm`cpu_reset(cpu=0x00000001301b8000) at cpu-common.c:113:5
frame #12: 0x00000001003e1298 qemu-system-arm`arm_cpu_realizefn(dev=0x00000001301b8000, errp=0x000000016fdfe2b0) at cpu.c:2604:5
frame #13: 0x0000000100596d60 qemu-system-arm`device_set_realized(obj=<unavailable>, value=<unavailable>, errp=0x000000016fdfe368) at qdev.c:494:13
frame #14: 0x000000010059e1d0 qemu-system-arm`property_set_bool(obj=0x00000001301b8000, v=<unavailable>, name=<unavailable>, opaque=0x00006000035641d0, errp=0x000000016fdfe368) at object.c:2375:5
frame #15: 0x000000010059bf00 qemu-system-arm`object_property_set(obj=0x00000001301b8000, name="realized", v=0x0000600000b63d00, errp=0x000000016fdfe368) at object.c:1450:5
frame #16: 0x00000001005a05d4 qemu-system-arm`object_property_set_qobject(obj=<unavailable>, name=<unavailable>, value=<unavailable>, errp=<unavailable>) at qom-qobject.c:28:10
frame #17: 0x000000010059c40c qemu-system-arm`object_property_set_bool(obj=<unavailable>, name=<unavailable>, value=<unavailable>, errp=<unavailable>) at object.c:1520:15
frame #18: 0x0000000100595dbc qemu-system-arm`qdev_realize(dev=<unavailable>, bus=<unavailable>, errp=<unavailable>) at qdev.c:276:12 [artificial]
frame #19: 0x0000000100469b58 qemu-system-arm`machvirt_init(machine=0x000000013b008600) at virt.c:2397:9
frame #20: 0x00000001000bc968 qemu-system-arm`machine_run_board_init(machine=<unavailable>, mem_path=<unavailable>, errp=<unavailable>) at machine.c:1694:5
frame #21: 0x00000001002beb84 qemu-system-arm`qmp_x_exit_preconfig [inlined] qemu_init_board at vl.c:2714:5
frame #22: 0x00000001002beb24 qemu-system-arm`qmp_x_exit_preconfig(errp=0x0000000101902a00) at vl.c:2808:5
frame #23: 0x00000001002c293c qemu-system-arm`qemu_init(argc=<unavailable>, argv=<unavailable>) at vl.c:3844:9
frame #24: 0x0000000100671538 qemu-system-arm`main(argc=<unavailable>, argv=<unavailable>) at main.c:71:5
frame #25: 0x0000000188026b98 dyld`start + 6076
(lldb)