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:sivaram...@amiindia.co.in]
Sent: Thursday, November 8, 2018 4:38 PM
To: Fu, Siyuan <siyuan...@intel.com>; edk2-devel@lists.01.org
Cc: Arun Subramanian B <arunsubramani...@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
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to