From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11280 invoked from network); 17 Nov 1998 01:01:10 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 17 Nov 1998 01:01:10 -0000 Received: from mail.inreach.com (mail.inreach.com [209.142.0.3]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id UAA26214 for ; Mon, 16 Nov 1998 20:01:09 -0500 Received: from ann.qtpi.lakewood.ca.us (root@206-18-112-121.la.inreach.net [206.18.112.121]) by mail.inreach.com (8.8.8/8.8.6/(InReach)) with ESMTP id QAA01799 for ; Mon, 16 Nov 1998 16:52:03 -0800 (PST) Received: from ann.qtpi.lakewood.ca.us (brtaylor@localhost [127.0.0.1]) by ann.qtpi.lakewood.ca.us (8.8.7/8.8.7) with ESMTP id QAA12166 for ; Mon, 16 Nov 1998 16:45:49 -0800 Message-Id: <199811170045.QAA12166@ann.qtpi.lakewood.ca.us> X-Mailer: exmh version 2.0.2 From: Bob Taylor To: axp-list@redhat.com Subject: Re: unaligned trap messages In-reply-to: Your message of "16 Nov 1998 16:47:25 GMT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 16 Nov 1998 16:45:49 -0800 Sender: brtaylor@inreach.com In message , Robin Stephenson writes: > >>>>> On Mon, 16 Nov 1998 15:39:57 +0000 > >>>>> "jmd" == jmd wrote: > > jmd> I am getting unaligned trap messages in /var/log/mesages. All of these > jmd> are related to X or to an X program (ie GIMP). > [...] > jmd> Any ideas? > > It's `only' a performance problem (and disk space, if your logs get > too big...). Values need to be aligned on certain boundaries for the > Alpha CPU. If they're not aligned, it generates a trap, reorders > them, and puts them into the CPU (ie it works around the misalignment > automatically). To fix it you'll need to get hold of the source code > for whatever's causing the traps and pad the guilty structures to line > their members up on the appropriate boundaries. Have I been under a false understanding? I *thought* that the compiler was responsible for aligning (where needed) structures. Bob -- +---------------------------------------------------------------+ | Bob Taylor Email: brtaylor@inreach.com | |---------------------------------------------------------------| | Like the ad says, at 300 dpi you can tell she's wearing a | | swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you | | can tell it's painted on. I suppose at 2400 dpi you can tell | | if the paint is giving her a rash. (So says Joshua R. Poulson)| +---------------------------------------------------------------+