Open GoogleCodeExporter opened 9 years ago
What steps will reproduce the problem? 1. create scenario with > 127 annotations 2. press start 3. cored throws exception What is the expected output? What do you see instead? Backtrace below: > CORE daemon v.4.5rc2 started Thu Apr 18 12:37:44 2013 server started, > listening on: 0.0.0.0:4038 new TCP connection: 127.0.0.1:39965 GUI has > connected to session 39965 at Thu Apr 18 12:37:49 2013 SESSION message > flags=0x0 sessions=0 request to modify to session 39965 SESSION 39965 > STATE 1: DEFINITION at Thu Apr 18 12:37:52 2013 SESSION 39965 STATE 2: > CONFIGURATION at Thu Apr 18 12:37:52 2013 Running hook > configuration_hook.sh for state 2 location configured: (0.00,0.00,0.00) > = (47.57917,-122.13232,2.00000) scale=150.00 location configured: > UTM(565249.28792,5269892.80917,2.00000) default services for type router > set to ['zebra', 'OSPFv2', 'OSPFv3', 'vtysh', 'IPForward'] connection > closed: 127.0.0.1:39965 Traceback (most recent call last): > File "/usr/lib/python2.7/SocketServer.py", line 593, in > process_request_thread > self.finish_request(request, client_address) File > "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request > self.RequestHandlerClass(request, client_address, self) File > "/usr/local/sbin/cored", line 124, in __init__ client_address, > server) File "/usr/lib/python2.7/SocketServer.py", line 649, in > __init__ self.handle() File "/usr/local/sbin/cored", line 328, in > handle msg = self.recvmsg() File "/usr/local/sbin/cored", line 231, > in recvmsg msg = coreapi.CoreMessage(msgflags, msghdr, data) > File "/usr/local/lib/python2.7/dist-packages/core/api/coreapi.py", line > 396, in __init__ > self.parsedata(data) > File "/usr/local/lib/python2.7/dist-packages/core/api/coreapi.py", line > 423, in parsedata > self.addtlvdata(tlv.tlvtype, tlv.value) > File "/usr/local/lib/python2.7/dist-packages/core/api/coreapi.py", line > 411, in addtlvdata > raise KeyError, "key already exists: %s (val=%s)" % (k, v) > KeyError: 'key already exists: 0 (val=\x00\n\x00\n\x00\n\x00\n\x00\n)'
Original issue reported on code.google.com by ahrenh...@gmail.com on 18 Apr 2013 at 4:46
ahrenh...@gmail.com
attached oval.tcl; copy to /usr/local/lib/core/addons; from debugger, use 'ovals 128' to generate 128 annotations
Original comment by ahrenh...@gmail.com on 18 Apr 2013 at 4:47
Attachments:
Original issue reported on code.google.com by
ahrenh...@gmail.com
on 18 Apr 2013 at 4:46