From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.web12.4290.1603861933243123396 for ; Tue, 27 Oct 2020 22:12:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YnXWyBou; spf=pass (domain: gmail.com, ip: 209.85.221.44, mailfrom: aj.shirvani@gmail.com) Received: by mail-wr1-f44.google.com with SMTP id w1so4275647wrm.4 for ; Tue, 27 Oct 2020 22:12:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Lglj6YKwdlTYZ8d+08JYsVi5STYh5d1nEKsY8TPPAng=; b=YnXWyBouz1KP6ExJzX900i7kJnySGXCK2M1XYZcvaq/ALywUW0Ij2IlMjgOrclwGEa Iiv289bnjlxqE+A3g7cWqoi/IEhTwotCBn53H9c5SgrYgli78rERBSRUyGSOMJandyKZ 6r+zL92sAyOzTJdZLaJNS4TzCTHade3+STcwNUwsdlJ4SJQN4IJS2JdWaOUlcsY1qyUL hwWtkREA/2Quk41gK/0rtruLDm4x6YMCjinDYs+lfaBJx2PAc3HPb+02pZTHPXWcK5yP dP9plkDHLS2BqiAsrxh52R+T5KQ62wLoJBkXQmHdGc/kML2NUs/C95umlJSYRQwxWsTa 6oDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Lglj6YKwdlTYZ8d+08JYsVi5STYh5d1nEKsY8TPPAng=; b=jTegOqHzWxvtZ3DaaiDGpDugB+P8SnoiBCVuanvLrv7wUA34i3gZ3VMhCYxAEzDsad B9aNyxUN02MlWKYxGq3see8uX9R4YQE9PUijSXMdyG/vobMzz79J92Nydkaw1FTV/VKe iAeEw+yyO/h95x+l1uBzoR/rI4KEXwdV83RxumxBk1esfxOeDmg1DMov1SDIruET2eg9 FI3l7E39puSxIZzLxGv1+fLJeqlleM8qL6u8g0zWUHZRKv0SqsAC958jyHVbXaiwSXpt hYCSmPQ0iAiqPxD3axTbNjm95V68aFwqfniwBUFTx2kSKLxzg2PXkSCj6pUXMTWJlnjp F8mw== X-Gm-Message-State: AOAM531EdSRmsS53/i0xTri6nv7tZQj66y3c4bQgrm68ngw2A2DC3ErS aITMvhJcNMq4TfnVBD/9hxQPPAaz8/VPiD4FRwE= X-Google-Smtp-Source: ABdhPJzldqtxkNWlYwJfeKHPZtOPquGxQxTUrr1jHhFOur49VTw2NzCgabSaysmBva4x4/67FhUfSEz2aMn5xfBJQtI= X-Received: by 2002:a05:6000:1050:: with SMTP id c16mr6529469wrx.400.1603861931636; Tue, 27 Oct 2020 22:12:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Ali Shirvani" Date: Wed, 28 Oct 2020 08:42:00 +0330 Message-ID: Subject: Re: [edk2-devel] EmulatorPkg segmentation fault on Linux. To: Sean Brogan Cc: devel@edk2.groups.io Content-Type: multipart/alternative; boundary="000000000000b43c9105b2b434ed" --000000000000b43c9105b2b434ed Content-Type: text/plain; charset="UTF-8" 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 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. > > > > > > > > > > > > > --000000000000b43c9105b2b434ed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Sean,

Thanks for your r= eply. I have turned off the optimization but I did not succeed.
= I want to test the HTTP boot method. According to the documentation, Emulat= orPkg is required for testing the HTTP(s) boot method.
Is there a= ny 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= = =3D2639

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/m= aster/ReadMe.rst

Anyway if you want to follow that bug and/or supply a fix that would be great.=C2=A0 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 0x400000= 0
>> PROGRESS CODE: V03020003 I0
>> Temp Stack : BaseAddress=3D0x40000000 Length=3D0x10000
>> Temp Heap=C2=A0 : BaseAddress=3D0x40010000 Length=3D0x10000
>> Total temporary memory:=C2=A0 =C2=A0 131072 bytes.
>>=C2=A0 =C2=A0 temporary memory stack ever used:=C2=A0 =C2=A0 =C2= =A0 =C2=A065532 bytes.
>>=C2=A0 =C2=A0 temporary memory heap used for HobList: 3736 bytes.<= br> >>=C2=A0 =C2=A0 temporary memory heap occupied by memory pages: 0 by= tes.
>> Old Stack size 65536, New stack size 131072
>> Stack Hob: BaseAddress=3D0x41000000 Length=3D0x20000
>> Heap Offset =3D 0x1010000 Stack Offset =3D 0x1010000
>> Segmentation fault
>>
>
> The attached is the complete log of `./Host` command.
>
>
>
>
>
>
--000000000000b43c9105b2b434ed--