Grease Pencil crashing Blender 3.2.0 / 3.2.1. #100156

Closed
opened 2022-08-02 22:45:07 +02:00 by Ralf Baechle · 9 comments

System Information
Operating system: Linux / Fedora 36
Graphics card: Intel® HD Graphics 3000 (SNB GT2), Thinkpad T520 onboard. Yes, ancient.

Blender Version
Broken: blender-3.2.0, blender-3.2.1 both from tarballs from download.blender.org
Worked: blender-3.1.2
Any attempt to create or load a grease pencil object results in instant crash.

Exact steps for others to reproduce the error
Start either blender 3.2.0 or 3.2.1. Settings don't appear to matter but just to be sure I did reset them to factory default. Then add add a grease pencil object, for example by hitting -a, Add->Grease Pencil->Empty. For me this results in an instant crash. Alternatively load a blend file containing a grease pencil object which also will result in instant crash.

Here are crash message and blender.crash.txt:

$ blender-3.2.1 
Read prefs: /home/ralf/.config/blender/3.2/config/userpref.blend
ERROR (gpu.shader): gpencil_geometry VertShader: 
      | 
 1515 |   gpMaterialFlag gp_flag = floatBitsToInt(gp_mat._flag);
      |   ^
      | gpencil_vert.glsl:35:3: Error: initializer of type int cannot be assigned to variable of type uint

Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)
[ralf@h7 ~]$ cat /tmp/blender.crash.txt 
# Blender 3.2.1, Commit date: 2022-07-05 15:44, Hash a2d59b2dac9e
bpy.ops.object.gpencil_add(align='WORLD', location=(0, 0, 0), scale=(1, 1, 1), type='EMPTY')  # Operator

# backtrace
blender-3.2.1(BLI_system_backtrace+0x20) [0xc161180]
blender-3.2.1() [0x11da2dd]
/lib64/libc.so.6(+0x3ea70) [0x7fe308c3ea70]
blender-3.2.1(GPU_shader_get_builtin_block+0) [0xada2560]
blender-3.2.1() [0x1933efe]
blender-3.2.1(DRW_shgroup_create+0x1d) [0x193605d]
blender-3.2.1(gpencil_layer_cache_add+0x3a8) [0x19bdba8]
blender-3.2.1() [0x196f9f7]
blender-3.2.1(BKE_gpencil_visible_stroke_advanced_iter+0x30e) [0x11fc2fe]
blender-3.2.1(GPENCIL_cache_populate+0x1ef) [0x196fd2f]
blender-3.2.1() [0x192f988]
blender-3.2.1(DRW_draw_render_loop_ex+0x3b0) [0x1931210]
blender-3.2.1(view3d_main_region_draw+0x8f) [0x254885f]
blender-3.2.1(ED_region_do_draw+0x841) [0x1c65661]
blender-3.2.1(wm_draw_update+0x7a3) [0x179f4e3]
blender-3.2.1(WM_main+0x30) [0x179c210]
blender-3.2.1(main+0x322) [0x10d5c62]
/lib64/libc.so.6(+0x29550) [0x7fe308c29550]
/lib64/libc.so.6(__libc_start_main+0x89) [0x7fe308c29609]
blender-3.2.1() [0x11d6bbc]

# Python backtrace
[ralf@h7 ~]$ 

I guess I must be hitting some odd special case due to my ancient hw but until I can replace this ancient Thinkpad T520 I'd not mind if blender was working ;-)

