JDK-6394318 : SingleInstanceService broken on unix
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_1
  • CPU: generic
  • Submitted: 2006-03-06
  • Updated: 2010-04-04
  • Resolved: 2006-03-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
5.0u8Fixed 6 b77Fixed
Description
running any single instance application a second time causes seg fault on solaris.
it works on windows.  try the unit test at: http://web-east.east/javaws/tiger-unit/4390904/
the first instance runs fine, the second instance throws a core dump.

Comments
EVALUATION Problem: We are calling closedir(dirp) in sysFindSiFile, but then trying to access dirp again after closedir. According to man pages, dirp might be no longer accessible after closedir. This cause a seg fault in solaris 10. Fix: Make sure we don't reference dirp after closedir(dirp).
07-03-2006

SUGGESTED FIX http://web-east.east/deployment/www/webrevs/ngthomas/6394318/webrev/
07-03-2006