From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mx.groups.io with SMTP id smtpd.web12.9733.1603776852142271766 for ; Mon, 26 Oct 2020 22:34:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P5NTN7he; spf=pass (domain: gmail.com, ip: 209.85.221.67, mailfrom: aj.shirvani@gmail.com) Received: by mail-wr1-f67.google.com with SMTP id i1so461933wro.1 for ; Mon, 26 Oct 2020 22:34:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=z4Le3sofzqUfePwpj/9iL8hjp1TI8PuN3f/Bhb44uJk=; b=P5NTN7heeCOWz3Kz54DcyvggwKSahTL8eNRTJF7AIrc59NKEHyWgm+C2lbSwRH9AV0 LXfMo11+YVFPW2orD2ootafAi0r5y2aBiiyPmiPlIRqM4oDmo/MLe3fjPgSV2WpMnroX E00QxSgO4rfvl9+xqzvw/BBN66J+MmGAByKTGcl0VwUJ4CFxjkIecn4lyKv6cilWCMKh UEWiCLWAbfyEjnU7m1Ndc+Cw+kTMQ8oZUek+QPbi4DpST7GMeZbwx9FzzA2xn/ykRXuI ei6UM4oB8E5TikzAZu87truLWtcMRPMR0vbQQGqUSD5BauF0lyX4DH42dfVoIhmCXuRU RsqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=z4Le3sofzqUfePwpj/9iL8hjp1TI8PuN3f/Bhb44uJk=; b=lT20YEafaN+Ixy1V6tlBJxJwi4bKEn+yMtcs9/Ttf8JIG45Bu4MtacInar38REn+Pq KYVQP/Dwt0AlE+nnbO7V1IPQnoTjAowliVSzL4VTWkDwo/vybIkUDkx7kFF7ddwaVo5G Q36s9x/HLgmFKKjNGW8pVzz+Td7IhjxJdEIuZtalkVkaa+Y3yT7+rwUGVxYACw54gf98 f8oX5+g8dBFVhZPkBkDF1pXRQhx9AFV3NYmwF9peh7+hjYh4rzDDjqfcUXTR+Y4Zc3oO CSXSLlg9t6BCNKZ3c8hbiwOlothxFlUyT3oj1yGx6d0gEcryd96N/lec3x2gGW+rd+ot OtYw== X-Gm-Message-State: AOAM5338QjU+lyK7ngTA3Joc1tnmfk1tDTziPiTwESgSsVXvVAd4oZAF vf/KM75YpPYXoj6diMqhum7QtC6S/4itqQkKuDFvI8955qZnN3Ls X-Google-Smtp-Source: ABdhPJw0Kf56KVbzlgIQbqnZdq8r3E/qWceRKL3k1cwAWldpAt512Q17Nu5kAGZAEyde9xzPxe8zV/U5zFLZeM2cGAc= X-Received: by 2002:a05:6000:1050:: with SMTP id c16mr607621wrx.400.1603776850364; Mon, 26 Oct 2020 22:34:10 -0700 (PDT) MIME-Version: 1.0 From: "Ali Shirvani" Date: Tue, 27 Oct 2020 09:03:59 +0330 Message-ID: Subject: EmulatorPkg segmentation fault on Linux. To: devel@edk2.groups.io X-Groupsio-MsgNum: 66653 Content-Type: multipart/mixed; boundary="0000000000007737b305b2a065ae" --0000000000007737b305b2a065ae Content-Type: multipart/alternative; boundary="0000000000007737b205b2a065ac" --0000000000007737b205b2a065ac Content-Type: text/plain; charset="UTF-8" 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. --0000000000007737b205b2a065ac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

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

PeiInstallPeiMemory MemoryBegin 0x41000000, MemoryLength 0= x4000000
PROGRESS CODE: V03020003 I0
Temp Stack : BaseAddress=3D0x400= 00000 Length=3D0x10000
Temp Heap =C2=A0: BaseAddress=3D0x40010000 Length= =3D0x10000
Total temporary memory: =C2=A0 =C2=A0131072 bytes.
=C2=A0 = temporary memory stack ever used: =C2=A0 =C2=A0 =C2=A0 65532 bytes.
=C2= =A0 temporary memory heap used for HobList: 3736 bytes.
=C2=A0 temporary= memory heap occupied by memory pages: 0 bytes.
Old Stack size 65536, Ne= w stack size 131072
Stack Hob: BaseAddress=3D0x41000000 Length=3D0x20000=
Heap Offset =3D 0x1010000 Stack Offset =3D 0x1010000
Segmentation fa= ult

The attached is the complete log = of `./Host` command.
--0000000000007737b205b2a065ac-- --0000000000007737b305b2a065ae Content-Type: text/x-log; charset="US-ASCII"; name="emulator_run.log" Content-Disposition: attachment; filename="emulator_run.log" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kgrjb67p0 CkVESyBJSSBVTklYIEhvc3QgRW11bGF0aW9uIEVudmlyb25tZW50IGZyb20gaHR0cDovL3d3dy50 aWFub2NvcmUub3JnL2VkazIvCiAgQm9vdE1vZGUgMHgwMAogIE9TIEVtdWxhdG9yIHBhc3Npbmcg aW4gMTI4IEtCIG9mIHRlbXAgUkFNIGF0IDB4NDAwMDAwMDAgdG8gU0VDCiAgRkQgbG9hZGVkIGZy b20gLi4vRlYvRlZfUkVDT1ZFUlkuZmQgYXQgMHgxMDIwMDAwMDAgY29udGFpbnMgU0VDIENvcmUK CjB4MTAyMDAwNDAwIExvYWRpbmcgL2hvbWUvYWxpL3Byb2plY3RzL3Rlc3QvZWRrMi9CdWlsZC9F bXVsYXRvclg2NC9ERUJVR19HQ0M1L1g2NC9FbXVsY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