🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4229

Bug#1153796: libuhd4.8.0: UHD device discovery, probing and creation take a very long time to complete

#4229
From: Adrian Musceac
Date: Thu, 12 Nov 2026 06:30
88 lines
4984 bytes
Package: libuhd4.8.0
Version: 4.8.0.0+ds1-2
Severity: normal
Tags: upstream
X-Debbugs-Cc: debian-bugs@qradiolink.org

Dear Maintainer,

After upgrading from libuhd4.3.0 to libuhd4.8.0 in Trixie, "SoapySDRUtil
--find", "SoapySDRUtil --make", "uhd_find_devices" and "uhd_usrp_probe" do not
return within a reasonable amount of time. This issue occurs both when an UHD
device is attached or no device is present.

The device::find and device::make functions in UHD host launch an async thread
to discover devices (uhd/host/lib/device.cpp). These functions take an
extremely long amount of time to complete on a wait condition.

This breaks other device types discovery by SoapySDR if soapysdr0.8-module-uhd
is installed, as well as third party programs that depend on this Soapy API.

To reproduce, run "uhd_find_devices" or "SoapySDRUtil --find" with libuhd4.8.0

$ time uhd_find_devices
[INFO] [UHD] linux; GNU C++ version 14.2.0; Boost_108300; UHD_4.8.0.0+ds1-2
No UHD Devices Found

real    2m15.470s
user    0m0.046s
sys     0m0.072s

$ strace SoapySDRUtil --find
...
clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
child_tid=0x7fa5a48a8990, parent_tid=0x7fa5a48a8990, exit_signal=0,
stack=0x7fa5a40a8000, stack_size=0x7ffb40, tls=0x7fa5a48a86c0} =>
{parent_tid=[8396]}, 88) = 8396
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
futex(0x7fa5a70ad990, FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, 8390, NULL,
FUTEX_BITSET_MATCH_ANY[INFO] [UHD] linux; GNU C++ version 14.2.0; Boost_108300;
UHD_4.8.0.0+ds1-2
) = 0
futex(0x5563fb61c558, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x5563fb61c868, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x5563fb61cc08, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7fa5a58aa990, FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, 8394, NULL,
FUTEX_BITSET_MATCH_ANY) = 0
munmap(0x7fa59e7fd000, 8392704)         = 0
futex(0x5563fb61cfa8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
munmap(0x7fa59dffc000, 8392704)         = 0
futex(0x5563fb61d318, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7fa5a48a8990, FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, 8396, NULL,
FUTEX_BITSET_MATCH_ANY
...
waits here

Thank you,


-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.115+deb13.1-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libuhd4.8.0 depends on:
ii  libboost-chrono1.83.0t64      1.83.0-4.2
ii  libboost-filesystem1.83.0     1.83.0-4.2
ii  libboost-serialization1.83.0  1.83.0-4.2
ii  libboost-thread1.83.0         1.83.0-4.2
ii  libc6                         2.41-12+deb13u4
ii  libgcc-s1                     14.2.0-19
ii  libpython3.13                 3.13.5-2+deb13u5
ii  libstdc++6                    14.2.0-19
ii  libusb-1.0-0                  2:1.0.28-1

libuhd4.8.0 recommends no packages.

Versions of packages libuhd4.8.0 suggests:
ii  uhd-host  4.8.0.0+ds1-2

-- no debconf information
Technical Details
Message-ID: <NYwtP-bnqb-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Adrian Musceac <debian-bugs@qradiolink.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153796: libuhd4.8.0: UHD device discovery, probing and creation take a very long time to complete
Date: Thu, 12 Nov 2026 07:30:01 +0100
Message-ID: <NYwtP-bnqb-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 12 06:29:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.65
Reply-To: Adrian Musceac <debian-bugs@qradiolink.org>, 1153796@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-bugs@qradiolink.org, bottoms@debian.org
X-Debian-Pr-Message: report 1153796
X-Debian-Pr-Package: libuhd4.8.0
X-Debian-Pr-Keywords: upstream
X-Debian-Pr-Source: uhd
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002169
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 88
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 12 Nov 2026 08:27:38 +0200
X-Original-Message-ID: <179446485849.6529.11014856222014644074.reportbug@laptop>