Patch-ID# 102931-02 Keywords: malloc, ada, impact, assert, thread, POSIX, environment a.db core dump Synopsis: SPARCompiler Ada 2.1.1: iMPact Ada license, POSIX fixes Date: Aug/13/96 Solaris Release: 2.3, 2.4 SunOS Release: 5.3, 5.4 Unbundled Product: SPARCompiler Ada Unbundled Release: 2.1.1 Relevant Architectures: sparc BugId's fixed with this patch: 1161798 1237570 1249387 Changes incorporated in this version: 1237570 1249387 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: NOTE: 3.0 Files included with this patch: sup/a.ld sup/deb sup/deb_dbx sup/fe self/standard/u_env_b.a Problem Description: (Rev 01) 1161798 iMPact Ada license request gets "assertion error at file malloc.c, line 663" When using iMPact Ada (Ada "self_thr" libraries that support Solaris threads), the compiler, linker, and debugger check out two license tokens. It is the checkout of the second token for license feature "sunpro.mpmt.ada" that fails with an assertion error. The bug is related to license LINGER and the patch turns off lingering. (Rev 02) 1237570 Ada with POSIX wipes out some environment variables 1249387 a.db core dumps when called from AdaDebug and there a .dbrc file Patch Installation Instructions: -------------------------------- Refer to the Install.info file for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below as special instructions. Special Install Instructions: ----------------------------- It is necessary to compile u_env_b.a after you install this patch. Note that licensing must be set up properly to be able to run the compiler. ################################################################## ## WARNING ## ## Once you compile the file, you will not be able to back out ## ## this patch using the backoutpatch utility. ## ################################################################## To compile the file, type the commands: # cd /opt/SUNWspro/Ada2.1.1/self/standard # /opt/SUNWspro/Ada2.1.1/bin/ada u_env_b.a