Skip to content
Tcl Source Code Artifact [ecb454f543]
Login

Artifact [ecb454f543]

Artifact ecb454f543464c1f24fa01dd76b147ce88001f87063553a1a661fe550613e39b:

Manifest of check-in [ecb454f543] - Fix [be38540b32]: a child process created by fork() could deadlock on its first allocation, if another thread of the parent held a lock of the threaded allocator at the time of the fork. Hold all allocator locks across fork() with pthread_atfork(). by serhiy.storchaka on 2026-10-13 16:08:23.
B 9a3e24fe8a62c7dbeb54d08cf64f51e344014c0866c43dfa8f124a0ad5eb5125
C Fix\s[be38540b32]:\sa\schild\sprocess\screated\sby\sfork()\scould\sdeadlock\son\sits\sfirst\sallocation,\sif\sanother\sthread\sof\sthe\sparent\sheld\sa\slock\sof\sthe\sthreaded\sallocator\sat\sthe\stime\sof\sthe\sfork.\sHold\sall\sallocator\slocks\sacross\sfork()\swith\spthread_atfork().
D 2026-10-13T16:08:23.792
F generic/tclThreadAlloc.c ee82f98540e34005163dd3c9ac65c0da2a7614ed296421db128e0be8dd4af02e
P 9a3e24fe8a62c7dbeb54d08cf64f51e344014c0866c43dfa8f124a0ad5eb5125
R 8ae717515e7cbeb114c015c8808c24a0
T *branch * alloc-fork-deadlock
T *sym-alloc-fork-deadlock *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z e84aa7fadbf47c67a4843b55a4c56304