Opened 10 years ago
Closed 9 years ago
#49 closed defect (fixed)
input_history_ bug when counting lines in .history segment (MCR10032)
| Reported by: | Gary Dixon | Owned by: | Gary Dixon |
|---|---|---|---|
| Priority: | major | Milestone: | MR12.6f |
| Component: | Standard Library | Version: | MR12.6e |
| Keywords: | Cc: |
Description
When attempting to count lines in the USER_NAME.history segment, input_history_ routine hSeg_count_lines can loop forever if the final line of the file does not end with a NL character. Though this is an unlikely condition for a .history segment, it is one of the designed states for such files. The bug causing the looping is a code implementation error, not a design flaw.
Since this type of infinite looping in a process can use more than 99% of the available CPU time, it thereby affects overall system performance. This bug is a major defect that must be corrected before the input_history_ I/O module is released.
Change History (4)
comment:1 by , 10 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 10 years ago
comment:3 by , 10 years ago
| Summary: | input_history_ bug when counting lines in .history segment → input_history_ bug when counting lines in .history segment (MCR10032) |
|---|
comment:4 by , 9 years ago
| Component: | Documentation → Standard Library |
|---|---|
| Milestone: | → MR12.6f |
| Resolution: | → fixed |
| Status: | assigned → closed |
| Version: | → MR12.6e |

For details of this repair, see http://swenson.org/multics_wiki/downloads/doc/MCR10032.pdf