Project

General

Profile

Actions

Bug #5043

closed

[Crunch] accept arbitrarily long stderr lines in crunchstat

Added by Tim Pierce over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Story points:
0.5

Description

Crunchstat uses a bufio.Scanner to read stderr lines, and as a consequence cannot process input lines longer than bufio.MaxScanTokenSize (64K). (See #4889)

Using a bufio.Reader with ReadString() or something similar would make it more robust to unexpectedly long stderr output, without killing the child task.


Subtasks 3 (0 open3 closed)

Task #5273: Add testResolvedTom Clegg01/21/2015Actions
Task #5274: Avoid parsing tokens in child's stderrResolvedTom Clegg01/21/2015Actions
Task #5360: Review 5043-crunchstat-long-linesResolvedPeter Amstutz01/21/2015Actions
Actions

Also available in: Atom PDF