Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#5066 closed bug (fixed)

OS X: hClose003

Reported by: altaic Owned by: simonmar
Priority: normal Milestone: 7.2.1
Component: Test Suite Version: 7.1
Keywords: Cc: william.knop.nospam@…
Operating System: MacOS X Architecture: x86_64 (amd64)
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


On my HEAD build against OS X 10.6.6 (x86_64), hClose003(threaded2) fails with:

Actual stdout output differs from expected:
--- ./lib/IO/hClose003.stdout.normalised	2011-03-31 06:08:49.000000000 -0400
+++ ./lib/IO/	2011-03-31 06:08:49.000000000 -0400
@@ -1,4 +1,4 @@
 Right ()
-Left <file descriptor: X>: hClose: resource vanished (Broken pipe)
+Left <file descriptor: XX>: hClose: resource vanished (Broken pipe)

The offending file descriptor is 10, which the program's output sanitizer is not capable of dealing with. I don't know the significance of the file descriptor number, but if it's inconsequential, then the patch I'm attaching should correctly normalize the digits.

Attachments (1)

hClose003.dpatch (119.8 KB) - added by altaic 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by altaic

Attachment: hClose003.dpatch added

comment:1 Changed 9 years ago by altaic

Cc: william.knop.nospam@… added

Oops, both hClose003(threaded2) and hClose003(profthreaded) fail as reported. The patch fixes both.

comment:2 Changed 9 years ago by altaic

Status: newpatch

comment:3 Changed 9 years ago by simonmar

Owner: set to simonmar

Thanks, I'll commit.

comment:4 Changed 9 years ago by simonmar


commit 98e32af0502ac0bbd2836b0cacf7007126676ab1
Author: Simon Marlow <>
Date:   Fri Apr 1 12:13:59 2011 +0100

    cope with multi-digit file descriptors (#5066)
    Thanks to altaic for the patch.

comment:5 Changed 9 years ago by simonmar

Resolution: fixed
Status: patchclosed

comment:6 Changed 9 years ago by simonmar

Milestone: 7.2.1
Note: See TracTickets for help on using tickets.