#5060: iteratee: epollControl: permission denied (Operation not permitted)
-------------------------------+--------------------------------------------
Reporter: pacak | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 7.0.3 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime
-------------------------------+--------------------------------------------
Comment(by pacak):
strace shows that compiled version uses select
{{{
open("/etc/passwd", O_RDONLY) = 3
select(4, [3], [], NULL, {134, 217727}) = 1 (in [3], left {134, 217725})
}}}
while ghci version uses epoll
{{{
open("/etc/passwd", O_RDONLY) = 7
epoll_ctl(3, EPOLL_CTL_ADD, 7, {EPOLLIN, {u32=7,
u64=12117878556374073351}}) = -1 EPERM (Operation not permitted)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5060#comment:4>
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