qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Something is probably wrong with "int 3"
Date: Tue, 04 Jan 2005 19:55:46 +0500	[thread overview]
Message-ID: <crean5$te0$1@sea.gmane.org> (raw)
In-Reply-To: 2ad73a0501040635d2dc2c3@mail.gmail.com

Andr? Braga wrote:

> On Tue, 04 Jan 2005 18:09:32 +0500, Alexander E. Patrakov
> <patrakov@ums.usu.ru> wrote:
>> clearly state that the fault is at the "int 3" instruction, not at "ret".
>> Can anyone explain this difference? Is this a bug in qemu?
> 
> Uh... INT 3 is the debugger services interrupt. It usually triggers a
> resident debugger so it attaches to the calling process.

Yes, in this case DrWatson pops up.

> It might be that Firefox reached a situation where it knew it would
> crash, so it called the debugger first and then failed returning to an
> invalid address (maybe the stack was corrupt?)

Look at the crash dump - the DbgBreakPoint() is called from
kernel32!SetThreadExecutionState, i.e. from deep inside the Windows kernel.
Firefox just happens to be an easy way to trigger this. And yes, the error
that causes Firefox to crash is actually before this. Consider my first
mail in this thread as additional bug report, unrelated to Firefox in any
way. I know that fixing "wrong fault address after int 3" will not cure
Firefox, but it's a bug anyway, if I understand that correctly.

> Anyway, I don't think that QEMU handles INT 3 at all; the fault must
> be somewhere else. Are you absolutely sure your Firefox build isn't
> calling MMX/SSE instructions? Is it a contributed build or is it
> official?

It is the official build, and it runs perfectly on old i586 machines.

-- 
Alexander E. Patrakov

  reply	other threads:[~2005-01-04 15:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-04 13:09 [Qemu-devel] Something is probably wrong with "int 3" Alexander E. Patrakov
2005-01-04 14:35 ` André Braga
2005-01-04 14:55   ` Alexander E. Patrakov [this message]
2005-01-04 17:05     ` [Qemu-devel] " Johannes Schindelin
2005-01-05  7:32       ` Alexander E. Patrakov
2005-01-05 10:07         ` Alexander E. Patrakov

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='crean5$te0$1@sea.gmane.org' \
    --to=patrakov@ums.usu.ru \
    --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).