|
From: | Paul Johnson |
Subject: | Solaris Install problem with Java Swarm (was Re: Assertion failed: __objc_class_hash with Swarm 2.2 snapshot |
Date: | Fri, 19 Jul 2002 23:44:32 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606 |
I hope a Solaris user will tell what they did to install swarm. I know there are some who read this list.
I have a feeling there is a shared library or foreign function library or some such nonsense going on. If you find out what went wrong, email me the solution and I'll put it in the FAQ. Please let me know your configure line.
Vidrine II,C. Kent wrote:
I have access to gcc via NFS mount to a system that I don't control, so I didn't apply the gcc patch. In the article at http://www.santafe.edu/projects/swarm/archive/list-archive.0112/0083.html, Marcus Daniels states that there is a workaround. I used that workaround (commenting a line out in one file followed by a complete build) instead of applying the gcc patch. Is the approach that I took problematic?
Should be OK. I think you mean the same patch described here: http://www.santafe.edu/projects/swarm/archive/list-archive.0204/0087.html
Well, jikes is not an environment, its just a JAVAC replacement, and we know it works.Also, I used Sun's Java environment rather than Jikes.
Do you believe that the build process is sensitive enough to the differences (Sun's Java vs Jikes, hdf5 1.4.4 vs 1.4.3) that it would cause the initialization failure that I'm seeing?
I don't think the "build process" is sensitive. I do think that if you make a configuration mistake or ignore errors and warnings that come along when you build swarm, then you will get errors of the sort you mention.
There are countless other possibilities, and I hesitate to guess since, as I said, I don't do Solaris.
I know you have been looking at the Swarm email archive, but I'm finding comments which indicate various sources of concern. I found these to be most intriguing:
http://www.santafe.edu/projects/swarm/archive/list-archive.0110/0082.html http://www.santafe.edu/projects/swarm/archive/list-archive.0108/0055.html
-----Original Message-----Please help me correct this error... I recently downloaded, compiled, and installed the Swarm 2.2 development snapshot (swarm-2002-05-14.tar.gz) from ftp://ftp.swarm.org/pub/swarm/src/testing/. My environment is Solaris 8,gcc3.0.2, with Sun's JDK 1.3.1_01. With the Java program that I've beenusing,I get the following runtime error before any windows pop up: Assertion failed: __objc_class_hash, file class.c, line 130 ./newswarm.sh[25]: 19593 Abort(coredump) FYI, newswarm.sh is the script that I use to set the PATH, CLASSPATH, and LD_LIBRARY_PATH variables. Also, the program that I'm running is a vanilla JHeatBugs version that does nothing fancy. The program runs fine withSwarm2.1.1. When I look at the file class.c, on line 130, the assertion that fails is this: /* Make sure the class hash table exists. */ assert (__objc_class_hash); It appears that this variable should be initialized on line 53 of class.c, so my guess is that either the initialization is failing or the initialization function "void __objc_init_class_tables()" is not getting called. What should I be looking for? How should I go about fixing this problem? Environment summary: Swarm 2.2 snapshot 2002-05-14 Solaris 8 gcc 3.0.2 blt 2.4y tcl and tk 8.3.1 hdf5 1.4.4 xpm 3.4k-- Paul E. Johnson email: address@hidden Dept. of Political Science http://lark.cc.ku.edu/~pauljohn University of Kansas Office: (785) 864-9086 Lawrence, Kansas 66045 FAX: (785) 864-5700 ================================== Swarm-Support is for discussion of the technical details of the day to day usage of Swarm. For list administration needs (esp. [un]subscribing), please send a message to <address@hidden> with "help" in the body of the message. ================================== Swarm-Support is for discussion of the technical details of the day to day usage of Swarm. For list administration needs (esp. [un]subscribing), please send a message to <address@hidden> with "help" in the body of the message.
-- Paul E. Johnson email: address@hidden Dept. of Political Science http://lark.cc.ku.edu/~pauljohn University of Kansas Office: (785) 864-9086 Lawrence, Kansas 66045 FAX: (785) 864-5700 ================================== Swarm-Support is for discussion of the technical details of the day to day usage of Swarm. For list administration needs (esp. [un]subscribing), please send a message to <address@hidden> with "help" in the body of the message.
[Prev in Thread] | Current Thread | [Next in Thread] |