From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.120; helo=mga04.intel.com; envelope-from=siyuan.fu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8116B21A07A80 for ; Thu, 8 Nov 2018 01:02:14 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Nov 2018 01:02:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,478,1534834800"; d="scan'208,217";a="89522384" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga006.jf.intel.com with ESMTP; 08 Nov 2018 01:02:13 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 8 Nov 2018 01:02:12 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 8 Nov 2018 01:02:12 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.161]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.102]) with mapi id 14.03.0415.000; Thu, 8 Nov 2018 17:02:11 +0800 From: "Fu, Siyuan" To: Sivaraman Nainar , "edk2-devel@lists.01.org" Thread-Topic: Help on Error Handling Thread-Index: AdR3PX8OVIcfxjpwSlmdI68gtzcz0QABA7SA Date: Thu, 8 Nov 2018 09:02:10 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzI0OTg2YTUtNTAzNS00YTI0LTliYmMtMDU2NWRmYTZmZGEzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSzdMK0tieFZaQ1dtR3lYYXpBb0k1Nk85U3FNK3FSbHZ6RnpsNTFOdGhwaFBmd2dCM3pLcXNhcjhFSDM4TG9vaiJ9 dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: Help on Error Handling X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2018 09:02:14 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Siva Is the exception occurs inside the Tcp->Close() function or HttpCloseConnec= tion(). Are you able to check which function could be mapping to "RIP - 00= 000000657026F8"? BestRegards Fu Siyuan From: Sivaraman Nainar [mailto:sivaramann@amiindia.co.in] Sent: Thursday, November 8, 2018 4:38 PM To: Fu, Siyuan ; edk2-devel@lists.01.org Cc: Arun Subramanian B Subject: reg: Help on Error Handling Hello All, We are seeing an issue in HTTPDxe module when there is a hot unplug of a US= B Network device while HTTP Post is happening. Details: An application tries to post the data to HTTPS Server using an USB Network = device in UEFI environment. When the HTTP Post request Initiated there was = a sudden disconnection happening in USB End and In HttpCloseConnection() Ex= ception occurs in HttpInstance->Tcp6->Close . !!!! X64 Exception Type - 0D(#GP - General Protection) CPU Apic ID - 00000= 000 !!!! ExceptionData - 0000000000000000 RIP - 00000000657026F8, CS - 0000000000000038, RFLAGS - 0000000000010212 RAX - 0000000062D22E38, RCX - 0000000062D22E38, RDX - 0000000062D22110 RBX - 0000000000000007, RSP - 000000006BDCE0F0, RBP - 0000000000000000 RSI - 0000000000000004, RDI - 0000000000000000 R8 - 000000000000000A, R9 - 0000000000000000, R10 - 0000000062D42298 R11 - 000000006BC48918, R12 - 0000000000000004, R13 - 0000000000000000 R14 - 8000000000000003, R15 - 0000000000000007 DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030 GS - 0000000000000030, SS - 0000000000000030 CR0 - 0000000080000013, CR2 - 0000000000000000, CR3 - 000000006BC4E000 CR4 - 0000000000000668, CR8 - 0000000000000000 DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000 DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400 GDTR - 0000000065D9D6A0 0000000000000047, LDTR - 0000000000000000 IDTR - 0000000063064018 0000000000000FFF, TR - 0000000000000000 FXSAVE_STATE - 000000006BDCDD50 Any idea how this case can be handled without exception in the environment = where dynamic unplug of a network device which performs UNDI operation. Thanks Siva