Re: java 32 bit core dump...
garland@webbuddies.com wrote:
I'm having an issue with java dumping core on me and I'm having
trouble finding the cause. I'm running on a sun v240 running
Solaris9. I can a 64 bit jvm but anytime I go to run 32 bit with say
a 'java -version' at the command line I get a core...
I believe I'm not finding the 32 bit libraries, but can't figure out
what's causing it. I am able to fix the problem by making my home
directory unreadable with a chmod 000 ~username. when I then log in,
the 32 bit java runs fine.
I've sequestered my .cshrc, my .login, as a matter of fact I've hidden
all of the 'dot-file/directories' with no success.
I'd try making the rest of the files in my home directory unreadable
in some fashion but there are about 1500 files/directories there.
Any direction would be helpful. I've got output from truss if that
would be helpful.
Thanks in advance for any suggustions.
-G
I don't actually have any Solaris 64bit systems so can't test any
configurations, I can only offer suggestions.
I doubt that the problem is due to libraries. If the 32bit JVM failed to find
the necessary libraries the result wouldn't be a core dump. Also, if it
attempted to load the 64bit libraries I'm sure that would also result in a
different error.
What's most likely is that something in your environment is incorrect for the
32bit JVM. It might be something as simple as the JVM loading a properties file
which is messing it up. Compare all your environment variables between an shell
where the 32bit JVM works, and one where it doesn't. Look for any likely
culprits and set or unset them appropriately and see if that cures the problem.
You also say you have truss output. Look through that and see what files in your
home area are being accessed by the JVM. Try temporarily moving each one to see
if that cures the problem.
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555