From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,e02328d126cd4ed X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2001-01-29 09:00:15 PST Path: supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!cyclone.bc.net!rover.ucs.ualberta.ca!not-for-mail From: michal@gortel.phys.ualberta.ca Newsgroups: comp.os.linux.alpha Subject: Re: unaligned trap Date: 29 Jan 2001 16:56:04 GMT Organization: Disorganized Bits Sender: Michal Jaegermann Message-ID: <9547b4$9re$1@pulp.srv.ualberta.ca> References: <951puk$4go$1@nnrp1.deja.com> NNTP-Posting-Host: ellpspace.math.ualberta.ca User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.0.36 (i586)) Xref: supernews.google.com comp.os.linux.alpha:2119 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