
make test dumps core - Solaris/Sparc 2.4
Hi all,
I have been trying to compile Tk 4.0 on Solaris/Sparc 2.4 without much
success. It just dumps core when I run tktest. I've tried compiling
with Sun ProC 3.0.1, and GCC 2.7.0 and the results are the same. I've
attached the relevant gdb output. Any suggestions greatly appreciated.
--
Unix Specialist, Network Division
Interprovincial Pipe Line, Inc.
------------------------------------------------------------------------
[212]admn10$ ./tktest
Bus Error (core dumped)
[213]admn10$ gdb tktest core
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.14 (sparc-sun-solaris2.4), Copyright 1995 Free Software Foundation, Inc...
Core was generated by `./tktest'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/openwin/lib/libX11.so.4...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/openwin/lib/libXext.so.0...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libw.so.1...done.
Reading symbols from /usr/lib/libintl.so.1...done.
Reading symbols from /usr/lib/nss_nis.so.1...done.
Reading symbols from /usr/lib/straddr.so...done.
Reading symbols from /usr/lib/nss_dns.so.1...done.
Reading symbols from /usr/lib/libresolv.so.1...done.
#0 0xef5fb808 in _smalloc ()
(gdb) where
#0 0xef5fb808 in _smalloc ()
#1 0xef5fb84c in malloc ()
#2 0x99c94 in Tk_CreateBinding (interp=0x10b7e8, bindingTable=0x1139c0, object=0x120428,
eventString=0xefffe98f "<B2-Leave>", command=0xefffe99a " ", append=0) at tkBind.c:589
#3 0x9e718 in Tk_BindCmd (clientData=0x11a330, interp=0x10b7e8, argc=4, argv=0xefffea60)
at tkCmds.c:141
#4 0xb32a4 in Tcl_Eval ()
#5 0xca418 in Tcl_EvalFile ()
#6 0xb32a4 in Tcl_Eval ()
#7 0xca418 in Tcl_EvalFile ()
#8 0xb32a4 in Tcl_Eval ()
#9 0xb4ad0 in Tcl_IfCmd ()
#10 0xb32a4 in Tcl_Eval ()
#11 0x30440 in Tk_Init (interp=0x10b7e8) at tkWindow.c:798
#12 0x18b64 in Tcl_AppInit (interp=0x10b7e8) at tkTest.c:300
#13 0x29afc in Tk_Main (argc=1, argv=0xeffff824, appInitProc=0x18b00 <Tcl_AppInit>)
at tkMain.c:246
#14 0x18aec in main (argc=1, argv=0xeffff824) at tkTest.c:252