Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Error message “Glibc detected”.

    Error message “Glibc detected”.

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1.  
    2. Problem Symptoms: 
    3. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 20,21,22,23

     


    Problem Symptoms: 


    Ue_01 stopped with error message 'Glibc detected'. It was not possible to stop the daemon with util e/2 but only by killing it. Now it's not possible to start it again.

    And, In another case:

    The following is seen in our pc server logs; always after module Z39.50 Services
    PROGRAM : pc_z39_c9902
    ...
    *** glibc detected *** .../pc_server_main: malloc(): memory corruption: 0x0a989dc0 ***


    In a third case, using util w/3 to start the www_server, though it *did* start, the user got the following message on the screen after the start:

     *** glibc detected *** .../www_server_main: double free or corruption 

    ,Resolution:

    1. Set the following parameter in $alephe_root/aleph_start.private:

        setenv MALLOC_CHECK_ 0   

    2. source $alephe_root/aleph_start
    3. restart PC server (util w/3/3)
    4. Restart the Update Doc Index (util e/1)

    Note that there's a space between "MALLOC_CHECK_" and the "0" .

     

    Additional Information

    When the parameter MALLOC_CHECK_ 0 parameter is set, a special (less efficient) implementation is used which is designed to be tolerant against simple errors, such as double calls of free() with the same argument, or overruns of a single byte (off-by-one bugs). Not all such errors can be protected against, however, and memory leaks can result.
    If MALLOC_CHECK_ is set to 0, any detected heap corruption is silently ignored and an error message is not generated.

    See also additional information at Linux manual
    man malloc

     


    • Article last edited: 15/March/2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Error message "Z305-SUB-LIBRARY is not valid" when running patron loader (file-20)
      • Error message “HOL library has no related ADM library” when moving HOL record
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. Background processing (500)
      3. contype:kba
      4. Prod:Aleph
      5. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved