Public bug reported:

On Ubuntu 26.04 I got "Download failed: Timer expired". Why?
```
...
(gdb) run
Starting program: /tmp/3/hello
Downloading separate debug info for system-supplied DSO at 0x7ffff7fbe000

Download failed: Timer expired.  Continuing without separate debug info for 
system-supplied DSO at 0x7ffff7fbe000.
Download failed: Timer expired.  Continuing without separate debug info for 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.
Download failed: Timer expired.  Continuing without separate debug info for 
/usr/lib/x86_64-linux-gnu/libgcc_s.so.1.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
```
```
$ gdb --version
GNU gdb (Ubuntu 17.1-2ubuntu1) 17.1
```

On the same physical PC I have virtual machine with Ubuntu 24.04. And there I 
can use gdb without problem, from Ubuntu 24.04:
```
$ gdb --version
GNU gdb (Ubuntu 15.1-1ubuntu1~24.04.1) 15.1
```

How to reproduce?
1. Make main.cpp file
```
cat <<EOF > main.cpp
#include <iostream>

int main() {
    std::string message = "Hello, World!";
    std::cout << message << std::endl;
    return 0;
}
EOF
```
2. Compile with Debugging Symbols
```
g++ -g main.cpp -o hello
```
3. Launch GDB
```
gdb -tui ./hello
```
4. Essential Debugging Commands
```
start
n
```

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: gdb 17.1-2ubuntu1
ProcVersionSignature: Ubuntu 7.0.0-28.28-generic 7.0.12
Uname: Linux 7.0.0-28-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Jul 22 16:38:40 2026
InstallationDate: Installed on 2024-08-19 (702 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
SourcePackage: gdb
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gdb (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161493

Title:
  Download failed: Timer expired

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/2161493/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to