From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 54E07803D5 for ; Tue, 14 Mar 2017 19:19:43 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP; 14 Mar 2017 19:19:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,166,1486454400"; d="scan'208";a="1108545330" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 14 Mar 2017 19:19:40 -0700 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 14 Mar 2017 19:19:40 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 14 Mar 2017 19:19:39 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0248.002; Wed, 15 Mar 2017 10:19:29 +0800 From: "Dong, Eric" To: Nikolay Bodunov , "edk2-devel@lists.01.org" , "Jarlstrom, Laurie" Thread-Topic: [edk2] HII UEFI driver from Intel's lab training crashes Thread-Index: AQHSnOPLNmGYhtMBPUOF6Nk+kGZAi6GVKlXQ Date: Wed, 15 Mar 2017 02:19:28 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: HII UEFI driver from Intel's lab training crashes X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2017 02:19:43 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Nikolay, This error raised because the input string for StrLen function is NULL. You can check your code to find where use the StrLen and maybe you can find= the result. Thanks, Eric -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Niko= lay Bodunov Sent: Wednesday, March 15, 2017 12:55 AM To: edk2-devel@lists.01.org; Jarlstrom, Laurie Subject: [edk2] HII UEFI driver from Intel's lab training crashes Hello I tried to repeat creating HII UEFI driver (well-known MyWizardDriver) in N= t32Pkg, as in Intel's July 2013 training lab 9, from Laurie Jarlstrom, but = after compilation and run under qemu-ovmf my driver craches. I cannot make = it work. Win7x64 platform. Messages that I got in command window: ASSERT!: [HiiDatabase] c:\fw\edk2\MdePkg\Library\BaseLib\String.c (172): String !=3D ((void *) 0) Failed to execute command .\SecMain [c:\fw\edk2\Build\NT32IA32\DEBUG_VS2010x86\IA32] What I tried (of course, I added [Components.IA32] in Nt32Pkg.dsc file): 1. Compile it under VS2010 and VS2015. Same results. 2. DEBUG and RELEASE versions. Same results. 3. Installed VS2010SP1. Same results (BTW, to avoid "Unresolved symbol" messages in build process all that required is to run build in VS2010 comma= nd window, not VS2010 64-bit command window). 4. My files created during the lab and files from the lab that were already= provided by Intel. Same results. 5. EDK II source tree included in the lab materials and latest version from= github. Same results. All .NET frameworks were removed from computer, then framework 4.0 was inst= alled again. Before that, I compiled and run same driver, without real actions with HII = (templates only fron DriverWizard, from previous lesson 8). All worked good= , before I started to work with newly created HII options. Could anyone help? I suppose it's typical error beause of some tools settin= gs, because I saw training video on youtube where all were worked good on L= aurie's PC. -- With best regards, Nikolay Bodunov _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel