Title: Regression segfault under CPython 3.12a5 in the SymPy test suite · Issue #102250 · python/cpython · GitHub
Open Graph Title: Regression segfault under CPython 3.12a5 in the SymPy test suite · Issue #102250 · python/cpython
X Title: Regression segfault under CPython 3.12a5 in the SymPy test suite · Issue #102250 · python/cpython
Description: Crash report This comes from sympy/sympy#24776 which adds CPython 3.12 prerelease testing in SymPy's CI. This is seen with CPython 3.12a5 but not with 3.11 or earlier versions. The reproducer is to run the SymPy test suite: pip install s...
Open Graph Description: Crash report This comes from sympy/sympy#24776 which adds CPython 3.12 prerelease testing in SymPy's CI. This is seen with CPython 3.12a5 but not with 3.11 or earlier versions. The reproducer is to...
X Description: Crash report This comes from sympy/sympy#24776 which adds CPython 3.12 prerelease testing in SymPy's CI. This is seen with CPython 3.12a5 but not with 3.11 or earlier versions. The reproducer i...
Opengraph URL: https://github.com/python/cpython/issues/102250
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regression segfault under CPython 3.12a5 in the SymPy test suite","articleBody":"# Crash report\r\n\r\nThis comes from https://github.com/sympy/sympy/pull/24776 which adds CPython 3.12 prerelease testing in SymPy's CI.\r\n\r\nThis is seen with CPython 3.12a5 but not with 3.11 or earlier versions.\r\n\r\nThe reproducer is to run the SymPy test suite:\r\n```\r\npip install sympy==1.11.1\r\n```\r\nThen\r\n```\r\n\u003e\u003e\u003e import sympy\r\n\u003e\u003e\u003e sympy.test(subprocess=False)\r\n...\r\n(it takes about 5 minutes)\r\n...\r\nsympy/functions/special/tests/test_delta_functions.py[3] ... [OK]\r\nsympy/functions/special/tests/test_elliptic_integrals.py[4] .... [OK]\r\nsympy/functions/special/tests/test_error_functions.py[24] ................Segmentation fault: 11\r\n```\r\n\r\nI don't yet have a simpler reproducer for this because it seems to be non-deterministic but the SymPy test suite reliably invokes a segfault under 3.12 alpha 5 after about 5 minutes. The tests that are running at the time of the segfault will pass if run in isolation. Running the whole test suite though will cause it to fail randomly at one of a few specific places. I don't have a simpler reproducer because running a smaller part of the test suite does not reproduce the problem.\r\n\r\n# Error messages\r\n\r\nUsually:\r\n```\r\nSegmentation fault: 11\r\n```\r\nIn one case I have also seen (on OSX):\r\n```\r\nBus error: 10\r\n```\r\n\r\n# Your environment\r\n\r\n- CPython versions tested on: 3.12 alpha 5 (the problem is not seen with 3.11 or earlier).\r\n- Operating system and architecture: Ubuntu and OSX, both on x84-64 CPU.\r\n\r\nThe problem was seen initially in GitHub Actions CI on an Ubuntu 20.04 runner but I have also reproduced it locally in OSX (an Intel-CPU Macbook).\r\n\r\nI don't immediately have a setup that I can use to bisect this but I will get one set up soon to narrow this down.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-102287\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/oscarbenjamin","@type":"Person","name":"oscarbenjamin"},"datePublished":"2023-02-25T17:43:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/102250/cpython/issues/102250"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:da281434-076f-6547-8c2b-490d3b517480 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B866:27157C:F926E2:14C0834:696992B6 |
| html-safe-nonce | 3eee66cc7ee0467987c2d017f6556a7f76841847639e169ba75104f8aabaf9a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODY2OjI3MTU3QzpGOTI2RTI6MTRDMDgzNDo2OTY5OTJCNiIsInZpc2l0b3JfaWQiOiIyMDgwMzQ3NjU3NDkxOTU0NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 462a59c7d2960b494d3c2bc55b82aec297b7f3ad49ba9dc5f4a896ea422a78c2 |
| hovercard-subject-tag | issue:1599779482 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/102250/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b18070eba7347e2d4c7f7761e0d49ed8d3a87084db0ff5512792f89c9924573c/python/cpython/issues/102250 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b18070eba7347e2d4c7f7761e0d49ed8d3a87084db0ff5512792f89c9924573c/python/cpython/issues/102250 |
| og:image:alt | Crash report This comes from sympy/sympy#24776 which adds CPython 3.12 prerelease testing in SymPy's CI. This is seen with CPython 3.12a5 but not with 3.11 or earlier versions. The reproducer is to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oscarbenjamin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width