<html>
<head>
<base href="https://bugs.dpdk.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - segfault while running dpdk app test ( event_crypto_adapter_autotest )"
href="https://bugs.dpdk.org/show_bug.cgi?id=1447">1447</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>segfault while running dpdk app test ( event_crypto_adapter_autotest )
</td>
</tr>
<tr>
<th>Product</th>
<td>DPDK
</td>
</tr>
<tr>
<th>Version</th>
<td>22.11
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dev@dpdk.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>partha.sarkar@intel.com
</td>
</tr>
<tr>
<th>Target Milestone</th>
<td>---
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<pre class="bz_comment_text">Hi,
While running "event_crypto_adapter_autotest" the crash is observed when below
sriov configuration are done on the board. But if sriov configuration are not
done then crash is not observed for the crypto autotest.
modprobe vfio-pci
#Get pci-bdf for qat device
CPMDEV=$(lspci | grep "578a" | cut -f1 -d
echo $CPMDEV
echo "/sys/bus/pci/devices/0000:${CPMDEV}:00.0/sriov_numvfs"
echo "Before update, sriov_numvfs = \c"
cat /sys/bus/pci/devices/0000:${CPMDEV}:00.0/sriov_numvfs;
echo 10 > /sys/bus/pci/devices/0000:${CPMDEV}:00.0/sriov_numvfs
echo "After update, sriov_numvfs = \c"
cat /sys/bus/pci/devices/0000:${CPMDEV}:00.0/sriov_numvfs;
lsmod
if [ ! -z ${RDK_INSTALL+x} ]; then
cd $RDK_INSTALL/dpdk/usertools
else
cd $RTE_SDK/usertools
fi
${RTE_SDK}/usertools/dpdk-devbind.py -b vfio-pci ${CPMDEV}:00.1 ${CPMDEV}:00.2
${CPMDEV}:00.3 ${CPMDEV}:00.4 ${CPMDEV}:00.5 ${CPMDEV}:00.6 ${CPMDEV}:00.7
${CPMDEV}:01.0 ${CPMDEV}:01.1 ${CPMDEV}:01.2
The full gdb backtrace:
(gdb) n
Single stepping until exit from function unit_test_suite_runner,
which has no line number information.
+ TestCase [ 3] : test_crypto_adapter_runtime_params succeeded
Thread 4 "rte-worker-1" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff0765640 (LWP 2037)]
0x00007ffff6cad4c1 in eca_service_func ()
from
/workspace/sw/swreleases/grr_builds/post-merge-install/main/rdk_i3c_56_2024_03_05/rdk_f623443/dpdk/x86_64-native-linuxapp-gcc/lib/librte_eventdev.so.23
(gdb) bt -full
#0 0x00007ffff6cad4c1 in eca_service_func ()
from
/workspace/sw/swreleases/grr_builds/post-merge-install/main/rdk_i3c_56_2024_03_05/rdk_f623443/dpdk/x86_64-native-linuxapp-gcc/lib/librte_eventdev.so.23
No symbol table info available.
#1 0x00007ffff7ee6bb3 in service_runner_func ()
from
/workspace/sw/swreleases/grr_builds/post-merge-install/main/rdk_i3c_56_2024_03_05/rdk_f623443/dpdk/x86_64-native-linuxapp-gcc/lib/librte_eal.so.23
No symbol table info available.
#2 0x00007ffff7ecb780 in eal_thread_loop.cold ()
from
/workspace/sw/swreleases/grr_builds/post-merge-install/main/rdk_i3c_56_2024_03_05/rdk_f623443/dpdk/x86_64-native-linuxapp-gcc/lib/librte_eal.so.23
No symbol table info available.
#3 0x00007ffff38583c9 in start_thread (arg=0x7ffff0765640) at
pthread_create.c:481
ret = <optimized out>
pd = 0x7ffff0765640
unwind_buf = {cancel_jmp_buf = {{jmp_buf =
{140737227675200, -2731498837051200553, 140737488338894,
140737488338895, 0, 140737227675200, 2731473494489148375, 2731471986132364247}
, mask_was_saved = 0}},
priv = {pad =
{0x0, 0x0, 0x0, 0x0}
, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#4 0x00000030002fc863 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.
Execution Steps:
$RDK_INSTALL/dpdk/x86_64-native-linuxapp-gcc/bin/dpdk-test --log-level 6
RTE>>event_crypto_adapter_autotest
</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1447">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>