mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #3985] [MERGED] Fix thread names being set to garbage on Linux #3849
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3849
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/3985
Author: @jas0n098
Created: 1/31/2026
Status: ✅ Merged
Merged: 2/3/2026
Merged by: @kalaposfos13
Base:
main← Head:threadnames📝 Commits (1)
1466be3Fix thread names being set to garbage📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
src/common/thread.cpp(+3 -3)📄 Description
SetCurrentThreadName gets passed an std::string's c_str whose pointer gets invalidated by the assignment of g_curthread->name with a new std::string, resulting in broken thread names further down the line
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.