[SPDK] Re: SPDK v19.10/DPDK v19.05.0 eal_adjust_config issue, Illegal instruction causing application to abort

Harris, James R <james.r.harris at intel.com>
Newsgroups dev.linux.lists.spdk
Message-ID <[email protected]>
That's interesting, but it doesn't make sense to me.  DPDK #defines RTE_CPU_AND directly to CPU_AND on Linux, and CPU_AND is provided by system sched.h.  Are you able to get the exact instruction that this crashes on via gdb?  Not just the instruction, but also the values of whatever registers used by that instruction.  Your original e-mail indicated "illegal operand" in the log, so that's a little bit of clue.

-Jim


On 4/23/20, 10:56 AM, "asprasannavenkatesh(a)gmail.com" <asprasannavenkatesh(a)gmail.com> wrote:

    Hi Jim,

    Thanks will try out your suggestions. 

    Before that, I wanted to update you, on the only time I was able to hit this issue without the -g option, it was crashing in the following macro inside the compute_ctrl_threads_cpuset line 1466.

    (eal_adjust_config -> compute_ctrl_threads_cpuset) 
    In compute_ctrl_threads_cpuset , line 1466
    1466         RTE_CPU_AND(cpuset, cpuset, &default_set);

        @ 00007f800a86c38f (unknown)
        @ 00007f800bc0e3dd eal_adjust_config
                           <wokspace>/dpdk/dpdk-src/lib/librte_eal/common/eal_common_options.c:1466
        @ 00007f800bbf4f15 rte_eal_init
                           <wokspace>/dpdk/dpdk-src/lib/librte_eal/linux/eal/eal.c:846
        @ 00007f800bbd52b6 spdk_env_init
                           <wokspace>/spdk/spdk-src/lib/env_dpdk/init.c:456
    _______________________________________________
    SPDK mailing list -- spdk(a)lists.01.org
    To unsubscribe send an email to spdk-leave(a)lists.01.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.