IBM Support

PM51210: CLEARTOOL CHTYPE FAILS WITH 'INTERNAL ERROR #9 (../BDTM.C:677)' WHEN CHANGING ELEMENT WITH CONSECUTIVE IDENTICAL VERSIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • cleartool chtype fails with 'Internal error #9 (../bdtm.c:677)'
    when changing element with consecutive identical versions
    
    
    ClearCase 7.1.x and 8.0
    
    
    Multiple UNIX and Linux
    
    
    
    To Reproduce:
    
    1)  Make a new branch: cleartool mkbrtype test-chtype
    
    2)  Modify the config spec for an auto-mkbranch rule off of
    /main for the new branch type created
    
    3)  Create a new element of element type of ?file? off the
    mkbranch rule config spec
    
    4)  Make several binary versions greater than 25MB per version
    
    5)  On the last version, checkin identical
    
    6)  Verify the md5sum matches:
    
    cleartool lsvtree -a test.so | xargs digest -a md5
    (test.so@@/main/test-chtype/0) = ***
    (test.so@@/main/test-chtype/1) = ***
    (test.so@@/main/test-chtype/2) = ***
    (test.so@@/main/test-chtype/3) = ***
    (test.so@@/main/test-chtype/4) = ***
    (test.so@@/main/test-chtype/5) = *** <- Match /7 and /8
    (test.so@@/main/test-chtype/6) = ***
    (test.so@@/main/test-chtype/7) = *** <- Match /8 and /5
    (test.so@@/main/test-chtype/8) = *** <- Match /7 and /5
    
    7)  Try and chtype the element to a binary_delta_file:
    
    cleartool chtype binary_delta_file test.so
    Change version manager and reconstruct all versions for
    'test.so'?  [no] yes
    create_version: Error: Internal error #9
    (/vobs/atria/lib/mgrs/binary_delta/bdtm.c:677)
    cleartool: Error: Type manager 'binary_delta' failed
    create_version operation.
    cleartool: Error: Unable to change type of element 'test.so' to
    'binary_delta_file'.
    
    
       NOTE:  As a test to verify, a hex editor was used to change
    one byte within the version 8 of the element from a lower to
    uppercase letter [for example, ?f? to ?F? (thus keeping the
    container the same size)] for test.so@@/main/test-chtype/8:
    
    cleartool chtype binary_delta_file test.so
    Change version manager and reconstruct all versions for
    'test.so'?  [no] yes
    Changed type of element 'test.so' to 'binary_delta_file'
    
    
    
    Workaround:  None
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    cleartool chtype fails with "Internal error #9
    (../bdtm.c:677)" when changing element with consecutive
    identical versions
    

Problem conclusion

  • A fix is available in ClearCase versions 7.1.1.8, 7.1.2.5
    and 8.0.0.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM51210

  • Reported component name

    CLEARCASE ZOS E

  • Reported component ID

    5724G2902

  • Reported release

    712

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-31

  • Closed date

    2011-12-16

  • Last modified date

    2011-12-16

  • 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

    CLEARCASE ZOS E

  • Fixed component ID

    5724G2902

Applicable component levels

  • R712 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.2","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
16 December 2011