From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=45.249.212.190; helo=szxga04-in.huawei.com; envelope-from=zhaoshenglong@huawei.com; receiver=edk2-devel@lists.01.org Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 421EF20356878 for ; Sat, 11 Nov 2017 03:47:16 -0800 (PST) Received: from 172.30.72.58 (EHLO DGGEMS402-HUB.china.huawei.com) ([172.30.72.58]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DKQ03310; Sat, 11 Nov 2017 19:48:05 +0800 (CST) Received: from [127.0.0.1] (10.177.16.142) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.361.1; Sat, 11 Nov 2017 19:48:02 +0800 Message-ID: <5A06E371.2080108@huawei.com> Date: Sat, 11 Nov 2017 19:48:01 +0800 From: Shannon Zhao User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: "edk2-devel@lists.01.org" CC: Laszlo Ersek , Ard Biesheuvel X-Originating-IP: [10.177.16.142] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090205.5A06E375.0051, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 0a52bd839a052cba121d345013884939 Subject: edk2 occur Data abort: Alignment fault on ARM64 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2017 11:47:18 -0000 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Hi, I'm using UDK2017(commit is eea98ee UefiCpuPkg/MpLib: fix potential overflow issue.) to start a VM on ARM64. But I got below exception sometimes. While I debug this issue, I didn't find some valuable information. Do you have any suggestion? Thanks. Synchronous Exception at 0x0000000238A7A018 PC 0x000238A7A018 (0x000238A60000+0x0001A018) [ 0] VariableRuntimeDxe.dll PC 0x000238A79DE8 (0x000238A60000+0x00019DE8) [ 0] VariableRuntimeDxe.dll PC 0x000238A73418 (0x000238A60000+0x00013418) [ 0] VariableRuntimeDxe.dll PC 0x000238A76048 (0x000238A60000+0x00016048) [ 0] VariableRuntimeDxe.dll PC 0x000238A7748C (0x000238A60000+0x0001748C) [ 0] VariableRuntimeDxe.dll PC 0x0002387A179C (0x000238790000+0x0001179C) [ 1] MonotonicCounterRuntimeDxe.dll PC 0x0002387A0794 (0x000238790000+0x00010794) [ 1] MonotonicCounterRuntimeDxe.dll PC 0x0002387A0948 (0x000238790000+0x00010948) [ 1] MonotonicCounterRuntimeDxe.dll PC 0x0002387A0574 (0x000238790000+0x00010574) [ 1] MonotonicCounterRuntimeDxe.dll PC 0x0002387A0174 (0x000238790000+0x00010174) [ 1] MonotonicCounterRuntimeDxe.dll PC 0x00023EEA9E38 (0x00023EEA3000+0x00006E38) [ 2] DxeCore.dll PC 0x00023EEC3CD4 (0x00023EEA3000+0x00020CD4) [ 2] DxeCore.dll PC 0x00023EEA55D0 (0x00023EEA3000+0x000025D0) [ 2] DxeCore.dll PC 0x00023EEA4814 (0x00023EEA3000+0x00001814) [ 2] DxeCore.dll PC 0x00023EEA4024 (0x00023EEA3000+0x00001024) [ 2] DxeCore.dll [ 0] /root/rpmbuild/BUILD/edk2-2.7.0/Build/ArmVirtQemu-AARCH64/DEBUG_GCC49/AARCH64/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe/DEBUG/VariableRuntimeDxe.dll [ 1] /root/rpmbuild/BUILD/edk2-2.7.0/Build/ArmVirtQemu-AARCH64/DEBUG_GCC49/AARCH64/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe/DEBUG/MonotonicCounterRuntimeDxe.dll [ 2] /root/rpmbuild/BUILD/edk2-2.7.0/Build/ArmVirtQemu-AARCH64/DEBUG_GCC49/AARCH64/MdeModulePkg/Core/Dxe/DxeMain/DEBUG/DxeCore.dll X0 0x00000002389C0060 X1 0x0000000004000048 X2 0x000000000000001C X3 0x00000002349C0018 X4 0x0000000004000064 X5 0x00000002389C007C X6 0x439A947BAAF32C78 X7 0x9277C34E142E80A1 X8 0x000000000675D19C X9 0x000000000000001B X10 0x0000000238B60000 X11 0x0000000000000040 X12 0x0000000000000000 X13 0x0000000000000008 X14 0x0000000000000000 X15 0x0000000000000000 X16 0x000000023EEA2DF0 X17 0x0000000000000000 X18 0x0000000000000000 X19 0x000000000000000C X20 0x0000000000002000 X21 0x0000000000000000 X22 0x0000000000000000 X23 0x0000000000000000 X24 0x0000000000000000 X25 0x0000000000000000 X26 0x0000000000000000 X27 0x0000000000000000 X28 0x0000000000000000 FP 0x000000023EEA29F0 LR 0x0000000238A79DE8 V0 0xFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF V1 0x0000000000000000 0000000000000000 V2 0x0000000000000000 0000000000000000 V3 0x0000000000000000 0000000000000000 V4 0x0000000000000000 0000000000000000 V5 0x0000000000000000 0000000000000000 V6 0x0000000000000000 0000000000000000 V7 0x0000000000000000 0000000000000000 V8 0x0000000000000000 0000000000000000 V9 0x0000000000000000 0000000000000000 V10 0x0000000000000000 0000000000000000 V11 0x0000000000000000 0000000000000000 V12 0x0000000000000000 0000000000000000 V13 0x0000000000000000 0000000000000000 V14 0x0000000000000000 0000000000000000 V15 0x0000000000000000 0000000000000000 V16 0x0000000000000000 0000000000000000 V17 0x0000000000000000 0000000000000000 V18 0x0000000000000000 0000000000000000 V19 0x0000000000000000 0000000000000000 V20 0x0000000000000000 0000000000000000 V21 0x0000000000000000 0000000000000000 V22 0x0000000000000000 0000000000000000 V23 0x0000000000000000 0000000000000000 V24 0x0000000000000000 0000000000000000 V25 0x0000000000000000 0000000000000000 V26 0x0000000000000000 0000000000000000 V27 0x0000000000000000 0000000000000000 V28 0x0000000000000000 0000000000000000 V29 0x0000000000000000 0000000000000000 V30 0x0000000000000000 0000000000000000 V31 0x0000000000000000 0000000000000000 SP 0x000000023EEA29F0 ELR 0x0000000238A7A018 SPSR 0x80000205 FPSR 0x00000000 ESR 0x96000021 FAR 0x0000000004000054 ESR : EC 0x25 IL 0x1 ISS 0x00000021 Data abort: Alignment fault Stack dump: 000023EEA28F0: 000000023EEA2920 0000000238B2095C 000000023EEA2920 0000000004000000 000023EEA2910: 007000700403FBB0 0080008004000000 000000023EEA2940 0000000238B21014 000023EEA2930: 00FF00FF0403FBAC 0000000004000000 000000023EEA2980 0000000238B222B4 000023EEA2950: 000000023EEA2980 003E55AA38B22284 000000000403FBAC 000000023BFFF598 000023EEA2970: 008000803EEA2BAF 0000000000000000 000000023EEA2A10 0000000238B23C8C 000023EEA2990: 0000000000000000 000000023EEA2BAF 000000023EEA2AB8 000000000003FBAE 000023EEA29B0: 0000000000000000 000000023BFFF598 003E55AA00000000 0000000004000000 000023EEA29D0: 003E000000FF0000 000000000403FBAC 0000000000000000 0000000000040000 > 000023EEA29F0: 000000023EEA2A20 0000000238A73418 0000000000000000 000000000000001C 000023EEA2A10: 0000000004000048 00000002389C0060 000000023EEA2B10 0000000238A76048 000023EEA2A30: 000000000000000C 0000000000002000 0000000000000048 000000023BEF0018 000023EEA2A50: 000000023EEA2B80 000000023BFFF598 000000023BFFE5D8 0000000004000048 000023EEA2A70: 0000000000000000 000000023EEA2BAF 000000000403FBAE 000000023BFFF658 000023EEA2A90: 0000000000000001 000000023BFFE598 000000023EEA2AC0 0000000004000048 000023EEA2AB0: 0000000000000000 000000000403FBAC 0000000000000000 0000000000000000 000023EEA2AD0: 0000000000000000 00000002387A4006 000000023EEA2B10 000000023BEF0018 ASSERT [ArmCpuDxe] /root/rpmbuild/BUILD/edk2-2.7.0/ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c(271): ((BOOLEAN)(0==1)) -- Shannon