Answers Database
Timsim8: "return code 1" from segmentation fault under Solaris
Record #1074
Product Family: Software
Product Line: Mentor
Problem Title:
Timsim8: "return code 1" from segmentation fault under Solaris
Problem 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.
Solution 1:
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
End of Record #1074
For the latest news, design tips, and patch information on the Xilinx design environment, check out the Xilinx Expert Journals! |