qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Chris Emerson <qemu@mail.nosreme.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Segmentation fault running i386 Linux binary
Date: Sat, 24 Apr 2004 16:33:34 +0100	[thread overview]
Message-ID: <20040424153334.GA18646@ixion.tartarus.org> (raw)
In-Reply-To: <20040424131835.GA29141@ixion.tartarus.org>

On Sat, Apr 24, 2004 at 02:18:35PM +0100, Chris Emerson wrote:
> I'm getting a crash running "zayit", a Linux/i386 ELF binary which comes
> with Sun's Wireless Toolkit on my PowerPC Linux box, using qemu 0.5.3
> and also CVS updated this morning.  The source to this binary doesn't
> seem to be available.  It crashes quite early, before it gets as far as
> complaining about bad arguments.

I've poked around a bit more.  qemu-i386 running on an i386 host[1]
seems to be fine, so that would point to a ppc-specific problem.  The
address causing the fault is within the 32MB originally mmap()ed for the
ELF interpreter, but never used (so it's still PROT_NONE).

In case it's relevant, this is with GNU libc 2.2.5 (identical library
and ELF interpreter on the PPC and i386 hosts).

[1] with USE_CODE_COPY disabled, as otherwise gcc-3.0 complains at
assembler arguments

[snip]

Chris

  reply	other threads:[~2004-04-24 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-24 13:18 [Qemu-devel] Segmentation fault running i386 Linux binary Chris Emerson
2004-04-24 15:33 ` Chris Emerson [this message]
2004-04-28 11:31 ` [Qemu-devel] Solved: " Chris Emerson

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=20040424153334.GA18646@ixion.tartarus.org \
    --to=qemu@mail.nosreme.org \
    --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).