• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Gallopsled / pwntools / 40278763752
74%
dev: 0%

Build:
Build:
LAST BUILD BRANCH: fix/encoder-alphanumeric-amd64
DEFAULT BRANCH: dev
Ran 26 Oct 2026 06:24AM UTC
Jobs 1
Files 151
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Oct 2026 06:15AM UTC coverage: 73.559% (+0.01%) from 73.545%
40278763752

push

github

web-flow
gdb.corefile: Run gdb directly to prevent detach race (#2787)

* gdb.corefile: Run gdb directly to prevent detach race

`attach()` waits for the debugger to attach by polling the `TracerPid` regularly. `corefile()` runs `detach` in gdb after dumping the core, so the debugger might attach and detach between two `TracerPid` polls and `wait_for_debugger()` thinks gdb exited before attaching and returns `None` as gdb's pid is no longer valid.

Later `corefile()` ran `psutil.Process(pid).wait()` with `pid = None` which effectively waited on the Python process itself to exit.
This caused a hang in the doctest CI sometimes, which was killed by the watchdog timer eventually.

Run `gdb` directly and just observe the exit code instead of relying on the more advanced `attach` logic for longer running debug sessions.

* Update CHANGELOG

3821 of 6434 branches covered (59.39%)

7 of 9 new or added lines in 1 file covered. (77.78%)

4 existing lines in 2 files now uncovered.

13337 of 18131 relevant lines covered (73.56%)

0.74 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
70.16
-0.12% pwnlib/gdb.py

Coverage Regressions

Lines Coverage ∆ File
3
81.25
-0.55% pwnlib/tubes/tube.py
1
70.16
-0.12% pwnlib/gdb.py
Jobs
ID Job ID Ran Files Coverage
1 40278763752.1 26 Oct 2026 06:24AM UTC 151
73.56
GitHub Action Run
Source Files on build 40278763752
  • Tree
  • List 151
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • d8d47977 on github
  • Prev Build on stable (#40085163675)
  • Next Build on stable (#40457565766)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc