IBM Support

IZ29504: CRON CORE DUMP DUE TO BUFFER OVERFLOW APPLIES TO AIX 6100-03

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Cron can core dump leaving a core stack trace like the
    following:
    
    Segmentation fault in ex at line 1919 in file ""
    could not read
    "../../../../../../src/bos/usr/sbin/cron/cron.c"
    ex(e = 0x20575757), line 1919 in "cron.c"
    main(argc = 1, argv = 0x2ff22de0), line 495 in "cron.c"
      $r0:0xd0338888  $stkp:0x2ff1e880   $toc:0x200026b4
    $r3:0x00000001
      $r4:0x00000000    $r5:0x20004757    $r6:0x00000000
    $r7:0x00000039
      $r8:0x00000000    $r9:0x00000000   $r10:0x80808080
    $r11:0x7f7f7f7f
     $r12:0x10003f34   $r13:0xdeadbeef   $r14:0x00000001
    $r15:0x2ff22de0
     $r16:0x2ff22de8   $r17:0x00000000   $r18:0xdeadbeef
    $r19:0xdeadbeef
     $r20:0xdeadbeef   $r21:0xdeadbeef   $r22:0xdeadbeef
    $r23:0xdeadbeef
     $r24:0xdeadbeef   $r25:0xdeadbeef   $r26:0xdeadbeef
    $r27:0xdeadbeef
     $r28:0xdeadbeef   $r29:0x20001060   $r30:0x20004728
    $r31:0x20000508
     $iar:0x10003f5c   $msr:0x0000d0b2    $cr:0x88222828
    $link:0x10003f34
     $ctr:0x00000004   $xer:0x2002a0a2    $mq:0xffffffff
              Condition status = 0:l 1:l 2:e 3:e 4:e 5:l 6:e
    7:l
            [unset $noflregs to view floating point
    registers]
            [unset $novregs to view vector registers]
    in ex at line 1919 in file ""
    0x10003f5c (ex+0x508) 90640010        stw   r3,0x10(r4)
    
    or like:
    
    Segmentation fault in idle at line 2284 in file ""
    idle(tyme = 60, old_time = 1190591400), line 2284 in
    "cron.c"
    main(argc = 1, argv = 0x2ff22d90), line 484 in "cron.c"
      $r0:0xd036183c  $stkp:0x2ff228e0   $toc:0x200026b4
    $r3:0x7463726f
      $r4:0x46f6fba8    $r5:0x393d5a00    $r6:0x08dedf75
    $r7:0x21a52fa2
      $r8:0x07a6f51d    $r9:0x0137ea57   $r10:0x00000000
    $r11:0x00003600
     $r12:0x100050d0   $r13:0xdeadbeef   $r14:0x00000001
    $r15:0x2ff22d90
     $r16:0x2ff22d98   $r17:0x00000000   $r18:0xdeadbeef
    $r19:0xdeadbeef
     $r20:0xdeadbeef   $r21:0xdeadbeef   $r22:0xdeadbeef
    $r23:0xdeadbeef
     $r24:0xdeadbeef   $r25:0xdeadbeef   $r26:0xdeadbeef
    $r27:0xdeadbeef
     $r28:0xdeadbeef   $r29:0x00000000   $r30:0x2000300c
    $r31:0x20000508
     $iar:0x10005100   $msr:0x0000d0b2    $cr:0x42222222
    $link:0x100050d0
     $ctr:0x00000000   $xer:0x20000000    $mq:0xffffffff
              Condition status = 0:g 1:e 2:e 3:e 4:e 5:e 6:e
    7:e
            [unset $noflregs to view floating point
    registers]
            [unset $novregs to view vector registers]
    in idle at line 2284 in file "/tmp/cron_code/cron.c"
    0x10005100 (idle+0x300) 80630000        lwz   r3,0x0(r3)
    

Local fix

  • To get around this don't use long crontab names or
    multiple
    commands in the file seprated by an ;. Instead put them
    in
    a script to run the commands.
    

Problem summary

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IZ29504

  • Reported component name

    AIX 610

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2008-08-11

  • Closed date

    2008-08-11

  • Last modified date

    2013-04-17

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

    IZ05652

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

Fix information

  • Fixed component name

    AIX 610

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U819599

       UP09/05/08 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 April 2013