Closed Bug 1411350 Opened 7 years ago Closed 3 years ago

frequent "IOError: [Errno 0] Error" in c:\mozilla-build\python\lib\logging\__init__.py, line 872 using Mintty

Categories

(Firefox Build System :: MozillaBuild, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myk, Unassigned)

Details

After updating my Windows 10 VM to the Fall Creator's Update, I'm seeing frequent errors in c:\mozilla-build\python\lib\logging\__init__.py while building: > Traceback (most recent call last): > File "c:\mozilla-build\python\lib\logging\__init__.py", line 872, in emit > stream.write(ufs % msg) > IOError: [Errno 0] Error > Logged from file logging.py, line 54 The errors don't cause the build to fail. Nor do they prevent build process output to the terminal. Although they do make the output harder to read, as they occur hundreds (thousands?) of times during a clobber build.
This appears specific to Mintty, as the problem disappears when I revert to the default terminal app. Mintty also seems to crash periodically after spewing a bunch of garbage characters to the screen.
Summary: frequent "IOError: [Errno 0] Error" in c:\mozilla-build\python\lib\logging\__init__.py, line 872 → frequent "IOError: [Errno 0] Error" in c:\mozilla-build\python\lib\logging\__init__.py, line 872 using Mintty
errno being 0 is... special. So, write() appears to error. But for whatever reason errno() likely is returning 0 when Python queries it to see what the actual failure was. I have no clue what that is about. This could very well be a bug in mintty, assuming we're writing to stdout or stderr here.

In my testing in this bug, modern mintty doesn't have this issue.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Product: mozilla.org → Firefox Build System
You need to log in before you can comment on or make changes to this bug.