[Snort-devel] [ snort-Bugs-1012950 ] Snort 2.2.0 cores with openbsd

SourceForge.net noreply at ...12...
Mon Aug 23 09:16:06 EDT 2004


Bugs item #1012950, was opened at 2004-08-20 08:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=103357&aid=1012950&group_id=3357

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Snort 2.2.0 cores with openbsd

Initial Comment:
Howdy,

I just built snort 2.2.0 on OpenBSD 3.5 (SPARC64), and it keeps
crashing from a SIGBUS signal [1]. I have scoured through
the mailing list archives and open bug requests, but was unable
to find a workable solution. I have attached a backtrace from
the latest core, and can provide any additional info you may
need.

Thank you,
- Ryan

[1]
bash-2.05b# gdb /usr/local/snort/bin/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 "sparc64-unknown-openbsd3.5"...
Core was generated by `snort'.
Program terminated with signal 10, Bus error.
#0  0x15839c in sfxhash_new (nrows=4099, keysize=16, 
datasize=103, maxmem=10485760, anr_flag=1, 
    anrfree=0x150b20 <flowcache_anrfree>, usrfree=0, 
recycle_flag=0) at sfxhash.c:81
81          return sfmemcap_alloc( &t->mc, n );
(gdb) where
#0  0x15839c in sfxhash_new (nrows=4099, keysize=16, 
datasize=103, maxmem=10485760, anr_flag=1, 
    anrfree=0x150b20 <flowcache_anrfree>, usrfree=0, 
recycle_flag=0) at sfxhash.c:81
#1  0x1505e4 in flowcache_init (flowcachep=0x781300, 
rows=4096, memcap=10485760, datasize=32, hashid=HASH2)
    at flow_cache.c:141
#2  0x14bb10 in FlowInit (args=0x14b "") at spp_flow.c:127
#3  0x10cfe4 in ParsePreprocessor (rule=0x14b "") at parser.c:320
#4  0x10c1d8 in ParseRule (rule_file=0x4f6f0000, 
    prule=0xfffffffffffed7a0 "preprocessor flow: stats_interval 0 
hash 2", inclevel=0) at parser.c:320
#5  0x10b84c in ParseRulesFile (file=0xfffffffffffed7a0 
"preprocessor flow: stats_interval 0 hash 2", inclevel=0)
    at parser.c:320
#6  0x113c5c in SnortMain (argc=3, argv=0x400) at snort.c:147
#7  0x1028b4 in ___start ()


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=103357&aid=1012950&group_id=3357




More information about the Snort-devel mailing list