Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The 'Mask' node crashes when used #2468

Closed
Agent-E11 opened this issue Mar 19, 2025 · 3 comments · Fixed by #2474
Closed

The 'Mask' node crashes when used #2468

Agent-E11 opened this issue Mar 19, 2025 · 3 comments · Fixed by #2474
Assignees
Labels
Crash A panic which crashed the editor
Milestone

Comments

@Agent-E11
Copy link

Describe the Crash
I had finished the video tutorial, and then I tried to create a mask node in the node graph.

Steps To Reproduce
Describe precisely how the crash occurred, step by step, starting with a new editor window.

  1. Open the Graphite editor at https://editor.graphite.rs
  2. Click the "Node Graph" button
  3. Search for "mask"
  4. Click on the "Mask" node

Browser and OS
Firefox 131, Unix

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

panicked at editor/src/messages/portfolio/document/utility_types/network_interface.rs:641:43:
index out of bounds: the len is 1 but the index is 1

$p/<@https://editor.graphite.rs/assets/index-DW7tnTXP.js:922:1178
g@https://editor.graphite.rs/assets/index-DW7tnTXP.js:908:63371
handleJsMessage@https://editor.graphite.rs/assets/index-DW7tnTXP.js:908:63519
tp/e<@https://editor.graphite.rs/assets/index-DW7tnTXP.js:908:63912
S2/o.wbg.__wbg_call_3b770f0d6eb4720e/<@https://editor.graphite.rs/assets/index-DW7tnTXP.js:908:12372
Ct@https://editor.graphite.rs/assets/index-DW7tnTXP.js:907:5957
S2/o.wbg.__wbg_call_3b770f0d6eb4720e@https://editor.graphite.rs/assets/index-DW7tnTXP.js:908:12342
graphite_wasm.wasm._ZN13graphite_wasm10editor_api12EditorHandle27send_frontend_message_to_js17hede8fc66aef6ad3cE@https://editor.graphite.rs/assets/graphite_wasm_bg-CVBdsMt_.wasm:wasm-function[4039]:0x89a8ee
graphite_wasm.wasm._ZN4core3ops8function2Fn4call17ha2fcdffa052e1591E@https://editor.graphite.rs/assets/graphite_wasm_bg-CVBdsMt_.wasm:wasm-function[14089]:0xb55eec
graphite_wasm.wasm._ZN3std9panicking20rust_panic_with_hook17hb39abb160cd4038cE@https://editor.graphite.rs/assets/graphite_wasm_bg-CVBdsMt_.wasm:wasm-function[7615]:0xa5fdf4
graphite_wasm.wasm._ZN4core9panicking9panic_fmt17h6f4dae69dcc1a6d2E@https://editor.graphite.rs/assets/graphite_wasm_bg-CVBdsMt_.wasm:wasm-function[11789]:0xb2bfe2
graphite_wasm.wasm._ZN4core9panicking18panic_bounds_check17h0e5544bfd55094cbE@https://editor.graphite.rs/assets/graphite_wasm_bg-CVBdsMt_.wasm:wasm-function[9972]:0xafcbb1
graphite_wasm.wasm._ZN4core3ops8function5impls79_$LT$impl$u20$core..ops..function..FnMut$LT$A$GT$$u20$for$u20$$RF$mut$u20$F$GT$8call_mut17hfbbbc9739c346c37E@https://editor.graphite.rs/assets/graphite_wasm_bg-CVBdsMt_.wasm:wasm-function[3820]:0x868a6d
graphite_wasm.wasm._ZN15graphite_editor8messages9portfolio8document13utility_types17network_interface20NodeNetworkInterface17valid_input_types17hfcb71e94158b2145E@https://editor.graphite.rs/assets/graphite_wasm_bg-CVBdsMt_.wasm:wasm-function[968]:0x4b4326
graphite_wasm.wasm._ZN349_$LT$graphite_editor..messages..portfolio..document..document_message_handler..DocumentMessageHandler$u20$as$u20$graphite_editor..utility_traits..MessageHandler$LT$graphite_editor..messages..portfolio..document..document_message..DocumentMessage$C$graphite_editor..messages..portfolio..document..document_message_handler..DocumentMessageData$GT$$GT$15process_message17h0ca022fdb3026fa4E@https://editor.graphite.rs/assets/graphite_wasm_bg-CVBdsMt_.wasm:wasm-function[303]:0xb2015
graphite_wasm.wasm._ZN325_$LT$graphite_editor..messages..portfolio..portfolio_message_handler..PortfolioMessageHandler$u20$as$u20$graphite_editor..utility_traits..MessageHandler$LT$graphite_editor..messages..portfolio..portfolio_message..PortfolioMessage$C$graphite_editor..messages..portfolio..portfolio_message_handler..PortfolioMessageData$GT$$GT$15process_message17h539ea4a2e673f68eE@https://editor.graphite.rs/assets/graphite_wasm_bg-CVBdsMt_.wasm:wasm-function[302]:0x7fbd3
graphite_wasm.wasm._ZN15graphite_editor10dispatcher10Dispatcher14handle_message17hf31fb8dc968d0cc1E@https://editor.graphite.rs/assets/graphite_wasm_bg-CVBdsMt_.wasm:wasm-function[449]:0x27f889
graphite_wasm.wasm._ZN3std6thread5local17LocalKey$LT$T$GT$4with17he3fff3860b3a3039E@https://editor.graphite.rs/assets/graphite_wasm_bg-CVBdsMt_.wasm:wasm-function[6994]:0xa18c7b
graphite_wasm.wasm.editorhandle_createNode@https://editor.graphite.rs/assets/graphite_wasm_bg-CVBdsMt_.wasm:wasm-function[7500]:0xa42ad3
createNode@https://editor.graphite.rs/assets/index-DW7tnTXP.js:908:8344
Q@https://editor.graphite.rs/assets/index-DW7tnTXP.js:1043:251
Oe@https://editor.graphite.rs/assets/index-DW7tnTXP.js:1043:858
Ut/</<@https://editor.graphite.rs/assets/index-DW7tnTXP.js:17:966
Ut/<@https://editor.graphite.rs/assets/index-DW7tnTXP.js:17:952
g@https://editor.graphite.rs/assets/index-DW7tnTXP.js:946:83699
n@https://editor.graphite.rs/assets/index-DW7tnTXP.js:946:80133
h@https://editor.graphite.rs/assets/index-DW7tnTXP.js:946:65469
@github-project-automation github-project-automation bot moved this to Short-Term in Task Board Mar 19, 2025
@Agent-E11 Agent-E11 changed the title [Crash Report] [Crash Report] Create "Mask" node Mar 19, 2025
@Keavon Keavon added the Crash A panic which crashed the editor label Mar 19, 2025
@Agent-E11
Copy link
Author

Oh my goodness, it wasn't even up for a minute before you linked that PR 🤣 clearly this is a known issue. Thanks

@Keavon
Copy link
Member

Keavon commented Mar 19, 2025

It was only discovered today though!

@github-project-automation github-project-automation bot moved this from Short-Term to Completed This Milestone in Task Board Apr 6, 2025
@singhutsav5502
Copy link
Contributor

Hi, fixed through #2474

@Keavon Keavon added this to the Milestone 47 milestone Apr 12, 2025
@Keavon Keavon changed the title [Crash Report] Create "Mask" node The 'Mask' node crashes when used Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash A panic which crashed the editor
Projects
Status: Completed This Milestone
Development

Successfully merging a pull request may close this issue.

3 participants