PM95033: Invoking __cxa_demangle from libstdc++ results in purify'd program crashing

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • PurifyPlus 7.0.1.0-004
    RHEL 5.6
    Cadence ncsim 12.20
    
    The customer is using purify with Cadence Design System's NCSIM
    simulator.
    They had reported this issues last year to Cadence that ncsim
    does not run cleanly with purify.
    
    ====[part of the messages]=======
    
    ****  Purify instrumented INCA_libs/static_exe/ncsim_sc (pid
    15443)  ****
    ZPR: Zero page read:
      * This is occurring while in thread 15443:
        d_append_buffer [cp-demangle.c:3120]
        d_print_comp   [cp-demangle.c:3663]
        d_print_comp   [cp-demangle.c:3649]
        d_print_comp   [cp-demangle.c:3649]
        d_print_comp   [cp-demangle.c:3822]
        d_print_function_type [cp-demangle.c:4340]
        d_print_comp   [cp-demangle.c:3706]
        d_print_comp   [cp-demangle.c:3428]
      * Reading 1 byte from 0x7
    ncsim: *E,SIGUSR: Unix Signal SIGSEGV raised from user
    application code.
    ncsim: *F,INTERR: INTERNAL EXCEPTION
    Observed simulation time : 0 FS + 0
    ----------------------------------------------------------------
    -
    

Local fix

Problem summary

  • PurifyPlus is patching a reference to the global symbol
    cplus_demangle_builtin_types in libstdc++.so.6 improperly.
    
    This occurs with libstdc++.so.6 from gcc 4.4.3 and gcc 4.4.5.
    

Problem conclusion

  • Modified PurifyPlus to correctly reference
    cplus_demangle_builtin_types.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM95033

  • Reported component name

    PURIFY WIN

  • Reported component ID

    5724G2201

  • Reported release

    701

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-13

  • Closed date

    2013-11-20

  • Last modified date

    2013-11-20

  • 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

    PURIFY WIN

  • Fixed component ID

    5724G2201

Applicable component levels

  • R701 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Purify

Software version:

7.0.1

Reference #:

PM95033

Modified date:

2013-11-20

Translate my page

Machine Translation

Content navigation