qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL'


From: Markus Armbruster
Subject: Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL'
Date: Mon, 21 Nov 2016 10:13:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

G 3 <address@hidden> writes:

> 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?

Maybe, if you provide either a crystal ball or a stack backtrace.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]