Created
October 9, 2018 22:59
-
-
Save bluecmd/bd16185170dff642de197e34349aa14c to your computer and use it in GitHub Desktop.
wedge_agent crash with suggested patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Full diff between facebook/fboss and tested code: https://github.com/facebook/fboss/compare/master...dhtech:master?expand=1 | |
dhtech@wedge1:/usr/local/bin$ sudo OPENNSL_CONFIG_FILE=/etc/config.wedge40 /usr/local/bin/wedge_agent -mode=wedge -mgmt_if=ma1 -config=/etc/wedge.json --alsologtostderr -v=1000 -vmodule=EventBase=0,AsyncSocket=0 --logging=.=DBG5 | |
E1009 22:52:42.983753 14694 WedgeProductInfo.cpp:144] json parse error on line 0: expected json value | |
E1009 22:52:42.984041 14694 WedgeProductInfo.cpp:70] Failed initializing WedgeProductInfo from /var/facebook/fboss/fruid.json, fall back to use fbwhoami: json parse error on line 0: expected json value | |
V1009 22:52:42.986548 14694 SwSwitch.cpp:615] Registering state observer: IPv6Handler | |
V1009 22:52:42.986640 14694 SwSwitch.cpp:615] Registering state observer: NeighborUpdater | |
V1009 22:52:42.986757 14694 SwSwitch.cpp:615] Registering state observer: RouteUpdateLogger | |
V1009 22:52:42.986818 14694 SwSwitch.cpp:615] Registering state observer: PortUpdateHandler | |
V1009 22:52:42.986901 14694 SwSwitch.cpp:352] Registering neighbor listener | |
I1009 22:52:42.987570 14694 ThriftServer.cpp:267] libevent 2.0.21-stable method epoll | |
I1009 22:52:42.989276 14694 ThriftServer.cpp:398] Using 0 SSL handshake threads | |
I1009 22:52:43.032679 14694 Main.cpp:338] serving on localhost on port 5909 | |
Platform configuration file "/etc/config.wedge40" is used | |
Platform Boot flags: 0x0 | |
V1009 22:52:43.032868 14714 BcmWarmBootHelper.cpp:68] Will attempt COLD boot | |
DMA pool size: 16777216 | |
PCI unit 0: Dev 0xb850, Rev 0x03, Chip BCM56850_A2, Driver BCM56850_A0 | |
Initializing platform | |
SOC unit 0 attached to PCI device BCM56850_A2 | |
Boot flags: Cold boot | |
rc: unit 0 device BCM56850_A2 | |
open /dev/linux-bcm-knet: : No such file or directory | |
rc: MMU initialized | |
rc: L2 Table shadowing enabled | |
rc: Port modes initialized | |
Common SDK init completed | |
I1009 22:52:50.500658 14714 BcmSwitch.cpp:560] Initializing BcmSwitch for unit 0 | |
I1009 22:52:50.500887 14714 BcmSwitch.cpp:589] Performing cold boot | |
V1009 22:52:50.524770 14714 BcmSwitch.cpp:645] Enabled IPv4/IPv6 on CPU port 0 | |
V1009 22:52:50.525017 14714 BcmEgress.cpp:188] programmed L3 egress object 100002 to CPU on unit 0 | |
V1009 22:52:50.525948 14714 BcmPort.cpp:217] created BCM port:1, gport:134217729, FBOSS PortID:1 | |
V1009 22:52:50.527527 14714 BcmPort.cpp:217] created BCM port:2, gport:134217730, FBOSS PortID:2 | |
V1009 22:52:50.532899 14714 BcmPort.cpp:217] created BCM port:3, gport:134217731, FBOSS PortID:3 | |
V1009 22:52:50.538198 14714 BcmPort.cpp:217] created BCM port:4, gport:134217732, FBOSS PortID:4 | |
V1009 22:52:50.543548 14714 BcmPort.cpp:217] created BCM port:5, gport:134217733, FBOSS PortID:5 | |
V1009 22:52:50.548847 14714 BcmPort.cpp:217] created BCM port:6, gport:134217734, FBOSS PortID:6 | |
V1009 22:52:50.554169 14714 BcmPort.cpp:217] created BCM port:7, gport:134217735, FBOSS PortID:7 | |
V1009 22:52:50.559470 14714 BcmPort.cpp:217] created BCM port:8, gport:134217736, FBOSS PortID:8 | |
V1009 22:52:50.564764 14714 BcmPort.cpp:217] created BCM port:9, gport:134217737, FBOSS PortID:9 | |
V1009 22:52:50.570093 14714 BcmPort.cpp:217] created BCM port:10, gport:134217738, FBOSS PortID:10 | |
V1009 22:52:50.575403 14714 BcmPort.cpp:217] created BCM port:11, gport:134217739, FBOSS PortID:11 | |
V1009 22:52:50.580702 14714 BcmPort.cpp:217] created BCM port:12, gport:134217740, FBOSS PortID:12 | |
V1009 22:52:50.586011 14714 BcmPort.cpp:217] created BCM port:13, gport:134217741, FBOSS PortID:13 | |
V1009 22:52:50.591319 14714 BcmPort.cpp:217] created BCM port:14, gport:134217742, FBOSS PortID:14 | |
V1009 22:52:50.596608 14714 BcmPort.cpp:217] created BCM port:15, gport:134217743, FBOSS PortID:15 | |
V1009 22:52:50.601918 14714 BcmPort.cpp:217] created BCM port:16, gport:134217744, FBOSS PortID:16 | |
V1009 22:52:50.607201 14714 BcmPort.cpp:217] created BCM port:17, gport:134217745, FBOSS PortID:17 | |
V1009 22:52:50.612531 14714 BcmPort.cpp:217] created BCM port:18, gport:134217746, FBOSS PortID:18 | |
V1009 22:52:50.617826 14714 BcmPort.cpp:217] created BCM port:19, gport:134217747, FBOSS PortID:19 | |
V1009 22:52:50.623155 14714 BcmPort.cpp:217] created BCM port:20, gport:134217748, FBOSS PortID:20 | |
V1009 22:52:50.628448 14714 BcmPort.cpp:217] created BCM port:21, gport:134217749, FBOSS PortID:21 | |
V1009 22:52:50.633754 14714 BcmPort.cpp:217] created BCM port:22, gport:134217750, FBOSS PortID:22 | |
V1009 22:52:50.639059 14714 BcmPort.cpp:217] created BCM port:23, gport:134217751, FBOSS PortID:23 | |
V1009 22:52:50.644362 14714 BcmPort.cpp:217] created BCM port:24, gport:134217752, FBOSS PortID:24 | |
V1009 22:52:50.649695 14714 BcmPort.cpp:217] created BCM port:25, gport:134217753, FBOSS PortID:25 | |
V1009 22:52:50.655006 14714 BcmPort.cpp:217] created BCM port:26, gport:134217754, FBOSS PortID:26 | |
V1009 22:52:50.660304 14714 BcmPort.cpp:217] created BCM port:27, gport:134217755, FBOSS PortID:27 | |
V1009 22:52:50.665620 14714 BcmPort.cpp:217] created BCM port:28, gport:134217756, FBOSS PortID:28 | |
V1009 22:52:50.670913 14714 BcmPort.cpp:217] created BCM port:29, gport:134217757, FBOSS PortID:29 | |
V1009 22:52:50.676211 14714 BcmPort.cpp:217] created BCM port:30, gport:134217758, FBOSS PortID:30 | |
V1009 22:52:50.681522 14714 BcmPort.cpp:217] created BCM port:31, gport:134217759, FBOSS PortID:31 | |
V1009 22:52:50.686838 14714 BcmPort.cpp:217] created BCM port:32, gport:134217760, FBOSS PortID:32 | |
V1009 22:52:50.692137 14714 BcmPort.cpp:217] created BCM port:33, gport:134217761, FBOSS PortID:33 | |
V1009 22:52:50.697530 14714 BcmPort.cpp:217] created BCM port:34, gport:134217762, FBOSS PortID:34 | |
V1009 22:52:50.702835 14714 BcmPort.cpp:217] created BCM port:35, gport:134217763, FBOSS PortID:35 | |
V1009 22:52:50.708126 14714 BcmPort.cpp:217] created BCM port:36, gport:134217764, FBOSS PortID:36 | |
V1009 22:52:50.713417 14714 BcmPort.cpp:217] created BCM port:37, gport:134217765, FBOSS PortID:37 | |
V1009 22:52:50.718729 14714 BcmPort.cpp:217] created BCM port:38, gport:134217766, FBOSS PortID:38 | |
V1009 22:52:50.724016 14714 BcmPort.cpp:217] created BCM port:39, gport:134217767, FBOSS PortID:39 | |
V1009 22:52:50.729314 14714 BcmPort.cpp:217] created BCM port:40, gport:134217768, FBOSS PortID:40 | |
V1009 22:52:50.734642 14714 BcmPort.cpp:217] created BCM port:41, gport:134217769, FBOSS PortID:41 | |
V1009 22:52:50.739945 14714 BcmPort.cpp:217] created BCM port:42, gport:134217770, FBOSS PortID:42 | |
V1009 22:52:50.745269 14714 BcmPort.cpp:217] created BCM port:43, gport:134217771, FBOSS PortID:43 | |
V1009 22:52:50.750587 14714 BcmPort.cpp:217] created BCM port:44, gport:134217772, FBOSS PortID:44 | |
V1009 22:52:50.755875 14714 BcmPort.cpp:217] created BCM port:45, gport:134217773, FBOSS PortID:45 | |
V1009 22:52:50.761154 14714 BcmPort.cpp:217] created BCM port:46, gport:134217774, FBOSS PortID:46 | |
V1009 22:52:50.766459 14714 BcmPort.cpp:217] created BCM port:47, gport:134217775, FBOSS PortID:47 | |
V1009 22:52:50.771766 14714 BcmPort.cpp:217] created BCM port:48, gport:134217776, FBOSS PortID:48 | |
V1009 22:52:50.777068 14714 BcmPort.cpp:217] created BCM port:49, gport:134217777, FBOSS PortID:49 | |
V1009 22:52:50.782389 14714 BcmPort.cpp:217] created BCM port:50, gport:134217778, FBOSS PortID:50 | |
V1009 22:52:50.787696 14714 BcmPort.cpp:217] created BCM port:51, gport:134217779, FBOSS PortID:51 | |
V1009 22:52:50.792984 14714 BcmPort.cpp:217] created BCM port:52, gport:134217780, FBOSS PortID:52 | |
V1009 22:52:50.798264 14714 BcmPort.cpp:217] created BCM port:53, gport:134217781, FBOSS PortID:53 | |
V1009 22:52:50.803575 14714 BcmPort.cpp:217] created BCM port:54, gport:134217782, FBOSS PortID:54 | |
V1009 22:52:50.808873 14714 BcmPort.cpp:217] created BCM port:55, gport:134217783, FBOSS PortID:55 | |
V1009 22:52:50.814190 14714 BcmPort.cpp:217] created BCM port:56, gport:134217784, FBOSS PortID:56 | |
V1009 22:52:50.819488 14714 BcmPort.cpp:217] created BCM port:57, gport:134217785, FBOSS PortID:57 | |
V1009 22:52:50.824791 14714 BcmPort.cpp:217] created BCM port:58, gport:134217786, FBOSS PortID:58 | |
V1009 22:52:50.830075 14714 BcmPort.cpp:217] created BCM port:59, gport:134217787, FBOSS PortID:59 | |
V1009 22:52:50.835369 14714 BcmPort.cpp:217] created BCM port:60, gport:134217788, FBOSS PortID:60 | |
V1009 22:52:50.840675 14714 BcmPort.cpp:217] created BCM port:61, gport:134217789, FBOSS PortID:61 | |
V1009 22:52:50.845965 14714 BcmPort.cpp:217] created BCM port:62, gport:134217790, FBOSS PortID:62 | |
V1009 22:52:50.851249 14714 BcmPort.cpp:217] created BCM port:63, gport:134217791, FBOSS PortID:63 | |
V1009 22:52:50.856545 14714 BcmPort.cpp:217] created BCM port:64, gport:134217792, FBOSS PortID:64 | |
*** Aborted at 1539125570 (unix time) try "date -d @1539125570" if you are using GNU date *** | |
PC: @ 0x562a4c7a5da2 std::unique_ptr<>::get() | |
*** SIGSEGV (@0x10) received by PID 14694 (TID 0x7fdc957fa700) from PID 16; stack trace: *** | |
@ 0x7fdcd17460c0 (unknown) | |
@ 0x562a4c7a5da2 std::unique_ptr<>::get() | |
@ 0x562a4c7a5dc0 std::unique_ptr<>::operator->() | |
@ 0x562a4c7a1176 facebook::fboss::BcmControlPlane::getMulticastQueueSettings() | |
@ 0x562a4c78f1b2 facebook::fboss::BcmSwitch::getColdBootSwitchState() | |
@ 0x562a4c79179a facebook::fboss::BcmSwitch::init() | |
@ 0x562a4c918214 facebook::fboss::SwSwitch::init() | |
@ 0x562a4c84c5c1 facebook::fboss::Initializer::initImpl() | |
@ 0x562a4c84bee0 facebook::fboss::Initializer::initThread() | |
@ 0x562a4c8549da _ZSt13__invoke_implIvRKMN8facebook5fboss11InitializerEFvvEPS2_JEET_St21__invoke_memfun_derefOT0_OT1_DpOT2_ | |
@ 0x562a4c854967 _ZSt8__invokeIRKMN8facebook5fboss11InitializerEFvvEJPS2_EENSt9result_ofIFOT_DpOT0_EE4typeESA_SD_ | |
@ 0x562a4c854918 _ZNKSt12_Mem_fn_baseIMN8facebook5fboss11InitializerEFvvELb1EEclIJPS2_EEEDTcl8__invokedtdefpT6_M_pmfspcl7forwardIT_Efp_EEEDpOS8_ | |
@ 0x562a4c8548bf _ZNSt12_Bind_simpleIFSt7_Mem_fnIMN8facebook5fboss11InitializerEFvvEEPS3_EE9_M_invokeIJLm0EEEEvSt12_Index_tupleIJXspT_EEE | |
@ 0x562a4c8546fb std::_Bind_simple<>::operator()() | |
@ 0x562a4c8544c2 std::thread::_State_impl<>::_M_run() | |
@ 0x7fdcca1bae6f (unknown) | |
@ 0x7fdcd173c494 start_thread | |
@ 0x7fdcc992facf clone | |
@ 0x0 (unknown) | |
Segmentation fault | |
dhtech@wedge1:/usr/local/bin$ md5sum wedge_agent | |
9f05dc6f1371b459bc26bf9fad9086b4 wedge_agent | |
Builder: | |
dhtech@ocp-bluecmd:~/fboss$ md5sum build/wedge_agent | |
9f05dc6f1371b459bc26bf9fad9086b4 build/wedge_agent | |
dhtech@ocp-bluecmd:~/fboss$ git status | |
On branch master | |
Your branch is up to date with 'origin/master'. | |
nothing to commit, working tree clean | |
dhtech@ocp-bluecmd:~/fboss$ git rev-parse HEAD | |
0508d921f01ca11dce34246910c785a8127f288a (matches with PR mentioned above) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment