public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* EmulatorPkg segmentation fault on Linux.
@ 2020-10-27  5:33 Ali Shirvani
  2020-10-27 16:30 ` [edk2-devel] " Sean
  0 siblings, 1 reply; 3+ messages in thread
From: Ali Shirvani @ 2020-10-27  5:33 UTC (permalink / raw)
  To: devel


[-- Attachment #1.1: Type: text/plain, Size: 772 bytes --]

Hello,

I just compiled EmulatorPkg successfully, but when I tried to run it with
./Host command, I got following error:

>
> PeiInstallPeiMemory MemoryBegin 0x41000000, MemoryLength 0x4000000
> PROGRESS CODE: V03020003 I0
> Temp Stack : BaseAddress=0x40000000 Length=0x10000
> Temp Heap  : BaseAddress=0x40010000 Length=0x10000
> Total temporary memory:    131072 bytes.
>   temporary memory stack ever used:       65532 bytes.
>   temporary memory heap used for HobList: 3736 bytes.
>   temporary memory heap occupied by memory pages: 0 bytes.
> Old Stack size 65536, New stack size 131072
> Stack Hob: BaseAddress=0x41000000 Length=0x20000
> Heap Offset = 0x1010000 Stack Offset = 0x1010000
> Segmentation fault
>

The attached is the complete log of `./Host` command.

[-- Attachment #1.2: Type: text/html, Size: 1030 bytes --]

[-- Attachment #2: emulator_run.log --]
[-- Type: text/x-log, Size: 2972 bytes --]


EDK II UNIX Host Emulation Environment from http://www.tianocore.org/edk2/
  BootMode 0x00
  OS Emulator passing in 128 KB of temp RAM at 0x40000000 to SEC
  FD loaded from ../FV/FV_RECOVERY.fd at 0x102000000 contains SEC Core

0x102000400 Loading /home/ali/projects/test/edk2/Build/EmulatorX64/DEBUG_GCC5/X64/EmulatorPkg/Sec/Sec/DEBUG/EmuSec.dll with entry point 0x102001643
SEC Has Started
0x102002700 Loading /home/ali/projects/test/edk2/Build/EmulatorX64/DEBUG_GCC5/X64/MdeModulePkg/Core/Pei/PeiMain/DEBUG/PeiCore.dll with entry point 0x10200a83e
0x102013700 Loading /home/ali/projects/test/edk2/Build/EmulatorX64/DEBUG_GCC5/X64/MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei/DEBUG/ReportStatusCodeRouterPei.dll with entry point 0x1020143dd
0x102015080 Loading /home/ali/projects/test/edk2/Build/EmulatorX64/DEBUG_GCC5/X64/MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei/DEBUG/StatusCodeHandlerPei.dll with entry point 0x10201697c
PROGRESS CODE: V03020003 I0
Loading PEIM 9B3ADA4F-AE56-4C24-8DEA-F03B7558AE50
0x10200e540 Loading /home/ali/projects/test/edk2/Build/EmulatorX64/DEBUG_GCC5/X64/MdeModulePkg/Universal/PCD/Pei/Pcd/DEBUG/PcdPeim.dll with entry point 0x10201210f
Loading PEIM at 0x0010200E300 EntryPoint=0x0010201210F PcdPeim.efi
PROGRESS CODE: V03020002 I0
Install PPI: 06E81C58-4AD7-44BC-8390-F10265F72480
Install PPI: 01F34D25-4DE2-23AD-3FF3-36353FF323F1
Install PPI: 4D8B155B-C059-4C8F-8926-06FD4331DB8A
Install PPI: A60C6B59-E459-425D-9C69-0BCC9CB27D81
Register PPI Notify: 605EA650-C65C-42E1-BA80-91A52AB618C6
PROGRESS CODE: V03020003 I0
Loading PEIM 64196C76-58E3-0B4D-9484-B54F7C4349CA
0x102017c00 Loading /home/ali/projects/test/edk2/Build/EmulatorX64/DEBUG_GCC5/X64/EmulatorPkg/BootModePei/BootModePei/DEBUG/BootModePei.dll with entry point 0x10201840f
Loading PEIM at 0x001020179C0 EntryPoint=0x0010201840F BootModePei.efi
PROGRESS CODE: V03020002 I0
Emu Boot Mode PEIM Loaded
Install PPI: 7408D748-FC8C-4EE6-9288-C4BEC092A410
PROGRESS CODE: V03020003 I0
Loading PEIM 2D6F6BCC-9681-8E42-8579-B57DCD0060F0
0x102018f00 Loading /home/ali/projects/test/edk2/Build/EmulatorX64/DEBUG_GCC5/X64/EmulatorPkg/AutoScanPei/AutoScanPei/DEBUG/AutoScanPei.dll with entry point 0x10201982e
Loading PEIM at 0x00102018CC0 EntryPoint=0x0010201982E AutoScanPei.efi
PROGRESS CODE: V03020002 I0
Emu Autoscan PEIM Loaded
PeiInstallPeiMemory MemoryBegin 0x41000000, MemoryLength 0x4000000
PROGRESS CODE: V03020003 I0
Temp Stack : BaseAddress=0x40000000 Length=0x10000
Temp Heap  : BaseAddress=0x40010000 Length=0x10000
Total temporary memory:    131072 bytes.
  temporary memory stack ever used:       65532 bytes.
  temporary memory heap used for HobList: 3736 bytes.
  temporary memory heap occupied by memory pages: 0 bytes.
Old Stack size 65536, New stack size 131072
Stack Hob: BaseAddress=0x41000000 Length=0x20000
Heap Offset = 0x1010000 Stack Offset = 0x1010000

Segmentation fault


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-28  5:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-27  5:33 EmulatorPkg segmentation fault on Linux Ali Shirvani
2020-10-27 16:30 ` [edk2-devel] " Sean
2020-10-28  5:12   ` Ali Shirvani

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