public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Shell App hangs on exit
@ 2022-07-12 18:05 M.T.
  0 siblings, 0 replies; only message in thread
From: M.T. @ 2022-07-12 18:05 UTC (permalink / raw)
  To: edk2-devel-groups-io

[-- Attachment #1: Type: text/plain, Size: 827 bytes --]

Hello folks

I'm facing a bit of a weird issue here.
I'm working on a UEFI shell app, which, for some reason, hangs on exit, and
by that I mean when I'm returning the final status from ShellAppMain.
ie:
INTN EFIAPI ShellAppMain( IN UINTN Argc, IN CHAR16 **Argv)
{
EFI_STATUS status;
...
return status;
}

Looking through other examples, all other shell apps do exactly the same
thing, yet mine hangs every time without fail.

I suspect it might have something to do with memory that was not freed, but
that is just a suspicion for now as I had it exiting properly not that long
ago.

Question here is, how can I figure out what is going on?
Are there any code analysis tools I could try?
Normally I would use something like valgrind, but I am not sure
anything like it exists for UEFI shell.

Appreciate any help.
Thank you
xp

[-- Attachment #2: Type: text/html, Size: 1105 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-12 18:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-12 18:05 Shell App hangs on exit M.T.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox