Skip to content
Tcl Source Code Artifact [eaa5638e19]
Login

Artifact [eaa5638e19]

Artifact eaa5638e193117eda622fe96d7a6d3f7fba5521e:

Ticket change [eaa5638e19] - Ticket [1850424fffffffff|1850424fff] <i>core dump on FreeBSD stack overflow</i> status still Open with 4 other changes by msofer on 2007-12-20 22:47:00.
D 2007-12-20T22:47:00
J icomment Logged\sIn:\sYES\s\nuser_id=148712\nOriginator:\sNO\n\nIt\sseems\slike\sthere\sis\sa\sbug\sin\sgetrlimit:\n[miguel@jupiter\s~/tcl8.5.0/unix]$\sulimit\s-s\n1048576\n[miguel@jupiter\s~/tcl8.5.0/unix]$\s./tclsh\nrawStackSize\sfrom\sTclpThreadGetStackSize\sis\s0\nrawStackSize\sfrom\sgetrlimit\sis\s1073741824\nstackSize\sfrom\sGetStackSize\sis\s1073709056\n\nNote\stht\sthe\s0\sfrom\sTclpThreadGetStackSize\sis\s"correct"\s-\sbug\sworkaround\sfor\s1815573.\sBut\sthis\sis\swhat\sis\skilling\sthis\ssystem\s-\ssetting\s'initialized=1'\sin\sTclpThreadGetStackSize\s(ie,\srelying\son\spthread_attr_getstacksize\salso\sfor\sthe\sinitial\sthread)\sfixes\sthings.\n\nSo\sthe\sissue\snow\sseems\sto\sbe\sthat\swe\shave\sconflicting\sbugs\sin\slinux\sand\sfreebsd\sfor\sdetermining\sthe\ssize\sof\sthe\sinitial\sthread's\sstack:\son\slinux\spthread_attr_getstacksize\sreturns\sgarbage,\son\sfreebsd\sgetrlimit\sdoes.\n
J login msofer
J mimetype text/plain
J username msofer
K 1850424fffffffffffffffffffffffffffffffff
U msofer
Z ea322e20e279f3257b3553d57fb110d4