Problem related to fd #224
Unanswered
seo-rii
asked this question in
[Project Q&A] 2. Transport Layer (TCP)
Replies: 1 comment
-
Insert
As long as you pass all test cases (including |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In some case, fd assigned by createFileDescriptor makes error while calling removeFileDescriptor. (e.g. TestTransfer_Accept_Send_Symmetric). Some case does not make this error.
It creates
Assertion failed: (nsIter != appIter->second.fdToDomain.end())
error.I tried to debug this in many way.
First, I ran asan, refering to similar discussion, but it didn't make any error. It just failed assertion as same as test without asan.
Then, I tried to use debugger, and found strange thing.
When I call createFileDescriptor, it returns fd=3.
But, at the assertion failure point, I believe debugger says there's only fd=4. --I still keeped breakpoint created before, so no other createFileDescriptor has been called.--
I want to ask two questions :
Edit
Sorry for confusion. fd=4 was also created. But fd=3 should remained too.
Beta Was this translation helpful? Give feedback.
All reactions