Blender Crashes when using Mac trackpad Pinching(zoom) in Node Editor #65714
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
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, Assets & 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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#65714
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)
Operating system: macOS Mojave 10.14.5
Graphics card: Intel Iris Plus Graphics 640 1536 MB
Blender Version
Version: 2.80 (sub 74), branch: master, commit date: 2019-05-31 22:45, hash:
cc600de669
, type: Releasebuild date: 2019-06-01, 01:18:44
Short description of error
1.
Blender crashes on every single time using trackpad pinch (zoom) in Node Editor.
Using zoom function through view>zoom in/out works fine.
Once in a while when trackpad pinch does not crash blender, the node editor will turn blank and all function in Node Editor cease to function. (probably stuck zoomed in at the bottom right of the screen [see scroll bar in screen shot])
The only way I found to fix it is to reload the UI.
Trackpad pinching(zoom) in sidebar causes it to be stuck in either too big/too small unable to get to a size in between.
{F7098464}
system-info.txt
Added subscriber: @rottensquid
Added subscriber: @robbott
I cannot reproduce it on blender head. Any pinch zooming in the node editor or sidebar works well. Can you please try with the latest version ?
MacBook Pro (Retina, 15-inch, Mid 2015)
OSX 10.12.6
System Information
Operating system: Darwin-16.7.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon R9 M370X OpenGL Engine ATI Technologies Inc. 4.1 ATI-1.51.8
Blender Version
version: 2.80 (sub 74), branch: master, commit date: 2019-06-11 19:13, hash:
09c32a15d2
Blender Version
Version: 2.80 (sub 74), branch: blender2.7, commit date: 2019-06-11 21:45, hash:
d93a7290e5
Downloaded the newest version and it worked fine until I changed the settings.
I probably figured out what's causing the crash. Here are 4 scenarios.
Fresh install with factory settings - No crash and able to zoom without any problem. (mind the lag. due to recording + blender)
1. Zoom no problem.mov
Factory Setting with Continued zoom - object zooms in all the way/out unable to get in between.
2. Continued Zoom.mov
Factory Setting with Continued zoom + Zoom to mouse position - Causes no crash but the node editor will turn blank and all function in Node Editor cease to function. 3. Zoom to Mouse (No Crash).mov
Factory Setting with Continued zoom + Zoom to mouse position - Blender Crashes
4. Zoom to Mouse (Crash).mov
Thank you for the detailed report. I was able to reproduce it.
Change Preferences > Navigation > Zoom > Zoom Method to "Continue" and pinch zooming in the node editor crashes blender head (version: 2.80 (sub 74), branch: master, commit date: 2019-06-12 14:58, hash:
04c54dec44
)backtrace:
Added subscribers: @fclem, @jenkm
@fclem this crash occurs in the drawing code,
UI_view2d_multi_grid_draw
>immAttr3ubv
.There's a bug with zooming and we have a case where
v2d->cur.xmax
is equal to something like143427698163712.000000
.This seems to lead to a crash. Bus error: 10.
Maybe there should be some kind of verification to avoid crashes?
To reproduce: "Continue" Zoom Method + "Zoom to mouse position" and try zooming in with the trackpad (macOS) in Node Editor.
What is happening is that it tries to draw too much line and the allocation in immBeginAtMost(GPU_PRIM_LINES, vertex_count); fails or we have a buffer overflow. Maybe we could check if
vertex_count
is really large and clamp it. Inside the loop we could decrement the vertex count and bail out if it is arrives at 4 (the remaining vertex count after the loop). For the momentDEFAULT_INTERNAL_BUFFER_SIZE (4 * 1024 * 1024)
so knowing the vertex format is 10byte per verts you can clamp it to something like 40 000 (this would be plenty enough already even if the real limit is 419430).This issue was referenced by
cac8a7cddb
Changed status from 'Confirmed' to: 'Resolved'
This issue was referenced by
c87b7fdd8a