#6128: ghc 7.4.2 does not work with LDAP-0.6.6
------------------------------------------+---------------------------------
  Reporter:  magicloud                    |          Owner:                
      Type:  bug                          |         Status:  closed        
  Priority:  normal                       |      Milestone:                
 Component:  Compiler                     |        Version:  7.4.2         
Resolution:  invalid                      |       Keywords:  c binding poll
        Os:  Linux                        |   Architecture:  x86_64 (amd64)
   Failure:  Incorrect result at runtime  |     Difficulty:  Unknown       
  Testcase:                               |      Blockedby:                
  Blocking:                               |        Related:                
------------------------------------------+---------------------------------
Changes (by simonmar):

  * status:  infoneeded => closed
  * resolution:  => invalid


Comment:

 The RTS uses `SIGVTALRM` for its own purposes (scheduling and profiling).
 This can cause certain system calls to return `EINTR`, but C library code
 is supposed to handle `EINTR` properly and restart the system call.  I
 suspect that LDAP is not doing this, which would be a bug in LDAP.

 You can work around the problem by passing `+RTS -V0` to GHC, although
 note that this may have a negative impact on performance, because the
 scheduler will context switch too often.

 I'm closing the bug as `invalid` on the assumption that it is an LDAP bug.
 If you think this is wrong, please re-open the ticket.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6128#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to