Thanks Neale.

Looks like next node index 28 is invalid.



Regards


On Wed, 27 Jul 2022, 10:18 Neale Ranns, <ne...@graphiant.com> wrote:

>
>
>
>
> *From: *vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of Vijay
> Kumar via lists.fd.io <vjkumar2003=gmail....@lists.fd.io>
> *Date: *Wednesday, 27 July 2022 at 11:27
> *To: *vpp-dev <vpp-dev@lists.fd.io>
> *Subject: *[vpp-dev] Crash in vlib_buffer_enqueue_next
>
> Hi experts,
>
>
>
> I am seeing this callstack where the enque next crashes due to sig abort.
> Pls let me know possible reasons for this call stack. I highly appreciate
> any response related to this bt.
>
>
>
>
>
> Program terminated with signal SIGABRT, Aborted.
>
> #0  __pthread_kill_implementation (threadid=<optimized out>,
> signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
>
> Downloading source file
> /usr/src/debug/glibc-2.34-25.fc35.x86_64/nptl/pthread_kill.c...
>
> 44            return INTERNAL_SYSCALL_ERROR_P (ret) ?
> INTERNAL_SYSCALL_ERRNO (ret) : 0;
>
> [Current thread is 1 (Thread 0x7ff3a7fff640 (LWP 113))]
>
> (gdb) bt
>
> #0  __pthread_kill_implementation (threadid=<optimized out>,
> signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
>
> #1  0x00007ff79fe828f3 in __pthread_kill_internal (signo=6,
> threadid=<optimized out>) at pthread_kill.c:78
>
> #2  0x00007ff79fe356a6 in __GI_raise (sig=sig@entry=6) at
> ../sysdeps/posix/raise.c:26
>
> #3  0x00007ff79fe1f865 in __GI_abort () at abort.c:100
>
> #4  0x0000557244c3d30a in os_exit (code=<optimized out>) at
> /usr/src/debug/vpp-21.06.0-5~g18265fb04_dirty.x86_64/src/vpp/vnet/main.c:477
>
> #5  <signal handler called>
>
> #6  vlib_next_frame_change_ownership (node_runtime=0x7ff53dd56500,
> node_runtime=0x7ff53dd56500, next_index=28, vm=0x7ff5269d83c0)
>
>     at
> /usr/src/debug/vpp-21.06.0-5~g18265fb04_dirty.x86_64/src/vlib/main.c:344
>
> #7  vlib_get_next_frame_internal (vm=vm@entry=0x7ff5269d83c0,
> node=node@entry=0x7ff53dd56500, next_index=next_index@entry=28,
> allocate_new_next_frame=allocate_new_next_frame@entry=0)
>
>     at
> /usr/src/debug/vpp-21.06.0-5~g18265fb04_dirty.x86_64/src/vlib/main.c:418
>
> #8  0x00007ff7a02816d0 in enqueue_one (tmp=0x7ff3ac254ec0, n_left=2,
> n_buffers=2, nexts=0x7ff3ac2553c0, buffers=0x7ff53e10f9d0, next_index=28,
> used_elt_bmp=0x7ff3ac254e80, node=0x7ff53dd56500,
>
>     vm=0x7ff5269d83c0) at
> /usr/src/debug/vpp-21.06.0-5~g18265fb04_dirty.x86_64/src/vlib/buffer_funcs.c:74
>
> #9  vlib_buffer_enqueue_to_next_fn_skx (vm=0x7ff5269d83c0, node=<optimized
> out>, buffers=<optimized out>, nexts=<optimized out>, count=<optimized out>)
>
>     at
> /usr/src/debug/vpp-21.06.0-5~g18265fb04_dirty.x86_64/src/vlib/buffer_funcs.c:165
>
> #10 0x00007ff51e7975c7 in ?? () from
> /usr/lib/vpp_plugins/an_ppe_vppctrl_plugin.so
>
>
>
> You’re doing something wrong in here. An invalid next node would be my
> guess.
>
>
>
> /neale
>
>
>
>
>
> #11 0x00007ff7a01c62c2 in dispatch_node (last_time_stamp=<optimized out>,
> frame=<optimized out>, dispatch_state=VLIB_NODE_STATE_POLLING,
> type=VLIB_NODE_TYPE_INTERNAL, node=0x7ff53dd56500,
>
>     vm=0x7ff5269d83c0) at
> /usr/src/debug/vpp-21.06.0-5~g18265fb04_dirty.x86_64/src/vlib/main.c:1074
>
> #12 dispatch_pending_node (vm=vm@entry=0x7ff5269d83c0,
> pending_frame_index=pending_frame_index@entry=4,
> last_time_stamp=<optimized out>)
>
>     at
> /usr/src/debug/vpp-21.06.0-5~g18265fb04_dirty.x86_64/src/vlib/main.c:1252
>
> #13 0x00007ff7a01c79c7 in vlib_main_or_worker_loop (is_main=0,
> vm=0x7ff5269d83c0) at
> /usr/src/debug/vpp-21.06.0-5~g18265fb04_dirty.x86_64/src/vlib/main.c:1841
>
> #14 vlib_worker_loop (vm=0x7ff5269d83c0) at
> /usr/src/debug/vpp-21.06.0-5~g18265fb04_dirty.x86_64/src/vlib/main.c:1975
>
> #15 0x00007ff7a013c68c in clib_calljmp () at
> /usr/src/debug/vpp-21.06.0-5~g18265fb04_dirty.x86_64/src/vppinfra/longjmp.S:123
>
> #16 0x00007ff3a7ffec80 in ?? ()
>
> #17 0x00007ff51b2af1f2 in eal_thread_loop.cold () from
> /usr/lib/vpp_plugins/dpdk_plugin.so
>
> #18 0x0000000000000000 in ?? ()
>
> (gdb) fr 10
>
> #10 0x00007ff51e7975c7 in ?? () from
> /usr/lib/vpp_plugins/an_ppe_vppctrl_plugin.so
>
> (gdb) info args
>
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21734): https://lists.fd.io/g/vpp-dev/message/21734
Mute This Topic: https://lists.fd.io/mt/92641507/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to