Skip to content

Crash, using udp - high throughput, many sockets, small TU #10

Open

Description

ctsTraffic.exe crashes, when I try to recv 10 GBits/s with an TU of 1436 bytes (no jumbo packages and IP fragmentation) and e.g. 10 sockets (>2).

Executing ctsTraffic in the debuger with:

ctsTraffic.exe -target:192.168.137.1 -protocol:udp -bitspersecond:10000000000 -framerate:870000 -bufferdepth:1 -streamlength:60 -consoleverbosity:1 -connections:1 -iterations:1 -statusfilename:udpclient.csv -connectionfilename:udpconnection.csv

Produces the following output:

CommandLine: "ctsTraffic.exe" -target:192.168.137.1 -protocol:udp -bitspersecond:10000000000 -framerate:870000 -bufferdepth:1 -streamlength:60 -consoleverbosity:1 -connections:10 -iterations:1 -statusfilename:udpclient.csv -connectionfilename:udpconnection.csv
Symbol search path is: srv*
Executable search path is:
ModLoad: 00007ff7`5afc0000 00007ff7`5b066000   ctsTraffic.exe
ModLoad: 00007ff8`9b9f0000 00007ff8`9bbe6000   ntdll.dll
ModLoad: 00007ff8`99cd0000 00007ff8`99d8d000   C:\WINDOWS\System32\KERNEL32.DLL
ModLoad: 00007ff8`99550000 00007ff8`99819000   C:\WINDOWS\System32\KERNELBASE.dll
ModLoad: 00007ff8`9a740000 00007ff8`9a7ab000   C:\WINDOWS\System32\WS2_32.dll
ModLoad: 00007ff8`9aec0000 00007ff8`9afeb000   C:\WINDOWS\System32\RPCRT4.dll
ModLoad: 00007ff8`9a4e0000 00007ff8`9a60a000   C:\WINDOWS\System32\ole32.dll
ModLoad: 00007ff8`99450000 00007ff8`99550000   C:\WINDOWS\System32\ucrtbase.dll
ModLoad: 00007ff8`9b050000 00007ff8`9b3a6000   C:\WINDOWS\System32\combase.dll
ModLoad: 00007ff8`9a7b0000 00007ff8`9a7da000   C:\WINDOWS\System32\GDI32.dll
ModLoad: 00007ff8`99980000 00007ff8`999a2000   C:\WINDOWS\System32\win32u.dll
ModLoad: 00007ff8`99820000 00007ff8`9992b000   C:\WINDOWS\System32\gdi32full.dll
ModLoad: 00007ff8`999b0000 00007ff8`99a4d000   C:\WINDOWS\System32\msvcp_win.dll
ModLoad: 00007ff8`9b810000 00007ff8`9b9b0000   C:\WINDOWS\System32\USER32.dll
ModLoad: 00007ff8`9a7e0000 00007ff8`9a8ad000   C:\WINDOWS\System32\OLEAUT32.dll
ModLoad: 00007ff8`9a990000 00007ff8`9a9c0000   C:\WINDOWS\System32\IMM32.DLL
ModLoad: 00007ff8`99b60000 00007ff8`99c0c000   C:\WINDOWS\System32\advapi32.dll
ModLoad: 00007ff8`9a610000 00007ff8`9a6ae000   C:\WINDOWS\System32\msvcrt.dll
ModLoad: 00007ff8`99a50000 00007ff8`99aec000   C:\WINDOWS\System32\sechost.dll
ModLoad: 00007ff8`98a30000 00007ff8`98a3c000   C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
ModLoad: 00007ff8`992f0000 00007ff8`99370000   C:\WINDOWS\System32\bcryptPrimitives.dll
ModLoad: 00007ff8`97a50000 00007ff8`97a62000   C:\WINDOWS\SYSTEM32\kernel.appcore.dll
ModLoad: 00007ff8`99c20000 00007ff8`99cc9000   C:\WINDOWS\System32\clbcatq.dll
ModLoad: 00007ff8`8a360000 00007ff8`8a371000   C:\WINDOWS\system32\wbem\wbemprox.dll
ModLoad: 00007ff8`91990000 00007ff8`91a16000   C:\WINDOWS\SYSTEM32\wbemcomn.dll
ModLoad: 00007ff8`87fe0000 00007ff8`87ff4000   C:\WINDOWS\system32\wbem\wbemsvc.dll
ModLoad: 00007ff8`88500000 00007ff8`8860b000   C:\WINDOWS\system32\wbem\fastprox.dll
ModLoad: 00007ff8`86440000 00007ff8`86459000   C:\WINDOWS\SYSTEM32\amsi.dll
ModLoad: 00007ff8`99020000 00007ff8`9904e000   C:\WINDOWS\SYSTEM32\USERENV.dll
ModLoad: 00007ff8`99060000 00007ff8`99086000   C:\WINDOWS\SYSTEM32\profapi.dll
ModLoad: 00007ff8`863c0000 00007ff8`8643b000   C:\ProgramData\Microsoft\Windows Defender\platform\4.18.2101.9-0\MpOav.dll
ModLoad: 00007ff8`933b0000 00007ff8`933ba000   C:\WINDOWS\system32\version.dll
ModLoad: 00007ff8`82f20000 00007ff8`82f47000   C:\WINDOWS\SYSTEM32\WINMM.dll
ModLoad: 00007ff8`98840000 00007ff8`988aa000   C:\WINDOWS\system32\mswsock.dll
  Configured Settings
