.
D 2011-05-05T18:20:23
J assignee dgp
J cmimetype text/plain
J comment \nWith\senough\stime\sand\sRAM....\n\n%\sset\scount\s805306368\n805306368\n%\swhile\s{[incr\scount\s-1]}\s{\ndict\sset\sd\s[expr\s{rand()}]\s0\n}\n%\sdict\ssize\s$d\n805306367\n%\sllength\s$d\nmax\slength\sof\sa\sTcl\slist\s(536870909\selements)\sexceeded\n%\sdict\sset\sd\s[expr\srand()]\s0\n\nProgram\sreceived\ssignal\sSIGSEGV,\sSegmentation\sfault.\n0x0000000000507084\sin\sRebuildTable\s(tablePtr=0x7ab7e0)\n\s\s\s\sat\s/home/dgp/64bit/tcl8.5/unix/../generic/tclHash.c:1051\n1051\s\s\s\s\s\s\s\s\s\s\s\s*newChainPtr\s=\sNULL;\n...\n(gdb)\sprint\stablePtr->numBuckets\s*\ssizeof(Tcl_HashEntry\s*)\n$3\s=\s0\n\nThe\snumber\sof\sbuckets\soverflowed\sthe\sint\srange,\sand\sthe\nattempt\sto\swrite\sbeyond\sthe\send\sof\sthe\sempty\sbucket\sarray\nsegfaults.\s\sThe\sexact\sdict\sinsert\sat\swhich\sthis\shappens\sis\na\sfunction\sof\sthe\shash\stable\stuning\sparameters.\n
J foundin obsolete:\s8.5.9
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 10.\sObjects
J title RebuildTable\sfailure\sfor\sbig\sdicts
J type Bug
K 3298012fffffffffffffffffffffffffffffffff
U dgp
Z 3380791a3075dee34c39a428dd86ebb9