From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id F00ADA05D3 for ; Wed, 24 Apr 2019 16:38:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 557A71B529; Wed, 24 Apr 2019 16:38:48 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 105201B40F for ; Wed, 24 Apr 2019 16:38:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2019 07:38:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,390,1549958400"; d="scan'208";a="138432370" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga006.jf.intel.com with ESMTP; 24 Apr 2019 07:38:44 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 24 Apr 2019 07:38:44 -0700 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.26]) by fmsmsx116.amr.corp.intel.com ([169.254.2.190]) with mapi id 14.03.0415.000; Wed, 24 Apr 2019 07:38:44 -0700 From: "Wiles, Keith" To: =?utf-8?B?5pu+5oe35oGp?= CC: Stephen Hemminger , "users@dpdk.org" Thread-Topic: [dpdk-users] segmentation fault after using rte_malloc() Thread-Index: AQHU9kzR3X3b+IXxAUykg+o/uxvgrqZDQKAAgAAI3ICAAjlKzYACs1CAgABrygCAAdxfAIABXNCAgAAEgwA= Date: Wed, 24 Apr 2019 14:38:43 +0000 Message-ID: <3B412398-9E6F-45E3-8604-145CA96A27CC@intel.com> References: <5BDADE86-3D04-4BE5-AC95-03BE123ED42B@csie.io> <20190418195944.04c4cec5@hermes.lan> <774EEFED-F56A-426E-93FA-92BF9584DD4E@csie.io> <49831062-D811-42F2-A92C-AD8962039E7B@csie.io> <7C65E563-6C35-4F09-A449-B7BD110AA57E@csie.io> In-Reply-To: <7C65E563-6C35-4F09-A449-B7BD110AA57E@csie.io> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.32.64] Content-Type: text/plain; charset="utf-8" Content-ID: <154ADA942741DE4380B397C96379CF99@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-users] segmentation fault after using rte_malloc() 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" DQoNCj4gT24gQXByIDI0LCAyMDE5LCBhdCA5OjIyIEFNLCDmm77mh7fmgakgPHRoZUBjc2llLmlv PiB3cm90ZToNCj4gDQo+IEhpIEtlaXRoLA0KPiANCj4gSSBoYXZlIHRyaWVkIERQREsgMTkuMDUt cmMyLCAxOS4wMiwgMTguMTEgb24gVk13YXJlIGUxMDAwIGRyaXZlciwgRGVsbCBSNjMwIHdpdGgg TWVsbGFub3ggQ29ubmVjdHgtMyBhbmQgSW50ZWwgWDUyMA0KPiANCj4gSG93ZXZlciBJIHN0aWxs IGdvdCBzZWdtZW50YXRpb24gZmF1bHQgd2l0aCBhbGwgYWJvdmUgc2V0dGluZw0KDQpTbyB5b3Ug YXJlIHVzaW5nIHRoZSBzaW1wbGUgZXhhbXBsZSBhbmQgeW91IGdldCBhIGludmFsaWQgcnRlX21h bGxvYyBtZW1vcnk/DQoNCkkgZG8gbm90IGtub3cgaG93IHRvIGRlYnVnIHRoaXMgcHJvYmxlbSBh cyBpdCBzb3VuZHMgbGlrZSBhIHJhY2UgY29uZGl0aW9uIG9yIG1lbW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