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 2743BA32A2 for ; Thu, 24 Oct 2019 18:43:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5D3251EB91; Thu, 24 Oct 2019 18:43:11 +0200 (CEST) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) by dpdk.org (Postfix) with ESMTP id 1B4E81EB8E for ; Thu, 24 Oct 2019 18:43:10 +0200 (CEST) Received: by mail-lf1-f44.google.com with SMTP id g21so18587193lfh.4 for ; Thu, 24 Oct 2019 09:43:10 -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=M4crNYOCTDJP5XmCES79NwmSDVqUnwK67WAezDZrqtk=; b=JXDn8GkHrItwtUumGtlWK0LLIVmMWOwwqkbF82GF29F09qknvbL7HHRtU7u82yisUC HfmvcYwwCNyU+ycxzuPclCK5qhDh3Ucko9u4gNKkKZ+U2TUUxIg4hCy2NI7T+aLGhFUG Qm4TEa5v+A+cFG2z363821CuoE/F+cbKd9ZRqfwkfJL0MYm9YBALwjlvxAApdvFlNTTN TILc5hB1IKiGmTewW0fzwh2LkGHaDiOudkd8UA782dksAPkPqUlh9lvZgsVHqd45C4BS VeKM7YriOotJR3U9DkrzRDcEh/hvD4mYcWR9RVv9lI00IdZjQJ4oWEsBC5Oxq16gtEFq 13FQ== 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=M4crNYOCTDJP5XmCES79NwmSDVqUnwK67WAezDZrqtk=; b=bBL5sacQjEiB4zP8zKeCQB3j2VoW0DEB8ja+6HmMUsM7xiVlGDvy5HufJnPl91Urz/ 4vrPbUXw5JTRI3Gr/3WJJOXjETPi+ItozHZs4+hJt9rjIfamle/cUNOft9y53T2wcdEg pevZesqTW7YmQ/72bvUFphcy7k126GFkLVUkPCVNG+G5VLZhuluTbXnoiz7x6Yv2LR8X 5chELTfVC7x84CaWG/L55vh6UofKO7xpuR1PDOT8GvWeJEisTjcDKTPJ79ZNVTCb+agj wgZvX5IJyG3Z254jUyeGEJO5POn045OaoGiFaiK2bt4ZBd1ng8T+Db9otH12hPt44dkP A79A== X-Gm-Message-State: APjAAAWOQUf6PSgkfiV0XX42/ULEwswTWak9k+VpPphVP5kFWbctvMr3 ALtN155DaduaHBccnSAWHqbnZPcNauNRw/KhA6PjY6ocWQg= X-Google-Smtp-Source: APXvYqwNI8Ua0ZCkUqIKVRq5QDBcG1ZlDry+Vrq4fjZSAFDJLrbwt6VwPOwK/awH7bS7SGwz8xYsH8Q4DZqKg4bTRpY= X-Received: by 2002:a19:d7:: with SMTP id 206mr2609656lfa.22.1571935389101; Thu, 24 Oct 2019 09:43:09 -0700 (PDT) MIME-Version: 1.0 From: Ravi Kerur Date: Thu, 24 Oct 2019 09:42:55 -0700 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Debug crash in bucket_enqueue () X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DPDK team, I have a simple multi process setup with OVS/DPDK as primary and another process as secondary. OVS/DPDK sets up mempool and rings with MP/MC flags and secondary process attaches to it. I have used example/multi-process/simple_mp as an example. I have disabled 'ASLR' and made sure primary and secondary use distinct EAL lcores. test case is that for every 10/12 packets OVS/DPDK does rte_mempool_get() and rte_ring_enqueue() with information about the packets secondary process does rte_ring_dequeue() and rte_mempool_put() Couple of minutes into the test secondary process crashes with following baktrace. Any other system level settings need to be set or inputs on debugging bucket_enqueue? #0 0x0000555555734160 in bucket_enqueue () #1 0x00005555555edf06 in rte_mempool_ops_enqueue_bulk (mp=0x17fa9ac80, obj_table=0x17fac8210, n=16) at /home/rkerur/dpdk-stable-18.11.2//x86_64-native-linuxapp-gcc/include/rte_mempool.h:704 #2 0x00005555555f072a in __mempool_generic_put (cache=0x17fac8100, n=1, obj_table=0x7ffff4e09050, mp=0x17fa9ac80) at /home/rkerur/dpdk-stable-18.11.2//x86_64-native-linuxapp-gcc/include/rte_mempool.h:1249 #3 rte_mempool_generic_put (cache=0x17fac8100, n=1, obj_table=0x7ffff4e09050, mp=0x17fa9ac80) at /home/rkerur/dpdk-stable-18.11.2//x86_64-native-linuxapp-gcc/include/rte_mempool.h:1285 #4 rte_mempool_put_bulk (n=1, obj_table=0x7ffff4e09050, mp=0x17fa9ac80) at /home/rkerur/dpdk-stable-18.11.2//x86_64-native-linuxapp-gcc/include/rte_mempool.h:1308 #5 rte_mempool_put (obj=0x17f994300, mp=0x17fa9ac80) at /home/rkerur/dpdk-stable-18.11.2//x86_64-native-linuxapp-gcc/include/rte_mempool.h:1326 #6 lcore_recv (arg=0x7fffffffd5b3) at /home/rkerur/simple_mp_ovs/main.c:369 #7 0x00005555556df8f1 in eal_thread_loop () #8 0x00007ffff72086db in start_thread (arg=0x7ffff4e0b700) at pthread_create.c:463 #9 0x00007ffff6f3188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thanks, Ravi