Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Crash Report] Crash when using eyedropper on Friefox

未关闭
#4,399 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
58/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
rust, wasm

调研方向

在 Firefox 中打开一个新的编辑器窗口,选择取色器并点击绘图画布,以复现崩溃。然后检查 node-graph/libraries/wgpu-executor/src/texture_conversion.rs 第 244 行附近的代码,并根据堆栈跟踪追踪纹理下载路径。当取色器不再导致 Firefox 崩溃,并且报告的复现步骤能够成功完成时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

Describe the Crash
Explain clearly what you were doing when the crash occurred.

Steps To Reproduce

  1. Open new editor window
  2. Click on "eyedropper" icon
  3. Click anywhere in the drawing canvas -> crash

Reproducible on https://dev.graphite.art too.

Additional Details
Reproducible in "private window" and in a new Firefox profile with no add-ons.
Couldn't reproduce it in LibreWolf (Firefox derived browser) and Chromium.

Browser and OS
Firefox 153.0.1, Windows 11

Stack Trace
Copied from the crash dialog in the Graphite editor:

panicked at node-graph/libraries/wgpu-executor/src/texture_conversion.rs:244:35:
Failed to download texture data: BufferAsyncError

G_/<@https://editor.graphite.art/assets/index-m1lViLdB.js:1143:893
Av/n/<@https://editor.graphite.art/assets/index-m1lViLdB.js:1143:8163
l@https://editor.graphite.art/assets/index-m1lViLdB.js:1143:8593
handleFrontendMessage@https://editor.graphite.art/assets/index-m1lViLdB.js:1143:8773
Zy/</<@https://editor.graphite.art/assets/index-m1lViLdB.js:1143:64897
Pv/__wbg_call_faa0a261f288f846/<@https://editor.graphite.art/assets/index-m1lViLdB.js:1143:22248
Q@https://editor.graphite.art/assets/index-m1lViLdB.js:1143:61518
__wbg_call_faa0a261f288f846@https://editor.graphite.art/assets/index-m1lViLdB.js:1143:22219
graphite_wasm_wrapper.wasm._ZN6js_sys17Function$LT$F$GT$5call217hb3a5bb69f80bf3f9E@https://editor.graphite.art/assets/graphite_wasm_wrapper_bg--WeSePwU.wasm:wasm-function[15566]:0xc937d9
graphite_wasm_wrapper.wasm._ZN21graphite_wasm_wrapper30send_panic_dialog_via_callback17h413c1045cbb1d2c5E@https://editor.graphite.art/assets/graphite_wasm_wrapper_bg--WeSePwU.wasm:wasm-function[1572]:0x55528e
graphite_wasm_wrapper.wasm._ZN4core3ops8function2Fn4call17h84ebe9936a7c5ee1E.llvm.16885218485715617440@https://editor.graphite.art/assets/graphite_wasm_wrapper_bg--WeSePwU.wasm:wasm-function[27685]:0xdeb2ad
graphite_wasm_wrapper.wasm._RNvNtCsjxim6MXhPwH_3std9panicking15panic_with_hook@https://editor.graphite.art/assets/graphite_wasm_wrapper_bg--WeSePwU.wasm:wasm-function[9661]:0xaccb15
graphite_wasm_wrapper.wasm._RNvNtCse6q680yZGje_4core9panicking9panic_fmt@https://editor.graphite.art/assets/graphite_wasm_wrapper_bg--WeSePwU.wasm:wasm-function[19455]:0xd28936
graphite_wasm_wrapper.wasm._RNvNtCse6q680yZGje_4core6result13unwrap_failed@https://editor.graphite.art/assets/graphite_wasm_wrapper_bg--WeSePwU.wasm:wasm-function[15975]:0xcbd6a5
graphite_wasm_wrapper.wasm._ZN13wgpu_executor18texture_conversion253_$LT$impl$u20$core_types..ops..Convert$LT$raster_types..raster_types..Raster$LT$raster_types..raster_types..cpu..CPU$GT$$C$$RF$wgpu_executor..WgpuExecutor$GT$$u20$for$u20$raster_types..raster_types..Raster$LT$raster_types..raster_types..gpu..GPU$GT$$GT$7convert28_$u7b$$u7b$closure$u7d$$u7d$17h9fc698b598d0bcdfE@https://editor.graphite.art/assets/graphite_wasm_wrapper_bg--WeSePwU.wasm:wasm-function[1546]:0x548cdf
graphite_wasm_wrapper.wasm._ZN21graphite_wasm_wrapper7helpers26poll_node_graph_evaluation28_$u7b$$u7b$closure$u7d$$u7d$17h64248a0c0c8b89f0E.llvm.8024392659999261982@https://editor.graphite.art/assets/graphite_wasm_wrapper_bg--WeSePwU.wasm:wasm-function[557]:0x1c6aa4
graphite_wasm_wrapper.wasm._ZN6js_sys7futures5queue10QueueState7run_all17h454d3acf83245e4fE@https://editor.graphite.art/assets/graphite_wasm_wrapper_bg--WeSePwU.wasm:wasm-function[9158]:0xaa1fe6
graphite_wasm_wrapper.wasm._ZN6js_sys7futures5queue5Queue3new28_$u7b$$u7b$closure$u7d$$u7d$17he101ef231054eb46E.llvm.14625867608002637744@https://editor.graphite.art/assets/graphite_wasm_wrapper_bg--WeSePwU.wasm:wasm-function[22371]:0xd8293e
graphite_wasm_wrapper.wasm._ZN12wasm_bindgen7convert8closures1_6invoke17ha1a7bcda685d7b40E@https://editor.graphite.art/assets/graphite_wasm_wrapper_bg--WeSePwU.wasm:wasm-function[16265]:0xcc9cc8
graphite_wasm_wrapper.wasm._ZN12wasm_bindgen7convert8closures1_6invoke17ha1a7bcda685d7b40E externref shim multivalue shim@https://editor.graphite.art/assets/graphite_wasm_wrapper_bg--WeSePwU.wasm:wasm-function[21996]:0xd7cf52
Lv@https://editor.graphite.art/assets/index-m1lViLdB.js:1143:56210
i@https://editor.graphite.art/assets/index-m1lViLdB.js:1143:61697
主要语言
Rust
星标
27.3k
派生
1.3k
平均合并
20 小时 1 分钟
30 天内合并 PR
64

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GraphiteEditor/Graphite 的其他 Issue

查看 GraphiteEditor/Graphite 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。