#6128: ghc 7.4.2 does not work with LDAP-0.6.6
-------------------------------+--------------------------------------------
Reporter: magicloud | Owner:
Type: bug | Status: infoneeded
Priority: normal | Milestone:
Component: Compiler | Version: 7.4.2
Keywords: c binding poll | Os: Linux
Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------+--------------------------------------------
Comment(by magicloud):
Found the interrupt, virtualTimerExpired. And in the aborted poll call,
the timeout (var to in millisec) is 4294967295.
Hoping someone be familiar with ghc runtime could help here.
Hi Cdornan, I think this might be a problem related to "the environment",
by which I mean the network, ldap server, whatsoever. Here at my place,
same code, I failed on some certain ldap servers, not the others. But fine
on all when using ghci or runhaskell. And see the above, I do find a
certain place that leads to the problem. And the same library used by
ldap-utils or other language bindings is just working fine.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6128#comment:13>
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