glibc detected *** free(): invalid pointer: 0x099d8ab8

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf glibc detected *** free(): invalid pointer: 0x099d8ab8

  • Creator
    Topic
  • #54870
    shikher arya1
    Participant

      Hi,

      We are using CL 6.1 and we have configured an OB thread with Database OB protocol.

      Once in every week we are getting this error in Log files:

      Call to “doMsg” returned error string “caught exception trying to processMessageFromCloverleaf: Database connection is not valid.”. Returning bad send to engine.

      Nov 02, 2015 1:30:29 AM com.lawson.cloverleaf.dbprotocol.CJDDBProtocolOB processMessageFromCloverleaf

      INFO: Establish db connection: lwsn_sac_outbound

      *** glibc detected *** /cloverleaf/cis6.1/integrator/bin/hciengine: free(): invalid pointer: 0x099d8ab8 ***

      ======= Backtrace: =========

      /lib/libc.so.6(+0x81cb91)[0x2c27b91]

      /cloverleaf/cis6.1/integrator/bin/hciengine(strFree+0x17)[0x82cacc9]

      /cloverleaf/cis6.1/integrator/bin/hciengine(_Z16ptdSetErrContextiPc+0x42)[0x816db44]

      /cloverleaf/cis6.1/integrator/bin/hciengine[0x8102c01]

      /cloverleaf/cis6.1/integrator/bin/hciengine[0x810383f]

      /lib/libpthread.so.0(-0xff6ad4c7)[0x168b39]

      /lib/libc.so.6(clone+0x5e)[0x2c99c2e]

      This error makes my Process to shutdown and also, the configured alert for Process Dead Status is not fired when this situation occurs.

      Under normal process shutdown, my alert is fired.

      Please help me out.

      Thanks.

    Viewing 1 reply thread
    • Author
      Replies
      • #83278
        Elisha Gould
        Participant

          Try putting the thread in a separate process. Cloverleaf was not initially designed to be multi-threaded, so some threads must be in their own process to prevent two OS threads accessing the data at the same time.

        • #83279
          shikher arya1
          Participant

            As of now, we have one IB thread Fileset protocol configured and one OB thread Database protocol configured in a single process.

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.