#4934: threadWaitRead works incorrectly on nonthreaded RTS
-------------------------------+--------------------------------------------
Reporter: slyfox | Owner: simonmar
Type: bug | Status: infoneeded
Priority: high | Milestone: 7.0.3
Component: Runtime System | Version: 7.0.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime
-------------------------------+--------------------------------------------
Comment(by slyfox):
Replying to [comment:7 simonmar]:
> My mistake, I don't think I actually tested with the stock 7.0.1, only
the current 7.0 branch. It does indeed fail with 7.0.1, but not the
current 7.0 branch.
>
> I'm fairly certain this is #4813 in another guise. I'll close when
you've had a chance to test against a recent snapshot.
Tried ''', ("Project version","7.0.1.20110211")'''. Results are the
following:
}}}
- test_it.tar.gz - works correctly now
- bad_fd.hs - still eats an error with nonthreaded RTS:
{{{
ghc-7.0/ghc-install:bin/ghc --make -fforce-recomp bad_fd.hs -o bad_fd.nt
[1 of 1] Compiling Main ( bad_fd.hs, bad_fd.o )
Linking bad_fd.nt ...
ghc-7.0/ghc-install:bin/ghc --make -fforce-recomp bad_fd.hs -threaded -o
bad_fd.t
[1 of 1] Compiling Main ( bad_fd.hs, bad_fd.o )
Linking bad_fd.t ...
ghc-7.0/ghc-install:./bad_fd.nt
"yet input!" # how come?
ghc-7.0/ghc-install:./bad_fd.t
bad_fd.t: epollControl: invalid argument (Bad file descriptor)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4934#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