From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1DFE8A04FA; Wed, 5 Feb 2020 20:54:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F08241C2E6; Wed, 5 Feb 2020 20:54:44 +0100 (CET) Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) by dpdk.org (Postfix) with ESMTP id AC70B1C2AD for ; Wed, 5 Feb 2020 20:54:43 +0100 (CET) Received: by mail-lj1-f195.google.com with SMTP id h23so3565760ljc.8 for ; Wed, 05 Feb 2020 11:54:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version; bh=qk+wjzOmPOtgQbtq8CNFO4s9YbG9wV6jIeNe49S5efQ=; b=rAWtU0TbqEcoEZ13tlo24VgSQylDdDrnWwAA6bbtRehTH9aX7kYMhmfz2i9EDrwKw6 SC8luOJTm3+pukZ8m5Xj9pZLxCzhdRhYDyGdkhGvZEk9zix9RjOcBy431bX+QoVjUlwf CsOI+/FOfLl+ho58qxhBimIJq6HwidYyBhstoL+CtbPX83M5hrppNotUUnSMzvWQshXj k1HuVPwmyKy9mWMm5wZOmCQ8H8xyWcIXW1msxpninVZR9eIP5NLhn1da+HcAPUmt2UZ4 14nYy51B/EsSW0bn9jF+y4CHjkxoFdFv2VCDPNg+8KS8REqxlxbZ9fG/H6C1d9IoShNw 8OJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version; bh=qk+wjzOmPOtgQbtq8CNFO4s9YbG9wV6jIeNe49S5efQ=; b=r0GzscSlZSgt6pUghFZ77TsLCXcRsARwcNm3kpqGh9bz38VG8/ZTB7J0HwS2RXVGv6 OsJzgONHOg54AnW1h08Q8nN660VqjUaiXmqFj+T7RHMaz1tHwKX5AcrjQTeQP+y3zwgf R52rwq6pYYmCyREfUSXGcJiCWiICf2YJv3RPbeg6hB5qpBKB8xkp3xyGIYeQYJmI2+vF K96q1JWkAviDGv7UtAUGQmUWB7xoE4CiOArd0yiekWS43JyT444w12thEdkYqVWToiqB nyp7dykghUwvFwHS8yZy7jsJ/XwZuhh+X+rSbfucWs3PV1BqbW2uqZe0pGQsUAH9Q7dk foBg== X-Gm-Message-State: APjAAAWDQfAd6Pp95syhaY+kmO5aSJxgUvUxS64V4R9fE8gP2p4Y2DAN ORFSX1bl27vJk6xd5ZdCPzs= X-Google-Smtp-Source: APXvYqwIV/4v43BZQfL9MqZktRq7y8OTxgfM47kelMPR8cNDPSVRQHb7G5trlENcMlvrmfGHgf5boA== X-Received: by 2002:a05:651c:111a:: with SMTP id d26mr21180162ljo.153.1580932483270; Wed, 05 Feb 2020 11:54:43 -0800 (PST) Received: from Sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id p9sm222368ljg.55.2020.02.05.11.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Feb 2020 11:54:42 -0800 (PST) Date: Wed, 5 Feb 2020 22:54:41 +0300 From: Dmitry Kozlyuk To: Pallavi Kadam Cc: dev@dpdk.org, thomas@monjalon.net, Harini.Ramakrishnan@microsoft.com, keith.wiles@intel.com, bruce.richardson@intel.com, david.marchand@redhat.com, jerinjacobk@gmail.com, ranjit.menon@intel.com, antara.ganesh.kolar@intel.com Message-ID: <20200205225441.3d833bae@Sovereign> In-Reply-To: <20200201000406.11060-10-pallavi.kadam@intel.com> References: <20200131000307.10608-1-pallavi.kadam@intel.com> <20200201000406.11060-1-pallavi.kadam@intel.com> <20200201000406.11060-10-pallavi.kadam@intel.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/S6c9FpYEsMX+UpHkeXBNveG" Subject: Re: [dpdk-dev] [PATCH v7 9/9] eal: add minimum viable code to support parsing 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" --MP_/S6c9FpYEsMX+UpHkeXBNveG Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Crashes at argument parsing, WinDbg log attached. -- Dmitry Kozlyuk --MP_/S6c9FpYEsMX+UpHkeXBNveG Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=windbg.txt Microsoft (R) Windows Debugger Version 10.0.18362.1 AMD64 Copyright (c) Microsoft Corporation. All rights reserved. CommandLine: build\native\clang\examples\dpdk-helloworld.exe -cf --log-level=eal:8 Symbol search path is: srv* Executable search path is: ModLoad: 00007ff6`76480000 00007ff6`7653d000 dpdk-helloworld.exe ModLoad: 00007ffb`4a720000 00007ffb`4a910000 ntdll.dll ModLoad: 00007ffb`49470000 00007ffb`49522000 C:\Windows\System32\KERNEL32.DLL ModLoad: 00007ffb`47800000 00007ffb`47aa3000 C:\Windows\System32\KERNELBASE.dll (143c.1ed8): Break instruction exception - code 80000003 (first chance) ntdll!LdrpDoDebuggerBreak+0x30: 00007ffb`4a7f11dc cc int 3 0:000> g Critical error detected c0000374 (143c.1ed8): Break instruction exception - code 80000003 (first chance) ntdll!RtlReportCriticalFailure+0x56: 00007ffb`4a8191f2 cc int 3 0:000> kb # RetAddr : Args to Child : Call Site 00 00007ffb`4a821622 : 00000000`00000000 00007ffb`4a8827f0 00000000`00000009 00000205`68c10000 : ntdll!RtlReportCriticalFailure+0x56 01 00007ffb`4a82192a : 00000000`00000009 00000205`68c10000 00000205`68c10000 00007ff6`7648a6b7 : ntdll!RtlpHeapHandleError+0x12 02 00007ffb`4a82a8e9 : 00000205`68c10000 ffffffff`ffffffff 00000001`00000000 00000003`00000002 : ntdll!RtlpHpHeapHandleError+0x7a 03 00007ffb`4a7607df : ffffffff`ffffffff ffffffff`ffffffff ffffffff`ffffffff ffffffff`ffffffff : ntdll!RtlpLogHeapFailure+0x45 04 00007ffb`4a75fc11 : ffffffff`ffffffff 00000205`68c10000 00000000`00000000 00000000`00000000 : ntdll!RtlpFreeHeapInternal+0x75f *** WARNING: Unable to verify checksum for dpdk-helloworld.exe 05 00007ff6`764df8ac : 00000205`68c16cf0 00000000`00000000 ffffffff`ffffffff ffffffff`ffffffff : ntdll!RtlFreeHeap+0x51 06 00007ff6`76493c97 : ffffffff`ffffffff ffffffff`00000000 ffffffff`ffffffff ffffffff`ffffffff : dpdk_helloworld!_free_base+0x1c [minkernel\crts\ucrt\src\appcrt\heap\free_base.cpp @ 105] 07 00007ff6`764944de : ffffffff`ffffffff ffffffff`ffffffff ffffffff`ffffffff ffffffff`ffffffff : dpdk_helloworld!getopt_internal+0x117 [Z:\lib\librte_eal\windows\eal\getopt.c @ 264] 08 00007ff6`76487efa : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : dpdk_helloworld!usual_getopt_long+0x5e [Z:\lib\librte_eal\windows\eal\getopt.c @ 448] 09 00007ff6`76487be4 : 00007ff6`76507110 00000000`00000022 00000000`00000004 00000000`00000200 : dpdk_helloworld!eal_parse_args+0x4a [Z:\lib\librte_eal\windows\eal\eal.c @ 148] 0a 00007ff6`76487493 : 02040800`000506e3 1f8bfbff`fffa3223 0000001d`76507790 00007ff6`7649bc61 : dpdk_helloworld!rte_eal_init+0x74 [Z:\lib\librte_eal\windows\eal\eal.c @ 237] 0b 00007ff6`7649b5fc : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : dpdk_helloworld!main+0x23 [Z:\examples\helloworld\main.c @ 33] 0c (Inline Function) : --------`-------- --------`-------- --------`-------- --------`-------- : dpdk_helloworld!invoke_main+0x22 [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 78] 0d 00007ffb`49487bd4 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : dpdk_helloworld!__scrt_common_main_seh+0x10c [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288] 0e 00007ffb`4a78ced1 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : KERNEL32!BaseThreadInitThunk+0x14 0f 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21 --MP_/S6c9FpYEsMX+UpHkeXBNveG--