OpenNoteBlockStudio icon indicating copy to clipboard operation
OpenNoteBlockStudio copied to clipboard

Bug Report

Open shenleqinau opened this issue 6 months ago • 1 comments

Bug Report

Software Version: 3.11.0 (Released: December 14, 2024)
Operating System:

  • Windows 10 Pro 22H2 (Build 19045.5796)
  • Installed: May 4, 2025
  • Experience Pack: 1000.19061.1000.0

Error Description

Crash Location:

Draw Event of object `obj_controller` (Action OpenNBS/NoteBlockWorld#1)  

Error Message:

############################################################################################  
ERROR: index out of bounds request 11 maximum size is 11  
############################################################################################  
Call Stack:  
gml_Script_midi_input_set_key (line 8)  
gml_Script_draw_piano (line 156)  
gml_Script_control_draw (line 2376)  
gml_Object_obj_controller_Draw_0 (line 1)  

Steps to Reproduce

  1. Launch the software with standard user permissions.
  2. Use the "Generate from HDMI file" option.
  3. Open a project file or create a new project via this feature.
  4. Result: Crash occurs during the rendering process.

Technical Analysis

  • The error index out of bounds request 11 maximum size is 11 indicates an array/list access violation in midi_input_set_key.
  • Likely caused by:
    • An off-by-one error when accessing an array of size 11 (indices 0-10).
    • Invalid input data from the HDMI file triggering an unchecked index.

Additional Context

  • The crash occurs in the drawing pipeline (Draw Event), suggesting UI/rendering logic issues.
  • User offers to provide the project file for debugging if needed.

Priority: High (Crash during core functionality)
Reproducibility: Consistent (based on provided steps)


Let me know if further details (e.g., project files) are required for investigation.

shenleqinau avatar Jun 12 '25 21:06 shenleqinau

Hey, I believe you are in the wrong repository; This is the Note Block Word repository, and the issue seems to be related to the NoteBlockStudio.

@Bentroen, can you transfer this issue to the NoteBlockStudio repository?

tomast1337 avatar Jun 13 '25 00:06 tomast1337