[Bro-Dev] #848: Crashes in sub-threads do not propagate to main Bro

Bro Tracker bro at tracker.bro-ids.org
Wed Jul 11 13:32:21 PDT 2012


#848: Crashes in sub-threads do not propagate to main Bro
---------------------+------------------------
 Reporter:  amannb   |      Owner:
     Type:  Problem  |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  Bro      |    Version:  git/master
 Keywords:           |
---------------------+------------------------
 At the moment it is possible that a (logging and/or input) thread crashes
 without the user being notified of this in any way.

 For example, if one adds something like
 {{{
         int *a = 0;
         *a = 5;
 }}}

 to the beginning of Ascii::DoWrite and starts up Bro, all logfiles are
 generated, no data is written into them and Bro just sits there without
 doing anything. Attaching a gdb shows the null-pointer exception.

 The main Bro thread probably should probably just crash in case there is a
 null-pointer violation or a similar exception in one of the child threads.

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



More information about the bro-dev mailing list