Page MenuHome

Crash during Weight Paint mode when switching view modes after zoom
Closed, DuplicatePublic

Description

System Information
Operating system: Windows 8.1 64 bit
Graphics card: GeForce GTX 860m

Blender Version
Broken: 2.80, d525c76003b3, win64, 2019-05-26 22:34

Short description of error
Crash when switching view modes after zooming in or out with mouse wheel in Weight Paint mode.

Exact steps for others to reproduce the error

  1. Start a new file with default scene
  2. In Solid View with default cube selected, switch to Weight Paint mode
  3. Click to assign weight to at least 1 vertex of the cube
  4. Zoom in or out using mouse wheel or CTRL + dragging mouse wheel (*)
  5. Switch to any other view mode

(*) Zooming with the zoom in/out magnifying glass button in the viewport does not trigger the crash when switching view modes. However, if you then change zoom using the mouse wheel, switching to any view mode except Render mode will trigger the crash.

.blend file
I did all the above steps in the attached file, which is crashing on my system as soon as you Zoom in/out with the mouse wheel and switch view mode.

Thank you

Event Timeline

I could confirm.

I think if it is related my another report too.
https://developer.blender.org/T64506

about T64506 it happen without weight (but when use auto depth,and show whole scene as transparent) then zoom up.

I think it looks indeed like the same issue as T64506.

As Takeshi Funahashi pointed out, the Show whole scene as transparent toggle, also triggers the crash when in weight paint mode, after zooming in/out, without even painting any vertices. This also happens if you enable X-Ray mode from the Solid display mode drop down menu, or inversely, when you turn off X-Ray, as described in error 4 or 5 below.

Steps to reproduce the error (2)

  1. Start a new default scene and switch to weight paint mode
  2. Zoom in/out with mouse wheel
  3. Press Show whole scene as transparent toggle

Steps to reproduce the error (3)

  1. Start a new default scene and switch to weight paint mode
  2. Zoom in/out with mouse wheel
  3. Enable X-Ray view from the Solid view drop down menu

Steps to reproduce the error (4)

  1. Start a new default scene
  2. In Object mode, enable X-Ray Mode
  3. Switch to Weight paint mode
  4. Zoom in/out with mouse wheel
  5. Disable X-Ray view

Steps to reproduce the error (5)

  1. Start a new default scene
  2. In Object mode, enable X-Ray
  3. Switch to Weight paint mode
  4. Zoom in/out with mouse wheel
  5. Drag the X-Ray slider in the display mode drop down menu, until X-Ray value reaches 1. (*)
  6. Changing X-Ray to any value lower than 1 does not trigger the crash.
Brecht Van Lommel (brecht) lowered the priority of this task from 90 to 30.May 31 2019, 8:20 PM

Is this still an issue? I couldn't reproduce it in older or latest builds.

Yes, in my system it still crashes with today's build f87bba0368ea on Windows 64 bit.

Brecht Van Lommel (brecht) raised the priority of this task from 30 to 90.May 31 2019, 11:50 PM

I confirm it still crashes on Windows with the latest Nvidia drivers for my GPU, but not on Linux with an older GPU:

System Information
Operating system: Windows 8.1 64 bit
Graphics card: GeForce GTX 860m
Driver version: 430.86

Blender Version
Broken: 2.80, f87bba0368ea, 2019-05-31 15:17

On Linux the crash is not triggered by any of the described steps.

System Information
Operating system: Ubuntu 18.04
Graphics card: GeForce GTX 460
Driver version: NVIDIA 390.116

Blender Version
Works: 2.80, cc600de6695a, 2019-05-31, 23:13:30