All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL'
@ 2016-11-21  6:30 G 3
  2016-11-21  9:13 ` Markus Armbruster
  2016-11-21 10:02 ` Paolo Bonzini
  0 siblings, 2 replies; 18+ messages in thread
From: G 3 @ 2016-11-21  6:30 UTC (permalink / raw)
  To: qemu-devel qemu-devel

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?

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-11-22 22:42 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-21  6:30 [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL' G 3
2016-11-21  9:13 ` Markus Armbruster
2016-11-21 10:02 ` Paolo Bonzini
2016-11-21 20:12   ` G 3
2016-11-21 20:36     ` Eric Blake
2016-11-21 20:46       ` Eric Blake
2016-11-21 20:53         ` G 3
2016-11-22  6:49           ` Paolo Bonzini
2016-11-22 10:06         ` Markus Armbruster
2016-11-22 12:41           ` Eric Blake
2016-11-22 12:54             ` Paolo Bonzini
2016-11-22 15:05               ` Markus Armbruster
2016-11-22 15:02             ` G 3
2016-11-22 15:13               ` Eric Blake
2016-11-22 16:00                 ` [Qemu-devel] check-qjson failure G 3
2016-11-22 22:42                   ` Eric Blake
2016-11-22 22:22       ` [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL' G 3
2016-11-22 22:41         ` Eric Blake

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.