Subject: | WIN32 Debug Assertion failure in smartsign dnssec-checkzone |
System popup:
Debug Assertion Failed!
Program: ...\named-checkzone.exe
File: ...\commit.cpp (1)
Expression: Invalid file descriptor:
File possibly closed by a different thread
(1) C RunTime (CRT)
smartisign system test, first call to $CHECKZONE
named-checkzone -o - child.parent.nil child.db.signed
Debugger (rt42931 branch), stack is:
named-checkzone.exe main lien 545
named-checkzone.exe dump_zone line 764
libisc.dll dns_zone_dumptostream3 line 10095
libisc.dll dumptostream line 10082
libisc.dll dns_master_dumptostream3 line 1777
libisc.dll flushandsync line 1304
libisc.dll isc_stdio_sync line 129
ucrtbased.dll _commit line 36
The WIN32 internal error is 6 (invalid handle)
and is from _commit() (WIN32 version of fsync)
called on the fileno of stdout (cf "-o -" arguments)
as shown by a little program calling
_commit(_fileno(stdout));
it fails and compiled with the Debug it raises
the assertion popup.