[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
swarm1.3.1./Solaris2.6: crashing heatbugs
From: |
Daniel Drewes |
Subject: |
swarm1.3.1./Solaris2.6: crashing heatbugs |
Date: |
Fri, 11 Dec 1998 19:58:29 +0100 (MET) |
Dear all,
I am currently trying to convince swarm 1.3.1 to cooperate
with our Solaris2.6 enviroment. Everything compiles just fine
but heatbugs refuses to run and drops segfaults in my shell.
(gdb) run
Starting program: /tmp/sw/swarmapps-1.3.1/heatbugs/heatbugs
Program received signal SIGSEGV, Segmentation fault.
0xef2a4614 in strlen ()
(gdb) bt
#0 0xef2a4614 in strlen ()
#1 0x46e00 in -[TclInterp checkPath:file:] (self=0x1b93c0, _cmd=0x158844,
path=0x0, file=0x126640 "init.tcl") at TclInterp.m:113
#2 0x46ecc in -[TclInterp checkTclLibrary] (self=0x1b93c0, _cmd=0x15887c)
at TclInterp.m:127
#3 0x47090 in -[TclInterp preInitWithArgc:argv:] (self=0x1b93c0,
_cmd=0x158a2c,
argc=1, argv=0xeffff63c) at TclInterp.m:169
#4 0x47b70 in -[TkInterp preInitWithArgc:argv:] (self=0x1b93c0, _cmd=0x158800,
argc=1, argv=0xeffff63c) at TkInterp.m:98
#5 0x4615c in -[TkExtra preInitWithArgc:argv:] (self=0x1b93c0, _cmd=0x158894,
argc=1, argv=0xeffff63c) at TkExtra.m:76
#6 0x4728c in -[TclInterp initWithArgc:argv:] (self=0x1b93c0, _cmd=0x158a4c,
argc=1, argv=0xeffff63c) at TclInterp.m:233
#7 0x47d78 in -[TkInterp initWithArgc:argv:] (self=0x1b93c0, _cmd=0x1575ec,
argc=1, argv=0xeffff63c) at TkInterp.m:174
#8 0x42c74 in tkobjc_initTkInterp (arguments=0x1b40f0) at internal.m:138
#9 0x44d74 in initTkObjc (arguments=0x1b40f0) at tkobjc.m:40
#10 0x36704 in initSimtoolsGUI () at simtoolsgui.m:19
#11 0x3358c in initSwarmAppArguments (argc=1592320, argv=0x185000,
version=0x117a78 "1.3", bugAddress=0x117a80 "address@hidden",
argumentsClass=0x15ec04) at simtools.m:71
#12 0x33434 in initSwarmApp (argc=1, argv=0xeffff63c, version=0x117a78 "1.3",
bugAddress=0x117a80 "address@hidden") at simtools.m:38
#13 0x2c418 in main (argc=1, argv=0xeffff63c) at main.m:21
(gdb)
This seems to be the same Problem Karin Hollerbach had before (yes, I
searched the archive before posting). The problem is that the suggested
solution (pointing TCL_LIBRARY to the path that has init.tcl) doesn't help.
I also don't have /usr/ucb in my PATH anymore.
What might be a problem is that there are both tcl7.6/tk4.2 and
tcl8.0/tk8.0 installed in the same path. Heatbugs seems to be happy
with tcl/tk8.0:
% ldd heatbugs
libtk8.0.so => /opt/tcl/lib/libtk8.0.so
libtcl8.0.so => /opt/tcl/lib/libtcl8.0.so
libXpm.so.4.10 => /opt/X11R6.3/lib/libXpm.so.4.10
libpng.so => /opt/lib/libpng.so
libffi.so.1 => /users/scratch/2drewes/swarm/lib/libffi.so.1
libX11.so.6.1 => /opt/X11R6.3/lib/libX11.so.6.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libm.so.1 => /usr/lib/libm.so.1
libposix4.so.1 => /usr/lib/libposix4.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libc.so.1 => /usr/lib/libc.so.1
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libmp.so.2 => /usr/lib/libmp.so.2
libaio.so.1 => /usr/lib/libaio.so.1
libXext.so.0 => /usr/openwin/lib/libXext.so.0
Current enviroment:
Xpm library 3.2f, egcs version egcs-2.91.57
libffi 1.2 , blt 2.4f, libz1.1.2, libpng1.0.1
printenv:
[...]
LD_LIBRARY_PATH=/opt/tcl/lib:/users/scratch/2drewes/swarm/lib
LD_RUN_PATH=/opt/tcl/lib:/users/scratch/2drewes/swarm/lib
SWARMHOME=/users/scratch/2drewes/swarm
TCLLIBPATH=/opt/tcl/lib
TKLIBPATH=/opt/tcl/lib
BLTHOME=/users/scratch/2drewes/swarm
TCLDIR=/opt/tcl
TKDIR=/opt/tcl
TK_DIR=/opt/tcl
TCL_DIR=/opt/tcl
TCL_LIB_DIR=/opt/tcl/lib
TK_LIB_DIR=/opt/tcl/lib
TCL_LIBRARY=/opt/tcl/lib/tcl8.0
TK_LIBRARY=/opt/tcl/lib
BLT_LIBRARY=/users/scratch/2drewes/swarm/lib
I configured BLT with:
./configure --prefix=/users/scratch/2drewes/swarm --with-tcl=/opt/tcl
--with-tk=/opt/tcl --with-cc=gcc --x-includes=/usr/X11/include
--x-libraries=/usr/X11/lib -with-x --enable-shared
and my configure for swarm:
./configure --prefix=/users/scratch/2drewes/swarm
--with-bltdir=/users/scratch/2drewes/swarm
--with-ffidir=/users/scratch/2drewes/swarm --with-xpmdir=/opt/X11R6.3
--with-zlibdir=/opt --with-pngdir=/opt --with-tcldir=/opt/tcl
--with-tkdir=/opt/tcl --disable-shared --x-includes=/usr/X11/include
--x-libraries=/usr/X11/lib
Any suggestions what I should try next? A few running demos could
increase moral significantly.
Thanks a lot in advance,
-daniel
==================================
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.
- swarm1.3.1./Solaris2.6: crashing heatbugs,
Daniel Drewes <=
- Re: swarm1.3.1./Solaris2.6: crashing heatbugs, Marcus G. Daniels, 1998/12/11
- Re: swarm1.3.1./Solaris2.6: crashing heatbugs, Daniel Drewes, 1998/12/14
- Re: swarm1.3.1./Solaris2.6: crashing heatbugs, Marcus G. Daniels, 1998/12/15
- Re: swarm1.3.1./Solaris2.6: crashing heatbugs, Daniel Drewes, 1998/12/15
- Re: swarm1.3.1./Solaris2.6: crashing heatbugs, Marcus G. Daniels, 1998/12/15
- Re: swarm1.3.1./Solaris2.6: crashing heatbugs, Karin Hollerbach, 1998/12/15
- Re: swarm1.3.1./Solaris2.6: crashing heatbugs, Marcus G. Daniels, 1998/12/15
- Re: swarm1.3.1./Solaris2.6: crashing heatbugs, Daniel Drewes, 1998/12/15
- Re: swarm1.3.1./Solaris2.6: crashing heatbugs, Paul E. Johnson, 1998/12/15