Closed Bug 604406 Opened 14 years ago Closed 14 years ago

xpcshell verbose output fails with "[IOError 12] Not enough space" when the buffer is too long

Categories

(Testing :: XPCShell Harness, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla2.0b7

People

(Reporter: rain1, Assigned: rain1)

References

Details

Attachments

(1 file, 2 obsolete files)

I hit this with a test I'm writing for bug 604359. The attached patch fixes it for me. There isn't going to be an issue with UTF-8, is there?
Attachment #483187 - Flags: review?(ted.mielczarek)
Assignee: nobody → sid.bugzilla
Status: NEW → ASSIGNED
Comment on attachment 483187 [details] [diff] [review]
patch to split output into 32k chunks

There might be, I don't know. I feel like you might be better served splitting it on "\n" and looping over the lines, printing each in turn.
Attached patch print line-by-line (obsolete) — Splinter Review
OK.
Attachment #483187 - Attachment is obsolete: true
Attachment #483465 - Flags: review?(ted.mielczarek)
Attachment #483187 - Flags: review?(ted.mielczarek)
Attachment #483465 - Flags: review?(ted.mielczarek) → review+
Apparently I suck and fail to look a couple of lines above the code I'm touching. Apparently I really like troubling you too. Sorry :(
Attachment #483465 - Attachment is obsolete: true
Attachment #483641 - Flags: review?(ted.mielczarek)
Attachment #483641 - Flags: review?(ted.mielczarek) → review+
http://hg.mozilla.org/mozilla-central/rev/891c142fde1b
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Target Milestone: mozilla2.0b8 → mozilla2.0b7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: