Skip to content
Tcl Source Code Artifact [0b7238035e]
Login

Artifact [0b7238035e]

Artifact 0b7238035ecff2707ffe9be69dcee7324af7b05fb4e43613b264d3b6969aa37e:

Manifest of check-in [0b7238035e] - Fix [7d47ba7d94] on musl: TclpGetCStackLimit() returned NULL on Linux without glibc, so the regexp engine assumed a 1 MB stack and stack-4.1 segfaulted. Use pthread_getattr_np() for secondary threads, and RLIMIT_STACK for the main thread, whose stack musl reports only as far as it is already mapped. by serhiy.storchaka on 2026-10-28 11:03:01.
B bf7b2511c35ca34f523b61686983e9b42133e12f5485bd27cbc4b74c41c038f7
C Fix\s[7d47ba7d94]\son\smusl:\sTclpGetCStackLimit()\sreturned\sNULL\son\sLinux\swithout\sglibc,\sso\sthe\sregexp\sengine\sassumed\sa\s1\sMB\sstack\sand\sstack-4.1\ssegfaulted.\sUse\spthread_getattr_np()\sfor\ssecondary\sthreads,\sand\sRLIMIT_STACK\sfor\sthe\smain\sthread,\swhose\sstack\smusl\sreports\sonly\sas\sfar\sas\sit\sis\salready\smapped.
D 2026-10-28T11:03:01.550
F unix/tclUnixThrd.c f0c188875bd565ca712e1733864a0c1e13ef233491e2a1b0ccdfef5a9ce11e45
P bf7b2511c35ca34f523b61686983e9b42133e12f5485bd27cbc4b74c41c038f7
R 447fd679e3d9143348c105ee63d82919
T *branch * musl-stack-limit
T *sym-musl-stack-limit *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z 5bfa47ab787fa52beb1b06fcaabb4fb2