View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027043 | Open CASCADE | OCCT:DRAW | public | 2015-12-28 16:34 | 2019-01-09 17:52 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2013 | ||
Product Version | 7.0.0 | ||||
Target Version | 7.4.0 | Fixed in Version | 7.4.0 | ||
Summary | 0027043: Draw is sometimes crashed unexpectedly during running of test command | ||||
Description | When I run the tests in manual mode (test command) sometimes Draw is crashed. E.g., the script in steps to reproduce gets draw to crash on 9th iteration on my PC. | ||||
Steps To Reproduce | repeat 10 {test boolean gdml_private E4} | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
When running under debugger, the following debug assertion is raised: Program: D:\git\occt1\build\win64\vc12\bind\DRAWEXE.exe File: f:\dd\vctools\crt\crtw32\lowio\dup2.c Line: 59 Expression: (fh1 >= 0 && (unsigned)fh1 < (unsigned)_nhandle) The stack trace is shown: msvcr120d.dll!000007fedb5083ba() Unknown > TKDraw.dll!`anonymous namespace'::capture_end(OSD_File * tmp_file, int std_fd, int save_fd, std::basic_ostream<char,std::char_traits<char> > & log, unsigned int doEcho) Line 90 C++ TKDraw.dll!CommandCmd(void * theClientData, Tcl_Interp * interp, int argc, const char * * argv) Line 203 C++ The line in our code is (Draw_Interpretor.cxx): 89: dup2(save_fd, std_fd); It seems assertion is raised during duplication of the standard error channel. |
|
Error disappears if we turn off logging, either by running "dlog off" command, or by adding "1" option to the end of "test" command. |
|
On my home computer similar problem is reproduces as follows: 1. Copy text "test perf bapline intersect" to buffer 2. Start DRAW 3. Paste the text 4. Press Enter ==> The test starts but crashes with message "error writing "stdout": bad file number" Notably if the same text is input directy instead of copy / paste, it works OK |
|
This is not for my work PC. This test always work OK. |
|
This bug has been fixed with 0027620. Please close it. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-12-28 16:34 |
|
New Issue | |
2015-12-28 16:34 |
|
Assigned To | => mkv |
2015-12-28 16:50 |
|
Note Added: 0049644 | |
2015-12-30 10:35 |
|
Assigned To | mkv => abv |
2015-12-30 10:35 |
|
Status | new => assigned |
2016-06-20 15:27 |
|
Relationship added | related to 0027620 |
2016-06-20 15:28 |
|
Relationship added | related to 0027013 |
2016-10-25 12:52 |
|
Note Added: 0059072 | |
2016-10-25 12:52 |
|
Target Version | 7.1.0 => 7.2.0 |
2017-07-20 12:00 |
|
Target Version | 7.2.0 => 7.3.0 |
2018-05-12 21:36 |
|
Target Version | 7.3.0 => 7.4.0 |
2018-06-12 22:10 |
|
Note Added: 0076726 | |
2018-06-13 10:35 |
|
Note Added: 0076731 | |
2018-11-26 10:08 |
|
Note Added: 0081252 | |
2018-11-26 10:08 |
|
Assigned To | abv => bugmaster |
2018-11-26 10:08 |
|
Status | assigned => feedback |
2018-11-26 10:08 |
|
Resolution | open => fixed |
2018-11-26 12:31 | bugmaster | Status | feedback => verified |
2019-01-09 17:52 | bugmaster | Test case number | => Not needed |