[Snort-devel] CVS 1.7b5 + solaris2.7, con't.

Erek Adams erek at ...105...
Tue Nov 28 13:29:49 EST 2000

Ok, a few days ago I posted about some errors with 1.7b5 and Solaris 2.7.
Well, I don't know what I did to break it but the errors were mine. ;-/
Thanks to Fyodor for the help there!

Now something elese odd is coming up...

Clean compile, clean install, dumps core on startup.  1.6.3 runs just fine on
the same box.

[root at ...106...]/local/snort#/usr/local/bin/snort -c /local/snort/erek.rules -d -h -l /local/snort/logs -o -s
Parsing command line...
Processing cmd line switch: c
Config file = /local/snort/erek.rules
Processing cmd line switch: d
Data Flag active
Processing cmd line switch: h
[*] Splitting string:
curr_str = 0
max_strs = 1  curr_str = 0
Allocating 14 bytes for token tok[0]:
curr_str = 1
max_strs = 1  curr_str = 1
Checking if curr_str (1) >= max_strs (1)
Finishing up...
Allocating 3 bytes for last token tok[1]: 27
max_strs = 1  curr_str = 1
mSplit got 2 tokens!
homenet netmask = 0XFFFFFFE0
Net = (CE0E8540)
Homenet = (CE0E8540)
Processing cmd line switch: l
Log directory = /local/snort/logs
Processing cmd line switch: o
Rule application order changed to Pass->Alert->Log
Processing cmd line switch: s
Logging alerts to syslog
pcap_cmd is NULL!

        --== Initializing Snort ==--
Segmentation fault (core dumped)
[root at ...106...]/local/snort#gdb snort core
GNU gdb 4.18
Copyright 1998 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-sun-solaris2.7"...
Core was generated by `/usr/local/bin/snort -c /local/snort/erek.rules -d -h -l /loca'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
#0  0xef636dcc in strlen () from /usr/lib/libc.so.1
(gdb) bt
#0  0xef636dcc in strlen () from /usr/lib/libc.so.1
#1  0xef67fba0 in _doprnt () from /usr/lib/libc.so.1
#2  0xef6818d4 in sprintf () from /usr/lib/libc.so.1
#3  0x1df74 in CreatePidFile (intf=0x0) at snort.c:2147
#4  0x19f5c in main (argc=10, argv=0xeffffc24) at snort.c:154
(gdb) quit

Erek Adams

More information about the Snort-devel mailing list