* 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
* Re: [edk2-devel] EmulatorPkg segmentation fault on Linux.
2020-10-27 5:33 EmulatorPkg segmentation fault on Linux Ali Shirvani
@ 2020-10-27 16:30 ` Sean
2020-10-28 5:12 ` Ali Shirvani
0 siblings, 1 reply; 3+ messages in thread
From: Sean @ 2020-10-27 16:30 UTC (permalink / raw)
To: devel, aj.shirvani
Thanks for reporting the issue.
This issue has been reported but is not yet fixed (from your log it
looks like a match).
https://bugzilla.tianocore.org/show_bug.cgi?id=2639
We attempted to call out this issue in the main readme.rst by putting a
link to the bugs but i am sure it is super easy to miss.
https://github.com/tianocore/edk2/blob/master/ReadMe.rst
Anyway if you want to follow that bug and/or supply a fix that would be
great. Some have mentioned turning off optimizations might avoid the
issue.
Thanks
Sean
On 10/26/2020 10:33 PM, Ali Shirvani wrote:
> 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.
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [edk2-devel] EmulatorPkg segmentation fault on Linux.
2020-10-27 16:30 ` [edk2-devel] " Sean
@ 2020-10-28 5:12 ` Ali Shirvani
0 siblings, 0 replies; 3+ messages in thread
From: Ali Shirvani @ 2020-10-28 5:12 UTC (permalink / raw)
To: Sean Brogan; +Cc: devel
[-- Attachment #1: Type: text/plain, Size: 1839 bytes --]
Dear Sean,
Thanks for your reply. I have turned off the optimization but I did not
succeed.
I want to test the HTTP boot method. According to the documentation,
EmulatorPkg is required for testing the HTTP(s) boot method.
Is there any other way for testing HTTP(S) boot?
Regards,
Ali
On Tue, Oct 27, 2020 at 8:00 PM Sean Brogan <spbrogan@outlook.com> wrote:
> Thanks for reporting the issue.
>
> This issue has been reported but is not yet fixed (from your log it
> looks like a match).
> https://bugzilla.tianocore.org/show_bug.cgi?id=2639
>
> We attempted to call out this issue in the main readme.rst by putting a
> link to the bugs but i am sure it is super easy to miss.
> https://github.com/tianocore/edk2/blob/master/ReadMe.rst
>
> Anyway if you want to follow that bug and/or supply a fix that would be
> great. Some have mentioned turning off optimizations might avoid the
> issue.
>
> Thanks
> Sean
>
>
>
>
>
> On 10/26/2020 10:33 PM, Ali Shirvani wrote:
> > 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 #2: Type: text/html, Size: 2719 bytes --]
^ 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