* [Bug 1073] The `rte_mempool_ops_table` is process unsafe
@ 2022-09-01 11:30 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2022-09-01 11:30 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=1073
Bug ID: 1073
Summary: The `rte_mempool_ops_table` is process unsafe
Product: DPDK
Version: 19.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: dev@dpdk.org
Reporter: wdy_s@foxmail.com
Target Milestone: ---
Created attachment 219
--> https://bugs.dpdk.org/attachment.cgi?id=219&action=edit
GDB print value corresponding to the table(rte_mempool_ops_table)(myapp and
dpdk-pdump)
The `rte_mempool_ops_table` is process unsafe!
When a process is started, the table (rte_mempool_ops_table) will be
initialized with a macro (rte_mempool.h:MEMPOOL_REGISTER_OPS). However,
different process initialization will cause inconsistent index values
(ops_index) (such as myapp and dpdk pdump). After the initialization memory
pool is created in the dpdk pdump process, mp->ops_index = 0, mp->ops_index=2
in myapp。 Different processes using the shared memory pool will be coredump
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-01 11:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-01 11:30 [Bug 1073] The `rte_mempool_ops_table` is process unsafe bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).