#5060: iteratee: epollControl: permission denied (Operation not permitted)
-------------------------------+--------------------------------------------
Reporter: pacak | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 7.0.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime
-------------------------------+--------------------------------------------
Description changed by igloo:
Old description:
> If you run this ticket as literate haskell program it works fine when
> 1) executed via ghci/runhaskell in ghc 6.12.3
> 2) executed as compiled file in both ghc 6.12.3 and 7.0.2/7.0.3
>
> and it fails with a message " epollControl: permission denied (Operation
> not permitted)" when executed via runhaskell in ghc 7.0.2/7.0.3
> {{{
> > import Data.Iteratee
> > import Data.Iteratee.IO
> > import Data.Iteratee.Char
>
> > main = fileDriver printLines "/etc/passwd"
> }}}
> some logs are attached
New description:
If you run this ticket as literate haskell program it works fine when
1. executed via ghci/runhaskell in ghc 6.12.3
2. executed as compiled file in both ghc 6.12.3 and 7.0.2/7.0.3
and it fails with a message " epollControl: permission denied (Operation
not permitted)" when executed via runhaskell in ghc 7.0.2/7.0.3
{{{
> import Data.Iteratee
> import Data.Iteratee.IO
> import Data.Iteratee.Char
> main = fileDriver printLines "/etc/passwd"
}}}
some logs are attached
--
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5060#comment:12>
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