Skip to content

uefi-sct/SctPkg: Memory Allocation Failure on EDK2 stable202411 #236

@r1chard-lyu

Description

@r1chard-lyu

While executing the UEFI SCT test (sct.efi) on the edk2-stable202411, the system encounters a memory allocation failure, preventing the sct application from starting properly. This issue results in an assertion failure in Pool.c at line 721, interrupting the test execution.

FSOpen: Open '\X64\sct.EFI' Success
[Security] 3rd party image[0] can be loaded after EndOfDxe: PciRoot(0x0)/Pci(0x1,0x1)/Ata(Primary,Master,0x0)/HD(1,MBR,0xBE1AFDFA,0x3F,0xFBFC1)/\X64\sct.EFI.
None of Tcg2Protocol/CcMeasurementProtocol is installed.
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 61E1040
Loading driver at 0x000060AE000 EntryPoint=0x000060CB81F SCT.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 6219998
ProtectUefiImageCommon - 0x61E1040
  - 0x00000000060AE000 - 0x0000000000036A00
InstallProtocolInterface: 752F3136-4E16-4FDC-A22A-E5F46812F4CA 7E7E428
AllocatePoolPages: failed to allocate 64765 pages
AllocatePool: failed to allocate 265275784 bytes
ASSERT Pool.c(721): Head->Signature == ((('p') | ('h' << 8)) | ((('d') | ('0' << 8)) << 16)) || Head->Signature == ((('p') | ('h' << 8)) | ((('d') | ('1' << 8)) << 16))    

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions