[Bro-Dev] #607: New segfault discovered when implementing duplicate notice suppression

Bro Tracker bro at tracker.bro-ids.org
Sun Sep 11 05:49:48 PDT 2011


#607: New segfault discovered when implementing duplicate notice suppression
---------------------+--------------------
 Reporter:  seth     |      Owner:
     Type:  Problem  |     Status:  new
 Priority:  High     |  Milestone:  Bro1.6
Component:  Bro      |    Version:
 Keywords:  beta     |
---------------------+--------------------
 In the branch topic/seth/notice-suppression I discovered a new segfault.
 The testing/btest/scripts/base/frameworks/notice/suppression.bro script
 exhibits the problem.  It's seems to be related to timers expiring at
 shutdown time that are trying to delete data.

 Here's a backtrace:

 {{{
 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
 0x00000001000049df in BaseList::operator[] (this=0x1003e4be0, i=0) at
 List.h:78
 78                              return entry[i];
 (gdb) bt
 #0  0x00000001000049df in BaseList::operator[] (this=0x1003e4be0, i=0) at
 List.h:78
 #1  0x000000010001a199 in ScopePList::operator[] (this=0x1003e4be0, i=0)
 at BroList.h:47
 #2  0x000000010001a17c in global_scope () at /tmp/tmp/bro/src/Scope.cc:222
 #3  0x00000001000251d5 in MutableVal::~MutableVal (this=0x101dc06c0) at
 /tmp/tmp/bro/src/Val.cc:648
 #4  0x0000000100245b65 in RecordVal::~RecordVal (this=0x101dc06c0) at
 /tmp/tmp/bro/src/Val.cc:2807
 #5  0x0000000100003c9d in Unref (o=0x101dc06c0) at Obj.h:219
 #6  0x000000010010abc1 in EventMgr::~EventMgr (this=0x1003e59c0) at
 /tmp/tmp/bro/src/Event.cc:77
 #7  0x000000010026406b in __tcf_1 () at /tmp/tmp/bro/src/Event.cc:12
 #8  0x00007fff81952374 in __cxa_finalize ()
 #9  0x00007fff8195228c in exit ()
 #10 0x000000010002969f in start () at iostream:77
 }}}

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



More information about the bro-dev mailing list