Received: from eggs.gnu.org ([208.118.235.92]:55039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S22Z9-00011V-OY for qemu-devel@nongnu.org; Mon, 27 Feb 2012 10:32:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S22Z4-0000fz-CO for qemu-devel@nongnu.org; Mon, 27 Feb 2012 10:32:43 -0500 Received: from indium.canonical.com ([91.189.90.7]:56090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S22Z4-0000fo-3f for qemu-devel@nongnu.org; Mon, 27 Feb 2012 10:32:38 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1S22Z2-0007Wd-PJ for ; Mon, 27 Feb 2012 15:32:36 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id A059A2E80F4 for ; Mon, 27 Feb 2012 15:25:51 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 27 Feb 2012 15:17:10 -0000 From: Eric Lassauge <932487@bugs.launchpad.net> Sender: bounces@canonical.com References: <20120215015959.27405.46578.malonedeb@soybean.canonical.com> Message-Id: <20120227151710.11240.71211.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [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 More or less same crash for me: Using built-in specs. COLLECT_GCC=3Dd:\MinGW\bin\gcc.exe COLLECT_LTO_WRAPPER=3Dd:/mingw/bin/../libexec/gcc/mingw32/4.6.2/lto-wrapper= .exe Target: mingw32 Configured with: ../gcc-4.6.2/configure --enable-languages=3Dc,c++,ada,fort= ran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --= enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-v= ersion-specific-runtime-libs --build=3Dmingw32 --prefix=3D/mingw Thread model: win32 gcc version 4.6.2 (GCC) = Host WinXP SP3 - Qemu-1.0.1 Maybe it can help: Some stack frame (breakpoint set with command "where; continue" on function qemu_coroutine_switch(): Breakpoint 1, qemu_coroutine_switch (from_=3D0x1989f34, to_=3D0x209df00, ac= tion=3DCOROUTINE_YIELD) at coroutine-win32.c:41 41 { #0 qemu_coroutine_switch (from_=3D0x1989f34, to_=3D0x209df00, action=3DCOR= OUTINE_YIELD) at coroutine-win32.c:41 #1 0x004c3fe6 in _fu6882____stack_chk_guard () at qemu-coroutine.c:31 #2 0x00410e1e in _fu528____stack_chk_guard () at block.c:2518 #3 0x00403152 in _fu35____stack_chk_guard () at async.c:71 #4 0x004a7a8e in _fu5545____stack_chk_guard () at main-loop.c:472 #5 0x004a27db in main_loop () at d:\Documents\lassauge\Software\dev\Qemu\q= emu-1.0.1\vl.c:1481 #6 _fu5383____stack_chk_guard () at d:\Documents\lassauge\Software\dev\Qem= u\qemu-1.0.1\vl.c:3485 #7 0x004a3b2a in _fu5385____stack_chk_guard () at d:\Documents\lassauge\So= ftware\dev\Qemu\qemu-1.0.1\vl.c:102 #8 0x005ddcf9 in console_main (argc=3D20, argv=3D0x1985d00) at ./src/main/= win32/SDL_win32_main.c:315 #9 0x005dddbb in WinMain@16 (hInst=3D0x400000, hPrev=3D0x0, szCmdLine=3D0x= 241f18 "-L Bios -k fr -vga std -soundhw es1370 -boot menu=3Don,splash=3Dboo= tsplash.bmp,splash-time=3D5000 -rtc base=3Dlocaltime,clock=3Dhost -name lin= ux-0.2 -drive file=3Dlinux-0.2.img,media=3Ddisk,cache=3Dwriteback -no-acpi"= ..., sw=3D10) at ./src/main/win32/SDL_win32_main.c:398 #10 0x005dd45a in main (argc=3D) at ../mingw/main.c:73 [Switching to Thread 5316.0xda0] Breakpoint 1, qemu_coroutine_switch (from_=3D0x1989f34, to_=3D0x1bcf900, ac= tion=3DCOROUTINE_YIELD) at coroutine-win32.c:41 41 { #0 qemu_coroutine_switch (from_=3D0x1989f34, to_=3D0x1bcf900, action=3DCOR= OUTINE_YIELD) at coroutine-win32.c:41 #1 0x004c3fe6 in _fu6882____stack_chk_guard () at qemu-coroutine.c:31 #2 0x0041543d in _fu757____stack_chk_guard () at block.c:2657 #3 0x00472b95 in _fu3751____stack_chk_guard () #4 0x00554e1b in _fu11201____stack_chk_guard () at d:\Documents\lassauge\S= oftware\dev\Qemu\qemu-1.0.1\memory.c:446 #5 0x0054e5a8 in _fu10980____stack_chk_guard () at d:\Documents\lassauge\S= oftware\dev\Qemu\qemu-1.0.1\ioport.c:211 #6 0x0054eb9d in ioport_write (data=3D, address=3D503, inde= x=3D0) at d:\Documents\lassauge\Software\dev\Qemu\qemu-1.0.1\ioport.c:82 #7 _fu10998____stack_chk_guard () at d:\Documents\lassauge\Software\dev\Qe= mu\qemu-1.0.1\ioport.c:274 #8 0x026680cf in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Program received signal SIGILL, Illegal instruction. 0x68ac12ca in ?? () from d:\documents\lassauge\qemu-windows\libssp-0.dll (gdb) at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0xbaadf011 Cannot access memory at address 0x0 Continuing. Program received signal SIGILL, Illegal instruction. 0x68ac12ca in ?? () from d:\documents\lassauge\qemu-windows\libssp-0.dll (gdb) where #0 0x68ac12ca in ?? () from d:\documents\lassauge\qemu-windows\libssp-0.dll #1 0x68ac1322 in libssp-0!__stack_chk_fail () from d:\documents\lassauge\q= emu-windows\libssp-0.dll #2 0x0044a399 in _fu2073____stack_chk_guard () at coroutine-win32.c:50 #3 0x0049dc77 in _fu5254____stack_chk_guard () at d:\Documents\lassauge\So= ftware\dev\Qemu\qemu-1.0.1\vl.c:1218 #4 0x7ffdd000 in ?? () #5 0xffffffff in ?? () #6 0x00400000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) up #1 0x68ac1322 in libssp-0!__stack_chk_fail () from d:\documents\lassauge\q= emu-windows\libssp-0.dll (gdb) up #2 0x0044a399 in _fu2073____stack_chk_guard () at coroutine-win32.c:50 50 } (gdb) l 45 current =3D to_; 46 = 47 to->action =3D action; 48 SwitchToFiber(to->fiber); 49 return from->action; 50 } 51 = 52 static void CALLBACK coroutine_trampoline(void *co_) 53 { 54 Coroutine *co =3D co_; (gdb) p action $2 =3D 0 -- = 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