qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 00/14] tcg-next patch queue


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PULL 00/14] tcg-next patch queue
Date: Wed, 19 Jul 2017 17:33:28 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 07/19/2017 04:45 PM, Peter Maydell wrote:
The sparc-linux-user test fails:

/home/petmay01/linaro/qemu-for-merges/build/all-linux-static/sparc-linux-user/qemu-sparc
-L ./gnemul/qemu-sparc sparc/ls -l dummyfile
Inconsistency detected by ld.so: rtld.c: 858: dl_main: Assertion
`_dl_rtld_map.l_prev->l_next == _dl_rtld_map.l_next' failed!
Makefile:6: recipe for target 'test' failed

A valgrind run produces a lot of noise, but
this bit looks suspicious:

==14436==
==14436== Conditional jump or move depends on uninitialised value(s)
==14436==    at 0x60003F7C: tcg_out_qemu_st_direct (tcg-target.inc.c:1733)
==14436==    by 0x60004295: tcg_out_qemu_st (tcg-target.inc.c:1856)
==14436==    by 0x60004F0C: tcg_out_op (tcg-target.inc.c:2140)
==14436==    by 0x6000B0FF: tcg_reg_alloc_op (tcg.c:2360)
==14436==    by 0x6000BCED: tcg_gen_code (tcg.c:2679)
==14436==    by 0x600387B7: tb_gen_code (translate-all.c:1311)
==14436==    by 0x6003637B: tb_find (cpu-exec.c:367)
==14436==    by 0x60036A7C: cpu_exec (cpu-exec.c:675)
==14436==    by 0x60039DA1: cpu_loop (main.c:1088)
==14436==    by 0x6003B7AF: main (main.c:4860)
==14436==
==14436== Invalid write of size 4
==14436==    at 0x605114FA: ???
==14436==    by 0x6011ADDF: ??? (in
/home/petmay01/linaro/qemu-for-merges/build/all-linux-static/sparc-linux-user/qemu-sparc)
==14436==    by 0x6253464F: ???
==14436==    by 0x6022852F: ??? (in
/home/petmay01/linaro/qemu-for-merges/build/all-linux-static/sparc-linux-user/qemu-sparc)
==14436==    by 0x6022818C: ??? (in
/home/petmay01/linaro/qemu-for-merges/build/all-linux-static/sparc-linux-user/qemu-sparc)
==14436==    by 0x6022852F: ??? (in
/home/petmay01/linaro/qemu-for-merges/build/all-linux-static/sparc-linux-user/qemu-sparc)
==14436==    by 0x416FFFFFFFF: ???
==14436==    by 0x60227F1F: ??? (in
/home/petmay01/linaro/qemu-for-merges/build/all-linux-static/sparc-linux-user/qemu-sparc)
==14436==  Address 0x59d1c7d0 is not stack'd, malloc'd or (recently) free'd
==14436==

Reverting "target/sparc: optimize gen_op_mulscc() using deposit op"
fixed this, so I think that's probably the culprit.

Thank you for taking time with valgrind, I'll verify sparc/tcg opcode used.

Phil.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]