[Bro-Dev] #588: Segfault in rotation code for logging framework

Bro Tracker bro at tracker.bro-ids.org
Fri Sep 2 10:14:27 PDT 2011


#588: Segfault in rotation code for logging framework
---------------------+------------------------
 Reporter:  seth     |      Owner:
     Type:  Problem  |     Status:  new
 Priority:  High     |  Milestone:  Bro1.6
Component:  Bro      |    Version:  git/master
 Keywords:  beta     |
---------------------+------------------------
 This seems to be cropping up everywhere that Bro is being run and rotating
 logs.  With the base rotation time set at "00:00", I've seen this fairly
 regularly at the "01:00" rotation time.

 {{{
 bro.core
 Core was generated by `bro'.
 Program terminated with signal 11, Segmentation fault.
 #0  LogMgr::FindWriter (this=0x7cb410, writer=0x355fd70) at
 /usr/home/sensor/bro/src/LogMgr.cc:447
 447                             if ( winfo->writer == writer )
 #0  LogMgr::FindWriter (this=0x7cb410, writer=0x355fd70) at
 /usr/home/sensor/bro/src/LogMgr.cc:447
 #1  0x000000000053da1d in LogMgr::FinishedRotation (this=0x7cb410,
 writer=) at /usr/home/sensor/bro/src/LogMgr.cc:1508
 #2  0x00000000005459e4 in LogWriter::FinishedRotation (this=0x355fd70,
 new_name=@0x7fffffffe140, old_name=) at
 /usr/home/sensor/bro/src/LogWriter.cc:157
 #3  0x0000000000546fa0 in LogWriterAscii::DoRotate (this=0x355fd70,
 rotated_path=) at /usr/home/sensor/bro/src/LogWriterAscii.cc:257
 #4  0x0000000000545d03 in LogWriter::Rotate (this=0x355fd70,
 rotated_path=) at /usr/home/sensor/bro/src/LogWriter.cc:95
 #5  0x000000000053e3d8 in LogMgr::Rotate (this=) at
 /usr/home/sensor/bro/src/LogMgr.cc:1499
 #6  0x000000000053ec6d in RotationTimer::Dispatch (this=0x865d30, t=) at
 /usr/home/sensor/bro/src/LogMgr.cc:1409
 #7  0x00000000005b820f in PQ_TimerMgr::Expire (this=0x7c29b8) at
 /usr/home/sensor/bro/src/Timer.cc:142
 #8  0x0000000000466955 in done_with_network () at
 /usr/home/sensor/bro/src/main.cc:231
 #9  0x000000000046709b in termination_signal () at
 /usr/home/sensor/bro/src/main.cc:303
 #10 0x000000000055690a in net_run () at
 /usr/home/sensor/bro/src/Net.cc:511
 #11 0x00000000004688ff in main (argc=22323816, argv=) at
 /usr/home/sensor/bro/src/main.cc:1005
 }}}

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/588>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list