Skip to content

Issues: rust-lang/rust

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

std assumes that accessing an already-initialized TLS variable is async-signal-safe A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#133698 opened Dec 1, 2024 by RalfJung
Tracking Issue for thread spawn hooks A-thread Area: `std::thread` A-thread-locals Area: Thread local storage (TLS) C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#132951 opened Nov 12, 2024 by m-ou-se
2 of 4 tasks
thread_local! initialization code panics on some aarch64-apple-darwin envs, works on others A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. E-needs-investigation Call for partcipation: This issues needs some investigation to determine current status O-AArch64 Armv8-A or later processors in AArch64 mode O-macos Operating system: macOS T-libs Relevant to the library team, which will review and decide on the PR/issue.
#132704 opened Nov 6, 2024 by dj8yfo
std: detect stack overflows in TLS destructors on UNIX A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows A-thread-locals Area: Thread local storage (TLS) O-hermit Operating System: Hermit O-SGX Target: SGX O-solid Operating System: SOLID O-unix Operating system: Unix-like O-windows Operating system: Windows S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#131282 opened Oct 5, 2024 by joboet Loading…
Unresolved imports when building std without thread local A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#127773 opened Jul 15, 2024 by xTachyon
Guarantee that thread-local storage destructors run before join() returns A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools A-thread Area: `std::thread` A-thread-locals Area: Thread local storage (TLS) C-discussion Category: Discussion or questions that doesn't represent real issues. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#127571 opened Jul 10, 2024 by pvillela
Compiler support for Windows TLS destructors A-thread-locals Area: Thread local storage (TLS) C-enhancement Category: An issue proposing an enhancement or a PR with one. O-windows Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#123907 opened Apr 14, 2024 by ChrisDenton
Scoped thread implicit join doesn't wait for thread locals to be dropped A-thread Area: `std::thread` A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. disposition-close This PR / issue is in PFCP or FCP with a disposition to close it. finished-final-comment-period The final comment period is finished for this PR / Issue. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#116237 opened Sep 28, 2023 by pvillela
Crash during thread teardown using TLS in global allocator on macOS A-allocators Area: Custom and system allocators A-thread Area: `std::thread` A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. O-macos Operating system: macOS T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#115149 opened Aug 23, 2023 by jrose-signal
Stack overflow not caught in Drop for TLS data A-runtime Area: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows A-stack-probe Area: Stack probing and guard pages A-thread Area: `std::thread` A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug.
#111272 opened May 6, 2023 by ridiculousfish
Tracking issue for cleaning up std's thread_local implementation details A-thread-locals Area: Thread local storage (TLS) C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#110897 opened Apr 27, 2023 by m-ou-se
20 of 24 tasks
Suboptimal code generation for thread_local! A-thread-locals Area: Thread local storage (TLS) I-slow Issue: Problems and improvements with respect to performance of generated code. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#104033 opened Nov 6, 2022 by stepancheg
E0530 when using std::thread_local and a static named init A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#99018 opened Jul 7, 2022 by CGamesPlay
Rustbuild compiles proc macros with -Ztls-model=inital-exec when cross-compiling A-linkage Area: linking into static, shared libraries and binaries A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example E-needs-test Call for participation: An issue has been fixed and does not reproduce, but no test has been added. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
#92976 opened Jan 16, 2022 by bjorn3
Segmentation fault when thread using dynamically loaded Rust library exits A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#91979 opened Dec 15, 2021 by devongovett
Check target definitions to see if more should have cfg(target_thread_local) enabled. A-thread-locals Area: Thread local storage (TLS) F-thread_local `#![feature(thread_local)]` O-dragonfly Operating system: DragonFly BSD O-freebsd Operating system: FreeBSD O-netbsd Operating system: NetBSD O-openbsd Operating system: OpenBSD O-windows-gnu Toolchain: GNU, Operating system: Windows
#91659 opened Dec 8, 2021 by thomcc
Macos TLS not giving the struct requested alignment? A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. O-macos Operating system: macOS
#90959 opened Nov 16, 2021 by bluss
thread_local! dtor registration can pass wrong __dso_handle if dynamically linked A-thread-locals Area: Thread local storage (TLS) T-libs Relevant to the library team, which will review and decide on the PR/issue.
#88737 opened Sep 8, 2021 by thomcc
initial-exec not reduced to less strict hint on unsupported platforms A-thread-locals Area: Thread local storage (TLS) requires-nightly This issue requires a nightly compiler in some way.
#87821 opened Aug 6, 2021 by Mark-Simulacrum
Logical bug in thread_local! macro implementation for Apple targets A-thread-locals Area: Thread local storage (TLS) O-macos Operating system: macOS T-libs Relevant to the library team, which will review and decide on the PR/issue.
#83008 opened Mar 11, 2021 by Kannen
thread_local vs __thread: implementation and docs A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. I-slow Issue: Problems and improvements with respect to performance of generated code. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
#67056 opened Dec 5, 2019 by steveklabnik
Using thread-local state inside proc-macro causes ICE A-diagnostics Area: Messages for errors, warnings, and lints A-macros Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..) A-proc-macros Area: Procedural macros A-thread-locals Area: Thread local storage (TLS) E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#66003 opened Oct 31, 2019 by olegnn
Accessing a TLS variable in its own constructor results in a stack overflow A-thread-locals Area: Thread local storage (TLS) C-enhancement Category: An issue proposing an enhancement or a PR with one. T-libs Relevant to the library team, which will review and decide on the PR/issue.
#61512 opened Jun 4, 2019 by koute
Thread locals keep Rust shared library from unloading dlclose. A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. O-linux Operating system: Linux T-libs Relevant to the library team, which will review and decide on the PR/issue.
#59629 opened Apr 2, 2019 by Neopallium
Reference to a #[thread_local] is dereferenced too early A-thread-locals Area: Thread local storage (TLS) C-bug Category: This is a bug. O-macos Operating system: macOS T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
#48837 opened Mar 8, 2018 by joshlf
ProTip! What’s not been updated in a month: updated:<2024-11-25.