make test dumps core - Solaris/Sparc 2.4 
Author Message
 make test dumps core - Solaris/Sparc 2.4


Quote:

>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.

So it dies in _smalloc()?  Did the test for tcl7.4 all run fine?  You
could try recompiling everything with MEM_DEBUG on.  It's interesting that
it dies in a <B2-Leave> binding because it means that some significant
amount of processing must already have occurred since that binding is
only made for Scales and Scrollbars when they are created.  What previous
output was made before the core dump?  If nothing else works, I can give
you a binary for Solaris.
--
     Jeffrey Hobbs                           Office: 503/346-3998

                URL: http://www.*-*-*.com/ ~jhobbs/


Mon, 19 Jan 1998 03:00:00 GMT  
 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



Mon, 19 Jan 1998 03:00:00 GMT  
 make test dumps core - Solaris/Sparc 2.4

 Dave> I have been trying to compile Tk 4.0 on Solaris/Sparc 2.4 without much
 Dave> success. It just dumps core when I run tktest. I've tried compiling
 Dave> with Sun ProC 3.0.1, and GCC 2.7.0 and the results are the same. I've
 Dave> attached the relevant gdb output. Any suggestions greatly appreciated.

The problem turned out to be a problem with the shared X libraries on
the particular sparc. I discovered this because it turned out that I
couldn't run _any_ X programs.


Unix Specialist, Network Division
Interprovincial Pipe Line, Inc.



Tue, 20 Jan 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Tk 4.1 + exmh 1.6.7 core dump on Solaris 2.4 (sun4m)

2. Tcl 8.0b2 test fail - Solaris 2.4/SPARC/Sun compiler

3. Tk 8.0b2 test results for Solaris 2.4/SPARC/Sun compiler

4. Solaris 2.4, SPARC 1+, 8 bit color board, Sun's cc, Tk 4.0, test failure

5. _tkinter makes core dump (Re: python links with Tk in OS/2 - but core dumps)

6. Can't compile gforth-0.3.0 on Sparc Solaris 2.4

7. gcc 2.7.2, sparc-solaris 2.4, and tcl 7.5

8. Tcl 7.5 [penultimate] Solaris 2.4 test question

9. To dump core or not to dump core

10. python core dump (SIGBUS) on Solaris

11. tclkit dumps core on Solaris 10

12. optimization causes tk8.4a3 to dump core on Solaris

 

 
Powered by phpBB® Forum Software