Title: "debug build" for at least one image · Issue #807 · docker-library/python · GitHub
Open Graph Title: "debug build" for at least one image · Issue #807 · docker-library/python
X Title: "debug build" for at least one image · Issue #807 · docker-library/python
Description: Recently we had a C extension for python failing in production in an environment that we do not own ourselves. The data in that environment was causing the issues. Because for that reason, it was complicated to reproduce it in different ...
Open Graph Description: Recently we had a C extension for python failing in production in an environment that we do not own ourselves. The data in that environment was causing the issues. Because for that reason, it was c...
X Description: Recently we had a C extension for python failing in production in an environment that we do not own ourselves. The data in that environment was causing the issues. Because for that reason, it was c...
Opengraph URL: https://github.com/docker-library/python/issues/807
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"debug build\" for at least one image","articleBody":"Recently we had a C extension for python failing in production in an environment that we do not own ourselves. The data in that environment was causing the issues. Because for that reason, it was complicated to reproduce it in different environments, we looked into running a debug version of python in that environment to understand where it was crashing, but that turned out quite complicated to do.\r\n\r\nIn the end I managed to home in on the data issues, set up data locally to reproduce it and build a debug version of the slim-bullseye image that I could use as a source for our application image. This allowed us to dump a core and investigate the back traces.\r\n\r\nWould it be helpful to have at least one image that contains a debug build of python in this stack, so that it's easier for developers to switch to that image and do this analysis? \r\n\r\nAn image that adds these lines to .,/configure\r\n\r\n`\t\t--with-pydebug \\\r\n\t\tCFLAGS=\"-g -O0\" \\`\r\n\r\nand sets LDFLAGS=\"\" instead of `\tLDFLAGS=\"-Wl,--strip-all\"; \\` , \r\n\r\ninstalls gdb and gdb extensions (`# enable GDB to load debugging data: https://github.com/docker-library/python/pull/701`)\r\n\r\nIf that's not a good idea, could you let me know what you'd recommend otherwise as a better process?","author":{"url":"https://github.com/gtoonstra","@type":"Person","name":"gtoonstra"},"datePublished":"2023-03-06T14:04:04Z","url":"https://github.com/docker-library/python/issues/807"}
| 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:b8a3071b-9bd0-be73-b531-e70750d45a45 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED2A:2058EE:BB3D1F:F67A30:6AFE8B76 |
| html-safe-nonce | 1d65443ceee9e36b173f069ce251ad1ef790199c7c6bae3c3b0e05c35ed33f8b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDJBOjIwNThFRTpCQjNEMUY6RjY3QTMwOjZBRkU4Qjc2IiwidmlzaXRvcl9pZCI6IjczMTg4OTk5NDY2NTQ5NjA1MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7895d12941c6e35cdd1d528c98c66c730bc40c867cb601c3667f1465617ce951 |
| hovercard-subject-tag | issue:1611499535 |
| 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/docker-library/python/807/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30c2f761c60736800496e58186cbd08f3cfbe5de6c10ae22cc3f67f62921b269/docker-library/python/issues/807 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30c2f761c60736800496e58186cbd08f3cfbe5de6c10ae22cc3f67f62921b269/docker-library/python/issues/807 |
| og:image:alt | Recently we had a C extension for python failing in production in an environment that we do not own ourselves. The data in that environment was causing the issues. Because for that reason, it was c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gtoonstra |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/docker-library/python git https://github.com/docker-library/python.git |
| octolytics-dimension-user_id | 7739233 |
| octolytics-dimension-user_login | docker-library |
| octolytics-dimension-repository_id | 21054928 |
| octolytics-dimension-repository_nwo | docker-library/python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21054928 |
| octolytics-dimension-repository_network_root_nwo | docker-library/python |
| 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 | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width