Sun Java Solaris Communities My SDN Account Join SDN
 

Sun Studio Support News

Come here often to see the latest news about released patches, new features, workarounds, and new information relating to current Sun Studio software releases.

 
 

Sun Studio 12 Release


 
Solaris OS on x86 Platforms Kernel Bug
 
Unexpected SIGTRAP signal causes dbx debugger to hang
 
When the dbx debugger is being used on the Solaris 10 OS on x86 platforms to debug a program that raises or delivers signals that have signal handlers, dbx might receive an unexpected SIGTRAP signal from the kernel that causes it to hang. This situation can occur when dbx is single stepping, running to a breakpoint, collecting runtime checking (RTC) data, or performing any other activity that depends on signal trapping. In some cases, dbx displays a warning of a unexpected SIGTRAP signal when it hangs; for example:
dbx: internal warning: unexpected SIGTRAP!
In other cases, dbx indicates receipt of a SEGV signal, for example:
signal SEGV (no mapping at the fault address) in main at line 29 in file "test.c"
Then when the user uses a cont -sig SEGV command to continue execution with the SEGV signal, dbx displays the warning of the unexpected SIGTRAP.
 
Workaround: This bug is introduced into Solaris 10 on x86 platforms when kernel patch 127112 is installed. Currently, the only workaround is to not install this kernel patch, or to uninstall it if it has been installed. As soon as a patch is available that fixes this bug, the patch information will be posted on this page.
(May 19, 2008)
 
Sun Studio 12 Patches Available
The first set of patches for the Sun Studio 12 released software is now available on SunSolve. Check to see if you need to install the latest revisions of these patches.
(August 10, 2007)
 
Sun Studio 12 now available
Download the latest release of the Sun Studio compilers and tools.
(June 4, 2007)
 
 
 

Sun Studio 11 Release


 
Sun Studio 11 Patches Available
The first set of patches for the Sun Studio 11 released software is now available on SunSolve. Check to see if you need to install the latest revisions of these patches . They are listed on the Sun Studio 11 patch page.
(January 5, 2006)
 
Possible Exceptions During Installation

If you run the Sun Studio 11 installer with a version of the J2SE technology earlier than 1.4.0, you might receive an exception during serialization or an exception stating that the class com.sun.install.products.Product was not found. If you receive one of these exceptions, see the Installation Information section of the Release Notes for more information.
(Last updated December 19, 2005)
 
dbx Dumps Core When Debugging 64-Bit Application

If you are running the Sun Studio software on the Solaris 10 OS, and
you have downloaded and installed any of the following patches from
http://sunsolve.sun.com, the dbx command-line debugger might crash when you debug a 64-bit application.

SPARC platforms:
119963-03 (Shared library patch for C++)
120753-01 (libmtsk patch)

x86 platforms:
119964-03 (Shared library patch for C++)
120754-01 (libmtsk patch)

The following patches, which correct this problem, are available for download.

SPARC platforms:
119963-04 (Shared library patch for C++)
120753-02 (libmtsk patch)

x86 platforms:
119964-05 (Shared library patch for C++)
120754-02 (libmtsk patch)

You can also correct this problem by:

  • Upgrading your system to the Solaris 10 OS 1/06 update release.
  • Installing the appropriate dbx patch for the version of Sun Studio software you are running:
    • 117844-04 for Sun Studio 10 software on SPARC platforms
    • 117845-04 for Sun Studio 10 software on x86 platforms
    • 121023-01 for Sun Studio 11 software on SPARC platforms
    • 121616-01 for Sun Studio 11 software on x86 platforms

(Last updated March 27, 2006)
 
Recent Solaris Patches Affect dbx Debugger

If you are running the Solaris 10 OS, the dbx command-line debugger might hang immediately after loading program information for the program you are debugging. This behavior is caused by a kernel bug.

The kernel bug occurs in the following releases of the Solaris OS:

  • Solaris 10 OS 3/05 HW2. To determine whether you are running this Solaris OS release type the following command at a terminal shell prompt: more /etc/release.
         
  • The Solaris 10 OS on SPARC based systems if you have installed one of the following patches:
    • 118822-19
    • 118822-20
    • 118822-21
    • 118822-22
           
  • The Solaris 10 OS on x86 based systems if you have installed one of the following patches:
    • 118844-19
    • 118844-20
    • 118844-21
    • 118844-22

The patch that fixes the kernel bug on SPARC platforms is now available as 118822-30. Before installing this patch, install patch 119578, upon which 118822-30 is dependent.

The patch that fixes the kernel bug on x86 platforms is now available as 118844-30. Before installing this patch, install the following patches, upon which 118844-30 is dependent:

There is a workaround for this problem:

When dbx hangs, do one of the following:
  • Type Control-c twice. Warnings are displayed, but dbx prompts you for a command.
       
  • In a terminal window on the same machine where dbx is running:
    1. Use the ps command to determine the process ID of the program you are debugging.
      ps -ef | grep program_name
                
    2. Use the prun command to start the program.
      prun process_ID
      
                
    3. dbx prompts you for a command.
(Last updated March 27, 2006)
 
 
Watch this space for additional information about the Sun Studio 11 release
Don't forget to first check the Release Notes on the Sun Studio 11 documentation page, as well as the readme files and man pages for the individual components. (November 15, 2005)
 
 

Sun Studio 10 Release


Don't forget to first check the Release Notes on the Sun Studio 10 documentation page, as well as the readme files and man pages for the individual components.

April 13, 2005
Clarification on Sun Studio 10 64-bit Support on Linux Platforms
The Sun Studio 10 software offers very limited support for 64-bit development on the Linux operating system. For details, see the Sun Studio 10 for Linux Platforms Release Notes.
 
March 21, 2005
Sun Studio 10 Patches Released
The first set of patches for Sun Studio 10 has been released on SunSolve. They include patches to all three compilers and libraries. These patches fix a number of problems. See the individual patch pages for more details.
» Read more
 
February 4, 2005
Wrong Patch Number Listed
The Sun Studio 10 for Solaris Platforms Release Notes contains an error. It shows the required X11 6.6.1: Xsun patch for the Solaris 9 OS on SPARC based systems that is included in the J2SE installer as patch number 112785-342. The correct patch number is 112785-42. The release notes on docs.sun.com and the developer portal will be updated.
 
 
 
»  Send Comments

Let us know what you like and don't like about the Compilers and Tools hub. Send us feedback. But for support questions, see the support page.