[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.

 Core was generated by `bro'.
 Program terminated with signal 11, Segmentation fault.
 #0  LogMgr::FindWriter (this=0x7cb410, writer=0x355fd70) at
 447                             if ( winfo->writer == writer )
 #0  LogMgr::FindWriter (this=0x7cb410, writer=0x355fd70) at
 #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
 #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
 #6  0x000000000053ec6d in RotationTimer::Dispatch (this=0x865d30, t=) at
 #7  0x00000000005b820f in PQ_TimerMgr::Expire (this=0x7c29b8) at
 #8  0x0000000000466955 in done_with_network () at
 #9  0x000000000046709b in termination_signal () at
 #10 0x000000000055690a in net_run () at
 #11 0x00000000004688ff in main (argc=22323816, argv=) at

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