[Snort-devel] snort 2.0.1 segfault

Andreas Östling andreaso at ...387...
Mon Jul 28 00:54:19 EDT 2003


I think it happens because of some sig I added recently.
Have not had time to investigate further.

This GDB was configured as "i386-unknown-openbsd3.3"...
Core was generated by `snort'.
Program terminated with signal 11, Segmentation fault.
...
#0  otnx_match (id=0, index=2, data=0x54b9c) at fpdetect.c:607
607         RULE_NODE        *rnNode = (RULE_NODE*)(pmx->RuleNode);
(gdb) bt
#0  otnx_match (id=0, index=2, data=0x54b9c) at fpdetect.c:607
#1  0x1e7d8 in mwmSearchExNoBC (ps=0x131a000, Tx=0x54cb4 "\200", n=44, Tc=0x1a7870 "\200",
    match=0x1c668 <otnx_match>, data=0x54b9c) at mwm.c:967
#2  0x1f1d5 in mwmSearch (pv=0x131a000, T=0x1a7870 "\200", n=44,
    match=0x1c668 <otnx_match>, data=0x54b9c) at mwm.c:1404
#3  0x1f4de in mpseSearch (pv=0x12f5f50, T=0x1a7870 "\200", n=44,
    action=0x1c668 <otnx_match>, data=0x54b9c) at mpse.c:219
#4  0x1d751 in fpEvalHeaderSW (port_group=0xd78f80, p=0xcfbfcea0, check_ports=1)
    at fpdetect.c:966
#5  0x1ced9 in fpEvalHeaderTcp (p=0xcfbfcea0) at fpdetect.c:1176
#6  0x1c88f in fpEvalPacket (p=0xcfbfcea0) at fpdetect.c:1336
#7  0x18ed5 in Detect (p=0xcfbfcea0) at detect.c:319
#8  0x18c4c in Preprocess (p=0xcfbfcea0) at detect.c:122
#9  0x119c2 in ProcessPacket (user=0x0, pkthdr=0x1a781c, pkt=0x1a782e "") at snort.c:595
#10 0x4007a2d1 in pcap_read ()
#11 0x4007a92f in pcap_loop ()
#12 0x13ec8 in InterfaceThread (arg=0x0) at snort.c:1525
#13 0x118ba in SnortMain (argc=17, argv=0xcfbfd490) at snort.c:537
#14 0x110ad in main (argc=17, argv=0xcfbfd490) at snort.c:165

/Andreas




More information about the Snort-devel mailing list