Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: lpa@netcom10.netcom.com (Pierre Asselin)
Subject: Re: Unaligned trap
Date: 1999/12/01	[thread overview]
Message-ID: <824bou$c0e$1@nntp1.atl.mindspring.net> (raw)
In-Reply-To: 38453EE6.3553935A@kdc.no

Idar Tollefsen <idar@kdc.no> writes:

>I keep getting messages like this:
>[program name (PID)]: unaligned trap at [some address]: [some other address]
>What is this? A memory problem? A HDD problem?

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.

--
--Pierre Asselin, Westminster, Colorado
  lpa@netcom.com



  reply	other threads:[~1999-12-01  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 [this message]
1999-12-02  5:00   ` Idar Tollefsen
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