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.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#77520
No description provided.