Maniphest T96518

GPencil: Fill freezes when use invert and click inside areas
Closed, ResolvedBUG

Assigned To
Antonio Vazquez (antoniov)
Authored By
trim brimbo (tbrimbo)
Mar 16 2022, 11:49 AM
Tags
  • BF Blender
  • Grease Pencil
Subscribers
Henrik Dick (weasel)
Thomas Dinges (dingto)
trim brimbo (tbrimbo)

Description

System Information
Operating system: Linux-5.15.28-1-lts-x86_64-with-glibc2.35 64 Bits
Graphics card: NVIDIA GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.54

Blender Version
Broken: version: 3.1.0, branch: makepkg (modified), commit date: 2022-03-08 18:16, hash: rBc77597cd0e15
Worked: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash: rBdc2d18018171

Short description of error
Grease Pencil function to fill inverted area freezes Blender and then whole system.

Exact steps for others to reproduce the error

  • Launch Blender
  • Open a new 2D animation file
  • Draw a box inside another box
  • Select fill tool
  • Select a fill material
  • Change the fill direction to 'inverted' by selecting '-' button

  • Click anywhere inside the inner box or outer box
  • Nothing happens other than a few pixels wide small black square with numbers '5 0' appearing. It immediately freezes Blender. In a few seconds or immediately mouse or keyboard stops working. I have to restart computer using power button. On one occasion I was able to open system monitor to see CPU was working at 100%. On that occasion Blender crashed rather then system freeze.

Revisions and Commits

rB Blender

Event Timeline

trim brimbo (tbrimbo) created this task.Mar 16 2022, 11:49 AM
Thomas Dinges (dingto) changed the task status from Needs Triage to Confirmed.Mar 16 2022, 1:12 PM
Thomas Dinges (dingto) added a subscriber: Thomas Dinges (dingto).

Confirmed. Might be a memory leak, since the RAM usage is getting higher and higher when doing that and Blender crashes.

Thomas Dinges (dingto) triaged this task as High priority.Mar 16 2022, 1:13 PM
Thomas Dinges (dingto) added a project: Grease Pencil.
Henrik Dick (weasel) added a subscriber: Henrik Dick (weasel).Mar 16 2022, 1:15 PM

If you are on KDE you can save your computer from going down by pressing Ctrl+Alt+Esc and then click on blender to kill it.

trim brimbo (tbrimbo) added a comment.Mar 16 2022, 1:48 PM
In T96518#1324006, @Henrik Dick (weasel) wrote:

If you are on KDE you can save your computer from going down by pressing Ctrl+Alt+Esc and then click on blender to kill it.

Thanks. I am on Cinnamon. Just refreshed my memory of xkill process if keyboard is still active: Alt+F2 to launch dialog box > xkill > click on Blender to kill it.

It kills Blender. Then in about 5-10 seconds mouse and keyboard freezes. Memory and CPU overloads according to system monitor. It lasts about 20-30 seconds until they are released again.

Antonio Vazquez (antoniov) claimed this task.Mar 16 2022, 1:49 PM
Antonio Vazquez (antoniov) changed the subtype of this task from "Report" to "Bug".

It looks an infinite loop more than a memory leak

Antonio Vazquez (antoniov) renamed this task from GPencil: 'Fill Tool Direction - Inverted' freezes the whole system to GPencil: Fill freezes when use invert and click inside areas.Mar 16 2022, 4:25 PM
Antonio Vazquez (antoniov) closed this task as Resolved by committing rB79e74b14861e: Fix T96518: Gpencil Fill freezes when use invert and click inside areas.Mar 16 2022, 4:31 PM
Antonio Vazquez (antoniov) added a commit: rB79e74b14861e: Fix T96518: Gpencil Fill freezes when use invert and click inside areas.
Philipp Oeser (lichtwerk) added a commit: rB99ce71dd5b75: Fix T96518: Gpencil Fill freezes when use invert and click inside areas.Mar 21 2022, 2:07 PM