hGetBufNonBlocking doesn't work on Windows
|Reported by:||Owned by:|
|Keywords:||Cc:||Bulat.Ziganshin@…, Deewiant, ryani, Olathe, dagitj@…, core-libraries-committee@…|
|Type of failure:||Runtime crash||Test Case:||hGetBuf001|
|Related Tickets:||Differential Rev(s):|
All HAppS (http://happs.org/HAppS/README.html) applications fail with an internal error: asyncRead# when compiled with the -threaded option.
To reproduce the error:
- compile any of the apps in the example subdirectory with -threaded and access it over the net (http://localhost:8000).
ghc --make -v -fallow-overlapping-instances -fglasgow-exts -threaded httpd.hs -o httpd
The same programs compiled without -threaded work fine.
Tested on Windows XP with latest SP/patches and gcc 6.4.2. Let me know if you would like more info or the full compilation trace.
Change History (22)
comment:1 Changed 11 years ago by
|Component:||Compiler → libraries/base|
|Summary:||internal error: asyncRead# on threaded RTS with HAppS -threaded → hGetBufNonBlocking doesn't work with -threaded on Windows|
comment:5 Changed 10 years ago by
|difficulty:||Unknown → Moderate (1 day)|
|Milestone:||6.6.1 → 6.8|
|Summary:||hGetBufNonBlocking doesn't work with -threaded on Windows → hGetBufNonBlocking doesn't work on Windows|
|Test Case:||→ hGetBuf001|