From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) by dpdk.org (Postfix) with ESMTP id E96B038EB for ; Fri, 5 Sep 2014 05:13:11 +0200 (CEST) Received: by mail-oa0-f51.google.com with SMTP id n16so8056827oag.38 for ; Thu, 04 Sep 2014 20:17:55 -0700 (PDT) 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:date :message-id:subject:from:to:cc:content-type; bh=5RhvcHNH5ri02Y1ywYn2jietJjP769WEr0TtqPDPRGQ=; b=DTdS6gGBeeMnsZlbXfFxHscdHxuoKmerVcYjQ7I91j23QioiAkXBWOkzIBvkEJb4Nd EJE4AUaygQDVKgqMRZwswSvZprnkbC0rNNexdtWKiifTyzXAfoVCoYfZtM32UndYY7vP eghCEiy7zvNNCIwEh5LO/22CCMJoovWjm5gHM+C5NnviNj5JVVfKyi44JALI0iGcipPD /RHRxUfP79ahThYDmS+ZB4qK/IOUqulV+M028iKk8o5CiuhXMdOSjBo6OblBdGVk4LpB eMjqADFuUVB2mmFBcmcw2F92wB5r1GnI8nI21aaXW51/mNVQ4CHhCxWabweWIFXhChQ6 +CqQ== X-Gm-Message-State: ALoCoQl8Kl+UsQlFoDB24HaNcZ2THhwADyD0fuUIU8Yu+Ek4rtlziCSUwX6YbkDYLEZ4KTiHk0Ib MIME-Version: 1.0 X-Received: by 10.182.3.100 with SMTP id b4mr10044232obb.79.1409887075048; Thu, 04 Sep 2014 20:17:55 -0700 (PDT) Received: by 10.182.3.234 with HTTP; Thu, 4 Sep 2014 20:17:54 -0700 (PDT) In-Reply-To: <0FCB215400789046A95ECE23C3E46C515F958EDB@szxema505-mbx.china.huawei.com> References: <0FCB215400789046A95ECE23C3E46C515F958EDB@szxema505-mbx.china.huawei.com> Date: Fri, 5 Sep 2014 12:17:54 +0900 Message-ID: From: Masaru Oki To: "Zhangkun (K)" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Are there considerations about resource recycling by the process, not by the OS? 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: Fri, 05 Sep 2014 03:13:12 -0000 Hi, you may try $ gdb your_program gdb> b rte_panic gdb> run stopped at rte_panic gdb> bt sorry, it is not answer for your question. by the way, do you run the program as root? 2014-09-05 12:07 GMT+09:00 Zhangkun (K) : > Hi, > I develop the program with the use of dpdk and the process is core dump > when the program is started. > The process is crash in case of initing memory failed and calling > rte_panic function. > I search all rte_panic function in the dpdk, and find it so many. > Therefore, in case the pr ocess happen fail, > it will abort. The resource allocated before is not released by the > process, but by the OS system. > So I have a question: Are there considerations about resource recycling by > the process, not by the OS ? >