qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Legorol" <legorol.san@gmail.com>
To: qemu-devel@nongnu.org
Cc: sw@weilnetz.de
Subject: [Qemu-devel] Native MinGW build crashes when partitioning hard disk in guest
Date: Sat, 1 Feb 2014 11:47:48 +0100	[thread overview]
Message-ID: <E8092A1FD8F2438EB77CE199EEDDC802@Donkimus> (raw)

(I am reposting this as my first post seems to have fallen through the 
cracks.)

I am building the official Qemu 1.7.0 release from source natively under 
MinGW for myself. I execute the i386 target. Qemu starts fine, but it 
crashes when I try to partition a 2G hard disk under an MS-DOS 6.22 guest. 
Details of the build and reproducing the crash are below.

The problem also occurs for me with the 1.6.2 release. The problem does not 
occur with these binaries from other people:
Eric Lassauge's Qemu-1.6.0-windows.zip
Prashant Satish's qemu-1.6.0-win32-sdl.tar.lzma
Stefan Weil's qemu-w32-setup-20131128, qemu-w32-setup-20140118.exe

The problem does not occur when I add the --enable-debug flag to configure! 
Whatever optimisation is removed as a result seems to avoid the crash.

How can I troubleshoot what the problem is? What should I change about my 
build to solve the problem?

Host: Windows 7 64-bit

Build environment: (32-bit)
MinGW fresh install including:
mingw32-gettext  bin  0.18.3.1-1
mingw32-gettext  dev  0.18.3.1-1
mingw32-gettext  dll  0.18.3.1-1
mingw32-libintl  dll  0.18.3.1-1
mingw32-libz  dev  1.2.8-1
mingw32-libz  dll  1.2.8-1
MSYS shell fresh install
Glib libraries and dependencies:
glib_2.34.3-1_win32
glib-dev_2.34.3-1_win32
pkg-config_0.28-1_win32
pkg-config-dev_0.28-1_win32
SDL-devel-1.2.15-mingw32

Qemu 1.7.0 source is in /mingw/build/qemu-1.7.0

Build process: (out-of-tree build)
using MSYS shell, in /mingw/build/qemu-1.7.0-obj directory:
../qemu-1.7.0/configure --python=C:/Python27/python --prefix=/mingw/build/qemu-1.7.0-bin 
 --target-list="i386-softmmu" --disable-coroutine-pool
make
make install

To reproduce crash:
have a 1.44 floppy image of MS-DOS 6.22 boot disk
place the disk image with name dos.img in /mingw/build/qemu-test directory
using MSYS shell, in /mingw/build/qemu-test directory:
../qemu-1.7.0-bin/qemu-img create -f qcow2 test.img 2G
../qemu-1.7.0-bin/qemu-system-i386 -fda dos.img -hda test.img -boot a
once DOS boots up, type fdisk and try to create a single partition using all 
available space
Qemu crashes


Regards,
Legorol

             reply	other threads:[~2014-02-01 10:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-01 10:47 Legorol [this message]
2014-02-01 11:51 ` [Qemu-devel] Native MinGW build crashes when partitioning hard disk in guest Stefan Weil
2014-02-01 16:50   ` Legorol

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E8092A1FD8F2438EB77CE199EEDDC802@Donkimus \
    --to=legorol.san@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sw@weilnetz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).