Blender studio Add-on: Crash on making Contactsheet #103601

Closed
opened 2023-01-02 20:01:48 +01:00 by Luca Di Cecca · 13 comments

System Information
Operating system: AMD Ryzen 7
Graphics card: GeForce GTX

Blender Version
Broken: 3.3.
Worked: 3.2
Crash started to happen after: blender/blender@7afcfe111a

Short description of error
Blender crashes when try to generate contactsheet in the seq. edtitor. No new sequences created, just crash

Steps to Reproduce

**System Information** Operating system: AMD Ryzen 7 Graphics card: GeForce GTX **Blender Version** Broken: 3.3. Worked: 3.2 Crash started to happen after: blender/blender@7afcfe111a **Short description of error** Blender crashes when try to generate contactsheet in the seq. edtitor. No new sequences created, just crash **Steps to Reproduce** - Get contactsheet add-on: https://studio.blender.org/training/pipeline-and-tools/contact-sheet-add-on/ - Open default scene and switch to sequencer editor - Add a strip and execute `Make Contactsheet` from N-panel
Author

Added subscriber: @LucaDiCecca

Added subscriber: @LucaDiCecca
Luca Di Cecca changed title from Blender crashes running Contactsheet studio add-om to Blender crashes running Contactsheet studio add-on 2023-01-02 20:02:13 +01:00
Frank125 commented 2023-01-02 21:55:18 +01:00 (Migrated from localhost:3001)

Added subscriber: @Frank125

Added subscriber: @Frank125
Frank125 commented 2023-01-02 21:55:18 +01:00 (Migrated from localhost:3001)

This comment was removed by @Frank125

*This comment was removed by @Frank125*
Pratik Borhade changed title from Blender crashes running Contactsheet studio add-on to Blender studio Add-on: Crash on making Contactsheet 2023-01-03 04:44:37 +01:00

Added subscribers: @paulgolter, @PratikPB2123

Added subscribers: @paulgolter, @PratikPB2123

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Hi, thanks for the report. I can confirm the crash
cc @paulgolter

