* reg: Help on Error Handling
@ 2018-11-08 8:37 Sivaraman Nainar
2018-11-08 9:02 ` Fu, Siyuan
0 siblings, 1 reply; 2+ messages in thread
From: Sivaraman Nainar @ 2018-11-08 8:37 UTC (permalink / raw)
To: Fu, Siyuan, edk2-devel@lists.01.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Help on Error Handling
2018-11-08 8:37 reg: Help on Error Handling Sivaraman Nainar
@ 2018-11-08 9:02 ` Fu, Siyuan
0 siblings, 0 replies; 2+ messages in thread
From: Fu, Siyuan @ 2018-11-08 9:02 UTC (permalink / raw)
To: Sivaraman Nainar, edk2-devel@lists.01.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-08 9:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-08 8:37 reg: Help on Error Handling Sivaraman Nainar
2018-11-08 9:02 ` Fu, Siyuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox