Re: [Qemu-devel] [Bug 932487] [NEW] win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-16 Thread Paolo Bonzini
On 02/16/2012 02:13 PM, Roy Tam wrote: > * Before a Thread can call SwitchToFiber() it must call > ConvertThreadToFiber(), but there is no way prior to Vista > to know if a Thread created by alien code is already a > Fiber, and the documentation is spectacularly unclear on the > c

Re: [Qemu-devel] [Bug 932487] [NEW] win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-16 Thread Roy Tam
2012/2/16 Kevin Wolf : > Am 16.02.2012 12:01, schrieb Paolo Bonzini: >> On 02/16/2012 11:34 AM, Kevin Wolf wrote: >>> Remember that I saw a similar crash a while ago? It was definitely a >>> NULL pointer access somewhere inside SwitchToFiber. I can't remember >>> exactly what came out of it, but I

Re: [Qemu-devel] [Bug 932487] [NEW] win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-16 Thread Kevin Wolf
Am 16.02.2012 12:01, schrieb Paolo Bonzini: > On 02/16/2012 11:34 AM, Kevin Wolf wrote: >> Remember that I saw a similar crash a while ago? It was definitely a >> NULL pointer access somewhere inside SwitchToFiber. I can't remember >> exactly what came out of it, but I think you and Paolo couldn't

Re: [Qemu-devel] [Bug 932487] [NEW] win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-16 Thread Roy Tam
2012/2/16 Kevin Wolf <932...@bugs.launchpad.net>: > Am 16.02.2012 10:34, schrieb Stefan Hajnoczi: >> This is interesting because the code is a straightforward usage of >> coroutines: >> >> co = qemu_coroutine_create(bdrv_rw_co_entry); >> qemu_coroutine_enter(co, &rwco);   <--- boom >> >> Please mak

Re: [Qemu-devel] [Bug 932487] [NEW] win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-16 Thread Paolo Bonzini
On 02/16/2012 11:34 AM, Kevin Wolf wrote: > Remember that I saw a similar crash a while ago? It was definitely a > NULL pointer access somewhere inside SwitchToFiber. I can't remember > exactly what came out of it, but I think you and Paolo couldn't > reproduce it and I ran out of time for debuggin

Re: [Qemu-devel] [Bug 932487] [NEW] win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-16 Thread Kevin Wolf
Am 16.02.2012 10:34, schrieb Stefan Hajnoczi: > This is interesting because the code is a straightforward usage of > coroutines: > > co = qemu_coroutine_create(bdrv_rw_co_entry); > qemu_coroutine_enter(co, &rwco); <--- boom > > Please make test-coroutine and try ./test-coroutine. That performs

Re: [Qemu-devel] [Bug 932487] [NEW] win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-16 Thread Stefan Hajnoczi
On Wed, Feb 15, 2012 at 1:59 AM, Roy Tam <932...@bugs.launchpad.net> wrote: > 0x7c81071e in SwitchToFiber () from C:\WINDOWS\system32\kernel32.dll > (gdb) bt > #0  0x7c81071e in SwitchToFiber () from C:\WINDOWS\system32\kernel32.dll > #1  0x0044774c in qemu_coroutine_switch (from_=0x19593fc, to_=0x

[Qemu-devel] [Bug 932487] [NEW] win32: git rev 59f971d crashes when accessing disk (coroutine issue)

2012-02-14 Thread Roy Tam
Public bug reported: Host: XP SP3 / Vista SP2 configure commandline: ./configure --target-list="i386-softmmu" --audio- drv-list=sdl --audio-card-list=ac97,sb16,adlib --disable-linux-aio --disable-vnc-thread --disable-vnc-jpeg --extra-cflags="-O0 -pipe" gcc -v: Using built-in specs. Target: mingw