Deadlock when locking map in MultiArchRepo #70
Labels
No labels
Roadmap
V
bug
docs
duplicate
enhancement
good first issue
help wanted
idea
invalid
question
wontfix
Idea
Roadmap
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#70
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?
Currently, when a MultiArchRepo tries to add a new package from a path, it deadlocks when trying to lock its
reposmap. This after having added a fix from spytheman that stopped a segfault.Steps to reproduce (from scratch):
Note: these steps should be performed on the associated branch
multi-arch-repos.make clean(only if you haven't freshly cloned the repo)make vto build the compilermake runto start the applicationpython test.py 1in another terminal session to send a single test package to the serverThe result is that
lock r.reposin theadd_from_pathfunction in filesrc/repo/multi.vdeadlocks, causing the program to never progress. The program seems to still respond to async requests just fine, but they all lock up at the same line.I've decided to move away from this design pattern for now.