[Snort-devel] bus error on OpenBSD 2.8 & SPARC

John.Abe at ...1349... John.Abe at ...1349...
Wed May 1 10:19:04 EDT 2002

Hello. Sorry if this is covered on some faq somewhere, but I didn't see
anything at snort.org or deja. I was
running self-compiled 1.8.1 on OpenBSD 2.8 + SPARC and decided to upgrade to
1.8.6. Compiled it,
got a bus error. Tried downgrading to 1.8.5, compiled with --debug.. same
thing. Here is the core dump:

root at ...1350...:snort-1.8.5 {253} gdb snort snort.core 
GNU gdb 4.16.1
Copyright 1996 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public
License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show
warranty" for details.
This GDB was configured as "sparc-unknown-openbsd2.8"...
Core was generated by `snort'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/libexec/ld.so...done.
Reading symbols from /usr/lib/libpcap.so.1.1...done.
Reading symbols from /usr/lib/libm.so.0.1...done.
Reading symbols from /usr/lib/libc.so.25.2...done.
#0  0x46d28 in InitStream4Pkt () at spp_stream4.c:2938
2938        stream_pkt->iph->ip_ver   = 0x4;
(gdb) bt
#0  0x46d28 in InitStream4Pkt () at spp_stream4.c:2938
#1  0x41e20 in Stream4Init (args=0xf7ffcc88
"/var/log/snort/session.log") at spp_stream4.c:597
#2  0x12b34 in ParsePreprocessor (rule=0x802c0 "") at
#3  0x1207c in ParseRule (rule_file=0x8183160,
prule=0xf7fff278 "preprocessor stream4: detect_scans", 
    inclevel=0) at rules.c:538
#4  0x1192c in ParseRulesFile (file=0x5b000 "",
inclevel=0) at rules.c:198
#5  0x93a4 in ReadConfFile () at snort.c:3310
#6  0x2e5c in main (argc=1, argv=0xf7fff824) at snort.c:192



John Abe
Operating Systems/Network Analyst
OSU Libraries
Phone: (541) 737-8972
Fax: (541) 737-9060

More information about the Snort-devel mailing list