Is it expected that you deal with snap packets? I would not be surprised that snap node is not thread safe...
-- Damjan > On 8 Sep 2018, at 09:18, chetan bhasin <[email protected]> wrote: > > Hi, > > On one of the deployment setup, we are facing vpp crash in snap node during > start-up after we add workers . If we do not configure any worker thread then > system comes up fine. > > Has anybody face this crash? > > > Back-trace is as below - > 1701 third-party/vpp/vpp_1801/build-data/../src/vppinfra/mhash.c:119 > #7 0x00002b94dfdd95ce in key_sum (key=18446744073709551615, h=0x2b94e14bb164) > at third-party/vpp/vpp_1801/build-data/../src/vppinfra/hash.c:286 > #8 lookup (v=0x2b94e14bb1a8, key=18446744073709551615, op=op@entry=GET, > new_value=new_value@entry=0x0, old_value=old_value@entry=0x0) > at third-party/vpp/vpp_1801/build-data/../src/vppinfra/hash.c:497 > #9 0x00002b94dfdda1bf in _hash_get_pair (v=<optimized out>, key=<optimized > out>) > at third-party/vpp/vpp_1801/build-data/../src/vppinfra/hash.c:594 > #10 0x00002b94dfde6f70 in mhash_get_pair (h=h@entry=0x2b94df522e10 > <snap_main+16>, key=key@entry=0x2b94e2a60e90) > at third-party/vpp/vpp_1801/build-data/../src/vppinfra/mhash.c:259 > #11 0x00002b94dedfb895 in mhash_get (key=0x2b94e2a60e90, h=<optimized out>) > at third-party/vpp/vpp_1801/build-data/../src/vppinfra/mhash.h:112 > #12 snap_get_protocol_info (h=<optimized out>, sm=<optimized out>) > at third-party/vpp/vpp_1801/build-data/../src/vnet/snap/snap.h:164 > #13 snap_input (vm=<optimized out>, node=0x2b94e2af1858, > from_frame=0x2b94e2aaf700) > at third-party/vpp/vpp_1801/build-data/../src/vnet/snap/node.c:231 > #14 0x00002b94dea733f4 in dispatch_node (last_time_stamp=2023362426976018, > frame=0x2b94e2aaf700, dispatch_state=VLIB_NODE_STATE_POLLING, > type=VLIB_NODE_TYPE_INTERNAL, > node=0x2b94e2af1858, vm=0x2b94e2b047f8) at > third-party/vpp/vpp_1801/build-data/../src/vlib/main.c:988 > #15 dispatch_pending_node (vm=vm@entry=0x2b94e2b047f8, > pending_frame_index=pending_frame_index@entry=3, > last_time_stamp=2023362426976018) > at third-party/vpp/vpp_1801/build-data/../src/vlib/main.c:1138 > #16 0x00002b94dea7418f in vlib_main_or_worker_loop (is_main=0, > vm=0x2b94e2b047f8) > at third-party/vpp/vpp_1801/build-data/../src/vlib/main.c:1609 > #17 vlib_worker_loop (vm=0x2b94e2b047f8) at > third-party/vpp/vpp_1801/build-data/../src/vlib/main.c:1634 > #18 0x00002b94dfddd838 in clib_calljmp () at > third-party/vpp/vpp_1801/build-data/../src/vppinfra/longjmp.S:110 > #19 0x00002b9788819d80 in ?? () > #20 0x00002b962177aa9d in eal_thread_loop (arg=<optimized out>) > at > third-party/vpp/vpp_1801/build-root/build-vpp-native/dpdk/dpdk-17.11/lib/librte_eal/linuxapp/eal/eal_thread.c:182 > > > Thanks, > Chetan > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#10442): https://lists.fd.io/g/vpp-dev/message/10442 > Mute This Topic: https://lists.fd.io/mt/25362077/675642 > Group Owner: [email protected] > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10443): https://lists.fd.io/g/vpp-dev/message/10443 Mute This Topic: https://lists.fd.io/mt/25362077/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
