From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by dpdk.org (Postfix) with ESMTP id B6D57159 for ; Sun, 6 Apr 2014 18:21:36 +0200 (CEST) Received: by mail-wi0-f170.google.com with SMTP id bs8so5014475wib.1 for ; Sun, 06 Apr 2014 09:23:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=jCGLnoSrNRdYDPdeVQO6Ka06t7g6FHsOQpxtgtehZFo=; b=W3eODJsWHZwNNqVYHx6RcyNoSJpFqcQW02Lwu2wHeiTUcqyCJGXUDhTFOzk8jpRBXs ZbpmWffUu7TkyJQr/23Ca00Nqgcim8b3On5PyNpZrYWaQ8mDZHCLIewhF/h4nu9ywp7A 0k0IMXkcz8fWHX3Qjvjg/f1lJnhQYGPCbHFaYSI5qvXD4NbN3iWC6/kjiOJZA+Kfr1fx jKlxktHkKs49r6P1KlajCvSm9bOjsRBvvYNWzkmLS2H4l4OdeZoCC6IaTgT4I+1OIeOs rNiX40s56/NmPCf/um+bURn1YLxBKUiqe3fprVzMxh/3wJdlYw+UbC5A7mFpdC/tFC11 Vb9g== MIME-Version: 1.0 X-Received: by 10.194.92.7 with SMTP id ci7mr36342148wjb.7.1396801392658; Sun, 06 Apr 2014 09:23:12 -0700 (PDT) Received: by 10.194.237.227 with HTTP; Sun, 6 Apr 2014 09:23:12 -0700 (PDT) Date: Sun, 6 Apr 2014 19:23:12 +0300 Message-ID: From: Meir Tseitlin To: dev@dpdk.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Still rte_pktmbuf_alloc problems X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2014 16:21:37 -0000 I am modifying l2fwd example to inject additional packets. I am successfully allocating mbufs with rte_pktmbuf_alloc, but weird problems started to occur (feels likes concurrency problems). I enabled DEBUGs in config file and now my application started crashing on: PANIC in rte_mbuf_sanity_check: bad ref cnt 11: [/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fdea828d3fd]] 10: [/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7fdea8560e9a]] 9: [./recorder(eal_thread_loop+0x175) [0x48c3a5]] 8: [./recorder() [0x411349]] 7: [./recorder() [0x4111ba]] 6: [./recorder(l2fwd_send_burst+0x55) [0x4131a5]] 5: [./recorder() [0x495f39]] 4: [./recorder() [0x4952e0]] 3: [./recorder(rte_mbuf_sanity_check+0xa7) [0x47ef07]] 2: [./recorder(__rte_panic+0xc9) [0x4104ca]] 1: [./recorder(rte_dump_stack+0x23) [0x48e703]] Aborted (core dumped) Maybe I am allocating mbufs from incorrect core? But which core should I use? (Other packets are allocated automatically by PMD) Thanks