GPencil: masked layers with different view layers #77520

Closed
opened 2020-06-06 17:26:22 +02:00 by VLC · 8 comments

System Information
Operating system: Linux-5.4.43-1-MANJARO-x86_64-with-arch-Manjaro-Linux 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.82

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-04 22:58, hash: c7329da14b

Short description of error
When there are two view layers and a GP object containing 2 layers,
the first assigned to the first view layer and acting as the mask of the second and
the second assigned to the second view layer, causes blender to crash when trying to render or trying to save the file.

1_ Open the file uploaded
2_ On the gp object select the layer named 'masc'
3_ Go to Adjustments>View Layer to filter the layer choosing any view layer. Try to render or try to save the file.

GP bugreport view layer masc.blend1

**System Information** Operating system: Linux-5.4.43-1-MANJARO-x86_64-with-arch-Manjaro-Linux 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.82 **Blender Version** Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-04 22:58, hash: `c7329da14b` **Short description of error** When there are two view layers and a GP object containing 2 layers, the first assigned to the first view layer and acting as the mask of the second and the second assigned to the second view layer, causes blender to crash when trying to render or trying to save the file. 1_ Open the file uploaded 2_ On the gp object select the layer named 'masc' 3_ Go to Adjustments>View Layer to filter the layer choosing any view layer. Try to render or try to save the file. [GP bugreport view layer masc.blend1](https://archive.blender.org/developer/F8587220/GP_bugreport_view_layer_masc.blend1)
Author

Added subscriber: @VLC

Added subscriber: @VLC
Contributor

Added subscriber: @dupoxy

Added subscriber: @dupoxy
Contributor

I can confirm the crash with the provided .blend file.

# Blender 2.90.0, Commit date: 2020-06-06 07:10, Hash ff8fd7a76870
bpy.context.object.data.layers["masc"].viewlayer_render = "View Layer.001"  # Property

# backtrace
0   Blender                             0x0000000115db0f07 BLI_system_backtrace + 55
1   Blender                             0x000000010f874048 sig_handle_crash + 392
2   libsystem_platform.dylib            0x00007fff52a8af5a _sigtramp + 26
3   ???                                 0x0000000000000000 0x0 + 0
4   Blender                             0x000000010fd4376b GPENCIL_draw_scene + 523
5   Blender                             0x000000010fd443a5 GPENCIL_render_to_image + 181
6   Blender                             0x000000010fd0c5fe DRW_render_gpencil + 750
7   Blender                             0x00000001141a2894 RE_engine_render + 1140
8   Blender                             0x00000001141ac8a3 do_render_all_options + 387
9   Blender                             0x00000001141ac376 RE_RenderFrame + 406
10  Blender                             0x0000000110c2b14a render_startjob + 122
11  Blender                             0x000000010fbc3757 do_job_thread + 39
12  libsystem_pthread.dylib             0x00007fff52a94661 _pthread_body + 340
13  libsystem_pthread.dylib             0x00007fff52a9450d _pthread_body + 0
14  libsystem_pthread.dylib             0x00007fff52a93bf9 thread_start + 13

System Information
Operating system: Darwin-17.7.0-x86_64-i386-64bit 64 Bits

@antoniov might want to take a look when he has time.

I can confirm the crash with the provided .blend file. ``` # Blender 2.90.0, Commit date: 2020-06-06 07:10, Hash ff8fd7a76870 bpy.context.object.data.layers["masc"].viewlayer_render = "View Layer.001" # Property # backtrace 0 Blender 0x0000000115db0f07 BLI_system_backtrace + 55 1 Blender 0x000000010f874048 sig_handle_crash + 392 2 libsystem_platform.dylib 0x00007fff52a8af5a _sigtramp + 26 3 ??? 0x0000000000000000 0x0 + 0 4 Blender 0x000000010fd4376b GPENCIL_draw_scene + 523 5 Blender 0x000000010fd443a5 GPENCIL_render_to_image + 181 6 Blender 0x000000010fd0c5fe DRW_render_gpencil + 750 7 Blender 0x00000001141a2894 RE_engine_render + 1140 8 Blender 0x00000001141ac8a3 do_render_all_options + 387 9 Blender 0x00000001141ac376 RE_RenderFrame + 406 10 Blender 0x0000000110c2b14a render_startjob + 122 11 Blender 0x000000010fbc3757 do_job_thread + 39 12 libsystem_pthread.dylib 0x00007fff52a94661 _pthread_body + 340 13 libsystem_pthread.dylib 0x00007fff52a9450d _pthread_body + 0 14 libsystem_pthread.dylib 0x00007fff52a93bf9 thread_start + 13 ``` **System Information** Operating system: Darwin-17.7.0-x86_64-i386-64bit 64 Bits @antoniov might want to take a look when he has time.
Contributor

Added subscriber: @antoniov

Added subscriber: @antoniov
Antonio Vazquez changed title from Grease Pencil: masked layers with different view layers to GPencil: masked layers with different view layers 2020-06-07 12:21:50 +02:00

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

Changed status from 'Needs Triage' to: 'Confirmed'
Antonio Vazquez self-assigned this 2020-06-07 12:29:30 +02:00

This issue was referenced by 2c3ef36a0b

This issue was referenced by 2c3ef36a0b7fe301e32137a17635ceefaa1de791

This issue was referenced by dc6cee4724

This issue was referenced by dc6cee4724fba547c729b0d59dc1ee07dfcca0c0

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 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
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#77520
No description provided.