IBM Support

IV68049: LAST COMMAND DUMPS CORE. 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

  • last command dumps core.
    
           # dbx /usr/bin/last core
           Type 'help' for help.
           [using memory image in core]
           reading symbolic information ...warning: no source
    compiled with -g
    
           Segmentation fault in . at 0x100000c28
           0x100000c28 (???) e8850008             ld
    r4,0x8(r5)
           (dbx) t
           main(??, ??) at 0x100000c28
           (dbx) x
             $r0:0x0000000000000072  $stkp:0x0ffffffffffff950
      $toc:
        0x0000000110000f68
             $r3:0x0000000000000400    $r4:0x0000000110865fc0
       $r5:
        0x0000000110036ff8
                                ~~~k==1024
        ~~~~~~~~~~~~~~~~~~&ttnames[1023]
             $r6:0x0000000000000400    $r7:0x0000000000003b60
       $r8:
        0x0000000000000000
                                ~~~MAXTTYS=1024
             $r9:0xf1000a01c01c8c00   $r10:0x0000000000000000
      $r11:
        0xf00000002ff47600
            $r12:0x09001000a00844c8   $r13:0xbadc0ffee0ddf00d
      $r14:
        0x0000000000000003
    

Local fix

Problem summary

  • last command dumps core (segmentation fault)
    

Problem conclusion

  • Change in the evaluation of the while statement will resolve
    the issue
    

Temporary fix

Comments

  • 6100-08 - use AIX APAR IV70031
    6100-09 - use AIX APAR IV69687
    7100-02 - use AIX APAR IV70358
    7100-03 - use AIX APAR IV68049
    7100-03 - use AIX APAR IV68049
    

APAR Information

  • APAR number

    IV68049

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-12-18

  • Closed date

    2015-02-18

  • Last modified date

    2015-09-30

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U864281

       UP15/05/19 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV68049

Modified date: 30 September 2015