Re: [Qemu-devel] check-qjson failure

2016-11-22 Thread Eric Blake
On 11/22/2016 10:00 AM, G 3 wrote:

> 
> Here is the backtrace for check-qjson:
> 
> #0  0x90047dac in kill ()
> #1  0x9012d7b4 in abort ()
> #2  0x62fc in __eprintf (string= to optimizations>, expression= 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

Ah, so check-qjson.c is another culprit.  Yes, this is one of the places
I'm cleaning up in my upcoming patches for 2.8.

-- 
Eric Blake   eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature


[Qemu-devel] check-qjson failure

2016-11-22 Thread G 3


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