[Bro] Segmentation fault when installing a rotate timer in BroFile

Po-Ching Lin pclin at cis.nctu.edu.tw
Mon Nov 5 15:04:58 PST 2007


     I encountered a segmentation fault when executing Bro with a trace
I captured on my laptop. Tracing the problem with gdb, I found the
fault happened in installing a rotate timer:

...

Breakpoint 1, BroFile::InstallRotateTimer (this=0x8fa3a90) at File.cc:562
562             timer_mgr->Add(rotate_timer);
(gdb) c
Continuing.

Breakpoint 1, BroFile::InstallRotateTimer (this=0x903fd78) at File.cc:562
562             timer_mgr->Add(rotate_timer);
(gdb) c
Continuing.

Breakpoint 1, BroFile::InstallRotateTimer (this=0x90404e0) at File.cc:562
562             timer_mgr->Add(rotate_timer);
(gdb) c
Continuing.

Breakpoint 1, BroFile::InstallRotateTimer (this=0x90b4030) at File.cc:562
562             timer_mgr->Add(rotate_timer);
(gdb) c
Continuing.

Breakpoint 1, BroFile::InstallRotateTimer (this=0x90b4030) at File.cc:562
562             timer_mgr->Add(rotate_timer);      <-- < the 23rd execution of timer_mgr->Add(rotate_timer);
(gdb) s

Program received signal SIGSEGV, Segmentation fault.
0x080eed0d in BroFile::InstallRotateTimer (this=0x90b4030) at File.cc:562
562             timer_mgr->Add(rotate_timer);

The command line to execute Bro is as follows.

> bro --use-binpac brolite -r ./misc.pcap

What might the problem be?

-- 
Po-Ching Lin <pclin at cis.nctu.edu.tw>





More information about the Bro mailing list