[Crash Report] When entering a custom node, going back, and clicking "Preview"
Mantenedores costumam responder em até 1 dia
@HarshithJeevan-pixel já está trabalhando nisso.
Desde 1/11/2026.
- #4899 de @HarshithJeevan-pixel — aberto
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 25/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Rust
- Estrelas
- 27.8k
- Forks
- 1.3k
- Merge médio
- 10h 53min
- PRs com merge (30d)
- 195
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de GraphiteEditor/Graphite
-
`third-party-licenses` fails on Windows when the parent process is PowerShellTalvez já em andamento @sahilshingate01 assumiu há 12 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
GraphiteEditor/Graphite#4745 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Resizing a text box by one edge handle incorrectly locks both Max Width and Max Height, silently clipping textTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
GraphiteEditor/Graphite#4396 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Type hint is selected in node graph viewTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
GraphiteEditor/Graphite#4311 ·
Mantenedores costumam responder em até 1 dia
-
`cargo run` fails on WebAssembly target due to `CARGO_BUILD_TARGET` leaking into `rustc_codegen_spirv` buildTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
GraphiteEditor/Graphite#3939 · 2 comentários · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 50/100
GraphiteEditor/Graphite#4901 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de GraphiteEditor/Graphite
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 2 dias
-
Android visitors are offered the Linux .deb on cap.so's homepage and download pageTalvez já em andamento @patrickballard assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
CapSoftware/Cap#3677 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
DioxusLabs/blitz#1371 ·
Mantenedores costumam responder em até 1 dia