PM76328: SIGSEGV RECEIVED WHEN EXECUTING INTERNAL SORT WITH OUTPUT FILE DEFINED WITH ASSIGN USING SYNTAX.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Having a SORT statement as in:
    
    
    SORT  SORT-FILE
          ....
          GIVING                XYZ-FILE
    
    with XYZ-FILE defined with a USING as in:
    
    SELECT XYZ-FILE  ASSIGN
                     USING        FILE-PATH-SPEC
                     ORGANIZATION IS  LINE SEQUENTIAL
                     FILE STATUS     IS XYZ-STATUS.
    
    Fails with the following when FILE-PATH-SPEC is defined as:
    
    03  FILE-PATH-SPEC    PIC X(256)  VALUE SPACES.
    
    The following error is received during SORT
    <Thread 1>  Signal received: SIGSEGV - Segmentation violation
    <Thread 1>
    <Thread 1>  Traceback:
    <Thread 1>    Location 0x00000000
    

Local fix

  • Having FILE-PATH-SPEC the same size as the name of the file
    moved into the field bypasses the problem.
    

Problem summary

  • There should be no SIGSEGV using SORT.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM76328

  • Reported component name

    COBOL FOR AIX

  • Reported component ID

    5724Z8700

  • Reported release

    411

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-01

  • Closed date

    2013-03-01

  • Last modified date

    2013-03-01

  • 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

    COBOL FOR AIX

  • Fixed component ID

    5724Z8700

Applicable component levels

  • R411 PSY UK91813

       UP13/03/01 P 9999



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

COBOL for AIX

Software version:

411

Reference #:

PM76328

Modified date:

2013-03-01

Translate my page

Machine Translation

Content navigation