DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1294] recieve sig 11 when call rte_ip_frag_table_create on primary forked process
@ 2023-09-25 12:23 bugzilla
  2023-09-25 15:13 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2023-09-25 12:23 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1631 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1294

            Bug ID: 1294
           Summary: recieve sig 11 when call rte_ip_frag_table_create on
                    primary forked process
           Product: DPDK
           Version: 21.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: 779198444@qq.com
  Target Milestone: ---

hi,my team is going do our own business in primary forked process, to make sure
business won't affect the primary, we may refork the business process many
times,
now there comes the problem:
when the first time fork the process ,it runs good, but, it recieved sig-11 on
call rte_ip_frag_table_create  after the second time fork. here is the
backtrace:
(gdb) bt
#0  0x00007fb913af4dc5 in malloc_elem_insert () from /lib/libdpdk.so
#1  0x00007fb913af5e97 in alloc_pages_on_heap () from /lib/libdpdk.so
#2  0x00007fb913af6154 in try_expand_heap () from /lib/libdpdk.so
#3  0x00007fb913af65a1 in alloc_more_mem_on_socket () from /lib/libdpdk.so
#4  0x00007fb913af6c9a in malloc_heap_alloc () from /lib/libdpdk.so
#5  0x00007fb913af84e3 in rte_malloc_socket () from /lib/libdpdk.so
#6  0x00007fb913af863f in rte_zmalloc_socket () from /lib/libdpdk.so
#7  0x00007fb913a4343f in rte_ip_frag_table_create () from /lib/libdpdk.so

does the primary do not allow malloc and free memery at forking process?
could you do me a favor? thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 3513 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bug 1294] recieve sig 11 when call rte_ip_frag_table_create on primary forked process
  2023-09-25 12:23 [Bug 1294] recieve sig 11 when call rte_ip_frag_table_create on primary forked process bugzilla
@ 2023-09-25 15:13 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2023-09-25 15:13 UTC (permalink / raw)
  To: bugzilla; +Cc: dev

On Mon, 25 Sep 2023 12:23:01 +0000
bugzilla@dpdk.org wrote:

> hi,my team is going do our own business in primary forked process, to make sure
> business won't affect the primary, we may refork the business process many
> times,

I don't think DPDK can realistically support multiple processes which all think
they are the primary process.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-25 15:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-25 12:23 [Bug 1294] recieve sig 11 when call rte_ip_frag_table_create on primary forked process bugzilla
2023-09-25 15:13 ` Stephen Hemminger

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).