qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Joris van Rantwijk <jorispubl@xs4all.nl>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Qemu crashes on AAM 0
Date: Sat, 28 Apr 2007 19:52:57 +0200	[thread overview]
Message-ID: <20070428175257.GA28282@xs4all.nl> (raw)

Qemu crashes with a floating point exception when emulating the "AAM 0"
instruction. By "crash", I mean that the whole qemu process actually
blows up (not just the program running inside Qemu).

A real i386 machine would trigger a divide exception on AAM 0.
This instruction form is undocumented of course, but blowing up the emulator
seems a bit drastic. I'm willing to write/test/provide a patch to fix this,
please let me know if that would be appreciated.

To trigger this bug, I run the qemu-0.9.0 binary distribution for
linux-i386 on Linux 2.6.21, without kqemu. I boot it with a FreeDOS
floppy image, start DEBUG, assemble the instruction AAM 0, execute it, boom.

By the way, Qemu is an amazing piece of work. I used it often and I'm quite
impressed by its overal quality and stability.

Thanks,
  Joris.

             reply	other threads:[~2007-04-28 17:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-28 17:52 Joris van Rantwijk [this message]
2007-04-29 15:55 ` [Qemu-devel] Qemu crashes on AAM 0 malc
2007-04-30 11:52 ` [Qemu-devel] " Joris van Rantwijk

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=20070428175257.GA28282@xs4all.nl \
    --to=jorispubl@xs4all.nl \
    --cc=qemu-devel@nongnu.org \
    /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).