Title: ctx.StrokePolygon consumes all memory until killed by OS · Issue #390 · treeform/pixie · GitHub
Open Graph Title: ctx.StrokePolygon consumes all memory until killed by OS · Issue #390 · treeform/pixie
X Title: ctx.StrokePolygon consumes all memory until killed by OS · Issue #390 · treeform/pixie
Description: I've found a bug related to #388 (I think). This time lineDash is not zero. import pixie let image = newImage(200, 200) image.fill(rgba(255, 255, 255, 255)) let ctx = newContext(image) ctx.setLineDash(@[2.0.float32]) ctx.strokePolygon(ve...
Open Graph Description: I've found a bug related to #388 (I think). This time lineDash is not zero. import pixie let image = newImage(200, 200) image.fill(rgba(255, 255, 255, 255)) let ctx = newContext(image) ctx.setLineD...
X Description: I've found a bug related to #388 (I think). This time lineDash is not zero. import pixie let image = newImage(200, 200) image.fill(rgba(255, 255, 255, 255)) let ctx = newContext(image) ctx.setL...
Opengraph URL: https://github.com/treeform/pixie/issues/390
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ctx.StrokePolygon consumes all memory until killed by OS","articleBody":"I've found a bug related to #388 (I think). This time lineDash is not zero.\r\n```\r\nimport pixie\r\n\r\nlet image = newImage(200, 200)\r\nimage.fill(rgba(255, 255, 255, 255))\r\n\r\nlet ctx = newContext(image)\r\n\r\nctx.setLineDash(@[2.0.float32])\r\nctx.strokePolygon(vec2(0.0, 0.0), 0.0, 0)\r\n```\r\nThis has exactly the same behaviour as in #388: consumes memory until killed by the OS. I've looked at the code for context.StrokePolygon and paths.strokePolygon and I can't see why it happens. The code looks right to me; with sides == 0 nothing should be added to the path.","author":{"url":"https://github.com/kwhitefoot","@type":"Person","name":"kwhitefoot"},"datePublished":"2022-03-13T20:26:49Z","url":"https://github.com/treeform/pixie/issues/390"}
| 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:cf501f4e-0954-06b0-f6e4-2149d3ff7b29 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C854:36E50:C2346F:FE84E7:6B04DEAA |
| html-safe-nonce | 25923deb1f1dfe13a5df3482f0db4ae63be7da849bef0516cad158289a6ba7b5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODU0OjM2RTUwOkMyMzQ2RjpGRTg0RTc6NkIwNERFQUEiLCJ2aXNpdG9yX2lkIjoiODgxNjE4OTA4MTQ5MjE4NDc0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5756e897ec98acde7c51b73eee959dfa71c2197a5a8d48bb157ef424de6165ca |
| hovercard-subject-tag | issue:1167684602 |
| github-keyboard-shortcuts | repository,source-code,file-tree,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/treeform/pixie/390/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f724352bc6aaecd4b46305788dd065bb14b99a8e9812ffdb20ba93cad4baed0d/treeform/pixie/issues/390 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f724352bc6aaecd4b46305788dd065bb14b99a8e9812ffdb20ba93cad4baed0d/treeform/pixie/issues/390 |
| og:image:alt | I've found a bug related to #388 (I think). This time lineDash is not zero. import pixie let image = newImage(200, 200) image.fill(rgba(255, 255, 255, 255)) let ctx = newContext(image) ctx.setLineD... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kwhitefoot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 194dacb8acfd3e4d3ffb2704e0b1f10327f0dad690a7142acc7b0e0a2d073965 |
| turbo-cache-control | no-preview |
| go-import | github.com/treeform/pixie git https://github.com/treeform/pixie.git |
| octolytics-dimension-user_id | 125948 |
| octolytics-dimension-user_login | treeform |
| octolytics-dimension-repository_id | 314427501 |
| octolytics-dimension-repository_nwo | treeform/pixie |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 314427501 |
| octolytics-dimension-repository_network_root_nwo | treeform/pixie |
| 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 | 6c35540a0a2991ee20bd053ba2601cce33f72cb1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width