Skip to contentSkip to conversation

apps segfault at startup in debug mode

Bug 1167 [email protected] 1 participant 4 messages Feb 26, 2023 – Mar 1, 2023

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 1167
           Summary: apps segfault at startup in debug mode
           Product: DPDK
           Version: 23.03
          Hardware: POWER
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: eventdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

$ meson --werror --buildtype=debug build && ninja -C build
$ ./build/app/dpdk-testpmd -n 4 -a 0000:00:08.0 -- -i
Segmentation fault

#0 0x00000001004219a4 in rte_eth_trace_tx_hairpin_queue_setup (port_id=40784, tx_queue_id=41280,

    nb_tx_desc=6460, conf=0x1100c, ret=-139457008) at
../lib/ethdev/ethdev_trace.h:259
#1  0x00000001004e5228 in __rte_trace_point_register (
    handle=0x100f66648 <__rte_eth_trace_tx_hairpin_queue_setup>,
    name=0x100dfa140 <__rte_eth_trace_tx_hairpin_queue_setup_name>
"lib.ethdev.tx_hairpin_queue_setup",
    register_fn=0x10042193c <rte_eth_trace_tx_hairpin_queue_setup>) at

../lib/eal/common/eal_common_trace.c:477
#2 0x000000010042f778 in rte_eth_trace_tx_hairpin_queue_setup_init () at ../lib/ethdev/ethdev_trace_points.c:136
#3 0x0000000100d8d23c in __libc_csu_init ()
#4 0x00007ffff78f80dc in generic_start_main (main=0x10012f6cc <main>, argc=<optimized out>, argv=0x7ffffffff4f8,

    auxvec=0x7ffffffff5d8, init=0x100d8d1b0 <__libc_csu_init>,
rtld_fini=<optimized out>,
    stack_end=<optimized out>, fini=<optimized out>) at ../csu/libc-start.c:264

#5 0x00007ffff78f8324 in __libc_start_main (argc=<optimized out>, argv=<optimized out>, ev=<optimized out>,
auxvec=<optimized out>, rtld_fini=<optimized out>, stinfo=<optimized out>,
stack_on_entry=<optimized out>)
at ../sysdeps/unix/sysv/linux/powerpc/libc-start.c:98
#6 0x0000000000000000 in ?? ()

Architecture: ppc64le
Hypervisor vendor: KVM
CPU: POWER9 (architected), altivec supported, 2.2 (pvr 004e 1202)
OS: Ubuntu 20.04
Kernel: 5.4.0-26-generic
Device: Nvidia ConnectX-6 Dx

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

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

Ferruh YIGIT ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Ferruh YIGIT ([email protected]) --- Duplicate of 1162.

Issue seems not really related to the PPC architecture, but reproduced there.

*** This bug has been marked as a duplicate of bug 1162 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw
In reply to [email protected]

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

Ferruh YIGIT ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

     Ever confirmed|0                           |1
         Resolution|DUPLICATE                   |---
             Status|RESOLVED                    |CONFIRMED

--- Comment #3 from Ferruh YIGIT ([email protected]) --- Not same issue with 1162

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw
In reply to [email protected]

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

Ali Alnubani ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|IN_PROGRESS                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Ali Alnubani ([email protected]) --- (In reply to Ferruh YIGIT from comment #7)

Quoted 2 lines

Patch is merged to main repo. @Ali, if you can verify it in the main repo, we can close the defect.

Issue no longer reproduces in latest main (4ef69b2877). Thanks.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.