Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Idar Tollefsen <idar@kdc.no>
Subject: Re: Unaligned trap
Date: 1999/12/02	[thread overview]
Message-ID: <3845CD8F.BFCB1B12@kdc.no> (raw)
In-Reply-To: 824bou$c0e$1@nntp1.atl.mindspring.net

Pierre Asselin wrote:

> The program tried to load or store a word from/to a memory address that
> is not a multiple of the word size.  The hardware trapped, the OS kicked
> in and performed the memory access byte by byte on behalf of the program,
> logged the event in syslog, and marked the process as runnable again to
> resume after the trapped instruction.  It's harmless, it just slows down
> the running program.
 
> This is more common on alphas because long integers must be aligned
> on 8-byte boundaries.  Programs developed on x86's often assume that
> 4-byte alignment is enough.

Thank you. This cleared things up. And it's good to know it's not damaging
to the system.

A logical follow up question: Can anything be done about this?



- Idar Tollefsen



  reply	other threads:[~1999-12-02  5:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-01  5:00 Unaligned trap Idar Tollefsen
1999-12-01  5:00 ` Pierre Asselin
1999-12-02  5:00   ` Idar Tollefsen [this message]
1999-12-02  5:00     ` Alex Rhomberg
1999-12-02  5:00       ` Idar Tollefsen
1999-12-03  5:00         ` Alex Rhomberg
1999-12-01  5:00 ` Sashka Nochkin
1999-12-01  5:00   ` Idar Tollefsen
1999-12-02  5:00     ` Sashka Nochkin
1999-12-02  5:00 ` Michal Jaegermann
1999-12-02  5:00   ` Idar Tollefsen
  -- strict thread matches above, loose matches on Subject: below --
2001-01-28 18:55 unaligned trap klimadmin
2001-01-28 21:25 ` Hartmann Schaffer
2001-01-28 23:56   ` klimadmin
2001-01-29  2:13     ` JJ
2001-01-29 17:05   ` michal
2001-01-30 12:49     ` Paul Repacholi
2001-01-29 16:56 ` michal
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox