-
Notifications
You must be signed in to change notification settings - Fork 517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
secnetperf not working for big payload sizes #4144
Comments
Our output indicates a core dump. Would you mind sharing that and ideally the thread/callstack that's crashing? |
|
Hello @nibanks any update on this issue? |
Sorry, we still haven't had a chance to take a look. This is not a known issue. |
But this issue is not seen on the code version available till 7th Oct 2023. Are your platforms working for big payload sizes (1500000000) ? |
I haven't seen any issues with big payload. Have you tried Release builds? Perhaps that assert is benign. |
Hello @nibanks I have tested the same for release v.2.3.4 and v.2.3.5 same issue is being observed for big payload sizes. Please provide us some insight on this. |
I mean, have you tried Release (not Debug) builds? |
Yes , I have tried the releases both v.2.3.4 and v.2.3.5 |
I am not referring to a particular release branch or tag, but that you aren't building for debug mode. Asserts are only compiled in for debug mode, and I think the assert you're hitting is benign. If you are compiling/running release mode, please share the callstack for what is crashing now. |
Hello @nibanks , I have verified the current release (2.3.5) and found the core dump stack is same as earlier which I have shared. Also, we have compiled it using "-Config Debug" and "-Config Release" modes. Both scenarios are having the same core dump call stack. |
_IRQL_requires_max_(DISPATCH_LEVEL)
_Success_(return != NULL)
QUIC_BUFFER*
SendDataAllocBuffer(
_In_ CXPLAT_SEND_DATA* SendData,
_In_ uint16_t MaxBufferLength
)
{
CXPLAT_DBG_ASSERT(SendData != NULL);
CXPLAT_DBG_ASSERT(MaxBufferLength > 0);
CxPlatSendDataFinalizeSendBuffer(SendData);
CXPLAT_DBG_ASSERT(SendData->SegmentSize == 0 || SendData->SegmentSize >= MaxBufferLength);
CXPLAT_DBG_ASSERT(SendData->TotalSize + MaxBufferLength <= sizeof(SendData->Buffer));
CXPLAT_DBG_ASSERT(
SendData->SegmentationSupported ||
SendData->BufferCount < SendData->SocketContext->DatapathPartition->Datapath->SendIoVecCount);
UNREFERENCED_PARAMETER(MaxBufferLength);
if (SendData->ClientBuffer.Buffer == NULL) {
return NULL;
}
SendData->ClientBuffer.Length = MaxBufferLength;
return &SendData->ClientBuffer;
} |
But on running in -Config Debug mode, I'm getting the same core dump call stack |
It can't be the same callstack on Release though. What is the callstack on Release? |
Describe the bug
The QUIC version (till 7th Oct 2023) is working fine on my machine for payload size of 1.5GB, however, it is not working for the commits after 7th October 2023.
We have assigned 2 CPUs each for SERVER and CLIENT. For small payload size (eg : 150000 ) it works fine but not for bigger payload sizes. Following is the output to distinguish the results.
Affected OS
Additional OS information
MsQuic version
main
Steps taken to reproduce bug
Expected behavior
It should not have thrown core dumped since it was working properly for the commits before and om 7th October 2023.
Actual outcome
Additional details
No response
The text was updated successfully, but these errors were encountered: