Deadlock when locking map in MultiArchRepo #70
Labels
No Label
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 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#70
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Currently, when a MultiArchRepo tries to add a new package from a path, it deadlocks when trying to lock its
repos
map. 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 v
to build the compilermake run
to start the applicationpython test.py 1
in another terminal session to send a single test package to the serverThe result is that
lock r.repos
in theadd_from_path
function in filesrc/repo/multi.v
deadlocks, 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.