[Bro-Dev] #378: Test for problem with optional record fields.
Bro Tracker
bro at tracker.bro-ids.org
Wed May 25 06:07:36 PDT 2011
#378: Test for problem with optional record fields.
--------------------------------+--------------------
Reporter: robin | Owner:
Type: Test Case Missing | Status: new
Priority: Normal | Milestone: Bro1.6
Component: Bro | Version:
Resolution: | Keywords:
--------------------------------+--------------------
Old description:
> A test script for the problem in #367, to be added to the now test-suite
> once we have it.
New description:
A test script for the problem in #367, to be added to the now test-suite
once we have it.
--
Comment (by seth):
This test script is crashing Bro.
{{{
[build (topic/policy-scripts-new)]$ gdb --args ./src/bro test28.bro
GNU gdb 6.3.50-20050815 (Apple version gdb-1469) (Wed May 5 04:36:56 UTC
2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for
shared libraries ........ done
(gdb) r
Starting program: ./src/bro test28.bro
Reading symbols for shared libraries .+++++++ done
{
[a=3, b=<uninitialized>],
1306328728.271705 internal error: under-ran key in
CompositeHash::DescribeKey -8
[a=1, b=<uninitialized>]
Program received signal SIGABRT, Aborted.
0x00007fff889a85d6 in __kill ()
(gdb) bt
#0 0x00007fff889a85d6 in __kill ()
#1 0x00007fff88a48cd6 in abort ()
#2 0x0000000100004703 in internal_error (fmt=Could not find the frame
base for "internal_error(char const*, ...)".
) at ./src/util.cc:810
#3 0x00000001000bf799 in CompositeHash::RecoverVals (this=0x100cb9d20,
k=0x100cb9bf0) at ./CompHash.cc:525
#4 0x00000001002309d6 in TableVal::Describe (this=0x100cb9e60,
d=0x7fff5fbfe080) at ./src/Val.cc:2321
#5 0x000000010022edb1 in describe_vals (vals=0x100cb9900,
d=0x7fff5fbfe080, offset=0) at ./src/Val.cc:3574
#6 0x000000010020b27d in ExprListStmt::PrintVals (this=0x100cb42c0,
d=0x7fff5fbfe080, vals=0x100cb9900, offset=0) at /./src/Stmt.cc:226
#7 0x000000010020b48d in PrintStmt::DoExec (this=0x100cb42c0,
vals=0x100cb9900) at ./src/Stmt.cc:328
#8 0x0000000100208c4c in ExprListStmt::Exec (this=0x100cb42c0,
f=0x100cb9940, flow=@0x7fff5fbfe368) at ./src/Stmt.cc:197
#9 0x0000000100206d68 in StmtList::Exec (this=0x100cb0720, f=0x100cb9940,
flow=@0x7fff5fbfe368) at ./src/Stmt.cc:1432
#10 0x0000000100206d68 in StmtList::Exec (this=0x100cb7c70, f=0x100cb9940,
flow=@0x7fff5fbfe368) at ./src/Stmt.cc:1432
#11 0x00000001001585a2 in BroFunc::Call (this=0x100be4630,
args=0x100cb9710, parent=0x0) at ./src/Func.cc:319
#12 0x00000001000fc6c4 in EventHandler::Call (this=0x100b1cfc0,
vl=0x100cb9710, no_remote=false) at ./src/EventHandler.cc:72
#13 0x0000000100097455 in Event::Dispatch (this=0x100cb97c0,
no_remote=false) at Event.h:43
#14 0x00000001000fbfe5 in EventMgr::Dispatch (this=0x1003ee1e0) at
./src/Event.cc:107
#15 0x00000001000fc055 in EventMgr::Drain (this=0x1003ee1e0) at
./src/Event.cc:119
#16 0x00000001000958ac in main (argc=2, argv=0x7fff5fbfeba0) at
./src/main.cc:974
(gdb)
}}}
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/378#comment:1>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list