From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 728B22F0A5 for ; Sun, 1 Jul 2001 13:54:37 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f61HrPg06418 for axp-list@listman.redhat.com; Sun, 1 Jul 2001 13:53:25 -0400 Received: from cc730106-b.taylor1.mi.home.com (cc730106-b.taylor1.mi.home.com [24.13.63.84]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f61HrOb06414 for ; Sun, 1 Jul 2001 13:53:24 -0400 Received: from localhost (jsturm@localhost) by cc730106-b.taylor1.mi.home.com (8.9.3/8.9.3) with ESMTP id OAA25374 for ; Sun, 1 Jul 2001 14:51:13 -0400 From: jsturm1@home.com X-Authentication-Warning: mars.deadcafe.org: jsturm owned process doing -bs Date: Sun, 1 Jul 2001 14:51:13 -0400 (EDT) X-Sender: jsturm@mars.deadcafe.org To: axp-list@redhat.com Subject: Re: Unaligned TRap when running snort In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Sun, 1 Jul 2001, Al Pha wrote: > does anyone know who to compile snort to avoid this? or do i need some sort > of update? (Isn't there an unaligned trap faq somewhere? Alphalinux.org seems to be down...) > ul 1 08:09:03 thezorb kernel: snort(719): unaligned trap at > 000000012000c044: 0000000120164afe 28 3 The first number is the PC of the faulting instruction. In this case it lies in the main executable, so a library is probably not to blame. Assuming you built snort with debugging info, use addr2line to find the code responsible for the trap: addr2line -e snort 0x12000c044 The fix depends on how it is used in the application. You may be able to force alignment somehow, otherwise use a macro to copy the value to/from an aligned field. Jeff