IBM Support

IZ35785: SEGMENTATION FAULT WITH COMBINED OPTIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling with options -O and -q64, the application may
    encounter a segmentation fault and output incorrect sizeof
    values for some structures.
    
    These structures, when compiled, may reserve less space than
    they require.
    

Local fix

  • N/A
    

Problem summary

  • Users running with optimization on.
    
    Autofoliation assumes that all parameters are register size
    because the appropriate function to map parameters has not yet
    run.  When it does encounter a parameter that is larger
    than register size, it only allocates a single register for it,
    which ultimatetly throws off the calling sequence.
    

Problem conclusion

  • If we encounter a parameter that will not fit into a
    single register, don't autofoliate the procedure.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ35785

  • Reported component name

    XLC C++ AIX

  • Reported component ID

    5724S7100

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-10-27

  • Closed date

    2009-01-02

  • Last modified date

    2009-01-27

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

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

    LI74039 LI74076

Fix information

  • Fixed component name

    XL C AIX

  • Fixed component ID

    5724S7000

Applicable component levels

[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0"}]

Document Information

Modified date:
04 October 2021