PR# 19224 Exception occurs when printing to console in GUI mode (compiled with VisualStudio 2015)
Problem Report Summary
Submitter: jfiat_es
Category: Runtime
Priority: High
Date: 2016/05/25
Class: Bug
Severity: Critical
Number: 19224
Release: 16.05
Confidential: No
Status: Analyzed
Responsible:
Environment: Windows 10
Synopsis: Exception occurs when printing to console in GUI mode (compiled with VisualStudio 2015)
Description
Compile a GUI mode Eiffel application (a simple basic hello world, but change console_application to False.) And execute, an exception occurs on the first print ... FILE: unable to write STRING object.: IO_FAILURE raised (IO_FAILURE) ------------------------------------------------------------------------------- Class / Object Routine Nature of exception Effect ------------------------------------------------------------------------------- CONSOLE console_ps FILE: unable to write STRING object.: <0000018CC5220658> Runtime I/O error. Fail ------------------------------------------------------------------------------- CONSOLE console_ps <0000018CC5220658> Routine failure. Fail ------------------------------------------------------------------------------- CONSOLE put_string @5 <0000018CC5220658>
To Reproduce
any output to console from a GUI application compile with VisualStudio 2015 will raise exception.
Problem Report Interactions
Related to bug report bug#13969, and eweasel tests test#runtime014 and test#runtime020.