swarm-support
[Top][All Lists]
Advanced

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

Re: Question about Swarm shared libraries


From: Paul E Johnson
Subject: Re: Question about Swarm shared libraries
Date: Thu, 25 Jul 2002 12:33:22 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606

Raniero Virgilio wrote:
I was tired of these problems with my Mandrake, so that's what I did:

1.Installed a brend new Rad Hat 7.2 (and the required tcl/tk, BLT, etc..)
RH 7.3 is current

2.Installed j2sdk1.4.0 (no problem)

I noted in swarm-support two days ago that people who install j2sdk from an RPM do not get all the files installed where needed. Other users report that downloading the tarball from sun, opening it up in /usr/local/j2sdk1.4.0 solves these problems you see. Or opening somewhere else and installing.

I believe the problem is caused by the RPM package designer, who splits up files and puts them where he things best, rather than just giving you the whole thing.

If you read swarm-support within the last few days, my email cites at least one happy customer

3.Made a symbolic link /usr/local/j2sdk1.4.0->/usr/java/j2sdk1.4.0_01
4.Installed hdf5-1.4.3-1RH72.i386.rpm (no problem)
5. Installed binutils-2.12.1-1.i386.rpm (no problem)
6. Installed your patched gcc3.0 (two files, gcc3 and gcc3-objc, required
libpng.so.3, forced with --nodeps)
libgcc3 should be required as well. Don't understand why it did not ask for it.

You will find the RPMS I made for RH7.3 don't use the newer libpng, and so you would not run into this problem. If you want to keep using the RPMS that ask for the newer libpng, I'd suggest updating your libpng with these 3 files. The libpng10 is the compatability for old things, while the 1.2 is the newer shared libraries/header files the swarm RH7.2 rpms are looking for.

http://lark.cc.ukans.edu/~pauljohn/software/libpng-1.2.0-1.i386.rpm
http://lark.cc.ukans.edu/~pauljohn/software/libpng-devel-1.2.0-1.i386.rpm
http://lark.cc.ukans.edu/~pauljohn/software/libpng10-1.0.12-1.i386.rpm
7. Installed swarm for RH7.2 (swarm-2.1.138-20020423-1.i386.rpm)
(libpng.so.3 required, forced with --nodeps)

Lets try to do this without forcing anything....

8. Downloaded jheatbugs 2.1 and jmousetrap 2.1 (2002-04-23)

I have exactly the same situation as for Mandrake: objc works fine and
fast,java has same problems:

1.No problems compiling jheatbugs, semantic errors detected by j2sdk in
compile time for jmousetrap.
2.When I run jheatbugs (abnd when I run EACH java application for swarm)
I read many of the following repeated:

        (Tcl -eval:) syntax error in expression "$tcl_versione >= 8.0"
                while executing
        "if ($tcl_version >= 8.0) {
                set cmd blt::drag&drop
        } else {
                set cmd drag&drop
        }"
                (file "/usr/lib/blt2.4/bltDragdrop.tcl" line 43)
                invoked from within
        ......

Anyway, the application starts. When I hit START, the application crashes
and I read the stuff  sent you in attachment (the file I attached is
created at each crach).
The problem is the EZGraph class. In fact, I'm programming my swarm
application, and I had no problem until I inserted the EZGraph graphics.
Then I had the same crash as the one I told you before.
In fact, if I change HeatbugObserverSwarm.java, excluding the EZGraph
lines, I can run jheatbugs, hit run, and I see the heatbugs going around
in the GUI, without any EZGraph graphics.
The same happens if I run jheatbugs in batchmode: the application runs
without any problem.
I hope I was clear enough.

Many thanks.




Raniero Virgilio
address@hidden
http://digilander.iol.it/MindVisions


------------------------------------------------------------------------


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4CB898FC
Function=Tk_CreateEventHandler+0x18
Library=/usr/lib/libtk.so.0

Current Java thread:
        at 
swarm.analysis.EZGraphImpl.enableDestroyNotification$notificationMethod(Native 
Method)
        at HeatbugObserverSwarm.buildObjects(HeatbugObserverSwarm.java:258)
        at StartHeatbugs.main(StartHeatbugs.java:28)

