From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9vfc-0006rK-0y for qemu-devel@nongnu.org; Tue, 20 Mar 2012 05:48:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9vfM-0003hR-2M for qemu-devel@nongnu.org; Tue, 20 Mar 2012 05:47:59 -0400 Received: from indium.canonical.com ([91.189.90.7]:43995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9vfL-0003gs-QN for qemu-devel@nongnu.org; Tue, 20 Mar 2012 05:47:43 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1S9vfJ-0005Vv-H7 for ; Tue, 20 Mar 2012 09:47:41 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 4F7AD2E8251 for ; Tue, 20 Mar 2012 09:41:12 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 20 Mar 2012 09:35:31 -0000 From: Roy Tam <932487@bugs.launchpad.net> Sender: bounces@canonical.com References: <20120215015959.27405.46578.malonedeb@soybean.canonical.com> <20120320090750.10772.70780.malone@soybean.canonical.com> Message-Id: Errors-To: bounces@canonical.com Subject: Re: [Qemu-devel] [Bug 932487] Re: win32: git rev 59f971d crashes when accessing disk (coroutine issue) Reply-To: Bug 932487 <932487@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 2012/3/20 Stefan Weil <932487@bugs.launchpad.net>: > Please try a newer compiler. gcc-4.6.2 compiles thread local storage corr= ectly, gcc-4.3.3 obviously doesn't. > If you can confirm that newer compilers fix this bug, I'd like to close t= his ticket. > I'm using gcc-4.6.2 now. > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/932487 > > Title: > =C2=A0win32: git rev 59f971d crashes when accessing disk (coroutine issue) > > Status in QEMU: > =C2=A0Confirmed > > Bug description: > =C2=A0Host: XP SP3 / Vista SP2 > > =C2=A0configure commandline: ./configure --target-list=3D"i386-softmmu" > =C2=A0--audio-drv-list=3Dsdl --audio-card-list=3Dac97,sb16,adlib --disabl= e- > =C2=A0linux-aio --disable-vnc-thread --disable-vnc-jpeg --extra-cflags=3D= "-O0 > =C2=A0-pipe" > > =C2=A0gcc -v: > =C2=A0Using built-in specs. > =C2=A0Target: mingw32 > =C2=A0Configured with: ../gcc-4.3.3/configure --prefix=3D/mingw --build= =3Dmingw32 --enable-languages=3Dc,ada,c++,fortran,objc,obj-c++ --with-bugur= l=3Dhttp://www.tdragon.net/recentgcc/bugs.php --disable-nls --disable-win32= -registry --enable-libgomp --disable-werror --enable-threads --disable-symv= ers --enable-cxx-flags=3D'-fno-function-sections -fno-data-sections' --enab= le-fully-dynamic-string --enable-version-specific-runtime-libs --enable-sjl= j-exceptions --with-pkgversion=3D'4.3.3-tdm-1 mingw32' > =C2=A0Thread model: win32 > =C2=A0gcc version 4.3.3 (4.3.3-tdm-1 mingw32) > > =C2=A0gdb output: > =C2=A0C:\msys\home\User\qemu\i386-softmmu>gdb --args qemu-system-i386.exe= -L ..\pc-bios -hda xp.vmdk > =C2=A0GNU gdb (GDB) 7.3 > =C2=A0Copyright (C) 2011 Free Software Foundation, Inc. > =C2=A0License GPLv3+: GNU GPL version 3 or later > =C2=A0This is free software: you are free to change and redistribute it. > =C2=A0There is NO WARRANTY, to the extent permitted by law. =C2=A0Type "s= how copying" > =C2=A0and "show warranty" for details. > =C2=A0This GDB was configured as "mingw32". > =C2=A0For bug reporting instructions, please see: > =C2=A0... > =C2=A0Reading symbols from C:\msys\home\User\qemu\i386-softmmu/qemu-syste= m-i386.exe... > =C2=A0done. > =C2=A0(gdb) r > =C2=A0Starting program: C:\msys\home\User\qemu\i386-softmmu/qemu-system-i= 386.exe -L ..\\pc-bios -hda xp.vmdk > =C2=A0[New Thread 2472.0x8e0] > =C2=A0[New Thread 2472.0xdc4] > =C2=A0[New Thread 2472.0x8f0] > > =C2=A0Program received signal SIGSEGV, Segmentation fault. > =C2=A0[Switching to Thread 2472.0x8f0] > =C2=A00x7c81071e in SwitchToFiber () from C:\WINDOWS\system32\kernel32.dll > =C2=A0(gdb) bt > =C2=A0#0 =C2=A00x7c81071e in SwitchToFiber () from C:\WINDOWS\system32\ke= rnel32.dll > =C2=A0#1 =C2=A00x0044774c in qemu_coroutine_switch (from_=3D0x19593fc, to= _=3D0xdcee9a8, > =C2=A0 =C2=A0 =C2=A0action=3DCOROUTINE_YIELD) at coroutine-win32.c:48 > =C2=A0#2 =C2=A00x004db18d in coroutine_swap (from=3D0x1e00, to=3D0xdcee9a= 8) > =C2=A0 =C2=A0 =C2=A0at qemu-coroutine.c:31 > =C2=A0#3 =C2=A00x00411618 in bdrv_rw_co (bs=3D, sector_num= =3D, > =C2=A0 =C2=A0 =C2=A0buf=3D0x2140000 "@", nb_sectors=3D1, is_write=3Dfalse= ) at block.c:1335 > =C2=A0#4 =C2=A00x00486e39 in ide_sector_read (s=3D0x1bbdaa0) > =C2=A0 =C2=A0 =C2=A0at C:/msys/home/User/qemu/hw/ide/core.c:480 > =C2=A0#5 =C2=A00x0054e71f in memory_region_iorange_write (iorange=3D0x1bb= cf60, offset=3D7, > =C2=A0 =C2=A0 =C2=A0width=3D1, data=3D32) at C:/msys/home/User/qemu/memor= y.c:431 > =C2=A0#6 =C2=A00x005494e0 in ioport_writeb_thunk (opaque=3D0x1bbcf60, add= r=3D7680, data=3D32) > =C2=A0 =C2=A0 =C2=A0at C:/msys/home/User/qemu/ioport.c:211 > =C2=A0#7 =C2=A00x005496cf in ioport_write (data=3D, > =C2=A0 =C2=A0 =C2=A0address=3D, index=3D) > =C2=A0 =C2=A0 =C2=A0at C:/msys/home/User/qemu/ioport.c:82 > =C2=A0#8 =C2=A0cpu_outb (addr=3D2147340288, val=3D0 '\000') > =C2=A0 =C2=A0 =C2=A0at C:/msys/home/User/qemu/ioport.c:274 > =C2=A0#9 =C2=A00x022c0397 in ?? () > =C2=A0Backtrace stopped: previous frame inner to this frame (corrupt stac= k?) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/qemu/+bug/932487/+subscriptions -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/932487 Title: win32: git rev 59f971d crashes when accessing disk (coroutine issue) Status in QEMU: Confirmed Bug description: Host: XP SP3 / Vista SP2 configure commandline: ./configure --target-list=3D"i386-softmmu" --audio-drv-list=3Dsdl --audio-card-list=3Dac97,sb16,adlib --disable- linux-aio --disable-vnc-thread --disable-vnc-jpeg --extra-cflags=3D"-O0 -pipe" gcc -v: Using built-in specs. Target: mingw32 Configured with: ../gcc-4.3.3/configure --prefix=3D/mingw --build=3Dmingw= 32 --enable-languages=3Dc,ada,c++,fortran,objc,obj-c++ --with-bugurl=3Dhttp= ://www.tdragon.net/recentgcc/bugs.php --disable-nls --disable-win32-registr= y --enable-libgomp --disable-werror --enable-threads --disable-symvers --en= able-cxx-flags=3D'-fno-function-sections -fno-data-sections' --enable-fully= -dynamic-string --enable-version-specific-runtime-libs --enable-sjlj-except= ions --with-pkgversion=3D'4.3.3-tdm-1 mingw32' Thread model: win32 gcc version 4.3.3 (4.3.3-tdm-1 mingw32) gdb output: C:\msys\home\User\qemu\i386-softmmu>gdb --args qemu-system-i386.exe -L ..= \pc-bios -hda xp.vmdk GNU gdb (GDB) 7.3 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "mingw32". For bug reporting instructions, please see: ... Reading symbols from C:\msys\home\User\qemu\i386-softmmu/qemu-system-i386= .exe... done. (gdb) r Starting program: C:\msys\home\User\qemu\i386-softmmu/qemu-system-i386.ex= e -L ..\\pc-bios -hda xp.vmdk [New Thread 2472.0x8e0] [New Thread 2472.0xdc4] [New Thread 2472.0x8f0] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 2472.0x8f0] 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_=3D0x19593fc, to_=3D0xdcee9= a8, action=3DCOROUTINE_YIELD) at coroutine-win32.c:48 #2 0x004db18d in coroutine_swap (from=3D0x1e00, to=3D0xdcee9a8) at qemu-coroutine.c:31 #3 0x00411618 in bdrv_rw_co (bs=3D, sector_num=3D, buf=3D0x2140000 "@", nb_sectors=3D1, is_write=3Dfalse) at block.c:1335 #4 0x00486e39 in ide_sector_read (s=3D0x1bbdaa0) at C:/msys/home/User/qemu/hw/ide/core.c:480 #5 0x0054e71f in memory_region_iorange_write (iorange=3D0x1bbcf60, offse= t=3D7, width=3D1, data=3D32) at C:/msys/home/User/qemu/memory.c:431 #6 0x005494e0 in ioport_writeb_thunk (opaque=3D0x1bbcf60, addr=3D7680, d= ata=3D32) at C:/msys/home/User/qemu/ioport.c:211 #7 0x005496cf in ioport_write (data=3D, address=3D, index=3D) at C:/msys/home/User/qemu/ioport.c:82 #8 cpu_outb (addr=3D2147340288, val=3D0 '\000') at C:/msys/home/User/qemu/ioport.c:274 #9 0x022c0397 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/932487/+subscriptions