From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9D08DA051F for ; Wed, 10 Jun 2020 18:28:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 462671BFB5; Wed, 10 Jun 2020 18:28:20 +0200 (CEST) Received: from mail-il1-f193.google.com (mail-il1-f193.google.com [209.85.166.193]) by dpdk.org (Postfix) with ESMTP id 5FFEA1BFB3 for ; Wed, 10 Jun 2020 18:28:19 +0200 (CEST) Received: by mail-il1-f193.google.com with SMTP id a13so2518468ilh.3 for ; Wed, 10 Jun 2020 09:28:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=S57LEQatnktl0GM+TO0N+BwCGmYEluue8/+PljPkKMY=; b=tQc0r2Cs+mvaqpDGpFUsUQVEB1BAh/GaZ7fOeWG0/aUaxE1pSc3oe7AOo4SgJ9bRk+ XWC+vrWrV0WOB36aw/bBdsOM4aDSu2VWxPafttXxrZ8r4fCP2D+yM+MRCp7fXXAzpg+x 0mAsXuuYWvCi5Go5jbdt4iZdCLfmAt3q/JaU5O2gg1A0UHUTiKxZkWccfLdLBP1wx4oj PrzYcxF/ISfF5xKr0BvzdeFL4nMVaI0XVabx/VfUaUW2Fby1mJFWFfeW3R+icPAc8vrF eSzETpgYMVXnpr6cefcN30BoqrI/U/cUOxb0nodasXnQxFAyzgu/MChA+zP/i4/otTT8 2akg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=S57LEQatnktl0GM+TO0N+BwCGmYEluue8/+PljPkKMY=; b=eAtBa10Y9dVq+b3GmzWCJmT1hz217/9HoeGxhfalnOSLMmpRL3NI1rm3hUoSa6j6Qi hpte3S6/3KNgykpMYam77XiaeWbASx3di5TfO+UD3Ltl/IqHO0FwaPDCZ4+PBzbFCk6Y QsyuVVKi383zuy/RfDxS9byZLCmXDCji+7+lRXv6pGlpPPt4CIndyG7p3yQaiIAratL2 gYPAVH/GmeGs+QaX1UoyrTpZBFz9MXUdMeMcHe/BGhdCPH/5SeANOCPvsJuRFUKykKSJ hRXUVnKbd3yXNzysLV+pRqcvFT8Lpg7h8cbNyp+BXmaCFJJ61TBb9oGLkSOYdWXNYmws T4Lw== X-Gm-Message-State: AOAM530q+2weWEXTuVLvc+2BbM8q1aAhx7ucmyWKTGuGTITOqo6OPKd/ Qy/T8yiqxuUOKlXdRs7lGmZA28+T+UNzhgJyy/C7PQc4 X-Google-Smtp-Source: ABdhPJxevqlDfcyF56bXG432gBXjzPT9EmKYr19b+Np975fZ57YZrDIHJG0uV4lc9EYvZZcdhXdMBMlarlzP8sglU0k= X-Received: by 2002:a05:6e02:49:: with SMTP id i9mr3848764ilr.236.1591806498257; Wed, 10 Jun 2020 09:28:18 -0700 (PDT) MIME-Version: 1.0 From: David Aldrich Date: Wed, 10 Jun 2020 17:28:07 +0100 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Segmentation fault in rte_eth_devices() X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, I am building an app based on dpdk-stable-18.11.8. I am seeing a segmentation fault in my call to rte_eth_rx_burst(). I ran gdb on the core dump and I see: #0 0x0000000000f65680 in rte_eth_devices () #1 0x000000000048a03a in rte_eth_rx_burst (nb_pkts=7, rx_pkts=0x7fab40620480, queue_id=0, port_id=) at /opt/dpdk/dpdk-18.08/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:3825 #2 Socket_poll (ucRxPortId=, ucRxQueId=ucRxQueId@entry=0 '\000', uiMaxNumOfRxFrm=uiMaxNumOfRxFrm@entry=7, pISocketListener=pISocketListener@entry=0xf635d0 ) at /data//SocketClass.c:2188 #3 0x000000000048b941 in FH_perform (args_ptr=) at /data//FrontHaul.c:281 #4 0x00000000005788e4 in eal_thread_loop () #5 0x00007fab419fae65 in start_thread () from /lib64/libpthread.so.0 #6 0x00007fab4172388d in clone () from /lib64/libc.so.6 So it seems that rte_eth_rx_burst() calls rte_eth_devices () and that function crashes, presumably because of an illegal memory access. Please can anyone suggest a way of debugging this further to determine the cause?