[Snort-devel] tag prune crash

Chris Green cmg at ...81...
Tue Aug 7 11:07:30 EDT 2001

#0  Neighbor (P=0x85b2e28, whichway=2) at ../snort/ubi_BinTree.c:418
418         if( NULL != P->Link[ whichway ] )
(gdb) bt
#0  Neighbor (P=0x85b2e28, whichway=2) at ../snort/ubi_BinTree.c:418
#1  0x80730dc in ubi_btNext (P=0x85b2e28) at ../snort/ubi_BinTree.c:879
#2  0x80731e4 in ubi_btTraverse (RootPtr=0x8092a90, EachNode=0x80703ec <PruneTraverse>, 
    UserData=0xbffff0a8) at ../snort/ubi_BinTree.c:1014
#3  0x807098f in PruneTagCache (thetime=997194852, mustdie=0) at ../snort/tag.c:540
#4  0x8070933 in CheckTagList (p=0xbffff1d8, event=0xbffff158) at ../snort/tag.c:514
#5  0x805668f in Detect (p=0xbffff1d8) at ../snort/rules.c:3599
#6  0x805644b in Preprocess (p=0xbffff1d8) at ../snort/rules.c:3435
#7  0x804b72b in ProcessPacket (user=0x0, pkthdr=0xbffff698, pkt=0x80c59a0 "")
    at ../snort/snort.c:534
#8  0x40040207 in pcap_read_packet () from /usr/lib/libpcap.so.0
#9  0x4004124f in pcap_loop () from /usr/lib/libpcap.so.0
#10 0x804cbb7 in InterfaceThread (arg=0x0) at ../snort/snort.c:1559
#11 0x804b5fb in main (argc=15, argv=0xbffff84c) at ../snort/snort.c:467
#12 0x40207b5c in __libc_start_main (main=0x804af7c <main>, argc=15, ubp_av=0xbffff84c, 
    init=0x804a338 <_init>, fini=0x807837c <_fini>, rtld_fini=0x4000d634 <_dl_fini>, 
    stack_end=0xbffff844) at ../sysdeps/generic/libc-start.c:129
(gdb) p P
$1 = 0x85b2e28

(gdb) p *P
Cannot access memory at address 0x85b2e28
Chris Green <cmg at ...81...>
Laugh and the world laughs with you, snore and you sleep alone.

More information about the Snort-devel mailing list