#2971: readFile "/proc/mounts" hangs on an amd64 machine
----------------------+-----------------------------------------------------
 Reporter:  dsf       |          Owner:                  
     Type:  bug       |         Status:  new             
 Priority:  normal    |      Milestone:                  
Component:  Compiler  |        Version:  6.10.1          
 Severity:  critical  |     Resolution:                  
 Keywords:            |       Testcase:                  
       Os:  Linux     |   Architecture:  Unknown/Multiple
----------------------+-----------------------------------------------------
Comment (by rm):

 I think I've tracked this down to libraries/base/GHC/Handle.hs.  In order
 to fix #2363, calls to fdReady were added before every IO operation
 between 6.8.3 and 6.10.1.  For real files, this works fine.  For the
 special not-really-files files in /proc and /sys it can fail.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2971#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to