All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: G 3 <programmingkidx@gmail.com>
Cc: qemu-devel qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL'
Date: Mon, 21 Nov 2016 10:13:22 +0100	[thread overview]
Message-ID: <87r3658abx.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <673F175E-AF65-4F4F-9895-C7335A36AC29@gmail.com> (G. 3's message of "Mon, 21 Nov 2016 01:30:29 -0500")

G 3 <programmingkidx@gmail.com> 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	other threads:[~2016-11-21  9:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-21  6:30 [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL' G 3
2016-11-21  9:13 ` Markus Armbruster [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3658abx.fsf@dusky.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=programmingkidx@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.