pool: let the texture pool go before taking it again (deadlock, title watchdog ~34 s in) #169
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/169"
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?
Imported from eikkapine/jaxe. Originally posted by mahhnameisjeff on 2026-12-03T14:27:42Z.
Base: origin/amd (
0902398). Independent of the other PRs from this batch.pool::textureheld theTEXTURESlock across a call that takes it again,so a thread hung on its own lock. The title's watchdog sees a stalled
thread for about 30 s and ends the process by writing to address 0: every
run died some 34 s after the start (stack dumps of the run showed the
thread waiting on the pool lock it held). Releasing the guard after
take_ripefixes it: no run has stopped there since.origin/main does not have the bug (it grows the pool without the lock,
take_unlocked); origin/amd does.Possibly related: #151 (crash while loading into the world), not verified.
🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.