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: Paul Johnson
Subject: Re: Assertion failed: __objc_class_hash with Swarm 2.2 snapshot
Date: Fri, 19 Jul 2002 10:08:26 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606

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.



reply via email to

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