View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0028381 | Open CASCADE | OCCT:DRAW | public | 2017-01-23 10:58 | 2017-09-29 16:24 |
Reporter | Assigned To | apn | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 7.1.0 | ||||
Target Version | 7.2.0 | Fixed in Version | 7.2.0 | ||
Summary | 0028381: Draw Harness - DRAWEXE still hangs up immediatly when redirecting input stream on Windows | ||||
Description | The fix for issue 0028350 does not solve the problem on my machine (DRAW hangs up as before - see hanging.png attached picture). | ||||
Steps To Reproduce | Test case is not required. Try in command window: "draw.bat" - OK "echo pload;exit | draw.bat" - HANGING | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
2017-01-23 10:58 developer |
hanging.png (18,759 bytes) |
|
Branch CR28381 has been created by nbv. SHA-1: 8addee0d63a0b93bd27a4b572ca38ce64e54db78 Detailed log of new commits: Author: nbv Date: Mon Jan 23 11:05:16 2017 +0300 0028381: Draw Harness - DRAWEXE hangs up immediatly when redirecting input stream on Windows |
|
Dear Andrey, Please review CR28381 branch. It fixes the problem on my machine. |
|
+ else if (fgetws(console_command, THE_COMMAND_SIZE, stdin)) + {// fgetws() works only for characters within active locale (see setlocale()) + console_semaphore = HAS_CONSOLE_COMMAND; + } Please instead try removing check "if (anErr == ERROR_INVALID_HANDLE)" so that "isConsoleInput = false;" is set for any error. On my system it was ERROR_INVALID_HANDLE, while on yours it is ERROR_INVALID_FUNCTION - have no idea why error code is different. |
|
Branch CR28381 has been updated by nbv. SHA-1: 52d0d05f719488e391ce725bf76f0d1545bf81f2 Detailed log of new commits: Author: nbv Date: Mon Jan 23 12:17:26 2017 +0300 Changes according to the last remarks. |
|
Done. Dear Kirill, Please review the current state of CR28381 branch. |
|
> Changes according to the last remarks. This change should replace your original patch, not "include" it. "else" statement will never occur because you are calling fgetws() before and GetLastError() has nothing to do with fgetws() return value. |
|
Branch CR28381 has been updated forcibly by nbv. SHA-1: 17d79b5a25349bb33d5592e051aa1769af304527 |
|
Done. Dear Kirill, Please review the current state of CR28381 branch. |
|
Please test the patch. |
|
Dear BugMaster, Branch CR28381 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested. SHA-1: 17d79b5a25349bb33d5592e051aa1769af304527 Number of compiler warnings: occt component: Linux: 0 (0 on master) Windows: 0 (0 on master) MasOS: 0 (0 on master) products component: Linux: 63 Windows: 0 MacOS: 1132 Regressions/Differences: Not detected Testing cases: Not needed Testing on Linux: Total MEMORY difference: 92983626 / 92067637 [+0.99%] Total CPU difference: 21075.62000000011 / 21062.120000000155 [+0.06%] Testing on Windows: Total MEMORY difference: 58324735 / 58324216 [+0.00%] Total CPU difference: 19385.43306479856 / 19152.585972198493 [+1.22%] |
|
Branch CR28381 has been deleted by kgv. SHA-1: 17d79b5a25349bb33d5592e051aa1769af304527 |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-01-23 10:58 |
|
New Issue | |
2017-01-23 10:58 |
|
Assigned To | => apn |
2017-01-23 10:58 |
|
File Added: hanging.png | |
2017-01-23 11:05 | git | Note Added: 0062886 | |
2017-01-23 11:06 |
|
Note Added: 0062887 | |
2017-01-23 11:06 |
|
Status | new => resolved |
2017-01-23 11:06 |
|
Steps to Reproduce Updated | |
2017-01-23 11:08 |
|
Relationship added | related to 0028350 |
2017-01-23 11:44 | kgv | Note Added: 0062889 | |
2017-01-23 11:44 | kgv | Assigned To | apn => nbv |
2017-01-23 11:44 | kgv | Status | resolved => assigned |
2017-01-23 11:44 | kgv | Product Version | => 7.1.0 |
2017-01-23 11:45 | kgv | Summary | Draw Harness - DRAWEXE hangs up immediatly when redirecting input stream on Windows => Draw Harness - DRAWEXE still hangs up immediatly when redirecting input stream on Windows |
2017-01-23 12:17 | git | Note Added: 0062891 | |
2017-01-23 12:18 |
|
Note Added: 0062892 | |
2017-01-23 12:18 |
|
Assigned To | nbv => kgv |
2017-01-23 12:18 |
|
Status | assigned => resolved |
2017-01-23 12:24 | kgv | Note Added: 0062893 | |
2017-01-23 12:25 | kgv | Assigned To | kgv => nbv |
2017-01-23 12:25 | kgv | Status | resolved => assigned |
2017-01-23 13:05 | git | Note Added: 0062898 | |
2017-01-23 13:06 |
|
Note Added: 0062899 | |
2017-01-23 13:06 |
|
Assigned To | nbv => kgv |
2017-01-23 13:06 |
|
Status | assigned => resolved |
2017-01-23 13:45 | kgv | Note Added: 0062900 | |
2017-01-23 13:45 | kgv | Assigned To | kgv => bugmaster |
2017-01-23 13:45 | kgv | Status | resolved => reviewed |
2017-01-24 17:24 |
|
Assigned To | bugmaster => apv |
2017-01-24 17:25 |
|
Test case number | => Not needed |
2017-01-25 13:55 |
|
Note Added: 0063002 | |
2017-01-25 13:55 |
|
Assigned To | apv => bugmaster |
2017-01-25 13:55 |
|
Status | reviewed => tested |
2017-01-27 16:15 | apn | Changeset attached | => occt master 0f358da3 |
2017-01-27 16:15 | apn | Assigned To | bugmaster => apn |
2017-01-27 16:15 | apn | Status | tested => verified |
2017-01-27 16:15 | apn | Resolution | open => fixed |
2017-02-08 11:36 | git | Note Added: 0063623 | |
2017-09-29 16:21 |
|
Fixed in Version | => 7.2.0 |
2017-09-29 16:24 |
|
Status | verified => closed |