All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Bradetich <rbradetich@uswest.net>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: parisc-linux@lists.parisc-linux.org, richard_hirst@linuxcare.com
Subject: Re: [parisc-linux] Unaligned access failures with apt-get on SMP K460.
Date: 16 Jun 2002 21:04:22 -0600	[thread overview]
Message-ID: <1024283062.27050.29.camel@beavis> (raw)
In-Reply-To: <200206170231.g5H2V44J011035@hiauly1.hia.nrc.ca>

Dave,

This is the apt-get from debian unstable ... so if I had to guess
I would assume that it is:

||/ Name           Version        Description
+++-==============-==============-============================================
ii  gcc            3.0.4-6        The GNU C compiler.

any way I can tell from the binary?

thanks,

- Ryan


On Sun, 2002-06-16 at 20:31, John David Anglin wrote:
> > > The instruction causing the unaligned trap is:
> > > 0x4005e47c <_ZN11DynamicMMap8AllocateEm+112>:	stw r21,8(sr0,r3)
> > > 
> > > As you can see from r3 (403ce08c) in the register dump is aligned on a
> > > 4-byte boundry.  So the question is why is this trap being executed?
> > 
> > Maybe the message is misleading.  It looks as if the insn may be trying
> > to write to readonly memory based of the value of r3.
> 
> Sorry, this is wrong.  Was _ZN11DynamicMMap8AllocateEm compiled with
> gcc-3.2?  It looks as if C++ exceptions may be involved.  This only
> has a chance of working with 3.2.  I suspect that an exception handler
> is involved because r20 is not valid across calls and r20/r21 are
> used in C++ exceptions.  The call looks to be a millicode call which
> might be part of the problem.
> 
> Dave
> -- 
> J. David Anglin                                  dave.anglin@nrc.ca
> National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)
> 

  reply	other threads:[~2002-06-17  3:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17  0:22 [parisc-linux] Unaligned access failures with apt-get on SMP K460 Ryan Bradetich
2002-06-17  0:59 ` John David Anglin
2002-06-17  2:31   ` John David Anglin
2002-06-17  3:04     ` Ryan Bradetich [this message]
2002-06-17  4:12       ` [parisc-linux] Unaligned access failures with apt-get on SMP John David Anglin
2002-06-17 20:43         ` Ryan Bradetich
2002-06-17 22:11           ` John David Anglin
2002-06-17  3:19 ` [parisc-linux] Unaligned access failures with apt-get on SMP K460 Jeremy Drake
2002-06-17  3:37   ` Ryan Bradetich
2002-06-17  4:45     ` Jeremy Drake

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=1024283062.27050.29.camel@beavis \
    --to=rbradetich@uswest.net \
    --cc=dave@hiauly1.hia.nrc.ca \
    --cc=parisc-linux@lists.parisc-linux.org \
    --cc=richard_hirst@linuxcare.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.