René's URL Explorer Experiment


Title: `Monitor._thread_lock` leaked into forked children causing deadlocks · Issue #6148 · getsentry/sentry-python · GitHub

Open Graph Title: `Monitor._thread_lock` leaked into forked children causing deadlocks · Issue #6148 · getsentry/sentry-python

X Title: `Monitor._thread_lock` leaked into forked children causing deadlocks · Issue #6148 · getsentry/sentry-python

Description: How do you use Sentry? Sentry Saas (sentry.io) Version 2.57.0 Steps to Reproduce When os.fork() is called while thread in the parent is inside with self._thread_lock:, the child inherits the lock locked. The thread that originally acquir...

Open Graph Description: How do you use Sentry? Sentry Saas (sentry.io) Version 2.57.0 Steps to Reproduce When os.fork() is called while thread in the parent is inside with self._thread_lock:, the child inherits the lock l...

X Description: How do you use Sentry? Sentry Saas (sentry.io) Version 2.57.0 Steps to Reproduce When os.fork() is called while thread in the parent is inside with self._thread_lock:, the child inherits the lock l...

Opengraph URL: https://github.com/getsentry/sentry-python/issues/6148

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`Monitor._thread_lock` leaked into forked children causing deadlocks","articleBody":"### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Version\n\n2.57.0\n\n### Steps to Reproduce\n\n\nWhen `os.fork()` is called while thread in the parent is inside `with self._thread_lock:`, the child inherits the lock locked. The thread that originally acquired it does not exist in the child, so the lock can never be released, and every subsequent call to `Monitor._ensure_running` in the child blocks forever.\n\nWe hit this in production with Celery's `prefork` pool: when a worker dies (`WorkerLostError`), the master's pool supervisor calls `os.fork()` to spawn a replacement. If a Sentry code path is mid-`_ensure_running` on another master thread at that exact moment, the replacement worker is poisoned. Tasks dispatched to it hang and only die at the soft time limit.\n\nThe repro below makes this deterministic by using `os.register_at_fork` to acquire `_thread_lock` in the forking thread itself.\n\nSave as `sentry_monitor_lock.py` and run with `uv run sentry_monitor_lock.py`. Requires Redis at `redis://localhost:6379/0`.\n\n```python\n# /// script\n# requires-python = \">=3.13\"\n# dependencies = [\n#   \"sentry-sdk==2.57.0\",\n#   \"celery[redis]==5.6.2\",\n# ]\n# ///\n\"\"\"Repro: sentry_sdk Monitor._thread_lock leaked locked across fork().\"\"\"\nimport logging, os, pathlib, sys, tempfile, threading\nfrom datetime import datetime, timedelta, timezone\n\n# Wrap threading.Lock BEFORE importing sentry_sdk so we can capture\n# the Monitor._thread_lock instance at construction time.\nreal_Lock = threading.Lock\nsentry_monitor_locks = []\n\ndef tracking_sentry_monitor_lock(*a, **kw):\n    lock = real_Lock(*a, **kw)\n    if sys._getframe(1).f_code.co_filename.endswith(\"/sentry_sdk/monitor.py\"):\n        sentry_monitor_locks.append(lock)\n    return lock\n\nthreading.Lock = tracking_sentry_monitor_lock\n\nimport sentry_sdk\nfrom celery import Celery\nfrom sentry_sdk.integrations.celery import CeleryIntegration\n\nTEMP_DIR = pathlib.Path(tempfile.gettempdir()) / \"sentry_monitor_lock\"\nTEMP_DIR.mkdir(exist_ok=True, parents=True)\nKILL_FLAG = TEMP_DIR / \"flag\"\nKILL_FLAG.unlink(missing_ok=True)\n\nsentry_sdk.init(\n    dsn=\"http://public@localhost/1\",\n    integrations=[CeleryIntegration()],\n    traces_sample_rate=1.0,\n)\n\nassert sentry_monitor_locks, \"Monitor lock not captured during init()\"\n\n# Acquire the lock in the forking thread itself; child inherits it\n# locked because no after_in_child release is registered.\ndef before_fork():\n    if KILL_FLAG.exists():\n        sentry_monitor_locks[0].acquire()\n\ndef after_in_parent():\n    if KILL_FLAG.exists():\n        KILL_FLAG.unlink(missing_ok=True)\n        sentry_monitor_locks[0].release()\n\nos.register_at_fork(before=before_fork, after_in_parent=after_in_parent)\n\napp = Celery(\"sentry_monitor_lock\", broker=\"redis://localhost:6379/0\")\napp.conf.task_soft_time_limit = 5\napp.conf.beat_schedule = {\"noop\": {\"task\": \"sentry_monitor_lock.noop\", \"schedule\": 5}}\n\n@app.task\ndef kill_me():\n    KILL_FLAG.touch()\n    os._exit(9)\n\n@app.task\ndef noop():\n    return \"ok\"\n\nkill_me.apply_async(eta=datetime.now(timezone.utc) + timedelta(seconds=30))\n\nif __name__ == \"__main__\":\n    app.start([\n        \"worker\", \"--beat\",\n        f\"--schedule={TEMP_DIR}/schedule.db\",\n        \"--pool=prefork\", \"--concurrency=1\",\n        \"--prefetch-multiplier=1\", \"--loglevel=INFO\",\n    ])\n```\n\n**Timeline when run:**\n\n1. `0 s` — celery starts, beat schedules `noop` every 5 s, master spawns initial worker. `noop` tasks succeed.\n2. `30 s` — `kill_me` runs in the worker, touches `KILL_FLAG`, then `os._exit(9)`s.\n3. `~30 s` — master's billiard supervisor sees `WorkerLostError` and calls `os.fork()` to spawn a replacement. The `before_fork` hook fires (gated on `KILL_FLAG`) and acquires `Monitor._thread_lock`. Child inherits the lock locked. Parent releases in `after_in_parent` and recovers.\n4. `30 s onward` — beat keeps dispatching `noop` to the replacement worker. Every task hangs.\n\n### Expected Result\n\nThe replacement worker should process `noop` tasks normally after the post-`kill_me` fork. `Monitor._thread_lock` state in the child must not depend on what threads in the parent were doing at the instant of fork.\n\n### Actual Result\n\n\nThe replacement worker is permanently wedged. Every `noop` it picks up hangs and dies on the soft time limit:\n\n```python\n[2026-04-27 12:59:05,848: INFO/Beat] Scheduler: Sending due task noop (sentry_monitor_lock.noop)\n[2026-04-27 12:59:05,857: INFO/MainProcess] Task sentry_monitor_lock.noop[bf207be7-1240-4bc2-b73e-ded5e6d37534] received\n[2026-04-27 12:59:07,096: WARNING/MainProcess] Soft time limit (5s) exceeded for sentry_monitor_lock.noop[fac600de-e6c7-4533-90da-6e28a22b4fd4]\n[2026-04-27 12:59:07,102: ERROR/MainProcess] Task handler raised error: SoftTimeLimitExceeded()\nbilliard.einfo.RemoteTraceback:\n\"\"\"\nTraceback (most recent call last):\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/billiard/pool.py\", line 362, in workloop\n    result = (True, prepare_result(fun(*args, **kwargs)))\n                                   ~~~^^^^^^^^^^^^^^^^^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/celery/app/trace.py\", line 694, in fast_trace_task\n    R, I, T, Rstr = tasks[task].__trace__(\n                    ~~~~~~~~~~~~~~~~~~~~~^\n        uuid, args, kwargs, request,\n        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    )\n    ^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/utils.py\", line 1900, in runner\n    return sentry_patched_function(*args, **kwargs)\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/integrations/celery/__init__.py\", line 332, in _inner\n    with sentry_sdk.start_transaction(\n         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n        transaction,\n        ^^^^^^^^^^^^\n    ...\u003c8 lines>...\n        },\n        ^^\n    ):\n    ^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/api.py\", line 408, in start_transaction\n    return get_current_scope().start_transaction(\n           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n        transaction, instrumenter, custom_sampling_context, **kwargs\n        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    )\n    ^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/scope.py\", line 1134, in start_transaction\n    transaction._set_initial_sampling_decision(sampling_context=sampling_context)\n    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/tracing.py\", line 1216, in _set_initial_sampling_decision\n    self.sample_rate /= 2**client.monitor.downsample_factor\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/monitor.py\", line 109, in downsample_factor\n    self._ensure_running()\n    ~~~~~~~~~~~~~~~~~~~~^^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/monitor.py\", line 51, in _ensure_running\n    with self._thread_lock:\n         ^^^^^^^^^^^^^^^^^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/billiard/pool.py\", line 228, in soft_timeout_sighandler\n    raise SoftTimeLimitExceeded()\nbilliard.exceptions.SoftTimeLimitExceeded: SoftTimeLimitExceeded()\n\"\"\"\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/billiard/pool.py\", line 362, in workloop\n    result = (True, prepare_result(fun(*args, **kwargs)))\n                                   ~~~^^^^^^^^^^^^^^^^^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/celery/app/trace.py\", line 694, in fast_trace_task\n    R, I, T, Rstr = tasks[task].__trace__(\n                    ~~~~~~~~~~~~~~~~~~~~~^\n        uuid, args, kwargs, request,\n        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    )\n    ^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/utils.py\", line 1900, in runner\n    return sentry_patched_function(*args, **kwargs)\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/integrations/celery/__init__.py\", line 332, in _inner\n    with sentry_sdk.start_transaction(\n         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n        transaction,\n        ^^^^^^^^^^^^\n    ...\u003c8 lines>...\n        },\n        ^^\n    ):\n    ^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/api.py\", line 408, in start_transaction\n    return get_current_scope().start_transaction(\n           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n        transaction, instrumenter, custom_sampling_context, **kwargs\n        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    )\n    ^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/scope.py\", line 1134, in start_transaction\n    transaction._set_initial_sampling_decision(sampling_context=sampling_context)\n    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/tracing.py\", line 1216, in _set_initial_sampling_decision\n    self.sample_rate /= 2**client.monitor.downsample_factor\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/monitor.py\", line 109, in downsample_factor\n    self._ensure_running()\n    ~~~~~~~~~~~~~~~~~~~~^^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/sentry_sdk/monitor.py\", line 51, in _ensure_running\n    with self._thread_lock:\n         ^^^^^^^^^^^^^^^^^\n  File \"/Users/lv/.cache/uv/environments-v2/sentry-monitor-lock-647cb2fd2bb3ef20/lib/python3.14/site-packages/billiard/pool.py\", line 228, in soft_timeout_sighandler\n    raise SoftTimeLimitExceeded()\nbilliard.exceptions.SoftTimeLimitExceeded: SoftTimeLimitExceeded()\n```","author":{"url":"https://github.com/vokracko","@type":"Person","name":"vokracko"},"datePublished":"2026-04-27T11:00:41Z","url":"https://github.com/getsentry/sentry-python/issues/6148"}

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:e241e9c9-a2cd-7e75-3da7-1775173fffd2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idABE4:68AAF:3B6B46:528B6A:6B008CDD
html-safe-nonce0df3653d51d37f86b1a2fb3b17b1bb8e5629cda3f4c5b1d1f13aff2f9ead83d3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkU0OjY4QUFGOjNCNkI0Njo1MjhCNkE6NkIwMDhDREQiLCJ2aXNpdG9yX2lkIjoiODAzNTU0ODYyMDQ3ODUxNjQ0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacefa59d478f1e783a3fa0234af03c806873170189319c7511b91203d3a811b84a
hovercard-subject-tagissue:4335185519
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/getsentry/sentry-python/6148/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0ff74f5773e562840e9f44a043747d97e3c54099e21568b51dbfb307c4ef031c/getsentry/sentry-python/issues/6148
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0ff74f5773e562840e9f44a043747d97e3c54099e21568b51dbfb307c4ef031c/getsentry/sentry-python/issues/6148
og:image:altHow do you use Sentry? Sentry Saas (sentry.io) Version 2.57.0 Steps to Reproduce When os.fork() is called while thread in the parent is inside with self._thread_lock:, the child inherits the lock l...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevokracko
hostnamegithub.com
expected-hostnamegithub.com
Nonec710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
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
releasebe616a2a6ec1c609d6e002896dff5352d5c5f28b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/issues/6148#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fissues%2F6148
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%2Fgetsentry%2Fsentry-python%2Fissues%2F6148
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=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/issues/6148
Reloadhttps://github.com/getsentry/sentry-python/issues/6148
Reloadhttps://github.com/getsentry/sentry-python/issues/6148
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues345 (345)https://github.com/getsentry/sentry-python/issues
Pull requests41 (41)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
https://github.com/getsentry/sentry-python
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/6148
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/6148
#6159https://github.com/getsentry/sentry-python/pull/6159
Monitor._thread_lock leaked into forked children causing deadlockshttps://github.com/getsentry/sentry-python/issues/6148#top
#6159https://github.com/getsentry/sentry-python/pull/6159
https://github.com/ericapisani
Bughttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Bug%22
PythonSDKhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Python%22
https://github.com/vokracko
vokrackohttps://github.com/vokracko
on Apr 27, 2026https://github.com/getsentry/sentry-python/issues/6148#issue-4335185519
vokrackohttps://github.com/vokracko
PythonSDKhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Python%22
Bughttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Bug%22
on Apr 27, 2026https://github.com/getsentry/sentry-python/issues/6148#event-24902168832
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Apr 27, 2026https://github.com/getsentry/sentry-python/issues/6148#event-24902170092
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Apr 27, 2026https://github.com/getsentry/sentry-python/issues/6148#issuecomment-4326411623
Linear Codehttps://linear.app
PY-2390https://linear.app/getsentry/issue/PY-2390/monitor-thread-lock-leaked-into-forked-children-causing-child
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Apr 27, 2026https://github.com/getsentry/sentry-python/issues/6148#event-24902172962
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Apr 27, 2026https://github.com/getsentry/sentry-python/issues/6148
vokrackohttps://github.com/vokracko
on Apr 27, 2026https://github.com/getsentry/sentry-python/issues/6148#event-24902180263
ericapisanihttps://github.com/ericapisani
on Apr 27, 2026https://github.com/getsentry/sentry-python/issues/6148#event-24905518904
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
on Apr 27, 2026https://github.com/getsentry/sentry-python/issues/6148#issuecomment-4327009578
@vokrackohttps://github.com/vokracko
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Apr 27, 2026https://github.com/getsentry/sentry-python/issues/6148#event-24905560377
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Apr 27, 2026https://github.com/getsentry/sentry-python/issues/6148
vokrackohttps://github.com/vokracko
on Apr 27, 2026https://github.com/getsentry/sentry-python/issues/6148#event-24921222497
fix(monitor): release Monitor._thread_lock after fork (getsentry#6148)https://github.com/vokracko/sentry-python/commit/3751a2cf17f333a6f65bb15ab91c4a284ace0215
getsentry#6148https://github.com/getsentry/sentry-python/issues/6148
3751a2chttps://github.com/vokracko/sentry-python/commit/3751a2cf17f333a6f65bb15ab91c4a284ace0215
fix(monitor): release Monitor._thread_lock after fork (getsentry#6148)https://github.com/vokracko/sentry-python/commit/7551582ac28d89112698d998d55e4656d1629ccd
getsentry#6148https://github.com/getsentry/sentry-python/issues/6148
7551582https://github.com/vokracko/sentry-python/commit/7551582ac28d89112698d998d55e4656d1629ccd
fix(monitor): release Monitor._thread_lock after fork (getsentry#6148)https://github.com/vokracko/sentry-python/commit/f7c1661a64a73cf61eb16792e6c0b147352beee6
getsentry#6148https://github.com/getsentry/sentry-python/issues/6148
f7c1661https://github.com/vokracko/sentry-python/commit/f7c1661a64a73cf61eb16792e6c0b147352beee6
https://github.com/vokracko
vokrackohttps://github.com/vokracko
on Apr 28, 2026https://github.com/getsentry/sentry-python/issues/6148#issuecomment-4334431607
@ericapisanihttps://github.com/ericapisani
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Apr 28, 2026https://github.com/getsentry/sentry-python/issues/6148#event-24943304548
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Apr 28, 2026https://github.com/getsentry/sentry-python/issues/6148
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
on Apr 28, 2026https://github.com/getsentry/sentry-python/issues/6148#issuecomment-4334936301
@vokrackohttps://github.com/vokracko
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Apr 28, 2026https://github.com/getsentry/sentry-python/issues/6148#event-24945895175
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Apr 28, 2026https://github.com/getsentry/sentry-python/issues/6148
ericapisanihttps://github.com/ericapisani
completedhttps://github.com/getsentry/sentry-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#6159https://github.com/getsentry/sentry-python/pull/6159
on Apr 29, 2026https://github.com/getsentry/sentry-python/issues/6148#event-24990637811
pullhttps://github.com/apps/pull
on Apr 29, 2026https://github.com/getsentry/sentry-python/issues/6148#event-24991056518
fix(monitor): release `Monitor._thread_lock` after fork (getsentry#6148…https://github.com/AKJUS/sentry-python/commit/051cc01640a29bfd64b1f1e2e3414c02f027dd1b
getsentry#6148https://github.com/getsentry/sentry-python/issues/6148
051cc01https://github.com/AKJUS/sentry-python/commit/051cc01640a29bfd64b1f1e2e3414c02f027dd1b
ericapisanihttps://github.com/ericapisani
on Apr 30, 2026https://github.com/getsentry/sentry-python/issues/6148#event-25031498563
fix(batcher): Reset lock and flusher in child after fork (#6163)https://github.com/getsentry/sentry-python/commit/b5735abb51b21dba8cee1f35a918dbe51babf038
#6163https://github.com/getsentry/sentry-python/pull/6163
b5735abhttps://github.com/getsentry/sentry-python/commit/b5735abb51b21dba8cee1f35a918dbe51babf038
mgalignianahttps://github.com/mgaligniana
on Aug 9, 2026https://github.com/getsentry/sentry-python/issues/6148#event-29172575674
fix(monitor): release `Monitor._thread_lock` after fork (getsentry#6148…https://github.com/mgaligniana/sentry-python/commit/7eead77f96b4d5f004703fb9db3f5078ef0613a0
getsentry#6148https://github.com/getsentry/sentry-python/issues/6148
7eead77https://github.com/mgaligniana/sentry-python/commit/7eead77f96b4d5f004703fb9db3f5078ef0613a0
fix(batcher): Reset lock and flusher in child after fork (getsentry#6163https://github.com/mgaligniana/sentry-python/commit/69633389ec4311d0a309ef45a2f1d4d25883f421
getsentry#6163https://github.com/getsentry/sentry-python/pull/6163
6963338https://github.com/mgaligniana/sentry-python/commit/69633389ec4311d0a309ef45a2f1d4d25883f421
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-python/issues/6148
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/6148
ericapisanihttps://github.com/ericapisani
Bughttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Bug%22
PythonSDKhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Python%22
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
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

Viewport: width=device-width


URLs of crawlers that visited me.