[Bro-Dev] #489: InternalWarning causing most shutdowns

Bro Tracker bro at tracker.bro-ids.org
Sat Jul 2 17:37:25 PDT 2011

#489: InternalWarning causing most shutdowns
 Reporter:  seth     |      Owner:
     Type:  Problem  |     Status:  new
 Priority:  Normal   |  Milestone:  Bro1.6
Component:  Bro      |    Version:
 Keywords:           |
 At the moment, most of the shutdowns I'm seeing are resulting from the
 InternalWarnings function.  Particularly when it's called here in Val.cc:

 ListVal* TableVal::ConvertToPureList() const
         type_list* tl = table_type->Indices()->Types();
         if ( tl->length() != 1 )
                 InternalWarning("bad index type in

         return ConvertToList((*tl)[0]->Tag());

 Perhaps we should audit all of the places where it's being called be make
 sure if Bro really needs to shutdown.  I get the sense in this case at
 least that the problem could be handled differently.

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

More information about the bro-dev mailing list