[Bug 52720] New: cmd.exe:batch times out in Wine

WineHQ Bugzilla wine-bugs at winehq.org
Wed Mar 23 14:39:45 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=52720

            Bug ID: 52720
           Summary: cmd.exe:batch times out in Wine
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cmd
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com
      Distribution: ---

cmd.exe:batch started timing out in Wine on 2022-03-17:

batch.c:427: running TEST_CMDLINE.CMD test...
cmd.exe:batch:040c done (258) in 120s
Test failed: timed out

https://test.winehq.org/data/patterns.html#cmd.exe:batch

Unfortunately I was unable to find a change in Wine that would be the cause for
the timeout: in my tests cmd.exe:batch still times out when run from older Wine
versions.

* Based on the WineTest logs cmd.exe:batch was taking about 50 seconds up to
2022-03-16. But the next day that run time more than doubled to about 118 - 170
seconds, causing it to time out most of the time.

* Reverting the Wine source to the 2022-03-16 head, rebuilding from scratch and
recreating the wineprefix did not help: cmd.exe:batch still times out.

* No package upgrades were performed on that date. Plus this regression
happened simultaneously on multiple machines with different upgrade schedules.

* WINETEST_TIME=1 indicates that almost all of the time is spent running
TEST_BUILTINS.CMD:

batch.c:427:0.149 running TEST_BUILTINS.CMD test...
batch.c:136:158.289 Test succeeded
^^^ The first ok() call after WaitForSingleObject() is in the map_file() called
after run_test()

* Running the test manually it looked like the "--- for /R" "Plain directory
enumeration" part of test_builtins.cmd was enumerating all of the computer's
directories, starting with /bin, /boot, /etc, ... That would certainly take a
long time but that run crashed after about 1 minute so this may be unrelated.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list