Title: Failed assert when lowering UOP_MAX_TRACE_LENGTH to 200 · Issue #117434 · python/cpython · GitHub
Open Graph Title: Failed assert when lowering UOP_MAX_TRACE_LENGTH to 200 · Issue #117434 · python/cpython
X Title: Failed assert when lowering UOP_MAX_TRACE_LENGTH to 200 · Issue #117434 · python/cpython
Description: Crash report See faster-cpython/ideas#669 (comment) By lowering UOP_MAX_TRACE_LENGTH to 200 I managed to cause a failing assert in this line in translate_bytecode_to_trace() in optimizer.c: if (trace[trace_length-1].opcode != _JUMP_TO_TO...
Open Graph Description: Crash report See faster-cpython/ideas#669 (comment) By lowering UOP_MAX_TRACE_LENGTH to 200 I managed to cause a failing assert in this line in translate_bytecode_to_trace() in optimizer.c: if (tra...
X Description: Crash report See faster-cpython/ideas#669 (comment) By lowering UOP_MAX_TRACE_LENGTH to 200 I managed to cause a failing assert in this line in translate_bytecode_to_trace() in optimizer.c: if (tra...
Opengraph URL: https://github.com/python/cpython/issues/117434
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Failed assert when lowering UOP_MAX_TRACE_LENGTH to 200","articleBody":"# Crash report\n\nSee https://github.com/faster-cpython/ideas/issues/669#issuecomment-2030548052\n\nBy lowering `UOP_MAX_TRACE_LENGTH` to 200 I managed to cause a failing assert in this line in translate_bytecode_to_trace() in optimizer.c:\n```c\n if (trace[trace_length-1].opcode != _JUMP_TO_TOP) {\n ADD_TO_TRACE(_EXIT_TRACE, 0, 0, target);\n }\n```\nI suspect a missing `RESERVE()` or `RESERVE_RAW()` call somewhere.\n\nWhile I didn't see this with higher max trace length, I suspect that the bug is universal, just harder to tickle (there aren't that many long traces).","author":{"url":"https://github.com/gvanrossum","@type":"Person","name":"gvanrossum"},"datePublished":"2024-04-01T21:13:09Z","url":"https://github.com/python/cpython/issues/117434"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:848a2c2a-9511-c2dd-e971-9dc760c0e640 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFBA:3F8AB1:4B841DD:5FA5EA7:6B023C4B |
| html-safe-nonce | 7e6cbbdaa1bcffc1fa3b3bcd804d30501394b6fd395d3e6cbf865f2eb614bdad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkJBOjNGOEFCMTo0Qjg0MUREOjVGQTVFQTc6NkIwMjNDNEIiLCJ2aXNpdG9yX2lkIjoiODY1ODYzNzU5NTAzNjc2MTE2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f0256b66ddf360c144aa03889deb8474d15aee37853b7572611feaeb4b869fdd |
| hovercard-subject-tag | issue:2219074176 |
| 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/117434/issue_layout |
| twitter:image | https://opengraph.githubassets.com/765c8c7341a683be5169667339181e312a35d167d96299e92c2d98c9b3d833d6/python/cpython/issues/117434 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/765c8c7341a683be5169667339181e312a35d167d96299e92c2d98c9b3d833d6/python/cpython/issues/117434 |
| og:image:alt | Crash report See faster-cpython/ideas#669 (comment) By lowering UOP_MAX_TRACE_LENGTH to 200 I managed to cause a failing assert in this line in translate_bytecode_to_trace() in optimizer.c: if (tra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gvanrossum |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width