This is my first time submitting a patch.
The bug has been addressed in T99103.
On some hardware/systems, blender may crash when adding, rendering or displaying Grease Pencil objects.
In /source/blender/draw/engines/gpencil/shaders/gpencil_vert.glsl, line 35:
gpMaterialFlag gp_flag = floatBitsToInt(gp_mat._flag);
gpMaterialFlag is of type uint. This is a mismatched-type assignment that can cause crashes on some hardware/systems with GLSL that do not support implicit type casting.
The function can be wrapped in the unit constructor to explicitly convert the return type.
Update: using floatBitsToUint for type conversion.