**System Information** Operating system: Linux / Fedora 36 Graphics card: Intel® HD Graphics 3000 (SNB GT2), Thinkpad T520 onboard. Yes, ancient. **Blender Version** Broken: blender-3.2.0, blender-3.2.1 both from tarballs from download.blender.org Worked: blender-3.1.2 Any attempt to create or load a grease pencil object results in instant crash. **Exact steps for others to reproduce the error** Start either blender 3.2.0 or 3.2.1. Settings don't appear to matter but just to be sure I did reset them to factory default. Then add add a grease pencil object, for example by hitting <SHIFT>-a, Add->Grease Pencil->Empty. For me this results in an instant crash. Alternatively load a blend file containing a grease pencil object which also will result in instant crash. Here are crash message and blender.crash.txt: ``` $ blender-3.2.1 Read prefs: /home/ralf/.config/blender/3.2/config/userpref.blend ERROR (gpu.shader): gpencil_geometry VertShader: | 1515 | gpMaterialFlag gp_flag = floatBitsToInt(gp_mat._flag); | ^ | gpencil_vert.glsl:35:3: Error: initializer of type int cannot be assigned to variable of type uint Writing: /tmp/blender.crash.txt Segmentation fault (core dumped) [ralf@h7 ~]$ cat /tmp/blender.crash.txt # Blender 3.2.1, Commit date: 2022-07-05 15:44, Hash a2d59b2dac9e bpy.ops.object.gpencil_add(align='WORLD', location=(0, 0, 0), scale=(1, 1, 1), type='EMPTY') # Operator # backtrace blender-3.2.1(BLI_system_backtrace+0x20) [0xc161180] blender-3.2.1() [0x11da2dd] /lib64/libc.so.6(+0x3ea70) [0x7fe308c3ea70] blender-3.2.1(GPU_shader_get_builtin_block+0) [0xada2560] blender-3.2.1() [0x1933efe] blender-3.2.1(DRW_shgroup_create+0x1d) [0x193605d] blender-3.2.1(gpencil_layer_cache_add+0x3a8) [0x19bdba8] blender-3.2.1() [0x196f9f7] blender-3.2.1(BKE_gpencil_visible_stroke_advanced_iter+0x30e) [0x11fc2fe] blender-3.2.1(GPENCIL_cache_populate+0x1ef) [0x196fd2f] blender-3.2.1() [0x192f988] blender-3.2.1(DRW_draw_render_loop_ex+0x3b0) [0x1931210] blender-3.2.1(view3d_main_region_draw+0x8f) [0x254885f] blender-3.2.1(ED_region_do_draw+0x841) [0x1c65661] blender-3.2.1(wm_draw_update+0x7a3) [0x179f4e3] blender-3.2.1(WM_main+0x30) [0x179c210] blender-3.2.1(main+0x322) [0x10d5c62] /lib64/libc.so.6(+0x29550) [0x7fe308c29550] /lib64/libc.so.6(__libc_start_main+0x89) [0x7fe308c29609] blender-3.2.1() [0x11d6bbc] # Python backtrace [ralf@h7 ~]$ ``` I guess I must be hitting some odd special case due to my ancient hw but until I can replace this ancient Thinkpad T520 I'd not mind if blender was working ;-)
Author

Added subscriber: @ralf

Added subscriber: @ralf

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

Changed status from 'Needs Triage' to: 'Resolved'
Germano Cavalcante self-assigned this 2022-08-03 02:15:59 +02:00

This is the same issue as #99103 (Crash when displaying grease pencil strokes), which has already been resolved with 93253d5dcc

Please try the latest daily build: https://builder.blender.org/download/

If the problem persists, please let us know so we can re-open the report. Don't forget to mention the specific version you tested again.

This is the same issue as #99103 (Crash when displaying grease pencil strokes), which has already been resolved with 93253d5dcc Please try the latest daily build: https://builder.blender.org/download/ If the problem persists, please let us know so we can re-open the report. Don't forget to mention the specific version you tested again.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Resolved' to: 'Archived'

Changed status from 'Resolved' to: 'Archived'
Member

Graphics card: Intel® HD Graphics 3000

Thanks for the report. Your GPU is below minimum requirements to run blender
This GPU model has Sandy Bridge architecture, which is quite old. To run newer version of blender [Haswell architecture and newer ]] are required. Also [ https:*en.wikipedia.org/wiki/List_of_Intel_graphics_processing_units#:~:text=Xeon%20E3%2D1260L-,HD%20Graphics%203000,-Mobile | see .
Installing the latest graphics driver sometimes helps to make such GPUs work, see here for more information. https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html

If that doesn't help, use previous blender versions: https://download.blender.org/release/

> Graphics card: Intel® HD Graphics 3000 Thanks for the report. Your GPU is below minimum requirements to run blender This GPU model has `Sandy Bridge` architecture, which is quite old. To run newer version of blender [Haswell architecture and newer ]] are required. Also [[ https:*en.wikipedia.org/wiki/List_of_Intel_graphics_processing_units#:~:text=Xeon%20E3%2D1260L-,HD%20Graphics%203000,-Mobile | see ](https:*www.blender.org/download/requirements/). Installing the latest graphics driver sometimes helps to make such GPUs work, see here for more information. https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html If that doesn't help, use previous blender versions: https://download.blender.org/release/
Member

Changed status from 'Archived' to: 'Resolved'

Changed status from 'Archived' to: 'Resolved'
Member

ok, thanks Germano

ok, thanks Germano
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
3 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#100156
No description provided.