Stack trace:
blender.exe         :0x00007FF615DF6230  SEQ_transform_test_overlap C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\sequencer\intern\strip_transform.c:103
blender.exe         :0x00007FF61640DCE0  Sequence_channel_set C:\Users\prati\OneDrive\Desktop\BlenderOSP\2022_lite_ninja\source\blender\makesrna\intern\rna_sequencer_gen.c:3343
blender.exe         :0x00007FF6163B73B0  RNA_property_int_set C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\makesrna\intern\rna_access.c:2466
blender.exe         :0x00007FF6164E7C40  pyrna_py_to_prop C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\python\intern\bpy_rna.c:1617
blender.exe         :0x00007FF6164DE600  pyrna_struct_setattro C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\python\intern\bpy_rna.c:4583
python310.dll       :0x00007FF9ABEF50F0  PyObject_SetAttr
python310.dll       :0x00007FF9ABFBA3A0  PyEval_EvalFrameDefault
python310.dll       :0x00007FF9ABFBA3A0  PyEval_EvalFrameDefault
python310.dll       :0x00007FF9ABEABED0  PyFunction_Vectorcall
blender.exe         :0x00007FF6164E3D90  bpy_class_call C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\python\intern\bpy_rna.c:8512
blender.exe         :0x00007FF6163EA7A0  rna_operator_execute_cb C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\makesrna\intern\rna_wm.c:1301
blender.exe         :0x00007FF615DAF8D0  wm_operator_invoke C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.cc:1486
blender.exe         :0x00007FF615DAEF50  wm_operator_call_internal C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.cc:1676
blender.exe         :0x00007FF615DB1F00  WM_operator_name_call_ptr_with_depends_on_cursor C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.cc:1915
blender.exe         :0x00007FF6161132E0  ui_apply_but_funcs_after C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\editors\interface\interface_handlers.cc:1017
blender.exe         :0x00007FF61611E190  ui_handler_region_menu C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\editors\interface\interface_handlers.cc:11418
blender.exe         :0x00007FF615DAE3D0  wm_handlers_do_intern C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.cc:3244
blender.exe         :0x00007FF615DAD7F0  wm_handlers_do C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.cc:3364
blender.exe         :0x00007FF615DB3B50  wm_event_do_handlers C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.cc:3958
blender.exe         :0x00007FF615D99D20  WM_main C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm.c:643
blender.exe         :0x00007FF615D95320  main C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\creator\creator.c:590
blender.exe         :0x00007FF616F416D4  __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
KERNEL32.DLL        :0x00007FFA37D75590  BaseThreadInitThunk
ntdll.dll           :0x00007FFA38E04830  RtlUserThreadStart```
Hi, thanks for the report. I can confirm the crash cc @paulgolter ```lines=10 Stack trace: blender.exe :0x00007FF615DF6230 SEQ_transform_test_overlap C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\sequencer\intern\strip_transform.c:103 blender.exe :0x00007FF61640DCE0 Sequence_channel_set C:\Users\prati\OneDrive\Desktop\BlenderOSP\2022_lite_ninja\source\blender\makesrna\intern\rna_sequencer_gen.c:3343 blender.exe :0x00007FF6163B73B0 RNA_property_int_set C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\makesrna\intern\rna_access.c:2466 blender.exe :0x00007FF6164E7C40 pyrna_py_to_prop C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\python\intern\bpy_rna.c:1617 blender.exe :0x00007FF6164DE600 pyrna_struct_setattro C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\python\intern\bpy_rna.c:4583 python310.dll :0x00007FF9ABEF50F0 PyObject_SetAttr python310.dll :0x00007FF9ABFBA3A0 PyEval_EvalFrameDefault python310.dll :0x00007FF9ABFBA3A0 PyEval_EvalFrameDefault python310.dll :0x00007FF9ABEABED0 PyFunction_Vectorcall blender.exe :0x00007FF6164E3D90 bpy_class_call C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\python\intern\bpy_rna.c:8512 blender.exe :0x00007FF6163EA7A0 rna_operator_execute_cb C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\makesrna\intern\rna_wm.c:1301 blender.exe :0x00007FF615DAF8D0 wm_operator_invoke C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.cc:1486 blender.exe :0x00007FF615DAEF50 wm_operator_call_internal C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.cc:1676 blender.exe :0x00007FF615DB1F00 WM_operator_name_call_ptr_with_depends_on_cursor C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.cc:1915 blender.exe :0x00007FF6161132E0 ui_apply_but_funcs_after C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\editors\interface\interface_handlers.cc:1017 blender.exe :0x00007FF61611E190 ui_handler_region_menu C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\editors\interface\interface_handlers.cc:11418 blender.exe :0x00007FF615DAE3D0 wm_handlers_do_intern C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.cc:3244 blender.exe :0x00007FF615DAD7F0 wm_handlers_do C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.cc:3364 blender.exe :0x00007FF615DB3B50 wm_event_do_handlers C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.cc:3958 blender.exe :0x00007FF615D99D20 WM_main C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm.c:643 blender.exe :0x00007FF615D95320 main C:\Users\prati\OneDrive\Desktop\BlenderOSP\blender\source\creator\creator.c:590 blender.exe :0x00007FF616F416D4 __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 KERNEL32.DLL :0x00007FFA37D75590 BaseThreadInitThunk ntdll.dll :0x00007FFA38E04830 RtlUserThreadStart```

Removed subscriber: @Frank125

Removed subscriber: @Frank125

Added subscriber: @iss

Added subscriber: @iss

Crash started to happen after: blender/blender@7afcfe111a
@iss ^

Crash started to happen after: blender/blender@7afcfe111a @iss ^

On C side, code was unable to find seqbase for strip, but not quite sure what exactly happens on python side. This seems to be an issue with "Background" strip, so will have to simplify python code first.

On second look this looks like, that meta strip python API does not invalidate lookup cache, so lookup will fail.

On C side, code was unable to find seqbase for strip, but not quite sure what exactly happens on python side. This seems to be an issue with "Background" strip, so will have to simplify python code first. On second look this looks like, that meta strip python API does not invalidate lookup cache, so lookup will fail.

This issue was referenced by blender/blender@2e0cf17f94

This issue was referenced by blender/blender@2e0cf17f94dcf6dc10f0d55d933c011534dc8421

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Richard Antalik self-assigned this 2023-01-03 06:35:34 +01:00

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/blender-studio#103601
No description provided.