Re: [Qemu-devel] [Bug 1647683] [NEW] Bad interaction between tb flushing & gdb stub

2016-12-06 Thread Peter Maydell
On 6 December 2016 at 12:34, Peter Maydell wrote: > I saw something similar the other day as well, not involving valgrind, > just a simple gdb connected to the gdbstub. http://people.linaro.org/~peter.maydell/gdbstub-bug.tgz is a repro case for this (with an aarch64 kernel guest). Segfaults every

Re: [Qemu-devel] [Bug 1647683] [NEW] Bad interaction between tb flushing & gdb stub

2016-12-06 Thread Peter Maydell
On 6 December 2016 at 11:39, Julian Brown <1647...@bugs.launchpad.net> wrote: > Running QEMU under GDB in the test harness via Valgrind, using something > akin to: > > (gdb) target remote | valgrind --tool=memcheck qemu-arm-system [...] > > leads to intermittent (and quite hard-to-reproduce) segfau

[Qemu-devel] [Bug 1647683] [NEW] Bad interaction between tb flushing & gdb stub

2016-12-06 Thread Julian Brown
Public bug reported: I have been working on a series of patches for ARM big-endian system mode support, using QEMU as a bare-metal simulator for the GDB test suite. At some point I realised that these tests were not running reliably on the QEMU master branch, even without my patches applied. (I.e.