public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Dong, Eric" <eric.dong@intel.com>
To: Nikolay Bodunov <nikolay.bodunov@gmail.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
	"Jarlstrom, Laurie" <laurie.jarlstrom@intel.com>
Subject: Re: HII UEFI driver from Intel's lab training crashes
Date: Wed, 15 Mar 2017 02:19:28 +0000	[thread overview]
Message-ID: <ED077930C258884BBCB450DB737E66224A8FF7F5@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <CANqPu1+pwG1KBc6hT=meX967FTHHzYAC9PFAo4ft16o753SXLQ@mail.gmail.com>

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 Nikolay 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 Nt32Pkg, 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 != ((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 command 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 installed 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 settings, because I saw training video on youtube where all were worked good on Laurie's PC.

--
With best regards,
Nikolay Bodunov
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


      reply	other threads:[~2017-03-15  2:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-14 16:55 HII UEFI driver from Intel's lab training crashes Nikolay Bodunov
2017-03-15  2:19 ` Dong, Eric [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ED077930C258884BBCB450DB737E66224A8FF7F5@shsmsx102.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox