Subject: wish8.3 core dumps (tk-8.3.4) with tkined-1.5
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 06/18/2002 01:22:58
Tonight I finally upgraded tcl/tk from 8.3.2nb1 to 8.3.4 (using pkgsrc)
and now I'm getting core dumps (on i386) every time I close a
tkined-1.5.0 report window.  Has anyone else had stability problems with
tk-8.3.4 lately?  (It doesn't seem like a very good sign for a release that
the maintainers claim "focused on stability and build fixes" :-)

When I go to the "bug database" as linked from the community page I get:

http://www.scriptics.com/ticket/

   "You step in the stream,
   but the water has moved on.
   This page is not here."

Neither of the the words "bug" or "problem" appear on their "site map"
page.  TclPro has a "support" page, but that's not what we've got in
pkgsrc so far as I can tell.

There are bug databases on some of the related sourceforge projects, but
that's where I'm starting to get really lost....


Anyway, FYI, here's the traceback.  It seems quite repeatable:

$ gdb /usr/pkg/bin/wish8.3 wish8.3.core                                              <
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386--netbsd"...(no debugging symbols found)...
Core was generated by `wish8.3'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols found)...
done.
Reading symbols from /usr/pkg/lib/libtk83.so.1...done.
Reading symbols from /usr/pkg/lib/libtcl83.so.1...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/lib/libm387.so.0...done.
Reading symbols from /usr/lib/libm.so.0...done.
Reading symbols from /usr/lib/libc.so.12...done.
Reading symbols from /usr/local/lib/tkined1.5.0.so...done.
Reading symbols from /usr/lib/libz.so.0...done.
Reading symbols from /usr/local/lib/tnm3.0.0.so...done.
#0  TclGetNamespaceForQualName (interp=0x804e000, qualName=0x8 "", 
    cxtNsPtr=0x0, flags=0, nsPtrPtr=0xbfbfbd04, altNsPtrPtr=0xbfbfbd08, 
    actualCxtPtrPtr=0xbfbfbd0c, simpleNamePtr=0xbfbfbd10)
    at ./../generic/tclNamesp.c:1680
./../generic/tclNamesp.c:1680: No such file or directory.
(gdb) where
#0  TclGetNamespaceForQualName (interp=0x804e000, qualName=0x8 "", 
    cxtNsPtr=0x0, flags=0, nsPtrPtr=0xbfbfbd04, altNsPtrPtr=0xbfbfbd08, 
    actualCxtPtrPtr=0xbfbfbd0c, simpleNamePtr=0xbfbfbd10)
    at ./../generic/tclNamesp.c:1680
#1  0x48152ff7 in Tcl_FindCommand (interp=0x804e000, name=0x8 "", 
    contextNsPtr=0x0, flags=0) at ./../generic/tclNamesp.c:2011
#2  0x481220b9 in Tcl_DeleteCommand (interp=0x804e000, cmdName=0x8 "")
    at ./../generic/tclBasic.c:2236
#3  0x482d8824 in m_delete ()
#4  0x482d21b9 in receive ()
#5  0x48121b4d in TclInvokeStringCommand (clientData=0x82db980, 
    interp=0x804e000, objc=2, objv=0x805000c) at ./../generic/tclBasic.c:1752
#6  0x4813b36d in TclExecuteByteCode (interp=0x804e000, codePtr=0x838a500)
    at ./../generic/tclExecute.c:877
#7  0x48122524 in Tcl_EvalObjEx (interp=0x804e000, objPtr=0x82ad3f0, 
    flags=131072) at ./../generic/tclBasic.c:2733
#8  0x480ad7d0 in TkInvokeMenu (interp=0x804e000, menuPtr=0x81f9900, index=8)
    at /var/obj/package/x11/tk/work/tk8.3.4/unix/../generic/tkMenu.c:1119
#9  0x480ad472 in MenuWidgetObjCmd (clientData=0x81f9900, interp=0x804e000, 
    objc=3, objv=0x82d9920)
    at /var/obj/package/x11/tk/work/tk8.3.4/unix/../generic/tkMenu.c:936
#10 0x481569b8 in EvalObjv (interp=0x804e000, objc=3, objv=0x82d9920, 
    command=0x48176974 "", length=0, flags=262144)
    at ./../generic/tclParse.c:932
#11 0x48156acd in Tcl_EvalObjv (interp=0x804e000, objc=3, objv=0x82d9920, 
    flags=262144) at ./../generic/tclParse.c:1019
#12 0x481222b5 in Tcl_EvalObjEx (interp=0x804e000, objPtr=0x833c018, 
    flags=262144) at ./../generic/tclBasic.c:2575
#13 0x4815d1f5 in Tcl_UplevelObjCmd (dummy=0x0, interp=0x804e000, objc=3, 
    objv=0x8050008) at ./../generic/tclProc.c:604
#14 0x4813b36d in TclExecuteByteCode (interp=0x804e000, codePtr=0x81d6400)
    at ./../generic/tclExecute.c:877
#15 0x48122524 in Tcl_EvalObjEx (interp=0x804e000, objPtr=0x809b000, flags=0)
    at ./../generic/tclBasic.c:2733
#16 0x4815d76b in TclObjInterpProc (clientData=0x80ac360, interp=0x804e000, 
    objc=3, objv=0xbfbfc774) at ./../generic/tclProc.c:1001
#17 0x481569b8 in EvalObjv (interp=0x804e000, objc=3, objv=0xbfbfc774, 
    command=0xbfbfcafc "\n   tkMenuInvoke .tkined0.log0.menu.file.m 1\n", 
    length=45, flags=0) at ./../generic/tclParse.c:932
#18 0x4815704e in Tcl_EvalEx (interp=0x804e000, 
---Type <return> to continue, or q <return> to quit---Quit
) at ./../generic/tclParse.c:1393
#19 0x48157336 in Tcl_Eval (interp=0x804e000, 
    string=0xbfbfcafc "\n   tkMenuInvoke .tkined0.log0.menu.file.m 1\n")
    at ./../generic/tclParse.c:1548
#20 0x48123a84 in Tcl_GlobalEval (interp=0x804e000, 
    command=0xbfbfcafc "\n   tkMenuInvoke .tkined0.log0.menu.file.m 1\n")
    at ./../generic/tclBasic.c:4149
#21 0x48073f8f in Tk_BindEvent (bindingTable=0x8065000, eventPtr=0x8211188, 
    tkwin=0x81f9700, numObjects=0, objectPtr=0xbfbfcbfc)
    at /var/obj/package/x11/tk/work/tk8.3.4/unix/../generic/tkBind.c:1779
#22 0x48078517 in TkBindEventProc (winPtr=0x81f9700, eventPtr=0x8211188)
    at /var/obj/package/x11/tk/work/tk8.3.4/unix/../generic/tkCmds.c:244
#23 0x4807dbab in Tk_HandleEvent (eventPtr=0x8211188)
    at /var/obj/package/x11/tk/work/tk8.3.4/unix/../generic/tkEvent.c:864
#24 0x4807df05 in WindowEventProc (evPtr=0x8211180, flags=-3)
    at /var/obj/package/x11/tk/work/tk8.3.4/unix/../generic/tkEvent.c:1199
#25 0x481549d3 in Tcl_ServiceEvent (flags=-3) at ./../generic/tclNotify.c:607
#26 0x48154bea in Tcl_DoOneEvent (flags=0) at ./../generic/tclNotify.c:846
#27 0x4807df7b in Tk_MainLoop ()
    at /var/obj/package/x11/tk/work/tk8.3.4/unix/../generic/tkEvent.c:1257
#28 0x48087819 in Tk_MainEx (argc=9, argv=0xbfbfce78, 
    appInitProc=0x8048a0c <Tcl_AppInit>, interp=0x804e000)
    at /var/obj/package/x11/tk/work/tk8.3.4/unix/../generic/tkMain.c:285
#29 0x80489ff in dladdr ()
#30 0x8048819 in exit ()


-- 
								Greg A. Woods

+1 416 218-0098;  <gwoods@acm.org>;  <g.a.woods@ieee.org>;  <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>