Dynamic libraries:
08048000-0804d000 r-xp 00000000 16:02 296049     
/usr/java/j2sdk1.4.0_01/jre/bin/java
0804d000-0804e000 rw-p 00004000 16:02 296049     
/usr/java/j2sdk1.4.0_01/jre/bin/java
40000000-40016000 r-xp 00000000 16:02 308444     /lib/ld-2.2.4.so
40016000-40017000 rw-p 00015000 16:02 308444     /lib/ld-2.2.4.so
40018000-40021000 r-xp 00000000 16:02 167134     
/usr/java/j2sdk1.4.0_01/jre/lib/i386/native_threads/libhpi.so
40021000-40022000 rw-p 00008000 16:02 167134     
/usr/java/j2sdk1.4.0_01/jre/lib/i386/native_threads/libhpi.so
40022000-40023000 r--p 00000000 16:02 32501      
/usr/lib/locale/it_IT/LC_IDENTIFICATION
40023000-40024000 r--p 00000000 16:02 48870      
/usr/lib/locale/it_IT/LC_MEASUREMENT
40024000-40025000 r--p 00000000 16:02 32503      
/usr/lib/locale/it_IT/LC_TELEPHONE
40025000-40026000 r--p 00000000 16:02 16317      
/usr/lib/locale/it_IT/LC_ADDRESS
40026000-40027000 r--p 00000000 16:02 16316      /usr/lib/locale/it_IT/LC_NAME
40027000-40028000 r--p 00000000 16:02 48869      /usr/lib/locale/it_IT/LC_PAPER
40028000-40029000 r--p 00000000 16:02 178684     
/usr/lib/locale/it_IT/LC_MESSAGES/SYS_LC_MESSAGES
40029000-4002a000 r--p 00000000 16:02 32502      
/usr/lib/locale/it_IT/LC_MONETARY
4002a000-4002b000 r--p 00000000 16:02 32504      /usr/lib/locale/it_IT/LC_TIME
4002b000-4002c000 r--p 00000000 16:02 16314      
/usr/lib/locale/it_IT/LC_NUMERIC
4002c000-4002e000 r--s 00000000 16:02 4891       
/usr/java/j2sdk1.4.0_01/jre/lib/ext/dnsns.jar
4002e000-4003b000 r-xp 00000000 16:02 292129     /lib/i686/libpthread-0.9.so
4003b000-40043000 rw-p 0000c000 16:02 292129     /lib/i686/libpthread-0.9.so
40043000-40046000 r-xp 00000000 16:02 308457     /lib/libdl-2.2.4.so
40046000-40047000 rw-p 00002000 16:02 308457     /lib/libdl-2.2.4.so
40047000-40179000 r-xp 00000000 16:02 292125     /lib/i686/libc-2.2.4.so
40179000-4017e000 rw-p 00131000 16:02 292125     /lib/i686/libc-2.2.4.so
40182000-40448000 r-xp 00000000 16:02 232031     
/usr/java/j2sdk1.4.0_01/jre/lib/i386/client/libjvm.so
40448000-405b1000 rw-p 002c5000 16:02 232031     
/usr/java/j2sdk1.4.0_01/jre/lib/i386/client/libjvm.so
405c5000-405d8000 r-xp 00000000 16:02 308462     /lib/libnsl-2.2.4.so
405d8000-405d9000 rw-p 00012000 16:02 308462     /lib/libnsl-2.2.4.so
405db000-4060f000 r-xp 00000000 16:02 309967     
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
4060f000-4061b000 rw-p 00033000 16:02 309967     
/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
4061d000-4063f000 r-xp 00000000 16:02 292127     /lib/i686/libm-2.2.4.so
4063f000-40640000 rw-p 00021000 16:02 292127     /lib/i686/libm-2.2.4.so
40640000-40651000 r-xp 00000000 16:02 150931     
/usr/java/j2sdk1.4.0_01/jre/lib/i386/libverify.so
40651000-40653000 rw-p 00010000 16:02 150931     
/usr/java/j2sdk1.4.0_01/jre/lib/i386/libverify.so
40653000-40675000 r-xp 00000000 16:02 150919     
/usr/java/j2sdk1.4.0_01/jre/lib/i386/libjava.so
40675000-40677000 rw-p 00021000 16:02 150919     
/usr/java/j2sdk1.4.0_01/jre/lib/i386/libjava.so
40679000-4068d000 r-xp 00000000 16:02 150932     
/usr/java/j2sdk1.4.0_01/jre/lib/i386/libzip.so
4068d000-40690000 rw-p 00013000 16:02 150932     
/usr/java/j2sdk1.4.0_01/jre/lib/i386/libzip.so
40690000-41d0d000 r--s 00000000 16:02 134701     
/usr/java/j2sdk1.4.0_01/jre/lib/rt.jar
41d4f000-41d66000 r--s 00000000 16:02 134702     
/usr/java/j2sdk1.4.0_01/jre/lib/sunrsasign.jar
41d66000-41dd4000 r--s 00000000 16:02 134695     
/usr/java/j2sdk1.4.0_01/jre/lib/jsse.jar
41dd4000-41de7000 r--s 00000000 16:02 134694     
/usr/java/j2sdk1.4.0_01/jre/lib/jce.jar
41de7000-42068000 r--s 00000000 16:02 134683     
/usr/java/j2sdk1.4.0_01/jre/lib/charsets.jar
4c313000-4c33e000 r--p 00000000 16:02 194790     
/usr/lib/locale/address@hidden/LC_CTYPE
4c33e000-4c344000 r--p 00000000 16:02 48872      
/usr/lib/locale/it_IT/LC_COLLATE
4c344000-4c36f000 r--p 00000000 16:02 48871      /usr/lib/locale/it_IT/LC_CTYPE
4c36f000-4c37d000 r--s 00000000 16:02 4892       
/usr/java/j2sdk1.4.0_01/jre/lib/ext/ldapsec.jar
4c37d000-4c382000 r-xp 00000000 16:02 102376     
/usr/lib/swarm/libswarm.so.0.0.0
4c382000-4c384000 rw-p 00004000 16:02 102376     
/usr/lib/swarm/libswarm.so.0.0.0
4c385000-4c38f000 r-xp 00000000 16:02 308478     /lib/libnss_files-2.2.4.so
4c38f000-4c390000 rw-p 00009000 16:02 308478     /lib/libnss_files-2.2.4.so
4c5bf000-4c662000 r--s 00000000 16:02 4893       
/usr/java/j2sdk1.4.0_01/jre/lib/ext/localedata.jar
4c662000-4c67f000 r--s 00000000 16:02 4894       
/usr/java/j2sdk1.4.0_01/jre/lib/ext/sunjce_provider.jar
4c67f000-4c6da000 r--s 00000000 16:02 183456     /usr/share/swarm/swarm.jar
4c6da000-4c7d5000 r-xp 00000000 16:02 102389     
/usr/lib/swarm/libjavaswarm.so.1.0.0
4c7d5000-4c7e1000 rw-p 000fa000 16:02 102389     
/usr/lib/swarm/libjavaswarm.so.1.0.0
4c7e1000-4c7f7000 r-xp 00000000 16:02 102352     /usr/lib/swarm/libobjc.so.0.0.0
4c7f7000-4c7f9000 rw-p 00015000 16:02 102352     /usr/lib/swarm/libobjc.so.0.0.0
4c7f9000-4c7fe000 r--s 00000000 16:02 259926     
/usr/lib/gconv/gconv-modules.cache
4c7fe000-4c800000 r-xp 00000000 16:02 259874     /usr/lib/gconv/ISO8859-1.so
4c800000-4c801000 rw-p 00001000 16:02 259874     /usr/lib/gconv/ISO8859-1.so
4c80f000-4c815000 r-xp 00000000 16:02 310716     
/lib/libgcc_s-3.0.4-20020221.so.1
4c815000-4c817000 rw-p 00005000 16:02 310716     
/lib/libgcc_s-3.0.4-20020221.so.1
4c817000-4c827000 r-xp 00000000 16:02 102372     
/usr/lib/swarm/libspace.so.2.0.1
4c827000-4c82c000 rw-p 0000f000 16:02 102372     
/usr/lib/swarm/libspace.so.2.0.1
4c82c000-4c83f000 r-xp 00000000 16:02 102336     
/usr/lib/swarm/libanalysis.so.4.0.0
4c83f000-4c844000 rw-p 00012000 16:02 102336     
/usr/lib/swarm/libanalysis.so.4.0.0
4c844000-4c861000 r-xp 00000000 16:02 102368     
/usr/lib/swarm/libsimtoolsgui.so.5.0.0
4c861000-4c867000 rw-p 0001c000 16:02 102368     
/usr/lib/swarm/libsimtoolsgui.so.5.0.0
4c868000-4c874000 r-xp 00000000 16:02 102364     
/usr/lib/swarm/libsimtools.so.4.0.0
4c874000-4c878000 rw-p 0000b000 16:02 102364     
/usr/lib/swarm/libsimtools.so.4.0.0
4c878000-4c8e2000 r-xp 00000000 16:02 102360     
/usr/lib/swarm/librandom.so.1.0.0
4c8e2000-4c8f6000 rw-p 00069000 16:02 102360     
/usr/lib/swarm/librandom.so.1.0.0
4c8f6000-4c93a000 r-xp 00000000 16:02 102384     
/usr/lib/swarm/libtkobjc.so.5.0.1
4c93a000-4c94a000 rw-p 00043000 16:02 102384     
/usr/lib/swarm/libtkobjc.so.5.0.1
4c94a000-4c956000 r-xp 00000000 16:02 102380     
/usr/lib/swarm/libtclobjc.so.0.1.3
4c956000-4c958000 rw-p 0000b000 16:02 102380     
/usr/lib/swarm/libtclobjc.so.0.1.3
4c958000-4c979000 r-xp 00000000 16:02 102356     
/usr/lib/swarm/libobjectbase.so.4.0.0
4c979000-4c97f000 rw-p 00020000 16:02 102356     
/usr/lib/swarm/libobjectbase.so.4.0.0
4c97f000-4c9a6000 r-xp 00000000 16:02 102332     
/usr/lib/swarm/libactivity.so.5.0.0
4c9a6000-4c9af000 rw-p 00026000 16:02 102332     
/usr/lib/swarm/libactivity.so.5.0.0
4c9af000-4ca18000 r-xp 00000000 16:02 102344     
/usr/lib/swarm/libdefobj.so.4.0.0
4ca18000-4ca35000 rw-p 00068000 16:02 102344     
/usr/lib/swarm/libdefobj.so.4.0.0
4ca35000-4ca6f000 r-xp 00000000 16:02 102340     
/usr/lib/swarm/libcollections.so.3.0.1
4ca6f000-4ca7c000 rw-p 00039000 16:02 102340     
/usr/lib/swarm/libcollections.so.3.0.1
4ca7c000-4ca81000 r-xp 00000000 16:02 102348     /usr/lib/swarm/libmisc.so.1.1.3
4ca81000-4ca82000 rw-p 00004000 16:02 102348     /usr/lib/swarm/libmisc.so.1.1.3
4ca82000-4cb57000 r-xp 00000000 16:02 310689     /usr/lib/libBLT24.so
4cb57000-4cb67000 rw-p 000d4000 16:02 310689     /usr/lib/libBLT24.so
4cb67000-4cc08000 r-xp 00000000 16:02 308806     /usr/lib/libtk.so.0
4cc08000-4cc13000 rw-p 000a0000 16:02 308806     /usr/lib/libtk.so.0
4cc13000-4cc8a000 r-xp 00000000 16:02 308800     /usr/lib/libtcl.so.0
4cc8a000-4cc93000 rw-p 00076000 16:02 308800     /usr/lib/libtcl.so.0
4cc93000-4cca1000 r-xp 00000000 16:02 261165     /usr/X11R6/lib/libXpm.so.4.11
4cca1000-4cca2000 rw-p 0000d000 16:02 261165     /usr/X11R6/lib/libXpm.so.4.11
4cca2000-4ccc2000 r-xp 00000000 16:02 308640     /usr/lib/libpng.so.2.1.0.12
4ccc2000-4ccc3000 rw-p 0001f000 16:02 308640     /usr/lib/libpng.so.2.1.0.12
4ccc3000-4cd87000 r-xp 00000000 16:02 310717     /usr/lib/libhdf5.so.0.0.0
4cd87000-4cd8a000 rw-p 000c3000 16:02 310717     /usr/lib/libhdf5.so.0.0.0
4cd8a000-4cd96000 r-xp 00000000 16:02 308623     /usr/lib/libz.so.1.1.3
4cd96000-4cd98000 rw-p 0000b000 16:02 308623     /usr/lib/libz.so.1.1.3
4cd98000-4ce71000 r-xp 00000000 16:02 261143     /usr/X11R6/lib/libX11.so.6.2
4ce71000-4ce76000 rw-p 000d8000 16:02 261143     /usr/X11R6/lib/libX11.so.6.2
4ce76000-4cf39000 r--s 00000000 16:02 183454     /usr/share/swarm/kawa.jar

Local Time = Thu Jul 25 08:56:19 2002
Elapsed Time = 186
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0_01-b03 mixed mode)
#



--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66044-3177           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]