On 2/5/21 12:48 PM, Bharat Bhushan wrote:
Hi All,
I am using QEMU version "v5.2.0" and getting below error when running on arm64
$ qemu-system-aarch64 --version
ERROR:../qom/object.c:711:object_new_with_type: assertion failed: (type != NULL)
Bail out! ERROR:../qom/object.c:711:object_new_with_type: assertion failed:
(type != NULL)
Running GDB give below information.
Is this something known.
(gdb) run
Starting program: /root/qemu-system-aarch64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0xfffff703ed90 (LWP 5212)]
**
ERROR:../qom/object.c:711:object_new_with_type: assertion failed: (type != NULL)
Bail out! ERROR:../qom/object.c:711:object_new_with_type: assertion failed:
(type != NULL)
Thread 1 "qemu-system-aar" received signal SIGABRT, Aborted.
0x0000fffff73e380c in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x0000fffff73e380c in raise () from /lib64/libc.so.6
#1 0x0000fffff73d0bcc in abort () from /lib64/libc.so.6
#2 0x0000fffff7b7c058 in g_assertion_message () from /lib64/libglib-2.0.so.0
#3 0x0000fffff7b7c0b8 in g_assertion_message_expr () from
/lib64/libglib-2.0.so.0
#4 0x0000aaaaab2b880c in object_new_with_type (type=<optimized out>) at
../qom/object.c:711
#5 0x0000aaaaab2b8870 in object_new (typename=typename@entry=0xaaaaab50a668
"container") at ../qom/object.c:744
How can you not have "container" registered? libqom is a core part
of QEMU... Cc'ing Gerd for the module initialization.