René's URL Explorer Experiment


Title: Recurrent but not reproducible crash when writing to cache · Issue #12475 · python/mypy · GitHub

Open Graph Title: Recurrent but not reproducible crash when writing to cache · Issue #12475 · python/mypy

X Title: Recurrent but not reproducible crash when writing to cache · Issue #12475 · python/mypy

Description: Crash Report Recently we (different team members) are now and then running into a mypy crash which can only be resolved by deleting .mypy_cache. We have no idea yet how to reproduce it - it likely is triggered after changing branches. Bu...

Open Graph Description: Crash Report Recently we (different team members) are now and then running into a mypy crash which can only be resolved by deleting .mypy_cache. We have no idea yet how to reproduce it - it likely ...

X Description: Crash Report Recently we (different team members) are now and then running into a mypy crash which can only be resolved by deleting .mypy_cache. We have no idea yet how to reproduce it - it likely ...

Opengraph URL: https://github.com/python/mypy/issues/12475

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Recurrent but not reproducible crash when writing to cache","articleBody":"\u003c!--\r\n  Use this form only if mypy reports an \"INTERNAL ERROR\" and/or gives a traceback.\r\n  Please include the traceback and all other messages below (use `mypy --show-traceback`).\r\n-->\r\n\r\n**Crash Report**\r\n\r\nRecently we (different team members) are now and then running into a mypy crash which can only be resolved by deleting `.mypy_cache`. We have no idea yet how to reproduce it - it likely is triggered after changing branches. But we could so far not figure out the problematic code path.\r\n\r\n**Traceback**\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/abc/venv/weplan3.10/bin/mypy\", line 8, in \u003cmodule>\r\n    sys.exit(console_entry())\r\n  File \"/Users/abc/venv/weplan3.10/lib/python3.10/site-packages/mypy/__main__.py\", line 12, in console_entry\r\n    main(None, sys.stdout, sys.stderr)\r\n  File \"mypy/main.py\", line 96, in main\r\n  File \"mypy/main.py\", line 173, in run_build\r\n  File \"mypy/build.py\", line 180, in build\r\n  File \"mypy/build.py\", line 256, in _build\r\n  File \"mypy/build.py\", line 2727, in dispatch\r\n  File \"mypy/build.py\", line 3071, in process_graph\r\n  File \"mypy/build.py\", line 3189, in process_stale_scc\r\n  File \"mypy/build.py\", line 2311, in write_cache\r\n  File \"mypy/build.py\", line 1488, in write_cache\r\n  File \"mypy/nodes.py\", line 344, in serialize\r\n  File \"mypy/nodes.py\", line 3364, in serialize\r\n  File \"mypy/nodes.py\", line 3301, in serialize\r\n  File \"mypy/nodes.py\", line 2827, in serialize\r\n  File \"mypy/nodes.py\", line 3364, in serialize\r\n  File \"mypy/nodes.py\", line 3301, in serialize\r\n  File \"mypy/nodes.py\", line 953, in serialize\r\n  File \"mypy/types.py\", line 1086, in serialize\r\n  File \"mypy/types.py\", line 1482, in serialize\r\n  File \"mypy/types.py\", line 611, in serialize\r\n  File \"mypy/types.py\", line 1079, in serialize\r\n  File \"mypy/nodes.py\", line 2676, in fullname\r\nAttributeError: attribute '_fullname' of 'TypeInfo' undefined\r\n```\r\n\r\n**To Reproduce**\r\n\r\nWell yeah, seems to be some constellation of stars and cache state.\r\n\r\n**Your Environment**\r\n\r\n- Mypy version used: mypy 0.941 (I think it happened with 0.931 as well)\r\n- Mypy command-line flags: Just a bunch of packages passed with `-p` and a config file.\r\n- Mypy configuration options from `mypy.ini` (and other config files):\r\n```\r\n[mypy]\r\nignore_missing_imports = True\r\ncolor_output = True\r\npretty = True\r\nshow_error_codes = True\r\ncheck_untyped_defs = True\r\nwarn_unreachable = True\r\nerror_summary = True\r\n# https://github.com/python/mypy/issues/9091\r\nno_implicit_optional = True\r\n\r\n# pip install sqlalchemy2-stubs\r\nplugins = sqlalchemy.ext.mypy.plugin\r\n```\r\n\r\n- Python version used: 3.10\r\n- Operating system and version: macOS Big Sur\r\n\r\n\u003c!--\r\nYou can freely edit this text, please remove all the lines\r\nyou believe are unnecessary.\r\n-->\r\n","author":{"url":"https://github.com/aberres","@type":"Person","name":"aberres"},"datePublished":"2022-03-28T12:09:01Z","url":"https://github.com/python/mypy/issues/12475"}

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:d93788db-2775-7709-a61a-edacf28e9cc2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB542:2573D7:23930B6:3086262:6B002FFC
html-safe-nonceacdc4c3a1c66ac2e24f7f2e600f6815552cdace1bb9864e2db02b6e5c01c512d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTQyOjI1NzNENzoyMzkzMEI2OjMwODYyNjI6NkIwMDJGRkMiLCJ2aXNpdG9yX2lkIjoiMzI0OTgxNzA0OTYwOTgwOTkxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0bf21e78ce7efded3b778b329c2ddf68d26101d761b2eef8d04d6caff1146548
hovercard-subject-tagissue:1183342289
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/python/mypy/12475/issue_layout
twitter:imagehttps://opengraph.githubassets.com/141ac04dd417a9f0463f1c228350d58cb2e86de6de56e94729d8ba7828a22edf/python/mypy/issues/12475
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/141ac04dd417a9f0463f1c228350d58cb2e86de6de56e94729d8ba7828a22edf/python/mypy/issues/12475
og:image:altCrash Report Recently we (different team members) are now and then running into a mypy crash which can only be resolved by deleting .mypy_cache. We have no idea yet how to reproduce it - it likely ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaberres
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-preview
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/12475#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F12475
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%2Fpython%2Fmypy%2Fissues%2F12475
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=python%2Fmypy
Reloadhttps://github.com/python/mypy/issues/12475
Reloadhttps://github.com/python/mypy/issues/12475
Reloadhttps://github.com/python/mypy/issues/12475
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests547 (547)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/12475
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/12475
Recurrent but not reproducible crash when writing to cachehttps://github.com/python/mypy/issues/12475#top
crashhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22crash%22
priority-0-highhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-0-high%22
topic-incrementalhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-incremental%22
topic-paramspecPEP 612, ParamSpec, Concatenatehttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-paramspec%22
https://github.com/aberres
aberreshttps://github.com/aberres
on Mar 28, 2022https://github.com/python/mypy/issues/12475#issue-1183342289
aberreshttps://github.com/aberres
crashhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22crash%22
on Mar 28, 2022https://github.com/python/mypy/issues/12475#event-6317933707
AlexWaygoodhttps://github.com/AlexWaygood
topic-incrementalhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-incremental%22
on Mar 28, 2022https://github.com/python/mypy/issues/12475#event-6317986936
https://github.com/pkanavos
pkanavoshttps://github.com/pkanavos
on Apr 6, 2022https://github.com/python/mypy/issues/12475#issuecomment-1090190101
https://github.com/ronakts
ronaktshttps://github.com/ronakts
on Apr 6, 2022https://github.com/python/mypy/issues/12475#issuecomment-1090484671
https://github.com/Dreamsorcerer
Dreamsorcererhttps://github.com/Dreamsorcerer
on Apr 9, 2022https://github.com/python/mypy/issues/12475#issuecomment-1094112894
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
on Apr 9, 2022https://github.com/python/mypy/issues/12475#issuecomment-1094114924
AlexWaygoodhttps://github.com/AlexWaygood
priority-0-highhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-0-high%22
on Apr 9, 2022https://github.com/python/mypy/issues/12475#event-6402358034
https://github.com/ethanzh
ethanzhhttps://github.com/ethanzh
on May 23, 2022https://github.com/python/mypy/issues/12475#issuecomment-1134842803
@Dreamsorcererhttps://github.com/Dreamsorcerer
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
on May 23, 2022https://github.com/python/mypy/issues/12475#issuecomment-1134846356
https://github.com/Dreamsorcerer
Dreamsorcererhttps://github.com/Dreamsorcerer
on May 23, 2022https://github.com/python/mypy/issues/12475#issuecomment-1134900394
https://github.com/ethanzh
ethanzhhttps://github.com/ethanzh
on May 23, 2022https://github.com/python/mypy/issues/12475#issuecomment-1134902587
https://github.com/pranavrajpal
pranavrajpalhttps://github.com/pranavrajpal
on May 23, 2022https://github.com/python/mypy/issues/12475#issuecomment-1135077669
fix(mypy): Placeholder vars should have fullname set sqlalchemy/sqlalchemy#7348https://github.com/sqlalchemy/sqlalchemy/pull/7348
mypy/mypy/types.pyhttps://github.com/python/mypy/blob/4e18c789d177b858fad6499018f7302e3ee75199/mypy/types.py#L611
4e18c78https://github.com/python/mypy/commit/4e18c789d177b858fad6499018f7302e3ee75199
https://github.com/mavidser
mavidserhttps://github.com/mavidser
on May 23, 2022https://github.com/python/mypy/issues/12475#issuecomment-1135195332
flask-limiterhttps://github.com/alisaifee/flask-limiter
limitshttps://github.com/alisaifee/limits/blob/master/limits
lines like thesehttps://github.com/alisaifee/limits/blob/4d49c7ff2e847d55cecafc235140df2a85154758/limits/storage/memcached.py#L87
#8645https://github.com/python/mypy/issues/8645
hauntsaninjahttps://github.com/hauntsaninja
topic-paramspecPEP 612, ParamSpec, Concatenatehttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-paramspec%22
on May 24, 2022https://github.com/python/mypy/issues/12475#event-6666626938
https://github.com/aberres
aberreshttps://github.com/aberres
on May 24, 2022https://github.com/python/mypy/issues/12475#issuecomment-1135786636
@pranavrajpalhttps://github.com/pranavrajpal
https://github.com/aberres
aberreshttps://github.com/aberres
on May 24, 2022https://github.com/python/mypy/issues/12475#issuecomment-1135788888
https://github.com/NeilGirdhar
NeilGirdharhttps://github.com/NeilGirdhar
on Jun 15, 2022https://github.com/python/mypy/issues/12475#issuecomment-1156288800
https://github.com/NeilGirdhar/tjax/https://github.com/NeilGirdhar/tjax/
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
on Jul 10, 2022https://github.com/python/mypy/issues/12475#issuecomment-1179662456
#13099https://github.com/python/mypy/issues/13099
@copperfield42https://github.com/copperfield42
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
on Aug 23, 2022https://github.com/python/mypy/issues/12475#issuecomment-1223392313
#13381https://github.com/python/mypy/pull/13381
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
on Oct 5, 2022https://github.com/python/mypy/issues/12475#issuecomment-1267853659
hauntsaninjahttps://github.com/hauntsaninja
completedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 5, 2022https://github.com/python/mypy/issues/12475#event-7521564764
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/12475
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/12475
crashhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22crash%22
priority-0-highhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22priority-0-high%22
topic-incrementalhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-incremental%22
topic-paramspecPEP 612, ParamSpec, Concatenatehttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-paramspec%22
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.