Bug#1003631: dlocate: update-dpkg-list can deadlock

2022-01-14 Thread Craig Sanders
On Thu, Jan 13, 2022 at 09:45:31PM -0500, Aaron M. Ucko wrote: > I am comfortable with Perl, and having taken another look at the code, was > able to resolve the deadlock by arranging to feed xargs from a dedicated > subprocess, per the attached patch. > > Could you please consider applying it?

Bug#1003631: dlocate: update-dpkg-list can deadlock

2022-01-13 Thread Aaron M. Ucko
Craig Sanders writes: > On Wed, Jan 12, 2022 at 06:06:45PM -0500, Aaron M. Ucko wrote: >> Long story short, update-dpkg-list's batched bidirectional pipe usage wound >> up deadlocking on a system with 20,000+ provided virtual packages, mostly >> from installed librust-*-dev packages. > > what do

Bug#1003631: dlocate: update-dpkg-list can deadlock

2022-01-13 Thread Craig Sanders
On Wed, Jan 12, 2022 at 06:06:45PM -0500, Aaron M. Ucko wrote: > Long story short, update-dpkg-list's batched bidirectional pipe usage wound > up deadlocking on a system with 20,000+ provided virtual packages, mostly > from installed librust-*-dev packages. what do you mean by "deadlocking"? some

Bug#1003631: dlocate: update-dpkg-list can deadlock

2022-01-12 Thread Aaron M. Ucko
Package: dlocate Version: 1.09 Severity: important Long story short, update-dpkg-list's batched bidirectional pipe usage wound up deadlocking on a system with 20,000+ provided virtual packages, mostly from installed librust-*-dev packages. Could you please take a look? Thanks! -- System