AR# 1074

Timsim8: "return code 1" from segmentation fault under Solaris

描述

Keywords: timsim8, error, return code, seg fault, solaris

Urgency Standard

General Description:

Under Solaris 2.4 and above, Timsim8 may fail with the following:

lca2xnf -wg b328i b328i_timaka
mv -f b328i_timaka.xnf b328i_tim.xnf
xnfba b328i.xff b328i_tim.xnf -m
nawk -f /xact/com/sparc/mbapp.nawk -v mbafile=b328i_tim.mba > b328i_tim.mbb
mv -f b328i_tim.mbb b328i_tim.mba
pld_dve_ba b328i b328i_tim.mba
>> Segmentation Fault
Errors found while running pld_dve_ba.
Check timsim8.log and timsim8.sh files.
Timsim8 ended with return code 1
Done.

(Note: The timsim8.log file gives no indication of a segmentation fault.)

The segmentation fault is caused by improper library calls in Mentor's main
design-management shell. This program is used by Mentor's file-management
commands to determine file types, hard path names, etc. PLD_DVE_BA, and
thus Timsim8, uses a Mentor file-management command called delete_object,
which in turn calls ddms_sh, the central design-management shell.

The improper library calls exist because ddms_sh was written for Solaris
2.3, and not Solaris 2.4 or 2.5.

解决方案

The ddms_sh program may be updated to run under Solaris 2.4 and 2.5 with
Patch 251, available on Mentor Graphics' FTP site at supportnet.mentorg.com
(137.202.128.4). The patch comes in three parts, a read-me file,
installation instructions, and the actual DDMS program:

ftp://supportnet.mentorg.com/pub/patches/release_A/baselib/README_P251
ftp://supportnet.mentorg.com/pub/patches/release_A/baselib/INSTALL_P251
ftp://supportnet.mentorg.com/pub/patches/release_A/baselib/ddms_p251.ss5.tar.Z
AR# 1074
日期 10/01/2008
状态 Archive
Type 综合文章