[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL'
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL' |
Date: |
Mon, 21 Nov 2016 11:02:43 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 21/11/2016 07:30, G 3 wrote:
> When I try to use qemu-system-i386, I see this error message:
>
> qobject/qjson.c:69: failed assertion `obj != NULL'.
>
> This is the function where the assertion fails:
>
> /*
> * IMPORTANT: This function aborts on error, thus it must not
> * be used with untrusted arguments.
> */
> QObject *qobject_from_jsonf(const char *string, ...)
> {
> QObject *obj;
> va_list ap;
>
> va_start(ap, string);
> obj = qobject_from_jsonv(string, &ap);
> va_end(ap);
>
> assert(obj != NULL);
> return obj;
> }
>
> The string argument is this: { 'seconds': %qd, 'microseconds': %qd }
>
> Would anyone know how to fix this problem?
Please include the full backtrace.
Paolo
- [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL', G 3, 2016/11/21
- Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL', Markus Armbruster, 2016/11/21
- Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL',
Paolo Bonzini <=
- Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL', G 3, 2016/11/21
- Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL', Markus Armbruster, 2016/11/22
- Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL', Eric Blake, 2016/11/22
- Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL', Paolo Bonzini, 2016/11/22
- Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL', Markus Armbruster, 2016/11/22
- Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL', G 3, 2016/11/22