Skip to contentSkip to conversation

QEMU v1.0-788-g3316364 crashes in win32 native environment

Qemu-devel Roy Tam 1 participant 3 messages Jan 26, 2012 – Feb 15, 2012

lore
Share & tools
lore

Roy Tam

author
#0 lore raw

Public bug reported:

Host: lubuntu 10.04 LTS x86 (32bit)
Build: i586-mingw32msvc-gcc 4.4.2
Libs: mingw32-runtime-3.15.2-0ubuntu1, wine1.3, zlib-1.2.5 (from source), glib-2.28.1 (from http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib*_2.28.1-1_win32.zip), gettext-0.18.1.1 (from source), libiconv-1.14 (from source)

configure commandline: ./configure --cross-prefix=i586-mingw32msvc- --target-list=i386-softmmu

It runs under wine, and natively from mingw gdb. But it crashes when running natively without gdb with following message:
Unhandled exception at 0x7c939af2 in qemu-system-i386.exe: 0xC0000005: Access violation writing location 0x00000028.

Stack traces (from MSVC 2003 SP1 debugger):

Quoted 1 line
	ntdll.dll!7c939af2() 	

kernel32.dll!7c8106a3()
kernel32.dll!7c8106f5()
msvcrt.dll!77c0a443()
ntdll.dll!7c92cffa()
kernel32.dll!7c809c2b()
ntdll.dll!7c921046()
qemu-system-i386.exe!004f4427()
qemu-system-i386.exe!0053653a()
qemu-system-i386.exe!0055d504()
msvcrt.dll!77bfc3c9()
qemu-system-i386.exe!005975ef()
msvcrt.dll!77bfc3e7()
qemu-system-i386.exe!00598156()
libglib-2.0-0.dll!68607737()
qemu-system-i386.exe!004e7c7a()
qemu-system-i386.exe!004e906b()
qemu-system-i386.exe!004e7e7d()
ntdll.dll!7c93005d()
msvcrt.dll!77bfc2de()
qemu-system-i386.exe!005988df()
qemu-system-i386.exe!004c9353()
ntdll.dll!7c93005d()
ntdll.dll!7c931086()
ntdll.dll!7c932221()
ntdll.dll!7c932228()
ntdll.dll!7c946a9b()
ntdll.dll!7c9300b8()
ntdll.dll!7c930041()
ntdll.dll!7c9300b8()
ntdll.dll!7c930041()
ntdll.dll!7c93005d()
ntdll.dll!7c93743e()
ntdll.dll!7c930435()
msvcrt.dll!77bfc024()
msvcrt.dll!77bfc02d()
msvcrt.dll!77c09d60()
qemu-system-i386.exe!004ccf2a()
msvcrt.dll!77c04e42()
qemu-system-i386.exe!005f480e()
msvcrt.dll!77bfc3e7()
qemu-system-i386.exe!005f48c4()
qemu-system-i386.exe!005f4239()
qemu-system-i386.exe!004010a7()
qemu-system-i386.exe!004010a7()
qemu-system-i386.exe!00401084()
qemu-system-i386.exe!00401123()
ntdll.dll!7c92dcba()
kernel32.dll!7c817074()
kernel32.dll!7c817077()

It even raise error messages in wine:

user@gx110-lubuntu:~/qemu/i386-softmmu$ wine qemu-system-i386.exe -L ..\\pc-bios
err:ntdll:RtlpWaitForCriticalSection section 0x145598 "?" wait timed out in thread 0009, blocked by 0000, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0xcbce7c "?" wait timed out in thread 0025, blocked by 0009, retrying (60 sec)

** Affects: qemu
Importance: Undecided
Status: New

** Tags: win32

Signature · 22 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/922131

Title:
  QEMU v1.0-788-g3316364 crashes in win32 native environment

Status in QEMU:
  New

Bug description:
  Host: lubuntu 10.04 LTS x86 (32bit)
  Build: i586-mingw32msvc-gcc 4.4.2
  Libs: mingw32-runtime-3.15.2-0ubuntu1, wine1.3, zlib-1.2.5 (from source), glib-2.28.1 (from http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib*_2.28.1-1_win32.zip), gettext-0.18.1.1 (from source), libiconv-1.14 (from source)

  configure commandline: ./configure --cross-prefix=i586-mingw32msvc-
  --target-list=i386-softmmu

  It runs under wine, and natively from mingw gdb. But it crashes when running natively without gdb with following message:
  Unhandled exception at 0x7c939af2 in qemu-system-i386.exe: 0xC0000005: Access violation writing location 0x00000028.

  Stack traces (from MSVC 2003 SP1 debugger):
Quoted 1 line
	ntdll.dll!7c939af2() 	

