IBM Support

IT27264: SEGV IN IFX_TH_MUTEX_LOCK WHEN COMPILING WITH "-THREAD"

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as duplicate of another APAR.

Error description

  • Using "-thread" in a simple ESQL/C code fails with a segv in:
    
                    $ esql t.ec -thread
                    $ gdb ./a.out
                    GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
                    ...
                    Program received signal SIGSEGV, Segmentation
    fault.
                    __GI___pthread_mutex_lock (mutex=0x0) at
    ../nptl/pthread_mutex_lock.c:67
                    67      ../nptl/pthread_mutex_lock.c: No such
    file or directory.
                    (gdb) where
                    #0  __GI___pthread_mutex_lock (mutex=0x0) at
    ../nptl/pthread_mutex_lock.c:67
                    #1  0x00007ffff74c38c8 in ifx_th_mutex_lock ()
    from /data/informix/IBM/12.10/lib/esql/libthos.so
                    #2  0x00007ffff74c336c in ifxOS_th_mutex_lock ()
    from /data/informix/IBM/12.10/lib/esql/libthos.so
                    #3  0x00007ffff74c3464 in ifxOS_thread_mutexLock
    () from /data/informix/IBM/12.10/lib/esql/libthos.so
                    #4  0x00007ffff7b9209b in asf_init () from
    /data/informix/IBM/12.10/lib/esql/libthsql.so
                    #5  0x00007ffff7b950ea in sqli_connect_open_tcb
    () from /data/informix/IBM/12.10/lib/esql/libthsql.so
                    #6  0x00007ffff7b9596e in sqli_connect_open ()
    from /data/informix/IBM/12.10/lib/esql/libthsql.so
                    #7  0x0000000000400940 in db_init ()
                    #8  0x00000000004009c4 in main ()
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • This APAR is a duplicate of IT28360
    

APAR Information

  • APAR number

    IT27264

  • Reported component name

    IBM CSDK

  • Reported component ID

    5724C2381

  • Reported release

    410

  • Status

    CLOSED DUB

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-12-11

  • Closed date

    2019-12-03

  • Last modified date

    2019-12-03

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

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVRDE","label":"Informix Client Software Development Kit"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 December 2019