Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: jsturm1@home.com
To: axp-list@redhat.com
Subject: Re: Unaligned TRap when running snort
Date: Sun, 1 Jul 2001 14:51:13 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.10.10107011438390.25356-100000@mars.deadcafe.org> (raw)
In-Reply-To: <F181kJXrRjbDt3HvoFO0000248f@hotmail.com>


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




  reply	other threads:[~2001-07-01 17:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-01 17:02 Unaligned TRap when running snort Al Pha
2001-07-01 18:51 ` jsturm1 [this message]
2001-07-01 19:58 ` UP1500 and future of Alpha Linux Peter Watkinson
2001-07-01 20:22   ` Maurice Hilarius
2001-07-01 20:58     ` Peter Watkinson
2001-07-01 23:53       ` Maurice Hilarius
2001-07-02  3:30         ` Terry L. Ridder
     [not found]         ` <Pine.LNX.4.21.0107012227400.5699-100000@edgar.blauedonau.c om>
2001-07-02  9:44           ` Maurice Hilarius
2001-07-01 21:19   ` jsturm1
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