swarm-support
[Top][All Lists]
Advanced

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

RE: Assertion failed: __objc_class_hash with Swarm 2.2 snapshot


From: Vidrine II,C. Kent
Subject: RE: Assertion failed: __objc_class_hash with Swarm 2.2 snapshot
Date: Fri, 19 Jul 2002 13:41:58 -0400

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?

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?

-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of Paul Johnson
Sent: Friday, July 19, 2002 11:08 AM
To: address@hidden
Subject: Re: Assertion failed: __objc_class_hash with Swarm 2.2 snapshot


Hm.  I don't do Solaris, but:

Swarm as distributed should not compile with stock gcc-3.0.2.   You can
search back in swarm-support about 3 months for a message from me
explaining the need to patch gcc in order to compile Swarm as distributed.

Can you tell us if Objective-C programs like Heatbugs works?

On the Java side, we have much better luck with jikes as the java
compiler.  You don't say if you used that or not.

I've not built swarm with hdf5-1.4.4. The newest I've done is 1.4.3

pj

Vidrine II,C. Kent wrote:
> 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.



reply via email to

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