Re: [Qemu-devel] segmentation fault in ARM TCG

2013-11-11 Thread Xin Tong
you are right richard. it turns out i am generating too many tcg opcode in the frontend, such that OPC_BUF_SIZE is too small. Thank you Xin On Mon, Nov 4, 2013 at 8:18 AM, Richard Henderson wrote: > On 11/03/2013 05:22 AM, Xin Tong wrote: > > I am running QEMU user mode, but i hit a SIGSEV. I

Re: [Qemu-devel] segmentation fault in ARM TCG

2013-11-03 Thread Richard Henderson
On 11/03/2013 05:22 AM, Xin Tong wrote: > I am running QEMU user mode, but i hit a SIGSEV. It seems that tcg_malloc > returns invalid address. This looks like arena corruption. Try running under valgrind. r~

[Qemu-devel] segmentation fault in ARM TCG

2013-11-03 Thread Xin Tong
I am running QEMU user mode, but i hit a SIGSEV. It seems that tcg_malloc returns invalid address. The stack trace looks like this. and the s->nb_temps looks ok as well. I also turned on DEBUG_TCGV and all the TCGV_X uses are good. (gdb) bt #0 0x75db0866 in ?? () from /lib/x86_64-linux-g