IBM Support

LO64499: SEGMENTATION FAULT AFTER DISPOSING OF DYNAMICALLY LINKING LIBNOT ES.SO IN RED HAT LINUX

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using files in test_so.zip
    Log on as the user who installed Domino.
    
    Unzip the files in an empty directory in the user's home.
    
    cd to that directory
    
    Build test_notes and test_so with the command:
    
      make -f linux.mak
    
    USE THE MAKEFILE TO BE SURE YOU DO NOT STATICALLY LINK
    libnotes.so!
    Copy test_notes and test_so to the Domino executables directory.
     You
    may need root access.  The directory is typically:
    
      /opt/ibm/lotus/notes/latest/linux
    
    This directory should be in the path, and also in
    LD_LIBRARY_PATH
    Start the Domino server if it is not already running.
    
    Run test_notes.  You will see:
    
      dlopen successful
    
    
    
      dlsym successful
    
    
    
      initlotus successful
    
    
    
      termlotus successful
    
    
    
      dlclose successful
    
    Segmentation fault
    
    The segmentation fault takes place during a call to getenv after
    the
    shared library is released with dlclose().
    
    Run test_so which does the same thing but with a different
    shared
    library (libcurses.so).  No Segmentation fault.
    
    If you statically link libnotes.so by including -llibnotes on
    the
    link command line, you will get no Segmentation fault from
    test_notes.
    

Local fix

  • Statically link libnotes.so.
    

Problem summary

  • A programming error was found and will be corrected in a future
     release.
    

Problem conclusion

  • A programming error was found and will be corrected in a future
     release.
    

Temporary fix

Comments

  • This APAR is associated with SPR# DTOD8GYMTK.
    

APAR Information

  • APAR number

    LO64499

  • Reported component name

    DOMINO SERVER

  • Reported component ID

    5724E6200

  • Reported release

    852

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-06

  • Closed date

    2011-10-14

  • Last modified date

    2011-10-14

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DOMINO SERVER

  • Fixed component ID

    5724E6200

Applicable component levels

  • R852 PSN

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTMJ","label":"Lotus Domino"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
14 October 2011