On Nov 22, 2016, at 10:13 AM, Eric Blake wrote:
On 11/22/2016 09:02 AM, G 3 wrote:
I did run make check. It fails here:
GTESTER tests/check-qjson
qobject/qjson.c:69: failed assertion `obj != NULL'
GTester: last random seed: R02S40df2b0a1486871a176bb83135c07c90
make: *** [/Users/john/desktop/qemu-2.0.0/tests/Makefile:343:
check-tests/check-qjson] Error 1
That sounds like an independent failure; can you run 'gdb
tests/check-qjson' and get a backtrace for that (perhaps in a new
thread, since fixing it is different than this thread on
improving/eliminating qobject_from_json[fv])?
check-qga isn't run.
'make check -k' will let it run, rather than giving up early on the
first test failure of any earlier test.
Here is the backtrace for check-qjson:
#0 0x90047dac in kill ()
#1 0x9012d7b4 in abort ()
#2 0x62fc in __eprintf (string=due to optimizations>, expression=to optimizations>, line=optimizations>, filename=optimizations>) at ../../../libgcc/libgcc2.c:2116
#3 0x8db8 in qobject_from_jsonf (string=0x10150 "%qd") at
qobject/qjson.c:69
#4 0x40ac in vararg_number () at tests/check-qjson.c:978
#5 0x0026ad74 in g_test_run_suite_internal ()
#6 0x0026af74 in g_test_run_suite_internal ()
#7 0x0026af74 in g_test_run_suite_internal ()
#8 0x0026b0e4 in g_test_run_suite ()
#9 0x0026b140 in g_test_run ()
#10 0x6298 in main (argc=1, argv=0xb80c) at tests/check-
qjson.c:1504