René's URL Explorer Experiment


Title: [Bug]: `test_backend_qt.py::test_fig_close` causes python to `Aborted` · Issue #24770 · matplotlib/matplotlib · GitHub

Open Graph Title: [Bug]: `test_backend_qt.py::test_fig_close` causes python to `Aborted` · Issue #24770 · matplotlib/matplotlib

X Title: [Bug]: `test_backend_qt.py::test_fig_close` causes python to `Aborted` · Issue #24770 · matplotlib/matplotlib

Description: Bug summary While running tests with both python3.10 and 3.11 in debian unstable, i noticed that test_backend_qt.py::test_fig_close causes a Fatal Python error: Aborted Code for reproduction =build/lib.linux-x86_64-cpython-311 MATPLOTLIB...

Open Graph Description: Bug summary While running tests with both python3.10 and 3.11 in debian unstable, i noticed that test_backend_qt.py::test_fig_close causes a Fatal Python error: Aborted Code for reproduction =build...

X Description: Bug summary While running tests with both python3.10 and 3.11 in debian unstable, i noticed that test_backend_qt.py::test_fig_close causes a Fatal Python error: Aborted Code for reproduction =build...

Opengraph URL: https://github.com/matplotlib/matplotlib/issues/24770

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: `test_backend_qt.py::test_fig_close` causes python to `Aborted`","articleBody":"### Bug summary\r\n\r\nWhile running tests with both python3.10 and 3.11 in debian unstable, i noticed that `test_backend_qt.py::test_fig_close` causes a `Fatal Python error: Aborted`\r\n\r\n### Code for reproduction\r\n\r\n```python\r\n=build/lib.linux-x86_64-cpython-311 MATPLOTLIBDATA=/build/matplotlib-3.6.2/lib/matplotlib/mpl-data/ MPLCONFIGDIR=. xvfb-run -a python3.11-dbg -m pytest --verbose --full-trace build/lib.linux-x86_64-cpython-311/matplotlib/tests/test_backend_qt.py::test_fig_close\r\n```\r\n\r\n\r\n### Actual outcome\r\n\r\n```\r\nroot@zion:/build/matplotlib-3.6.2# PYTHONPATH=build/lib.linux-x86_64-cpython-311 MATPLOTLIBDATA=/build/matplotlib-3.6.2/lib/matplotlib/mpl-data/ MPLCONFIGDIR=. xvfb-run -a python3.11-dbg -m pytest --verbose --full-trace build/lib.linux-x86_64-cpython-311/matplotlib/tests/test_backend_qt.py::test_fig_close                                                                      \r\nMatplotlib is not built with the correct FreeType version to run tests.  Rebuild without setting system_freetype=1 in mplsetup.cfg.  Expect many image comparison failures below.  Expected freetype version 2.6.1.  Found freetype version 2.12.1.  Freetype build type is not local\r\n============================================================================================================================= test session starts ==============================================================================================================================\r\nplatform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack -- /usr/bin/python3.11-dbg\r\ncachedir: .pytest_cache\r\nrootdir: /build/matplotlib-3.6.2, configfile: pytest.ini\r\ncollected 1 item                                                                                                                                                                                                                                                               \r\n\r\nbuild/lib.linux-x86_64-cpython-311/matplotlib/tests/test_backend_qt.py::test_fig_close Fatal Python error: Aborted\r\n\r\nCurrent thread 0x00007eff20bb7040 (most recent call first):\r\n  File \"/build/matplotlib-3.6.2/build/lib.linux-x86_64-cpython-311/matplotlib/backends/backend_qt.py\", line 145 in _create_qApp\r\n  File \"/build/matplotlib-3.6.2/build/lib.linux-x86_64-cpython-311/matplotlib/backends/backend_qt.py\", line 206 in __init__\r\n  File \"/build/matplotlib-3.6.2/build/lib.linux-x86_64-cpython-311/matplotlib/backend_bases.py\", line 2822 in create_with_canvas\r\n  File \"/build/matplotlib-3.6.2/build/lib.linux-x86_64-cpython-311/matplotlib/backend_bases.py\", line 1703 in new_manager\r\n  File \"/build/matplotlib-3.6.2/build/lib.linux-x86_64-cpython-311/matplotlib/backend_bases.py\", line 3510 in new_figure_manager_given_figure\r\n  File \"/build/matplotlib-3.6.2/build/lib.linux-x86_64-cpython-311/matplotlib/backend_bases.py\", line 3505 in new_figure_manager\r\n  File \"/build/matplotlib-3.6.2/build/lib.linux-x86_64-cpython-311/matplotlib/pyplot.py\", line 359 in new_figure_manager\r\n  File \"/build/matplotlib-3.6.2/build/lib.linux-x86_64-cpython-311/matplotlib/pyplot.py\", line 783 in figure\r\n  File \"/build/matplotlib-3.6.2/build/lib.linux-x86_64-cpython-311/matplotlib/_api/deprecation.py\", line 454 in wrapper\r\n  File \"/build/matplotlib-3.6.2/build/lib.linux-x86_64-cpython-311/matplotlib/tests/test_backend_qt.py\", line 45 in test_fig_close\r\n  File \"/usr/lib/python3/dist-packages/_pytest/python.py\", line 195 in pytest_pyfunc_call\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_callers.py\", line 39 in _multicall\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_manager.py\", line 80 in _hookexec\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_hooks.py\", line 265 in __call__\r\n  File \"/usr/lib/python3/dist-packages/_pytest/python.py\", line 1789 in runtest\r\n  File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 167 in pytest_runtest_call\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_callers.py\", line 39 in _multicall\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_manager.py\", line 80 in _hookexec\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_hooks.py\", line 265 in __call__\r\n  File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 260 in \u003clambda>\r\n  File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 339 in from_call\r\n  File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 259 in call_runtest_hook\r\n  File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 220 in call_and_report\r\n  File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 131 in runtestprotocol\r\n  File \"/usr/lib/python3/dist-packages/_pytest/runner.py\", line 112 in pytest_runtest_protocol\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_callers.py\", line 39 in _multicall\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_manager.py\", line 80 in _hookexec\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_hooks.py\", line 265 in __call__\r\n  File \"/usr/lib/python3/dist-packages/_pytest/main.py\", line 349 in pytest_runtestloop\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_callers.py\", line 39 in _multicall\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_manager.py\", line 80 in _hookexec\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_hooks.py\", line 265 in __call__\r\n  File \"/usr/lib/python3/dist-packages/_pytest/main.py\", line 324 in _main\r\n  File \"/usr/lib/python3/dist-packages/_pytest/main.py\", line 270 in wrap_session\r\n  File \"/usr/lib/python3/dist-packages/_pytest/main.py\", line 317 in pytest_cmdline_main\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_callers.py\", line 39 in _multicall\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_manager.py\", line 80 in _hookexec\r\n  File \"/usr/lib/python3/dist-packages/pluggy/_hooks.py\", line 265 in __call__\r\n  File \"/usr/lib/python3/dist-packages/_pytest/config/__init__.py\", line 167 in main\r\n  File \"/usr/lib/python3/dist-packages/_pytest/config/__init__.py\", line 190 in console_main\r\n  File \"/usr/lib/python3/dist-packages/pytest/__main__.py\", line 5 in \u003cmodule>\r\n  File \"/usr/lib/python3.11/runpy.py\", line 88 in _run_code\r\n  File \"/usr/lib/python3.11/runpy.py\", line 198 in _run_module_as_main\r\n\r\nExtension modules: numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, matplotlib._c_internal_utils, PIL._imaging, matplotlib._path, kiwisolver, matplotlib._image, PyQt5.QtCore, PyQt5.QtGui, PyQt5.QtWidgets (total: 21)\r\nAborted\r\n\r\n```\r\n\r\n(btw no idea what's that `Matplotlib is not built with the correct FreeType version to run tests` is about given we build with:\r\n\r\n```\r\n# grep -B1 freetype debian/mplsetup.cfg \r\n[libs]\r\nsystem_freetype = 1\r\n```\r\n)\r\n\r\n### Expected outcome\r\n\r\ntest not failing\r\n\r\n### Additional information\r\n\r\n_No response_\r\n\r\n### Operating system\r\n\r\nDebian\r\n\r\n### Matplotlib Version\r\n\r\n3.6.2\r\n\r\n### Matplotlib Backend\r\n\r\nQt\r\n\r\n### Python version\r\n\r\nPython 3.11.1\r\n\r\n### Jupyter version\r\n\r\n_No response_\r\n\r\n### Installation\r\n\r\nfrom source (.tar.gz)","author":{"url":"https://github.com/sandrotosi","@type":"Person","name":"sandrotosi"},"datePublished":"2022-12-19T02:37:22Z","url":"https://github.com/matplotlib/matplotlib/issues/24770"}

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:533eedd8-d58c-648f-2fc8-96f5fe760d56
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idADD4:23514F:13F9AED:1A87CAF:6B066411
html-safe-noncef58e400e59e5bc85160023240132756dcff44b1b5427c27551f2b7d604e523cf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREQ0OjIzNTE0RjoxM0Y5QUVEOjFBODdDQUY6NkIwNjY0MTEiLCJ2aXNpdG9yX2lkIjoiMjIzOTUzMjAxNDQ5MzkxODIyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac955e2bcc3e14665ebed5c8d283e9a0c7a64fa284bb438cd786a871a4dcd06728
hovercard-subject-tagissue:1502193981
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/matplotlib/matplotlib/24770/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4ed89502870049f920b174e940d44c293fc95331182abf119722ef1c7b76501a/matplotlib/matplotlib/issues/24770
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4ed89502870049f920b174e940d44c293fc95331182abf119722ef1c7b76501a/matplotlib/matplotlib/issues/24770
og:image:altBug summary While running tests with both python3.10 and 3.11 in debian unstable, i noticed that test_backend_qt.py::test_fig_close causes a Fatal Python error: Aborted Code for reproduction =build...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesandrotosi
hostnamegithub.com
expected-hostnamegithub.com
None6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
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
release7f0aa75f4141d440c6110dc31af7ea7797abb6c4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/24770#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F24770
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%2Fmatplotlib%2Fmatplotlib%2Fissues%2F24770
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=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/issues/24770
Reloadhttps://github.com/matplotlib/matplotlib/issues/24770
Reloadhttps://github.com/matplotlib/matplotlib/issues/24770
matplotlibhttps://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Codehttps://github.com/matplotlib/matplotlib
Issues1k (1k)https://github.com/matplotlib/matplotlib/issues
Pull requests430 (430)https://github.com/matplotlib/matplotlib/pulls
Actionshttps://github.com/matplotlib/matplotlib/actions
Projectshttps://github.com/matplotlib/matplotlib/projects
Wikihttps://github.com/matplotlib/matplotlib/wiki
Security and qualityhttps://github.com/matplotlib/matplotlib/security
Insightshttps://github.com/matplotlib/matplotlib/insights
https://github.com/matplotlib/matplotlib
New issuehttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/24770
New issuehttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/24770
[Bug]: test_backend_qt.py::test_fig_close causes python to Abortedhttps://github.com/matplotlib/matplotlib/issues/24770#top
https://github.com/sandrotosi
sandrotosihttps://github.com/sandrotosi
on Dec 19, 2022https://github.com/matplotlib/matplotlib/issues/24770#issue-1502193981
https://github.com/sandrotosi
sandrotosihttps://github.com/sandrotosi
on Dec 19, 2022https://github.com/matplotlib/matplotlib/issues/24770#issuecomment-1357015193
https://github.com/sandrotosi
sandrotosihttps://github.com/sandrotosi
on Dec 19, 2022https://github.com/matplotlib/matplotlib/issues/24770#issuecomment-1357043609
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
on Dec 19, 2022https://github.com/matplotlib/matplotlib/issues/24770#issuecomment-1358007500
https://github.com/sandrotosi
sandrotosihttps://github.com/sandrotosi
on Dec 20, 2022https://github.com/matplotlib/matplotlib/issues/24770#issuecomment-1358911475
https://github.com/sandrotosi
sandrotosihttps://github.com/sandrotosi
on Dec 23, 2022https://github.com/matplotlib/matplotlib/issues/24770#issuecomment-1363665722
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
on Dec 23, 2022https://github.com/matplotlib/matplotlib/issues/24770#issuecomment-1364136659
https://github.com/sandrotosi
sandrotosihttps://github.com/sandrotosi
on Mar 19, 2024https://github.com/matplotlib/matplotlib/issues/24770#issuecomment-2005971521
sandrotosihttps://github.com/sandrotosi
completedhttps://github.com/matplotlib/matplotlib/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 19, 2024https://github.com/matplotlib/matplotlib/issues/24770#event-12164460316
Sign up for freehttps://github.com/signup?return_to=https://github.com/matplotlib/matplotlib/issues/24770
Sign in to commenthttps://github.com/login?return_to=https://github.com/matplotlib/matplotlib/issues/24770
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.