Did you installed vpp from packages? If so, you'll need the vpp-dbg package.

Best
ben

> -----Original Message-----
> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Venkataraju,
> Raghu via lists.fd.io
> Sent: Monday, November 28, 2022 14:03
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] VPP - 'No debugging symbols found in /usr/lib/vpp
> plugins/dpdk plugin.so'
> 
> Hi,
> 
> 
> In FDIO vpp 21.01, while testing TCP traffic observing a seg fault
> resulting in vpp abort. Generated the core dump and ran gdb on it.
> bt was pointing to 'dpdk_plugin' in vpp
> 
> $ gdb vpp <core_dump>
> 
> warning: Unable to find matching inferior's thread library, thread
> debugging will not be available.
> Core was generated by `vpp -c /etc/vpp/startup.conf'.
> Program terminated with signal SIGABRT, Aborted.#0  0x0000007faf663280 in
> raise () from /lib/libc.so.6
> [Current thread is 1 (LWP 383)]
> 
> 
> (gdb) bt
> #0  0x0000007faf663280 in raise () from /lib/libc.so.6
> #1  0x0000007faf652dcc in abort () from /lib/libc.so.6
> #2  0x0000005573b84124 in os_exit ()
> #3  0x0000007faf8b7ed0 in ?? () from /usr/lib/libvlib.so.21.01.1
> #4  <signal handler called>
> #5  0x0000007faf663280 in raise () from /lib/libc.so.6
> #6  0x0000007faf652dcc in abort () from /lib/libc.so.6
> #7  0x0000007fa97df8b4 in __rte_panic ()   from
> /usr/lib/vpp_plugins/dpdk_plugin.so
> #8  0x0000007fa9960b58 in ?? () from /usr/lib/vpp_plugins/dpdk_plugin.so
> #9  0x0000007fa99599b8 in ?? () from /usr/lib/vpp_plugins/dpdk_plugin.so
> #10 0x0000007fa99463f4 in ?? () from /usr/lib/vpp_plugins/dpdk_plugin.so
> #11 0x0000007faf7e4224 in ?? () from /lib/libpthread.so.0
> #12 0x0000007faf6e5d1c in ?? () from /lib/libc.so.6
> 
> (gdb) file /usr/lib/vpp_plugins/dpdk_plugin.so
> warning: core file may not match specified executable file.
> Reading symbols from /usr/lib/vpp_plugins/dpdk_plugin.so...(No debugging
> symbols found in /usr/lib/vpp_plugins/dpdk_plugin.so)
> warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by
> your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
> warning: Unable to find libthread_db matching inferior's thread library,
> thread debugging will not be available.
> 
> 
> From bt, function name not displayed for dpdk_plugin because of 'No
> debugging symbols found in /usr/lib/vpp_plugins/dpdk_plugin.so'
> We had built the dpdk_plugin in debug mode with -g option. But still we
> are getting above warning.
> 
> In FDIO vpp 21.01 version, can dpdk_plugin be built with debug symbols ?
> Any flag or additional code changes needed ?
> 
> 
> 
> Can you please help on this regard.
> 
> Regards,
> Raghu
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient, you
> are not authorized to read, print, retain, copy, disseminate, distribute,
> or use this message or any part thereof. If you receive this message in
> error, please notify the sender immediately and delete all copies of this
> message.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22247): https://lists.fd.io/g/vpp-dev/message/22247
Mute This Topic: https://lists.fd.io/mt/95309032/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