From: shmdgljd@rchland.vnet.ibm.com (Jay Schmidgall)
Subject: Wish core dump
Date: Wed, 02 Sep 1992 15:29:42 GMT
Reply-To: jay@vnet.ibm.com
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM Rochester, MN

I'm getting a repeatable core dump from wish when using the latest XF and
going through the tutorial.  Dumps every time when setting child parameters
on the menu buttons.

Hopefully this will be helpful; if you need more info or would like me to try
something, lemme know...

../net/xf> dbx -I/usr/dev/common/src/net/tk2.3 /afs/rch/rs_aix31/dev/objects/net/tk2.3/wish
dbx version 3.1 for AIX.
Type 'help' for help.
reading symbolic information ...
[using memory image in core]

segmentation violation in unnamed block $b343 at line 1481 in file "tkTextBTree.c"
 1481   			    i > 0; i--, childPtr = childPtr->nextPtr) {
(dbx) print i
2 
(dbx) &childPtr /X
2ff7e56c:  badfca11
(dbx) print childPtr->nextPtr
0x61646469 
(dbx) &childPtr->nextPtr /X
badfca15:  61646469
(dbx) where
unnamed block $b343, line 1481 in "tkTextBTree.c"
Rebalance(treePtr = 0x200ba278, nodePtr = 0x2009df80), line 1481 in "tkTextBTree.c"
TkBTreeDeleteChars(tree = 0x200ba278, line1Ptr = 0x2009de68, ch1 = 0, line2Ptr = 0x2009de68, ch2 = 12), line 754 in "tkTextBTree.c"
tkText.DeleteChars(textPtr = 0x20219d68, line1 = 0, ch1 = 0, line2 = 0, ch2 = 12, 0x64, 0x2ff7e877, 0x64), line 980 in "tkText.c"
TextWidgetCmd(clientData = 0x20219d68, interp = 0x20079988, argc = 4, argv = 0x2ff7e7e8), line 416 in "tkText.c"
unnamed block $b398, line 707 in "tclBasic.c"
Tcl_Eval(interp = 0x20079988, cmd = warning: Unable to access address 0x2016d2d7 from core
(invalid char ptr (0x2016d2d7)), flags = 0, termPtr = 0x2ff7e794), line 707 in "tclBasic.c"
Tcl_IfCmd(dummy = (nil), interp = 0x20079988, argc = 1, argv = 0x2ff7eaa4), line 112 in "tclCmdIL.c"
unnamed block $b398, line 707 in "tclBasic.c"
Tcl_Eval(interp = 0x20079988, cmd = warning: Unable to access address 0x20138cf8 from core
(invalid char ptr (0x20138cf8)), flags = 0, termPtr = 0x2ff7ec08), line 707 in "tclBasic.c"
InterpProc(clientData = 0x20138c58, interp = 0x20079988, argc = 0, argv = 0x2ff7ed78), line 499 in "tclProc.c"
unnamed block $b398, line 707 in "tclBasic.c"
Tcl_Eval(interp = 0x20079988, cmd = warning: Unable to access address 0x20227c9e from core
(invalid char ptr (0x20227c9e)), flags = 0, termPtr = 0x2ff7ed24), line 707 in "tclBasic.c"
Tcl_GlobalEval(interp = 0x20079988, command = warning: Unable to access address 0x20227c9e from core
(invalid char ptr (0x20227c9e))), line 1071 in "tclBasic.c"
unnamed block $b170, line 849 in "tkSend.c"
unnamed block $b169, line 849 in "tkSend.c"
SendEventProc(clientData = 0x20080048, eventPtr = 0x2ff7f174), line 849 in "tkSend.c"
Tk_HandleEvent(eventPtr = 0x2ff7f174), line 650 in "tkEvent.c"
unnamed block $b96, line 1237 in "tkEvent.c"
unnamed block $b95, line 1237 in "tkEvent.c"
Tk_DoOneEvent(flags = 30), line 1237 in "tkEvent.c"
Tk_MainLoop(), line 1418 in "tkEvent.c"
main(argc = 37, argv = 0x2ff7f39c, 0x2ff7f43c, 0xdeadbeef, 0x2ff7fffc, 0x0, 0x20079924, 0xdeadbeef), line 308 in "main.c"
(dbx) 

System: AIX 3.2.2, tk3.2, xf1.4

-- 
: jay          jay@vnet.ibm.com    My opinions and ideas, not my employer's.
: shmdgljd@rchland.vnet.ibm.com    (c) Copyright 1992.  All rights reserved.
Newsgroups: comp.lang.tcl