kernel32.dll!7c8106a3()
kernel32.dll!7c8106f5()
msvcrt.dll!77c0a443()
ntdll.dll!7c92cffa()
kernel32.dll!7c809c2b()
ntdll.dll!7c921046()
qemu-system-i386.exe!004f4427()
qemu-system-i386.exe!0053653a()
qemu-system-i386.exe!0055d504()
msvcrt.dll!77bfc3c9()
qemu-system-i386.exe!005975ef()
msvcrt.dll!77bfc3e7()
qemu-system-i386.exe!00598156()
libglib-2.0-0.dll!68607737()
qemu-system-i386.exe!004e7c7a()
qemu-system-i386.exe!004e906b()
qemu-system-i386.exe!004e7e7d()
ntdll.dll!7c93005d()
msvcrt.dll!77bfc2de()
qemu-system-i386.exe!005988df()
qemu-system-i386.exe!004c9353()
ntdll.dll!7c93005d()
ntdll.dll!7c931086()
ntdll.dll!7c932221()
ntdll.dll!7c932228()
ntdll.dll!7c946a9b()
ntdll.dll!7c9300b8()
ntdll.dll!7c930041()
ntdll.dll!7c9300b8()
ntdll.dll!7c930041()
ntdll.dll!7c93005d()
ntdll.dll!7c93743e()
ntdll.dll!7c930435()
msvcrt.dll!77bfc024()
msvcrt.dll!77bfc02d()
msvcrt.dll!77c09d60()
qemu-system-i386.exe!004ccf2a()
msvcrt.dll!77c04e42()
qemu-system-i386.exe!005f480e()
msvcrt.dll!77bfc3e7()
qemu-system-i386.exe!005f48c4()
qemu-system-i386.exe!005f4239()
qemu-system-i386.exe!004010a7()
qemu-system-i386.exe!004010a7()
qemu-system-i386.exe!00401084()
qemu-system-i386.exe!00401123()
ntdll.dll!7c92dcba()
kernel32.dll!7c817074()
kernel32.dll!7c817077()

It even raise error messages in wine:

  user@gx110-lubuntu:~/qemu/i386-softmmu$ wine qemu-system-i386.exe -L ..\\pc-bios
  err:ntdll:RtlpWaitForCriticalSection section 0x145598 "?" wait timed out in thread 0009, blocked by 0000, retrying (60 sec)
  err:ntdll:RtlpWaitForCriticalSection section 0xcbce7c "?" wait timed out in thread 0025, blocked by 0009, retrying (60 sec)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/922131/+subscriptions

#1 lore raw

This is fixed with http://patchwork.ozlabs.org/patch/138690/.

** Changed in: qemu
Status: New => Fix Committed

** Changed in: qemu
Assignee: (unassigned) => Stefan Weil (ubuntu-weilnetz)

Signature · 22 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/922131

Title:
  QEMU v1.0-788-g3316364 crashes in win32 native environment

Status in QEMU:
  Fix Committed

Bug description:
  Host: lubuntu 10.04 LTS x86 (32bit)
  Build: i586-mingw32msvc-gcc 4.4.2
  Libs: mingw32-runtime-3.15.2-0ubuntu1, wine1.3, zlib-1.2.5 (from source), glib-2.28.1 (from http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib*_2.28.1-1_win32.zip), gettext-0.18.1.1 (from source), libiconv-1.14 (from source)

  configure commandline: ./configure --cross-prefix=i586-mingw32msvc-
  --target-list=i386-softmmu

  It runs under wine, and natively from mingw gdb. But it crashes when running natively without gdb with following message:
  Unhandled exception at 0x7c939af2 in qemu-system-i386.exe: 0xC0000005: Access violation writing location 0x00000028.

  Stack traces (from MSVC 2003 SP1 debugger):
Quoted 1 line
	ntdll.dll!7c939af2() 	

kernel32.dll!7c8106a3()
kernel32.dll!7c8106f5()
msvcrt.dll!77c0a443()
ntdll.dll!7c92cffa()
kernel32.dll!7c809c2b()
ntdll.dll!7c921046()
qemu-system-i386.exe!004f4427()
qemu-system-i386.exe!0053653a()
qemu-system-i386.exe!0055d504()
msvcrt.dll!77bfc3c9()
qemu-system-i386.exe!005975ef()
msvcrt.dll!77bfc3e7()
qemu-system-i386.exe!00598156()
libglib-2.0-0.dll!68607737()
qemu-system-i386.exe!004e7c7a()
qemu-system-i386.exe!004e906b()
qemu-system-i386.exe!004e7e7d()
ntdll.dll!7c93005d()
msvcrt.dll!77bfc2de()
qemu-system-i386.exe!005988df()
qemu-system-i386.exe!004c9353()
ntdll.dll!7c93005d()
ntdll.dll!7c931086()
ntdll.dll!7c932221()
ntdll.dll!7c932228()
ntdll.dll!7c946a9b()
ntdll.dll!7c9300b8()
ntdll.dll!7c930041()
ntdll.dll!7c9300b8()
ntdll.dll!7c930041()
ntdll.dll!7c93005d()
ntdll.dll!7c93743e()
ntdll.dll!7c930435()
msvcrt.dll!77bfc024()
msvcrt.dll!77bfc02d()
msvcrt.dll!77c09d60()
qemu-system-i386.exe!004ccf2a()
msvcrt.dll!77c04e42()
qemu-system-i386.exe!005f480e()
msvcrt.dll!77bfc3e7()
qemu-system-i386.exe!005f48c4()
qemu-system-i386.exe!005f4239()
qemu-system-i386.exe!004010a7()
qemu-system-i386.exe!004010a7()
qemu-system-i386.exe!00401084()
qemu-system-i386.exe!00401123()
ntdll.dll!7c92dcba()
kernel32.dll!7c817074()
kernel32.dll!7c817077()

