[if gte mso 9]>
Subject: Re: [edk2] assertion "tmp != NULL" failed: file "sys\open.c", line 171
From: "Mcdaniel, Daryl" <firstname.lastname@example.org>
To: Tim Lewis <email@example.com>, "ritul guru (riguru)" <firstname.lastname@example.org>, Toto Lebolo <email@example.com>, "firstname.lastname@example.org" <email@example.com>
Date: 2013-07-03 07:10:10
I’m sure that it the requirement were added to the UEFI Shell specification it would soon appear in the code.
I don’t work on the UEFI Shell so I can’t say what may or may not happen in the future.
Technically, your suggestion is feasible. This is similar to what is planned for StdLib. All SFS protocol file systems are found, sorted by device path in the same way the UEFI Shell does it, and the CWD is set to the root of that file system.
"There’s a band called 1023MB. They haven’t had any gigs yet.”
Daryl – If the shell is launched from a device that has a mapping, could we set CWD to something other than nothing? For example, the location where startup.nsh is located?
This error is produced by the OLD EFI toolkit.
It results because the current working directory is not set. The ASSERT is triggered specifically because CWD does not contain a ‘:’.
Within either the EFI or UEFI shells, CWD is not set until after the first time one explicitly sets it. For example, the initial prompt from the Shell is “Shell> “. If you see this prompt, there is NO CWD. If you then switch to one of the mapped drives, say fs0, then CWD will be set for that volume. Example:
After the above sequence, the CWD will be the root, “\”, of volume “fs0”.
"I have always wished for my computer to be as easy to use as my telephone;
my wish has come true because I can no longer figure out how to use my telephone."
-- Bjarne Stoustrup
I have also seen this issue, when I was using open() function of libc in one of the efi application.
But I couldn’t find the reason behind this.
I am getting this error message in the shell when invoking the python interpreter or when launching the ftp command.
I don't know why I am getting this error message. I remember that Python was running fine few months ago.
I cannot find what is causing this error.
Does anybody experience this issue?
The error message: "assertion "tmp != NULL" failed: file "sys\open.c", line 171"
Thanks for the help.