René's URL Explorer Experiment


Title: logging_subprocess deadlocks on Windows when child stdout/stderr exceeds pipe buffer · Issue #519 · josegonzalez/python-github-backup · GitHub

Open Graph Title: logging_subprocess deadlocks on Windows when child stdout/stderr exceeds pipe buffer · Issue #519 · josegonzalez/python-github-backup

X Title: logging_subprocess deadlocks on Windows when child stdout/stderr exceeds pipe buffer · Issue #519 · josegonzalez/python-github-backup

Description: Problem logging_subprocess in github_backup/github_backup.py opens child processes with stdout=PIPE, stderr=PIPE but never drains those pipes on Windows, causing git clone / git fetch of any repo producing more than a few KB of output to...

Open Graph Description: Problem logging_subprocess in github_backup/github_backup.py opens child processes with stdout=PIPE, stderr=PIPE but never drains those pipes on Windows, causing git clone / git fetch of any repo p...

X Description: Problem logging_subprocess in github_backup/github_backup.py opens child processes with stdout=PIPE, stderr=PIPE but never drains those pipes on Windows, causing git clone / git fetch of any repo p...

Opengraph URL: https://github.com/josegonzalez/python-github-backup/issues/519

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"logging_subprocess deadlocks on Windows when child stdout/stderr exceeds pipe buffer","articleBody":"## Problem\r\n\r\n`logging_subprocess` in `github_backup/github_backup.py` opens child processes with `stdout=PIPE, stderr=PIPE` but never drains those pipes on Windows, causing `git clone` / `git fetch` of any repo producing more than a few KB of output to hang indefinitely.\r\n\r\n## Steps\r\n\r\n1. On Windows, run `github-backup \u003cuser> --all -o backup/` against any account with a repo whose clone produces substantial stderr progress output.\r\n2. Observe process hangs at the first large `git clone` or `git fetch`.\r\n\r\n## Expected\r\n\r\nProcess completes; child output is either drained silently or logged.\r\n\r\n## Actual\r\n\r\nThe parent's `while child.poll() is None: check_io()` loop spins forever because `check_io()` returns immediately on `win32` (`github_backup/github_backup.py:102-103`) while the child's PIPE buffers fill and block the git subprocess.\r\n\r\n## Environment\r\n\r\n- github-backup 0.63.0 (`github_backup/__init__.py:1`)\r\n- Windows, Python 3.10+ (per `pyproject.toml`)\r\n\r\nCite: `github_backup/github_backup.py:91-114`. Fix idea: drain stdout/stderr with threads on Windows, or pass `stdout=None, stderr=None` when `sys.platform == \"win32\"` so the child inherits the parent's handles instead of buffering into a never-read PIPE.\r\n\r\nThanks for maintaining josegonzalez/python-github-backup!","author":{"url":"https://github.com/chirag127","@type":"Person","name":"chirag127"},"datePublished":"2026-07-04T06:11:48Z","url":"https://github.com/josegonzalez/python-github-backup/issues/519"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:505ac925-244c-fd51-66d8-e7a195fc4f8e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id986C:3F5AC:3002A9:41A2C6:6B05D864
html-safe-nonced549e40f09bd2092622eb615f8ed8172cae2f91d46915c9b6ae0002e46afcf3a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODZDOjNGNUFDOjMwMDJBOTo0MUEyQzY6NkIwNUQ4NjQiLCJ2aXNpdG9yX2lkIjoiNjE3NzQyNTc0OTY2MzE0NDAzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac91cec2a0b4c0d5dbb82f0b5d26467333af28169645fed5143ec8b4fae7fe0c43
hovercard-subject-tagissue:4807895492
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/josegonzalez/python-github-backup/519/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a050be5ad6b2015db75edabbcb282245c6d328f28455900694565f7d4bb13f20/josegonzalez/python-github-backup/issues/519
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a050be5ad6b2015db75edabbcb282245c6d328f28455900694565f7d4bb13f20/josegonzalez/python-github-backup/issues/519
og:image:altProblem logging_subprocess in github_backup/github_backup.py opens child processes with stdout=PIPE, stderr=PIPE but never drains those pipes on Windows, causing git clone / git fetch of any repo p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechirag127
hostnamegithub.com
expected-hostnamegithub.com
None7cc8361bc0396e5c33704280422dd7a38c5b91f6190589faea57461f56967249
turbo-cache-controlno-preview
go-importgithub.com/josegonzalez/python-github-backup git https://github.com/josegonzalez/python-github-backup.git
octolytics-dimension-user_id65675
octolytics-dimension-user_loginjosegonzalez
octolytics-dimension-repository_id14876085
octolytics-dimension-repository_nwojosegonzalez/python-github-backup
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14876085
octolytics-dimension-repository_network_root_nwojosegonzalez/python-github-backup
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseab4da203740f827015a12d36851c8de196e908bf
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/josegonzalez/python-github-backup/issues/519#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjosegonzalez%2Fpython-github-backup%2Fissues%2F519
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjosegonzalez%2Fpython-github-backup%2Fissues%2F519
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=josegonzalez%2Fpython-github-backup
Reloadhttps://github.com/josegonzalez/python-github-backup/issues/519
Reloadhttps://github.com/josegonzalez/python-github-backup/issues/519
Reloadhttps://github.com/josegonzalez/python-github-backup/issues/519
josegonzalezhttps://github.com/josegonzalez
python-github-backuphttps://github.com/josegonzalez/python-github-backup
Codehttps://github.com/josegonzalez/python-github-backup
Issues6 (6)https://github.com/josegonzalez/python-github-backup/issues
Pull requests1 (1)https://github.com/josegonzalez/python-github-backup/pulls
Actionshttps://github.com/josegonzalez/python-github-backup/actions
Security and qualityhttps://github.com/josegonzalez/python-github-backup/security
Insightshttps://github.com/josegonzalez/python-github-backup/pulse
https://github.com/josegonzalez/python-github-backup
New issuehttps://github.com/login?return_to=https://github.com/josegonzalez/python-github-backup/issues/519
New issuehttps://github.com/login?return_to=https://github.com/josegonzalez/python-github-backup/issues/519
#520https://github.com/josegonzalez/python-github-backup/pull/520
logging_subprocess deadlocks on Windows when child stdout/stderr exceeds pipe bufferhttps://github.com/josegonzalez/python-github-backup/issues/519#top
#520https://github.com/josegonzalez/python-github-backup/pull/520
https://github.com/chirag127
chirag127https://github.com/chirag127
on Jul 4, 2026https://github.com/josegonzalez/python-github-backup/issues/519#issue-4807895492
https://github.com/Iamrodos
Iamrodoshttps://github.com/Iamrodos
on Jul 4, 2026https://github.com/josegonzalez/python-github-backup/issues/519#issuecomment-4881415094
7437e3ahttps://github.com/josegonzalez/python-github-backup/commit/7437e3abb1aed35b3dfd2f208bbff8c5a00e523c
#520https://github.com/josegonzalez/python-github-backup/pull/520
@josegonzalezhttps://github.com/josegonzalez
josegonzalezhttps://github.com/josegonzalez
on Jul 6, 2026https://github.com/josegonzalez/python-github-backup/issues/519#event-27615347952
fix: drain subprocess pipes with reader threads to prevent Windows de…https://github.com/josegonzalez/python-github-backup/commit/d95cf3a26dc2fdec8984edb98ddb805ef26714c8
d95cf3ahttps://github.com/josegonzalez/python-github-backup/commit/d95cf3a26dc2fdec8984edb98ddb805ef26714c8
josegonzalezhttps://github.com/josegonzalez
completedhttps://github.com/josegonzalez/python-github-backup/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#520https://github.com/josegonzalez/python-github-backup/pull/520
on Jul 6, 2026https://github.com/josegonzalez/python-github-backup/issues/519#event-27615348076
josegonzalezhttps://github.com/josegonzalez
on Jul 6, 2026https://github.com/josegonzalez/python-github-backup/issues/519#event-27615348132
Merge pull request #520 from Iamrodos/fix/519-windows-subprocess-dead…https://github.com/josegonzalez/python-github-backup/commit/e0784e5658a67a8d9ce1b64a58ef0abe6c722bdc
#520https://github.com/josegonzalez/python-github-backup/pull/520
e0784e5https://github.com/josegonzalez/python-github-backup/commit/e0784e5658a67a8d9ce1b64a58ef0abe6c722bdc
Sign up for freehttps://github.com/signup?return_to=https://github.com/josegonzalez/python-github-backup/issues/519
Sign in to commenthttps://github.com/login?return_to=https://github.com/josegonzalez/python-github-backup/issues/519
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.