It even raise error messages in wine:

  user@gx110-lubuntu:~/qemu/i386-softmmu$ wine qemu-system-i386.exe -L ..\\pc-bios
  err:ntdll:RtlpWaitForCriticalSection section 0x145598 "?" wait timed out in thread 0009, blocked by 0000, retrying (60 sec)
  err:ntdll:RtlpWaitForCriticalSection section 0xcbce7c "?" wait timed out in thread 0025, blocked by 0009, retrying (60 sec)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/922131/+subscriptions

#2 lore raw
In reply to Roy Tam

** Changed in: qemu
Status: Fix Committed => Fix Released

Signature · 22 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/922131

Title:
  QEMU v1.0-788-g3316364 crashes in win32 native environment

Status in QEMU:
  Fix Released

Bug description:
  Host: lubuntu 10.04 LTS x86 (32bit)
  Build: i586-mingw32msvc-gcc 4.4.2
  Libs: mingw32-runtime-3.15.2-0ubuntu1, wine1.3, zlib-1.2.5 (from source), glib-2.28.1 (from http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib*_2.28.1-1_win32.zip), gettext-0.18.1.1 (from source), libiconv-1.14 (from source)

  configure commandline: ./configure --cross-prefix=i586-mingw32msvc-
  --target-list=i386-softmmu

  It runs under wine, and natively from mingw gdb. But it crashes when running natively without gdb with following message:
  Unhandled exception at 0x7c939af2 in qemu-system-i386.exe: 0xC0000005: Access violation writing location 0x00000028.

  Stack traces (from MSVC 2003 SP1 debugger):
Quoted 1 line
	ntdll.dll!7c939af2() 	

kernel32.dll!7c8106a3()
kernel32.dll!7c8106f5()
msvcrt.dll!77c0a443()
ntdll.dll!7c92cffa()
kernel32.dll!7c809c2b()
ntdll.dll!7c921046()
qemu-system-i386.exe!004f4427()
qemu-system-i386.exe!0053653a()
qemu-system-i386.exe!0055d504()
msvcrt.dll!77bfc3c9()
qemu-system-i386.exe!005975ef()
msvcrt.dll!77bfc3e7()
qemu-system-i386.exe!00598156()
libglib-2.0-0.dll!68607737()
qemu-system-i386.exe!004e7c7a()
qemu-system-i386.exe!004e906b()
qemu-system-i386.exe!004e7e7d()
ntdll.dll!7c93005d()
msvcrt.dll!77bfc2de()
qemu-system-i386.exe!005988df()
qemu-system-i386.exe!004c9353()
ntdll.dll!7c93005d()
ntdll.dll!7c931086()
ntdll.dll!7c932221()
ntdll.dll!7c932228()
ntdll.dll!7c946a9b()
ntdll.dll!7c9300b8()
ntdll.dll!7c930041()
ntdll.dll!7c9300b8()
ntdll.dll!7c930041()
ntdll.dll!7c93005d()
ntdll.dll!7c93743e()
ntdll.dll!7c930435()
msvcrt.dll!77bfc024()
msvcrt.dll!77bfc02d()
msvcrt.dll!77c09d60()
qemu-system-i386.exe!004ccf2a()
msvcrt.dll!77c04e42()
qemu-system-i386.exe!005f480e()
msvcrt.dll!77bfc3e7()
qemu-system-i386.exe!005f48c4()
qemu-system-i386.exe!005f4239()
qemu-system-i386.exe!004010a7()
qemu-system-i386.exe!004010a7()
qemu-system-i386.exe!00401084()
qemu-system-i386.exe!00401123()
ntdll.dll!7c92dcba()
kernel32.dll!7c817074()
kernel32.dll!7c817077()

It even raise error messages in wine:

  user@gx110-lubuntu:~/qemu/i386-softmmu$ wine qemu-system-i386.exe -L ..\\pc-bios
  err:ntdll:RtlpWaitForCriticalSection section 0x145598 "?" wait timed out in thread 0009, blocked by 0000, retrying (60 sec)
  err:ntdll:RtlpWaitForCriticalSection section 0xcbce7c "?" wait timed out in thread 0025, blocked by 0009, retrying (60 sec)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/922131/+subscriptions