[Bro] Rotate log time issue - bro seg fault
CS Lee
geek00l at gmail.com
Tue Sep 18 00:21:37 PDT 2007
Hi Vern,
The bro-1.3.2. that we installed having the same revision which is 4657 -
head -1 main.cc
// $Id: main.cc 4657 2007-07-24 20:37:07Z vern $
And it seems to be the same.
On 9/18/07, Vern Paxson <vern at icir.org > wrote:
>
> > #1 0x080de4a7 in BroFile::InstallRotateTimer (this=0x8990480) at File.cc
> :562
> > ....
> > #16 0x080dfaf3 in BroFile::CloseCachedFiles () at Event.h:59
> > #17 0x080501aa in main (argc=553648128, argv=0xbff49eb4) at main.cc:1017
>
> Try the appended and see if it does the trick.
>
> Vern
>
>
> Index: main.cc
> ===================================================================
> --- main.cc (revision 4656)
> +++ main.cc (revision 4657)
> @@ -281,12 +281,12 @@
> done_with_network();
> net_delete();
>
> + terminate_bro();
> +
> // Close files after net_delete(), because net_delete()
> // might write to connection content files.
> BroFile::CloseCachedFiles();
>
> - terminate_bro();
> -
> delete rule_matcher;
>
> exit(0);
> @@ -1010,12 +1010,12 @@
> done_with_network();
> net_delete();
>
> + terminate_bro();
> +
> // Close files after net_delete(), because net_delete()
> // might write to connection content files.
> BroFile::CloseCachedFiles();
>
> - terminate_bro();
> -
> #ifdef USE_MPATROL
> fputs( "Stopping mpatrol logging...", stderr );
> sig_mpatrol(SIGCONT);
>
--
Best Regards,
CS Lee<geekooL[at]gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20070918/e7d7495f/attachment.html
More information about the Bro
mailing list