Overview
| Artifact ID: | 11a309147fe891db02adb0edcb736dfa7c31a099f0226eb4092658b9d7261261 |
|---|---|
| Ticket: | 1160057fffffffffffffffffffffffffffffffff
Seg fault from usleep |
| User & Date: | serhiy.storchaka on 2026-10-12 13:47:05 |
Changes
- icomment:
I cannot reproduce this with 8.6.18 and 9.1 (glibc 2.43, g++ 15): the extension from the report, built against them, survives 20 cancellations of the thread during <code>usleep()</code> with the C++ destructor on its stack. The crash was most likely in the reported environment: a Tcl built without threads and a glibc whose <code>pthread_cancel</code> unwinds the stack and needs libpthread to be loaded at startup; a Tcl built without threads works with the current glibc. Tcl is threaded by default since 8.6, and glibc includes libpthread in libc since 2.34.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"