Operating system: Linux-5.0.0-21-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.34
Broken: version: 2.81 (sub 10), branch: master, commit date: 2019-09-09 20:20, hash: rB3e81c1c1d5fd
Short description of error
I have a custom python operator to help me switch in and out of weight paint mode. The operator works fine most of the time. I tried to strip the operator down to the exact line that caused the crash but I couldn't pinpoint it, so I left the whole thing in, it's only 50 lines. Both of the attached files should register a "Toggle Weight Paint Mode" operator when opened.
Exact steps for others to reproduce the error
- In this file:
- Make some brush strokes (other undo-able operations are probably fine too)
- Undo them all
- Search for and run "Toggle Weight Paint Mode" operator. If didn't crash, run it a few times.
- If it's not crashed, undo everything and try again. I can get it to crash after at most 3 tries.
It seems to be easier to reproduce in heavier files, so if you can't reproduce in that simple file, please try this:
Here's a stack trace: