Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: michal@gortel.phys.ualberta.ca
Subject: Re: unaligned trap
Date: 29 Jan 2001 16:56:04 GMT	[thread overview]
Message-ID: <9547b4$9re$1@pulp.srv.ualberta.ca> (raw)
In-Reply-To: 951puk$4go$1@nnrp1.deja.com

klimadmin@altavista.com wrote:

> The problem is that a number of applications is giving me an
> 'unaligned trap' error and I have no idea, what is the problem.

See FAQ on http://www.alphalinux.org


> Although giving 'unaligned trap' message in a log, applications
> seems to work pretty well.

'Unaligned traps' are signs of a faulty programming loose with types.
It happens from time to time that they are indicators of other bugs but
one cannot be sure of that without careful analysis on a case by case
basis.  Although Linux kernel traps them and "fixes" each of those
traps, even if just a real "unaligned", is a performance hit.  Double
brownie points if you can fish them out and fix in C++ code.

If you are annoyed and do not care about performance and fixing you can
recompile your kernel and turn that particular 'printk' off.  It is
trivial application of 'grep'. :-)  The main reason for this printk was
to induce people to fix bugs - becase all these points are real bugs;
maybe not of a killer sort but still bugs.  BTW - they have a negative
performance impact on x86 processors as well but costs, due to a
different architecture, are considerably smaller.

> kdm
> kcontrol
> kpanel
> ... (most of KDE1 applications traps)

Figures.  Every time I tried to look inside of various KDE sources
I thought that I will puke.

  Michal


  parent reply	other threads:[~2001-01-29 16:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-12-01  5:00 Unaligned trap Idar Tollefsen
1999-12-01  5:00 ` Pierre Asselin
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
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