public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Fu, Siyuan" <siyuan.fu@intel.com>
To: Sivaraman Nainar <sivaramann@amiindia.co.in>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: Help on Error Handling
Date: Thu, 8 Nov 2018 09:02:10 +0000	[thread overview]
Message-ID: <B1FF2E9001CE9041BD10B825821D5BC58B67DF1A@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <B4DE137BDB63634BAC03BD9DE765F1970241A0AE8F@Venus2.in.megatrends.com>

Hi, Siva

Is the exception occurs inside the Tcp->Close() function or HttpCloseConnection(). Are you able to check which function could be mapping to "RIP  - 00000000657026F8"?

BestRegards
Fu Siyuan

From: Sivaraman Nainar [mailto:sivaramann@amiindia.co.in]
Sent: Thursday, November 8, 2018 4:38 PM
To: Fu, Siyuan <siyuan.fu@intel.com>; edk2-devel@lists.01.org
Cc: Arun Subramanian B <arunsubramanianb@ami.com>
Subject: reg: Help on Error Handling

Hello All,

We are seeing an issue in HTTPDxe module when there is a hot unplug of a USB 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() Exception occurs in HttpInstance->Tcp6->Close .

!!!! X64 Exception Type - 0D(#GP - General Protection)  CPU Apic ID - 00000000 !!!!
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


      reply	other threads:[~2018-11-08  9:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-08  8:37 reg: Help on Error Handling Sivaraman Nainar
2018-11-08  9:02 ` Fu, Siyuan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B1FF2E9001CE9041BD10B825821D5BC58B67DF1A@SHSMSX103.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox