Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-17287

Testbots and local rosautotest Crash on iphlpapi tests using UDP

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      When I run rosautotest in ReactOS locally it can function completely automatically with the exception of two tests for iphlpapi which are GetExtendedUdpTable and GetOwnerModuleFromUdpEntry. These tests crash when the "getUdpTable" function in ipstats_reactos.c is called. The same crash can be seen consistently on the testbots, but they can handle these without stopping and continue their tests after the crashes. I would like to see these fixed.
      I added lots of debugging prints by using the DPRINT1 in GetExtendedUdpTable.c unit test and the "ERR" function into the getUdpTable function to try and find the exact location that was creating the crash. Interestingly, after adding ERR prints to almost all of the logical changes, the crashes stopped happening. My environment is Windows 7 Pro running in a virtual machine with RosBE/GCC for compiling with the latest binaries. I have lots of documentation on this and I think that one of the developers who could look at the ASM behind these files could probably find the problem. I am not capable of doing this now, but I hope to be soon.
      So I have created a 7z file that has the "c" programs for good and bad and the "dll" files that match these "c" files and the debug output when the bad one runs in ReactOS. Also attached are screen shots of both outputs for reference. Hopefully some of the very capable ReactOS developers can make sense out of this and provide a fix. Thanks.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                DougLyons DougLyons
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: