Re: [Qemu-devel] linux-user crashing in multi-threaded programs

2011-11-23 Thread 陳韋任
On Mon, Nov 21, 2011 at 10:11:37AM +, Peter Maydell wrote: > On 21 November 2011 10:07, Alexander Graf wrote: > > On 21.11.2011, at 10:59, Peter Maydell wrote: > >> You can hit this bug even single-threaded or in system mode: > >> it's just that aggressively multi-threaded user apps are the >

Re: [Qemu-devel] linux-user crashing in multi-threaded programs

2011-11-21 Thread Peter Maydell
On 21 November 2011 10:07, Alexander Graf wrote: > On 21.11.2011, at 10:59, Peter Maydell wrote: >> You can hit this bug even single-threaded or in system mode: >> it's just that aggressively multi-threaded user apps are the >> easiest way to trigger it. So I don't think we can ever use >> the tb-

Re: [Qemu-devel] linux-user crashing in multi-threaded programs

2011-11-21 Thread Alexander Graf
On 21.11.2011, at 10:59, Peter Maydell wrote: > On 21 November 2011 09:55, Alexander Graf wrote: >> On 21.11.2011, at 09:54, Peter Maydell wrote: >>> I think I sent you my work-in-progress patch, didn't I? >> >> I know that we talked about it. But I can't find it. That doesn't >> mean that you

Re: [Qemu-devel] linux-user crashing in multi-threaded programs

2011-11-21 Thread Peter Maydell
On 21 November 2011 09:55, Alexander Graf wrote: > On 21.11.2011, at 09:54, Peter Maydell wrote: >> I think I sent you my work-in-progress patch, didn't I? > > I know that we talked about it. But I can't find it. That doesn't > mean that you didn't send it, but either way I'd really like to see >

Re: [Qemu-devel] linux-user crashing in multi-threaded programs

2011-11-21 Thread Alexander Graf
On 21.11.2011, at 09:54, Peter Maydell wrote: > On 21 November 2011 02:05, Alexander Graf wrote: >> In an adventure to find out why yast2-core fails in its testsuite during >> build on ARM for us, I dove into the code for a bit and debugged it down to >> our old friend: multi-threaded TB inval

Re: [Qemu-devel] linux-user crashing in multi-threaded programs

2011-11-21 Thread Peter Maydell
On 21 November 2011 02:05, Alexander Graf wrote: > In an adventure to find out why yast2-core fails in its testsuite during > build on ARM for us, I dove into the code for a bit and debugged it down to > our old friend: multi-threaded TB invalidation. https://bugs.launchpad.net/qemu/+bug/668799

Re: [Qemu-devel] linux-user crashing in multi-threaded programs

2011-11-20 Thread Alexander Graf
On 21.11.2011, at 03:05, Alexander Graf wrote: > Howdy, > > In an adventure to find out why yast2-core fails in its testsuite during > build on ARM for us, I dove into the code for a bit and debugged it down to > our old friend: multi-threaded TB invalidation. > > I have a nice test case at >

[Qemu-devel] linux-user crashing in multi-threaded programs

2011-11-20 Thread Alexander Graf
Howdy, In an adventure to find out why yast2-core fails in its testsuite during build on ARM for us, I dove into the code for a bit and debugged it down to our old friend: multi-threaded TB invalidation. I have a nice test case at http://csgraf.de/tmp/yast2-core.tbz2 which you can easily us