From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by dpdk.org (Postfix) with ESMTP id E5CBF530F for ; Thu, 15 Sep 2016 23:19:12 +0200 (CEST) Received: by mail-oi0-f48.google.com with SMTP id m11so88367077oif.1 for ; Thu, 15 Sep 2016 14:19:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thezims-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lZ/Rif4zp4bJgTuCO0Q3wE3rR4uUGRT1+LSA9GbbHcg=; b=jhPhvo8/oJVUX7nQElIJXDvcF88uHmUXc0ejcMEqZSIRlPo48ysOgQ9stdrNVLGfry guyiW6NJ1JyMRdSi3isnJz/WlYswljyhnsIyGrZomMqSc9+P5N69QCQahQ1ieTnv4KLq LX/rlxLii5m3X+yV6V3xWwW8tVGTfxffl9REFqSZ39uElmPLeZf0e4YKsanPGL6DptE5 NEsE3AAsIvz1pkUJWnUFLU9Wd/ohCO4k+TktNSQXLX5x9fQ5UJk3sBD2hMxZB/jdF+SB cyiJ8pkPPLmsdxvKTvnqFwG1MH33vv/NRO+UmrYsOPj5TuiBhiqJu2VzncfyOtUrcAzZ /HzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lZ/Rif4zp4bJgTuCO0Q3wE3rR4uUGRT1+LSA9GbbHcg=; b=Z6Pr9nOUtnUUdVmHjt3eEzJ+cQ1RyNgYc4Ftg20+H8+NY7RVpqD0O3XqMEyDsNhUd0 7qskNWhGhRNOdggcGtly3AjWC8I58C3386g68DaVd1iDeZiDtaXpP0cXhclbRq7IVU2Q y69PHFUC6j3hCI/2B0oeyZdFFSdtz+dNcUSIZIuBCKf/3PrhlcIVMI4SElN2YE9Rzb4U lEY89hyAPnVV+b4BCYCbc80lyuX1PGH0RU/jg4FykkJ4eSqMFaXAek85zwbmrVcrqLlm IKB25Nkitw7VQSly20xKfh23YMiNjhQMEC9+b1kcxpxbD0E16TE2P4+QSlxF1C30ncjA E1Lg== X-Gm-Message-State: AE9vXwNhz67ZU6vFeT3L1KNSmY41VQx7LL3zuHCbxQW0OoIDKDSWefwzk2IKE3NKjEJizE0367HYmv0tesrgAHuk X-Received: by 10.157.51.43 with SMTP id f40mr8579761otc.13.1473974352028; Thu, 15 Sep 2016 14:19:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.95.196 with HTTP; Thu, 15 Sep 2016 14:18:41 -0700 (PDT) In-Reply-To: <65CBCC72-7E80-4A2D-BA95-E773304C329D@net.in.tum.de> References: <65CBCC72-7E80-4A2D-BA95-E773304C329D@net.in.tum.de> From: Rob Zimmerman Date: Thu, 15 Sep 2016 17:18:41 -0400 Message-ID: To: Paul Emmerich Cc: users@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Segfault in rte_ring_create X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2016 21:19:13 -0000 Paul, Forgive the ignorance, I don't see any reference to mp_hdlr_init_ops_mumble_mumble functions in the docs or examples. Is this an external dependency? Thanks, Rob On Thu, Sep 15, 2016 at 5:04 PM, Paul Emmerich wrote: > I've seen this when the mp_hdlr_init_ops_* functions were not called on > startup. > > Paul > > > Rob Zimmerman : > > > > Howdy everyone! > > > > > > Has anyone experienced a segfault in rte_ring_create which looks like t= he > > following bt? Surely, this must be something with my environment and no= t > my > > version of DPDK (16.07). > > > > (gdb) bt > > > > #0 ___vfprintf_chk (fp=3D0x0, flag=3D1, format=3D0x599b50 "RING: Canno= t > reserve > > memory for tailq\n", ap=3D0x7fff25c07990) at vfprintf_chk.c:29 > > > > #1 0x000000000046c9fc in rte_vlog () > > > > #2 0x0000000000424944 in rte_log () > > > > #3 0x00000000004606f0 in rte_ring_create () > > > > > > I checked my hugetables and everything looks like it should be OK (via > > dpdk-setup.sh) > > > > AnonHugePages: 8192 kB > > > > HugePages_Total: 512 > > > > HugePages_Free: 0 > > > > HugePages_Rsvd: 0 > > > > HugePages_Surp: 0 > > > > Hugepagesize: 2048 kB > > > > > > The call is made like so: > > > > struct rte_ring *pRing =3D rte_ring_create("TEST RING", 64, SOCKET_ID_A= NY, > 0); > > > > > > As a side note, I actually hit this when trying to create a hash > > (rte_hash_create) which ends up calling this under the hood. > > > > Many thanks! > > Chair of Network Architectures and Services > Department of Informatics > TU M=C3=BCnchen > Boltzmannstr. 3 > 85748 Garching bei M=C3=BCnchen, Germany > > > >