Overview
| Comment: | 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | musl-stack-limit |
| Files: | files | file ages | folders |
| SHA3-256: |
0b7238035ecff2707ffe9be69dcee732 |
| User & Date: | serhiy.storchaka on 2026-10-28 11:03:01.550 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-18
| ||
| 16:01 | Fix [7d47ba7d94]: the regexp engine could overflow the C stack on deeply nested REs check-in: 2f0f1fadba user: jan.nijtmans tags: core-9-0-branch | |
|
2026-10-28
| ||
| 13:51 | [7d47ba7d94] follow-up: on musl: TclpGetCStackLimit() returned NULL check-in: e67bd0fb30 user: jan.nijtmans tags: trunk, main | |
| 11:03 | Fix [7d47ba7d94] on musl: TclpGetCStackLimit() returned NULL on Linux without glibc, so the regexp e... closed check-in: 0b7238035e user: serhiy.storchaka tags: musl-stack-limit | |
|
2026-10-27
| ||
| 21:13 | Fix clang warning: tclBinary.c:2783:2: warning: jump from switch statement to this case label is inc... check-in: bf7b2511c3 user: jan.nijtmans tags: trunk, main | |
Changes
Modified unix/tclUnixThrd.c
from [c9387ac602]
to [f0c188875b].
[diff]