[Qemu-devel] [Bug 1799200] Re: null pointer dereference in tcg_emit_op

2018-10-22 Thread wwb1234
Hi Emilio G. Cota (cota), thank you, after I free the "ptr",there is no crash occur :) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1799200 Title: null pointer dereference in tcg_emit_op Stat

[Qemu-devel] [Bug 1799200] Re: null pointer dereference in tcg_emit_op

2018-10-22 Thread wwb1234
Hi Emilio G. Cota (cota), for point 1, I don't know what you mean about leaking the ptr TCG temp for point 2. what I want to do is call callback function when execute every guest instructions so I think it's not should inset code in .translate_insn. what do you think about it? -- You receiv

[Qemu-devel] [Bug 1799200] Re: null pointer dereference in tcg_emit_op

2018-10-22 Thread Emilio G. Cota
1. You're leaking the "ptr" TCG temp. Fix it, and also test your code with the --enable-debug-tcg configure flag. 2. Don't insert your helper in .insn_start; you'll have better luck in .translate_insn. -- You received this bug notification because you are a member of qemu- devel-ml, which is su

[Qemu-devel] [Bug 1799200] Re: null pointer dereference in tcg_emit_op

2018-10-22 Thread Alex Bennée
Does this bug occur with a normal build of QEMU or only with your changes to it? ** Changed in: qemu Status: In Progress => Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1799200 Title

[Qemu-devel] [Bug 1799200] Re: null pointer dereference in tcg_emit_op

2018-10-22 Thread wwb1234
** Summary changed: - pointer dereference in tcg_emit_op + null pointer dereference in tcg_emit_op -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1799200 Title: null pointer dereference in tcg_emit