I have Tcl/Tk 8.2, Mesa-3.0 and Togl-1.5.
I have narrowed the segfault to two lines in
togl.c, function static int Togl_MakeWindowExist(struct Togl *togl)
When I comment out these two lines out, it works, however
then the program segfaults on exit (in function Tcl_DeleteHashEntry)
// hPtr = Tcl_CreateHashEntry(&winPtr->dispPtr->winTable,
// (char *) winPtr->window, &new_flag);
// Tcl_SetHashValue(hPtr, winPtr);
Perhaps the internal window table structure changed in Tcl 8.2?
Log in to post a comment.