Crash when adjusting UV stitch operation's limit (when more than 32 objects are in mutli-object-editmode) #101492

Closed
opened 2022-09-30 11:11:52 +02:00 by Brandon Lockaby · 10 comments

System Information
Operating system: Linux-5.15.0-48-lowlatency-x86_64-with-glibc2.35 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 515.65.01

Blender Version
Broken: version: 3.3.0, branch: master, commit date: 2022-09-06 15:39, hash: 0759f671ce
Worked: perhaps never? (replicable in 2.83)

Short description of error
Crash when dragging or after typing the 'Limit' parameter of a UV stitch.

Exact steps for others to reproduce the error

  1. Open frappucino.blend (attached)
  2. Ensure two vertices are selected and do UV > Stitch
  3. Enter
  4. Drag or type into the 'Limit' parameter

frappucino.crash.txt

frappucino.blend

**System Information** Operating system: Linux-5.15.0-48-lowlatency-x86_64-with-glibc2.35 64 Bits Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 515.65.01 **Blender Version** Broken: version: 3.3.0, branch: master, commit date: 2022-09-06 15:39, hash: `0759f671ce` Worked: perhaps never? (replicable in 2.83) **Short description of error** Crash when dragging or after typing the 'Limit' parameter of a UV stitch. **Exact steps for others to reproduce the error** 1. Open frappucino.blend (attached) 2. Ensure two vertices are selected and do UV > Stitch 3. Enter 3. Drag or type into the 'Limit' parameter [frappucino.crash.txt](https://archive.blender.org/developer/F13597040/frappucino.crash.txt) [frappucino.blend](https://archive.blender.org/developer/F13597048/frappucino.blend)

Added subscriber: @brandonglockaby

Added subscriber: @brandonglockaby

2022 09-30 05:15:56 ns769554353.png
the UV Stitch operation being adjusted

![2022 09-30 05:15:56 ns769554353.png](https://archive.blender.org/developer/F13597075/2022_09-30_05_15_56_ns769554353.png) the UV Stitch operation being adjusted
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Member
Process 15473 stopped
* thread #1, name = 'blender', stop reason = signal SIGABRT
    frame #0: 0x00007ffff7e4e49c libc.so.6`___lldb_unnamed_symbol3503 + 268
libc.so.6`___lldb_unnamed_symbol3503:
->  0x7ffff7e4e49c <+268>: movl   %eax, %ebp
    0x7ffff7e4e49e <+270>: negl   %ebp
    0x7ffff7e4e4a0 <+272>: cmpl   $0xfffff000, %eax         ; imm = 0xFFFFF000
    0x7ffff7e4e4a5 <+277>: movl   $0x0, %eax
(lldb) bt
* thread #1, name = 'blender', stop reason = signal SIGABRT
  * frame #0: 0x00007ffff7e4e49c libc.so.6`___lldb_unnamed_symbol3503 + 268
    frame #1: 0x00007ffff7dfe958 libc.so.6`raise + 24
    frame #2: 0x00007ffff7de853d libc.so.6`abort + 215
    frame #3: 0x000000000ee03049 blender`_BLI_assert_abort at BLI_assert.c:46:3
    frame #4: 0x0000000002766bb1 blender`stitch_init_all(C=0x0000000018bde7d8, op=0x0000000021b80338) at uvedit_smart_stitch.c:2250:7
    frame #5: 0x00000000027665fa blender`stitch_exec(C=0x0000000018bde7d8, op=0x0000000021b80338) at uvedit_smart_stitch.c:2443:8
    frame #6: 0x0000000000a50a16 blender`wm_operator_exec(C=0x0000000018bde7d8, op=0x0000000021b80338, repeat=true, store=true) at wm_event_system.cc:1153:14
    frame #7: 0x0000000000a50cf0 blender`::WM_operator_repeat(C=0x0000000018bde7d8, op=0x0000000021b80338) at wm_event_system.cc:1217:19
    frame #8: 0x0000000002195721 blender`ED_undo_operator_repeat(C=0x0000000018bde7d8, op=0x0000000021b80338) at ed_undo.c:710:16
    frame #9: 0x00000000021958c0 blender`ED_undo_operator_repeat_cb_evt(C=0x0000000018bde7d8, arg_op=0x0000000021b80338, UNUSED_arg_unused=0) at ed_undo.c:744:3
    frame #10: 0x00000000021cc883 blender`ui_apply_but_funcs_after(C=0x0000000018bde7d8) at interface_handlers.c:1046:7
    frame #11: 0x00000000021cac4e blender`ui_handler_region_menu(C=0x0000000018bde7d8, event=0x0000000021c22918, UNUSED_userdata=0x0000000021c0b1a8) at interface_handlers.c:11405:3
    frame #12: 0x0000000000a5c6d1 blender`wm_handler_ui_call(C=0x0000000018bde7d8, handler=0x000000001d9cd3b8, event=0x0000000021c22918, always_pass=0) at wm_event_system.cc:786:16
    frame #13: 0x0000000000a5ba37 blender`wm_handlers_do_intern(C=0x0000000018bde7d8, win=0x000000001b5fe238, event=0x0000000021c22918, handlers=0x000000001b5fe350) at wm_event_system.cc:3217:21
    frame #14: 0x0000000000a5385f blender`wm_handlers_do(C=0x0000000018bde7d8, event=0x0000000021c22918, handlers=0x000000001b5fe350) at wm_event_system.cc:3334:16
    frame #15: 0x0000000000a529ad blender`::wm_event_do_handlers(C=0x0000000018bde7d8) at wm_event_system.cc:3925:17
    frame #16: 0x0000000000a44ab7 blender`WM_main(C=0x0000000018bde7d8) at wm.c:640:5
    frame #17: 0x0000000000230ee9 blender`main(argc=1, argv=0x00007fffffffe9e8) at creator.c:575:5
    frame #18: 0x00007ffff7de9290 libc.so.6`___lldb_unnamed_symbol3142 + 128
    frame #19: 0x00007ffff7de934a libc.so.6`__libc_start_main + 138
    frame #20: 0x0000000000230aa5 blender`_start at start.S:115
``` Process 15473 stopped * thread #1, name = 'blender', stop reason = signal SIGABRT frame #0: 0x00007ffff7e4e49c libc.so.6`___lldb_unnamed_symbol3503 + 268 libc.so.6`___lldb_unnamed_symbol3503: -> 0x7ffff7e4e49c <+268>: movl %eax, %ebp 0x7ffff7e4e49e <+270>: negl %ebp 0x7ffff7e4e4a0 <+272>: cmpl $0xfffff000, %eax ; imm = 0xFFFFF000 0x7ffff7e4e4a5 <+277>: movl $0x0, %eax (lldb) bt * thread #1, name = 'blender', stop reason = signal SIGABRT * frame #0: 0x00007ffff7e4e49c libc.so.6`___lldb_unnamed_symbol3503 + 268 frame #1: 0x00007ffff7dfe958 libc.so.6`raise + 24 frame #2: 0x00007ffff7de853d libc.so.6`abort + 215 frame #3: 0x000000000ee03049 blender`_BLI_assert_abort at BLI_assert.c:46:3 frame #4: 0x0000000002766bb1 blender`stitch_init_all(C=0x0000000018bde7d8, op=0x0000000021b80338) at uvedit_smart_stitch.c:2250:7 frame #5: 0x00000000027665fa blender`stitch_exec(C=0x0000000018bde7d8, op=0x0000000021b80338) at uvedit_smart_stitch.c:2443:8 frame #6: 0x0000000000a50a16 blender`wm_operator_exec(C=0x0000000018bde7d8, op=0x0000000021b80338, repeat=true, store=true) at wm_event_system.cc:1153:14 frame #7: 0x0000000000a50cf0 blender`::WM_operator_repeat(C=0x0000000018bde7d8, op=0x0000000021b80338) at wm_event_system.cc:1217:19 frame #8: 0x0000000002195721 blender`ED_undo_operator_repeat(C=0x0000000018bde7d8, op=0x0000000021b80338) at ed_undo.c:710:16 frame #9: 0x00000000021958c0 blender`ED_undo_operator_repeat_cb_evt(C=0x0000000018bde7d8, arg_op=0x0000000021b80338, UNUSED_arg_unused=0) at ed_undo.c:744:3 frame #10: 0x00000000021cc883 blender`ui_apply_but_funcs_after(C=0x0000000018bde7d8) at interface_handlers.c:1046:7 frame #11: 0x00000000021cac4e blender`ui_handler_region_menu(C=0x0000000018bde7d8, event=0x0000000021c22918, UNUSED_userdata=0x0000000021c0b1a8) at interface_handlers.c:11405:3 frame #12: 0x0000000000a5c6d1 blender`wm_handler_ui_call(C=0x0000000018bde7d8, handler=0x000000001d9cd3b8, event=0x0000000021c22918, always_pass=0) at wm_event_system.cc:786:16 frame #13: 0x0000000000a5ba37 blender`wm_handlers_do_intern(C=0x0000000018bde7d8, win=0x000000001b5fe238, event=0x0000000021c22918, handlers=0x000000001b5fe350) at wm_event_system.cc:3217:21 frame #14: 0x0000000000a5385f blender`wm_handlers_do(C=0x0000000018bde7d8, event=0x0000000021c22918, handlers=0x000000001b5fe350) at wm_event_system.cc:3334:16 frame #15: 0x0000000000a529ad blender`::wm_event_do_handlers(C=0x0000000018bde7d8) at wm_event_system.cc:3925:17 frame #16: 0x0000000000a44ab7 blender`WM_main(C=0x0000000018bde7d8) at wm.c:640:5 frame #17: 0x0000000000230ee9 blender`main(argc=1, argv=0x00007fffffffe9e8) at creator.c:575:5 frame #18: 0x00007ffff7de9290 libc.so.6`___lldb_unnamed_symbol3142 + 128 frame #19: 0x00007ffff7de934a libc.so.6`__libc_start_main + 138 frame #20: 0x0000000000230aa5 blender`_start at start.S:115 ```
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Since there are more than 32 objects selected in muti-object-editmode, I am getting the following as objects_selection_count is defined as an RNA array (which can only hold 32 entries, see RNA_MAX_ARRAY_LENGTH):

ERROR (rna.define): source/blender/makesrna/intern/rna_define.c:1553 RNA_def_property_array: "NodeTreeInterface_Shader_Nodetree.objects_selection_count", array length must be smaller than 32.

So we could either make objects_selection_count a collection instead, or just early with a warning in such a case I assume.

Since there are more than 32 objects selected in muti-object-editmode, I am getting the following as `objects_selection_count` is defined as an RNA array (which can only hold 32 entries, see `RNA_MAX_ARRAY_LENGTH`): ``` ERROR (rna.define): source/blender/makesrna/intern/rna_define.c:1553 RNA_def_property_array: "NodeTreeInterface_Shader_Nodetree.objects_selection_count", array length must be smaller than 32. ``` So we could either make `objects_selection_count` a collection instead, or just early with a warning in such a case I assume.
Philipp Oeser changed title from Crash when adjusting UV stitch operation's limit to Crash when adjusting UV stitch operation's limit (when more than 32 objects are in mutli-object-editmode) 2022-09-30 12:42:42 +02:00
Philipp Oeser self-assigned this 2022-09-30 13:26:49 +02:00

This issue was referenced by 85fb4708f4

This issue was referenced by 85fb4708f4c029db46910c80a07e0e79dc0a9067

This issue was referenced by a01ab2b4e0

This issue was referenced by a01ab2b4e093a35b56888cf646d84686bccb0fbd
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 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: blender/blender#101492
No description provided.