Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.2.1
-
None
-
All
-
Patch Available
-
Incorrect Behavior
Description
The 27.filebuf test fails with the following assertions and warnings:
# ASSERTION (S7) (5 lines): # TEXT: basic_filebuf<char>::is_open() == false, got true after a call to detach() # CLAUSE: [lib.filebuf] # FILE: 27.filebuf.cpp # LINE: 1424 # ASSERTION (S7) (5 lines): # TEXT: basic_filebuf<char>::fd() < 0, got 3 after a call to detach()() # CLAUSE: [lib.filebuf] # FILE: 27.filebuf.cpp # LINE: 1431 # ASSERTION (S7) (5 lines): # TEXT: basic_filebuf<char>::~basic_filebuf() attempted to close a detached file descriptor # CLAUSE: [lib.filebuf] # FILE: 27.filebuf.cpp # LINE: 1443 # WARNING (S5) (5 lines): # TEXT: std::remove("C:\Temp\.rwtest-tmp11") failed: Permission denied # CLAUSE: [lib.filebuf] # FILE: 27.filebuf.cpp # LINE: 1519 # ASSERTION (S7) (5 lines): # TEXT: basic_filebuf<char>::is_open() unexpectedly true after a successful call to detach() # CLAUSE: [lib.filebuf] # FILE: 27.filebuf.cpp # LINE: 1593 # ASSERTION (S7) (5 lines): # TEXT: basic_filebuf<wchar_t>::is_open() == false, got true after a call to detach() # CLAUSE: [lib.filebuf] # FILE: 27.filebuf.cpp # LINE: 1424 # ASSERTION (S7) (5 lines): # TEXT: basic_filebuf<wchar_t>::fd() < 0, got 3 after a call to detach()() # CLAUSE: [lib.filebuf] # FILE: 27.filebuf.cpp # LINE: 1431 # ASSERTION (S7) (5 lines): # TEXT: basic_filebuf<wchar_t>::~basic_filebuf() attempted to close a detached file descriptor # CLAUSE: [lib.filebuf] # FILE: 27.filebuf.cpp # LINE: 1443 # WARNING (S5) (5 lines): # TEXT: std::remove("C:\Temp\.rwtest-tmp12") failed: Permission denied # CLAUSE: [lib.filebuf] # FILE: 27.filebuf.cpp # LINE: 1519 # ASSERTION (S7) (5 lines): # TEXT: basic_filebuf<wchar_t>::is_open() unexpectedly true after a successful call to detach() # CLAUSE: [lib.filebuf] # FILE: 27.filebuf.cpp # LINE: 1593