[Crash Report] When entering a custom node, going back, and clicking "Preview"
Maintainer thường phản hồi trong vòng 1 ngày
@HarshithJeevan-pixel đang làm issue này rồi.
Từ ngày 1/11/2026.
- #4899 của @HarshithJeevan-pixel — đang mở
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
The panic is at node-graph/graph-craft/src/document.rs:1340, inside NodeNetwork::flatten_with_fns and its merge_ids call, where an index into an empty list fails. Reproduce with the listed steps (custom node, enter, go back, click the Preview breadcrumb) and check the index against the network being flattened. Done means that path no longer panics. Pull request #4899 is already open against this issue, so review it before starting.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the Crash
I was testing out Graphite, created a custom node, entered to check it, went back, and clicked the "preview" button that was at the top.
Steps To Reproduce
- Open the Graphite editor at https://dev.graphite.art
- Create a new document
- Access the node editor
- Create a new custom node
- Enter the new custom node
- Go back to the document through the breadcumbs
- Click the "preview" breadcrumb that has appeared
Additional Details
https://github.com/user-attachments/assets/46636c34-38eb-4703-8c77-6fb21ad1731a
Browser and OS
Firefox 158, Linux (Fedora KDE Plasma)
Stack Trace
Copied from the crash dialog in the Graphite editor:
panicked at node-graph/graph-craft/src/document.rs:1340:69:
index out of bounds: the len is 0 but the index is 0
gT/<@https://dev.graphite.art/assets/index-C2O7cxFU.js:2704:893
cE/n/<@https://dev.graphite.art/assets/index-C2O7cxFU.js:2704:8718
l@https://dev.graphite.art/assets/index-C2O7cxFU.js:2704:9148
handleFrontendMessage@https://dev.graphite.art/assets/index-C2O7cxFU.js:2704:9328
SD/</<@https://dev.graphite.art/assets/index-C2O7cxFU.js:2704:71094
fE/__wbg_call_0f2a9af232c18fd2/<@https://dev.graphite.art/assets/index-C2O7cxFU.js:2704:27505
nD@https://dev.graphite.art/assets/index-C2O7cxFU.js:2704:67114
__wbg_call_0f2a9af232c18fd2@https://dev.graphite.art/assets/index-C2O7cxFU.js:2704:27475
graphite_wasm_wrapper.wasm._RNvMsce_CsfjzxnYWWzTW_6js_sysNtB6_8Function5call2Csh0huLRyoJlN_21graphite_wasm_wrapper@:wasm-function[22959]:0x1aa7168
graphite_wasm_wrapper.wasm._RNvCsh0huLRyoJlN_21graphite_wasm_wrapper30send_panic_dialog_via_callback@:wasm-function[13751]:0x17a889f
graphite_wasm_wrapper.wasm._RNSNvYNvCsh0huLRyoJlN_21graphite_wasm_wrapper10panic_hookINtNtNtCs4NIexwV1FGX_4core3ops8function6FnOnceTRNtNtCsiuSwmoQr08c_3std5panic13PanicHookInfoEE9call_once6vtableB6_.llvm.12063721726012553636@:wasm-function[39885]:0x1c88e99
graphite_wasm_wrapper.wasm._RNvNtCsiuSwmoQr08c_3std9panicking15panic_with_hook@:wasm-function[14578]:0x17ed92e
graphite_wasm_wrapper.wasm._RNvNtCs4NIexwV1FGX_4core9panicking9panic_fmt@:wasm-function[27418]:0x1b6a4b4
graphite_wasm_wrapper.wasm._RNvNtCs4NIexwV1FGX_4core9panicking18panic_bounds_check@:wasm-function[24988]:0x1b16047
graphite_wasm_wrapper.wasm._RINvMsf_NtCsaZzBlwpO8Oo_11graph_craft8documentNtB6_11NodeNetwork16flatten_with_fnsNvB6_9merge_idsNvMNtCskNGY3HVocXf_10core_types4uuidNtB1A_6NodeId3newEB8_@:wasm-function[802]:0x4d4c64
graphite_wasm_wrapper.wasm._RNCNvNtCsh0huLRyoJlN_21graphite_wasm_wrapper7helpers16run_node_runtime0B5_.llvm.12571194261365031093@:wasm-function[563]:0x2e504d
graphite_wasm_wrapper.wasm._RNvMNtNtCsfjzxnYWWzTW_6js_sys7futures5queueNtB2_10QueueState7run_all@:wasm-function[13926]:0x17baf3d
graphite_wasm_wrapper.wasm._RNCNvMs0_NtNtCsfjzxnYWWzTW_6js_sys7futures5queueNtB7_5Queue3new0Bb_.llvm.11709802697471517237@:wasm-function[32196]:0x1c0e54b
graphite_wasm_wrapper.wasm._RINvNvNtNtCseso8yOsBrFB_12wasm_bindgen7convert8closuress2_1__6invokeNtB8_7JsValueINtNtCs4NIexwV1FGX_4core6result6ResultuNtB8_7JsErrorEKb1_ECsfjzxnYWWzTW_6js_sys@:wasm-function[24184]:0x1af72bf
mE@https://dev.graphite.art/assets/index-C2O7cxFU.js:2704:63658
i@https://dev.graphite.art/assets/index-C2O7cxFU.js:2704:67292
- Ngôn ngữ chính
- Rust
- Star
- 27.8k
- Fork
- 1.3k
- Merge trung bình
- 10 giờ 53 phút
- Pull request đã merge (30 ngày)
- 195
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GraphiteEditor/Graphite
-
`third-party-licenses` fails on Windows when the parent process is PowerShellCó thể đã có người làm @sahilshingate01 đã nhận 12 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
GraphiteEditor/Graphite#4745 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Resizing a text box by one edge handle incorrectly locks both Max Width and Max Height, silently clipping textCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
GraphiteEditor/Graphite#4396 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Type hint is selected in node graph viewCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
GraphiteEditor/Graphite#4311 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`cargo run` fails on WebAssembly target due to `CARGO_BUILD_TARGET` leaking into `rustc_codegen_spirv` buildCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
GraphiteEditor/Graphite#3939 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
GraphiteEditor/Graphite#4901 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của GraphiteEditor/Graphite
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
could docs good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
README em inglêsĐang mởgood first issue help wanted priority:p2 type:docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
lucacasanova/homedeck#122 ·
-
needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
bherbruck/solvecraft#11729 · 1 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày