Ticket #427 (new Problem)
Assertion failed: (!v), function Eval, file Trigger.cc
| Reported by: | leres | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | Bro2.1 |
| Component: | Bro | Version: | 1.5.2 |
| Keywords: | ipv6 | Cc: | asharma@… |
Description
We're running a standalone bro/broctl config (1.5.3) to watch a 10G link that has IPv4 and IPv6 traffic on it and have seen several crashes over the last week. I recompiled with -g so there are symbols for the stack trace.
I think it's probably a coincidence that the "lookup_addr() only supports IPv4 addresses" error appears right before the assert() failure so I opened a new ticket.
Variable "arg_cond" is not available. Variable "flow" is not available. Variable "no_remote" is not available. Variable "this" is not available. Variable "argc" is not available. ==== stderr.log listening on nxge0 /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/keys.trb.131.243.64.209.36622-131.243.2.88.23: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/telnet.trb.131.243.2.88.23-131.243.64.209.36622: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/keys.trb.131.243.64.209.36872-131.243.2.237.23: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/telnet.trb.131.243.2.237.23-131.243.64.209.36872: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/keys.trb.131.243.64.209.33337-131.243.2.88.23: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/telnet.trb.131.243.2.88.23-131.243.64.209.33337: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/telnet.trb.131.243.2.237.23-131.243.64.209.33525: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/keys.trb.131.243.64.209.33525-131.243.2.237.23: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/keys.trb.131.243.64.209.56557-131.243.2.88.23: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/telnet.trb.131.243.2.88.23-131.243.64.209.56557: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/keys.trb.131.243.64.209.56926-131.243.2.237.23: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/telnet.trb.131.243.2.237.23-131.243.64.209.56926: No such file or directory 1301383820.573102 run-time error: cannot find connection /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/keys.trb.131.243.64.209.52266-131.243.2.88.23: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/telnet.trb.131.243.2.88.23-131.243.64.209.52266: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/keys.trb.131.243.64.209.52426-131.243.2.237.23: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/telnet.trb.131.243.2.237.23-131.243.64.209.52426: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/telnet.trb.131.243.2.88.23-131.243.64.209.49884: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/keys.trb.131.243.64.209.49884-131.243.2.88.23: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/keys.trb.131.243.64.209.49986-131.243.2.237.23: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/telnet.trb.131.243.2.237.23-131.243.64.209.49986: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/telnet.trb.131.243.2.88.23-131.243.64.209.46119: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/keys.trb.131.243.64.209.46119-131.243.2.88.23: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/keys.trb.131.243.64.209.46265-131.243.2.237.23: No such file or directory /usr/local/share/broctl/scripts/create-link-for-log: line 60: .link.xscript.log/telnet.trb.131.243.2.237.23-131.243.64.209.46265: No such file or directory 1301449356.137171 error: bad dotted address: 2001:da8:200:900e:0:5efe:166.111.66.23|1032 1301449356.137171 /usr/local/share/bro/broctl/mail-alarms.bro, line 79 (lookup_addr(MailAlarms::host)): run-time error, lookup_addr() only supports IPv4 addresses Assertion failed: (!v), function Eval, file Trigger.cc, line 194. /usr/local/share/broctl/scripts/run-bro: line 73: 79724 Abort trap: 6 (core dumped) nohup $tmpbro $@ ==== stdout.log X509: Using the default trusted cert path. ==== .status RUNNING [net_run] ==== No prof.log. bro.core Core was generated by `bro'. Program terminated with signal 6, Aborted. #0 0x000000080177dfcc in kill () from /lib/libc.so.7 #0 0x000000080177dfcc in kill () from /lib/libc.so.7 #1 0x000000080177cdcb in abort () from /lib/libc.so.7 #2 0x00000008017661a5 in __assert () from /lib/libc.so.7 #3 0x00000000005619ab in Trigger::Eval (this=0x373fd88) at Trigger.cc:194 #4 0x0000000000561f12 in Trigger (this=0x373fd88, arg_cond=) at Trigger.cc:133 #5 0x000000000054ae11 in WhenStmt::Exec (this=0xb79960, f=0x4f0fbc0, flow=) at Stmt.cc:1826 #6 0x00000000005482d1 in StmtList::Exec (this=0xb71e68, f=0x4f0fbc0, flow=@0x7fffffffd87c) at Stmt.cc:1432 #7 0x00000000004b1470 in BroFunc::Call (this=0xb79a10, args=0x4b1dbf8, parent=0x343a548) at Func.cc:308 #8 0x000000000049ea03 in CallExpr::Eval (this=0xb82de0, f=0x343a548) at Expr.cc:4629 #9 0x000000000054e538 in ExprStmt::Exec (this=0xb82e70, f=0x343a548, flow=@0x7fffffffda7c) at Stmt.cc:397 #10 0x00000000005482d1 in StmtList::Exec (this=0xb7a730, f=0x343a548, flow=@0x7fffffffda7c) at Stmt.cc:1432 #11 0x00000000004b1470 in BroFunc::Call (this=0xb82f00, args=0x567af50, parent=0x4cbe248) at Func.cc:308 #12 0x000000000049ea03 in CallExpr::Eval (this=0xb85410, f=0x4cbe248) at Expr.cc:4629 #13 0x000000000054e538 in ExprStmt::Exec (this=0xb854a0, f=0x4cbe248, flow=@0x7fffffffdc7c) at Stmt.cc:397 #14 0x00000000005482d1 in StmtList::Exec (this=0xb84970, f=0x4cbe248, flow=@0x7fffffffdc7c) at Stmt.cc:1432 #15 0x00000000004b1470 in BroFunc::Call (this=0x9bfc38, args=0x45a6950, parent=0x0) at Func.cc:308 #16 0x0000000000468caa in EventHandler::Call (this=0x9bfd80, vl=0x45a6950, no_remote=) at EventHandler.cc:67 #17 0x0000000000468521 in EventMgr::Dispatch (this=) at Event.h:43 #18 0x0000000000468638 in EventMgr::Drain (this=0x788f40) at Event.cc:119 #19 0x00000000004f74b9 in net_packet_dispatch (t=1301449356.137171, hdr=0x1922210, pkt=0x8018cd032 "", hdr_size=14, src_ps=0x19221d0, pkt_elem=0x0) at Net.cc:436 #20 0x0000000000505c38 in PktSrc::Process (this=0x19221d0) at PktSrc.cc:199 #21 0x00000000004f7725 in net_run () at Net.cc:528 #22 0x00000000004095bc in main (argc=) at main.cc:999 -- [Automatically generated.]
Change History
Note: See
TracTickets for help on using
tickets.
On Wed, Mar 30, 2011 at 21:59 -0000, you wrote:
Without looking more closely yet, my guess is it's still related to
IPv6 in some form, perhaps the trigger setup doesn't handle the error
cases correctly in some cases. Tagging this with "ipv6" and marking
for 1.6 to at least check whether it's something obvious we can fix
quickly.