-----------------------
        Protocol: UDP
        Options: InlineIOCP SO_RCVBUF(1048576) MsgWaitAll
        IO function: MediaStream Client
        IoPattern: MediaStream <UDP controlled stream from server to client>
        PrePostRecvs: 2
        PrePostSends: 1
        Level of verification: Connections & Data
        Port: 4444
        Buffer used for each IO request: 1436 [0x59c] bytes
        Total transfer per connection: 74959200000 bytes
                UDP Stream BitsPerSecond: 10000000000 bits per second
                UDP Stream FrameRate: 870000 frames per second
                UDP Stream BufferDepth: 1 seconds
                UDP Stream StreamLength: 60 seconds (52200000 frames)
                UDP Stream FrameSize: 1436 bytes
        Connecting out to addresses:
                192.168.137.1:4444
        Binding to local addresses for outgoing connections:
                0.0.0.0
        Connection limit (maximum established connections): 10 [0xa]
        Connection throttling rate (maximum pended connection attempts): 1000 [0x3e8]
        Total outgoing connections before exit (iterations * concurrent connections) : 10 [0xa]

Legend:
* TimeSlice - (seconds) cumulative runtime
* Streams - count of current number of UDP streams
* Bits/Sec - bits streamed within the TimeSlice period
* Completed Frames - count of frames successfully processed within the TimeSlice
* Dropped Frames - count of frames that were never seen within the TimeSlice
* Repeated Frames - count of frames received multiple times within the TimeSlice
* Stream Errors - count of invalid frames or buffers within the TimeSlice


 TimeSlice       Bits/Sec    Streams   Completed   Dropped   Repeated    Errors

     0.084           1156         10           0         0          0         0
     5.099     2551142497         10      263859  34270851          0    852005
C:\Users\kehor\source\repos\ctsTraffic\ctsTraffic\ctsPrintStatus.hpp(307)\ctsTraffic.exe!00007FF75AFCAA63: (caller: 00007FF75AFCAC60) FailFast(1) tid(209c) 8000FFFF Schwerwiegender Fehler
    Msg:[Counting the string built by _ui64tow_s was greater than _value_length (7) : ctsUdpStatusInformation (00000175CCA62690)
]
(1fd4.209c): Security check failure or stack buffer overrun - code c0000409 (!!! second chance !!!)
KERNELBASE!RaiseFailFastException+0x15c:
00007ff8`9965bd5c 0f1f440000      nop     dword ptr [rax+rax]
0:011>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions