|
From: Mo D. <md...@cy...> - 2000-08-09 08:48:23
|
There seems to be a core dumping bug in Tcl_InitHashTable that
it only appears in 8.4. I can run the exact same code
in Tcl 8.3 with no problems.
Here is the bit that crashes:
static Tcl_HashTable driverTable;
int TkGSInitDriverTable() {
Tcl_InitHashTable(&driverTable, TCL_STRING_KEYS);
}
This is from the tkgs module, you can check it out
of the Net CVS using the module name "tkgs".
GDB prints a backtrace like this from the crash:
#0 0x401ab967 in TclDatedef () from
/usr/local/project/install/Tcl/lib/libtcl8.4g.so
#1 0x403a1e1b in TkGSInitDriverTable () at
/home/mo/project/tkgs/src/generic/tkgsDriver.c:14
I think this was caused by Paul's recent Hashtable
changes.
Mo DeJong
Red Hat Inc
--
The TclCore mailing list is sponsored by Ajuba Solutions
To unsubscribe: email tcl...@aj... with the
word UNSUBSCRIBE as the subject.
|