PROBLEM

Invalid CADRG and/or CIB extensions cause a Segmentation Violation

Last Published: April 25, 2020

Description

When opening a project with CADRG and/or CIB extensions, ArcView returns the error: "Segmentation Violation"

Cause

When the CADRG and/or the CIB extensions are turned on, and any images referenced by the project have been moved, renamed, or deleted, the CADRG and CIB extensions cause a segmentation violation.

Solution or Workaround

Remove the invalid extensions from the project by editing the .apr file in a text editor.

  1. Open the Project in WordPad

    Warning:
    Make a copy of the damaged .apr file under a different name. This backup copy may be needed to revert to if some of the edits do not work.

  2. Use the Find option to search for the text "CADRG". You will find two instances of the extension. One in the dependency line . . .

    Dependencies:
    "$AVEXT/adrg.avx\n$AVEXT/cadrg.avx\n$AVEXT/smap.avx
    \n$AVEXT/arcpress.avx\n$AVEXT/spatial.avx\n"

    and one in a path object.

    (FN.9060
    Path: "$AVEXT/cadrg.avx"
    )

  3. Write down the number of the path object (i.e. 9060)

    Note:
    In the following steps you will uses the find tool to search the file for references to this object.

  4. Delete the extension object from the dependency list

    Before:

            Dependencies:	9058
    Dependencies: 9059
    Dependencies: 9060
    Dependencies: 9061
    Dependencies: 9062
    Dependencies: 9063
    Dependencies: 9064

    After:

            Dependencies:	9058
    Dependencies: 9059
    Dependencies: 9061
    Dependencies: 9062
    Dependencies: 9063
    Dependencies: 9064

  5. Delete the Extension path object

    Before:

    (FN.9059
    Path: "$AVEXT/adrg.avx"
    )

    (FN.9060
    Path: "$AVEXT/cadrg.avx"
    )

    (FN.9061
    Path: "$AVEXT/stmap.avx"
    )

    After:

    (FN.9059
    Path: "$AVEXT/adrg.avx"
    )

    (FN.9061
    Path: "$AVEXT/stmap.avx"
    )

  6. Remove the extension from the Dependencies list

    Before:

    Dependencies:
    "$AVEXT/adrg.avx\n$AVEXT/cadrg.avx\n$AVEXT/smap.avx\n
    $AVEXT/arcpress.avx\n$AVEXT/spatial.avx\n"

    After:

    Dependencies:
    "$AVEXT/adrg.avx\n$AVEXT/smap.avx\n$AVEXT/arcpress.avx\n
    $AVEXT/spatial.avx\n"

  7. Save the file in Wordpad
  8. Open ArcView
  9. Make sure the CIB and CADRG extension are turned off
  10. Open the project

    Note:
    Follow the same steps above to remove the CIB extension from a Project file. Search for "CIB" instead of "CADRG".


Article ID:000002576

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic