swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Solaris Install problem with Java Swarm (was Re: Assertion failed: _


From: Vidrine II,C. Kent
Subject: RE: Solaris Install problem with Java Swarm (was Re: Assertion failed: __objc_class_hash with Swarm 2.2 snapshot
Date: Tue, 23 Jul 2002 15:27:20 -0400

After further investigation it appears that the problem may be related to
this, which appears in the middle of the build process and that I didn't see
before because I stepped away for a while:

TOP_BUILDDIR='/space/swarm-source/build'
BUILDDIR='/space/swarm-source/build/java'
SWARMSRCDIR='/space/swarm-source/swarm-2002-05-14'
/opt/share/PUBemacs-21.1/bin/emacs -batch -l
'/space/swarm-source/build/java/java-stub.elc' -f java-run-all-unicode
Activity failed
Activity failed
FAction failed
FAction failed
... long list of failures ...


After this series of failures, the build continues. The libraries all get
built, but then when I attempt to run a java program, I still get the failed
assertion. In searching the mailing list archives, I saw a similar problem
reported in the article at
http://www.santafe.edu/projects/swarm/archive/list-archive.0112/0089.html. I
did not see a solution posted.

I have tried this with emacs 20.7.1, 20.3, and 21.1. I get the same error
with each. Any suggestions on how to troubleshoot this problem?


-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of Paul Johnson
Sent: Saturday, July 20, 2002 12:45 AM
To: address@hidden
Subject: Solaris Install problem with Java Swarm (was Re: Assertion
failed: __objc_class_hash with Swarm 2.2 snapshot


You did not report back whether Objective-C swarm programs work or
whether some java program that we provide, such as jheatbugs-2001-03-28,
will work. ??

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
>
> Also, I used Sun's Java environment rather than Jikes.
Well, jikes is not an environment, its just a JAVAC replacement, and we
know it works.

> 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,
>
> gcc
>
>>3.0.2, with Sun's JDK 1.3.1_01. With the Java program that I've been
>
> using,
>
>>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 with
>
> Swarm
>
>>2.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.



                  ==================================
   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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]