#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:                  |  
-------------------------------+--------------------------------------------
Changes (by magicloud):

  * keywords:  c binding => c binding poll


Comment:

 Sorry I did not block the code:

 {{{
 ldap_open(vancloa.cn, 389)
 ldap_pvt_gethostbyname_a: host=ctu1-tes-02.vancloa.cn, r=0
 ldap_url_parse_ext(ldap://localhost/)
 ldap_init: trying /usr/local/etc/openldap/ldap.conf
 ldap_init: using /usr/local/etc/openldap/ldap.conf
 ldap_init: HOME env is /home/magicloud
 ldap_init: trying /home/magicloud/ldaprc
 ldap_init: trying /home/magicloud/.ldaprc
 ldap_init: trying ldaprc
 ldap_init: LDAPCONF env is NULL
 ldap_init: LDAPRC env is NULL
 ldap_create
 ldap_new_connection 1 1 0
 ldap_int_open_connection
 ldap_connect_to_host: TCP vancloa.cn:389
 ldap_new_socket: 3
 ldap_prepare_socket: 3
 ldap_connect_to_host: Trying 10.253.3.51:389
 ldap_pvt_connect: fd: 3 tm: -1 async: 0
 ldap_open: succeeded
 ldap_simple_bind_s
 ldap_sasl_bind_s
 ldap_sasl_bind
 ldap_send_initial_request
 ldap_send_server_request
 ldap_result ld 0x755fb0 msgid 1
 wait4msg ld 0x755fb0 msgid 1 (infinite timeout)
 wait4msg continue ld 0x755fb0 msgid 1 all 1
 ** ld 0x755fb0 Connections:
 * host: vancloa.cn  port: 389  (default)
   refcnt: 2  status: Connected
   last used: Mon Jul 16 15:13:19 2012


 ** ld 0x755fb0 Outstanding Requests:
  * msgid 1,  origid 1, status InProgress
    outstanding referrals 0, parent count 0
   ld 0x755fb0 request count 1 (abandoned 0)
 ** ld 0x755fb0 Response Queue:
    Empty
   ld 0x755fb0 response count 0
 ldap_chkResponseList ld 0x755fb0 msgid 1 all 1
 ldap_chkResponseList returns ld 0x755fb0 NULL
 ldap_int_select
 ldap_int_select4
 ldap_int_select5
 ldap_int_select6
 ldap_int_select7
 ldap_int_select8
 ldap_int_select9
 ldap_int_select returned -1: errno 4
 ldap_err2string
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6128#comment:11>
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