[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: segmentation fault on firestorm.0.5.3



On Fri, 2003-06-27 at 06:33, Paolo Balducci wrote:
>    good morning,
> after download the source packages, installation was done without any
> errors.
> when i try to run the firestorm-nids command, return to me the
> "segmentation fault" message.
> I'm root on the linux box (slackware 8.0 , kernel 2.2.19, installed by
> default)
> the /etc/firestorm.conf is the original file.
> the linux box is HP Kayak XA 6/233 with 256 mb and 4.2 hdd. the system
> works fine on adsl connection.
> 
> what can I do ?

What would be really helpful is a stack backtrace, that would allow me
to find where in the code it is crashing.

If you can do:

 # gdb /usr/bin/firestorm-nids

or whatever the path to firestorm-nids is. That will load firestorm in
to the debugger and give you a (gdb) prompt, type 'run':

 (gdb) run

Then when firestorm crashes you will be dropped back to that prompt.
Type 'backtrace'

 (gdb) backtrace

The debugger will spew out what will probably look like a load of shit,
something like this:

(gdb) bt
#0  dispatch (p=0x1001e408) at decode.c:244
#1  0x0fd4aa9c in tcpstream_process (pkt=0x1001e408, i=805466188) at tcpstream.c:1159
#2  0x0fd4cae4 in tcp_decode (p=0xfd5f6ac) at tcp.c:203
#3  0x0fd4d928 in ipv4_decode (p=0xfd5f6ac) at ip.c:190
#4  0x0fc2dfa8 in sll_decode (p=0x0) at sll.c:181
#5  0x0fe3f3e0 in tcpd_go (priv=0xfd5f6ac, c=0x1001e438) at tcpdump.c:264
#6  0x100053ec in capture_go () at capture.c:115
#7  0x10003c08 in main (argc=2147481820, argv=0x4) at sensor.c:162

Copy it all in to an email and send it. Your firestorm.conf would be
useful too.

Thanks for the bug report! :)

-- 
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/gianni-at-ecsc.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D

Attachment: signature.asc
Description: This is a digitally signed message part