From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 3D2B836E; Thu, 23 Feb 2017 07:25:02 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Feb 2017 22:25:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,197,1484035200"; d="scan'208";a="68051238" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by orsmga005.jf.intel.com with ESMTP; 22 Feb 2017 22:25:00 -0800 Date: Thu, 23 Feb 2017 14:27:14 +0800 From: Yuanhan Liu To: mitali Cc: Priyanka , "users@dpdk.org" , "dev@dpdk.org" Message-ID: <20170223062714.GX18844@yliu-dev.sh.intel.com> References: <58AAC534.7000004@cse.iitb.ac.in> <20170222084323.GP18844@yliu-dev.sh.intel.com> <92b5577b-8c8a-e199-3b65-54323dbea48c@cse.iitb.ac.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <92b5577b-8c8a-e199-3b65-54323dbea48c@cse.iitb.ac.in> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] seg fault in InterVM communication using virtio 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: , X-List-Received-Date: Thu, 23 Feb 2017 06:25:03 -0000 On Wed, Feb 22, 2017 at 02:25:29PM +0530, mitali wrote: > Hi Yuanhan, > > We are using virt-manager to start the VMs. We are attaching the image which > shows the vNIC setup for the VMs. > > We have written our own dpdk application to send and receive UDP packets. The > command we are using is > > ./build/app/dpdkapi -c 1 -- -p 1 where dpdkapi is our application. > > Inside the application we are sending and receiving packets from vNIC using > rte_eth_tx_burst() and rte_eth_rx_burst(). > > At the sender side after 127 packets the application stops and we observe a seg > fault in dmesg. Using the print statements we observed that it faults in > rte_eth_tx_burst(). All the 127 were received at the receiving VM. Would you recompile dpdk with debug info enaled, which could be done by: make ... EXTRA_CFLAGS='-g3 -O0' And run it with gdb then dump the call stack? --yliu