IBM Support

IV49987: CORE DUMPS WHEN XFS CHILD PROCESS EXITING APPLIES TO AIX 7100-03

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Under customer's environment (more than 500 clients
    connected
    to an aix system (as CAD server) thru Exceed running on
    PCs
    and xfs together with its 500 children are running on
    aix), xfs
    core dumps when one of xfs children processes exits.
    
    errpt.out
    ---------------------------------------------------------
    ------
    LABEL:          CORE_DUMP
    IDENTIFIER:     A924A5FC
    
    Date/Time:
    Sequence Number: 1707
    Machine Id:      0004DECBD400
    Node Id:         dbnspppg1touke1
    Class:           S
    Type:            PERM
    WPAR:            Global
    Resource Name:   SYSPROC
    
    Description
    SOFTWARE PROGRAM ABNORMALLY TERMINATED
    
    Probable Causes
    SOFTWARE PROGRAM
    
    User Causes
    USER GENERATED SIGNAL
    
            Recommended Actions
            CORRECT THEN RETRY
    
    Failure Causes
    SOFTWARE PROGRAM
    -------------------------------------
    
    With debugging xfs provided to customer, we have
    dbxtrace:
    
    ---------------------------------------------------------
    -----
    Illegal instruction (illegal opcode) in . at 0x0
    warning: Unable to access address 0x0 from core
    (dbx) t
    .() at 0x0
    _FontTransClose(ciptr = (nil)), line 957 in "Xtrans.c"
    CloseSockets(), line 313 in "connection.c"
    main(argc = 7, argv = 0x2ff22cf8), line 210 in "main.c"
    (dbx) map _FontTransClose
    Entry 1:
       Object name: ./usr/bin/X11/xfs
       Text origin:     0x10000000
       Text length:     0x2db27
       Data origin:     0x20000118
       Data length:     0x171cc
       File descriptor: 0x5
    (dbx) 0x2ff22d60/7s
    0x2ff22d60: "/usr/bin/X11/xfs"
    0x2ff22d71: "-ls"
    0x2ff22d75: "14/3/7100,6/4/7100,5/5/7100"
    0x2ff22d91: "-cf"
    0x2ff22d95: "/usr/lpp/X11/lib/X11/fs/config"
    0x2ff22db4: "-port"
    0x2ff22dba: "7100"
    

Local fix

  • N/A
    

Problem summary

  • X font server core dumps when X font client exits and aborts
    connection.
    pointer that was already freed, resulting in a coredump.
    

Problem conclusion

  • Include a conditional check in code to test if thesure
    corresponding pointer in the code is not null before
    being freed again.l before freeing it.
    

Temporary fix

  • /A
    

Comments

  • Fixed in 71N
    

APAR Information

  • APAR number

    IV49987

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-09-25

  • Closed date

    2013-12-09

  • Last modified date

    2014-05-23

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

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

    U866462

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U866462

       UP14/05/22 I 1000



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV49987

Modified date: 23 May 2014