Received: from eggs.gnu.org ([2001:4830:134:3::10]:54994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8kfL-0000Ng-DZ for qemu-devel@nongnu.org; Mon, 21 Nov 2016 04:13:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8kfH-0003eX-F5 for qemu-devel@nongnu.org; Mon, 21 Nov 2016 04:13:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36274) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c8kfH-0003eB-8Y for qemu-devel@nongnu.org; Mon, 21 Nov 2016 04:13:27 -0500 From: Markus Armbruster References: <673F175E-AF65-4F4F-9895-C7335A36AC29@gmail.com> Date: Mon, 21 Nov 2016 10:13:22 +0100 In-Reply-To: <673F175E-AF65-4F4F-9895-C7335A36AC29@gmail.com> (G. 3's message of "Mon, 21 Nov 2016 01:30:29 -0500") Message-ID: <87r3658abx.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] qobject/qjson.c:69: failed assertion `obj != NULL' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: G 3 Cc: qemu-devel qemu-devel G 3 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.