Page MenuHome

Blender Crashing When Painting Stroke into a "Moving Animated Character" (heap-use-after-free)
Confirmed, NormalPublicBUG


Blender Version
Broken: version: 2.79 - 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: rB375c7dc4caf4
Worked: Never

Short description of error
I have this experiment of making LIVE talking head, via OSC. And I noticed that if I tried painting a stroke on a talking moving animated head, it will crash. Even with timeline not running.

I got a video (Might need iPhone X with MOM addon to test this....) :

Exact steps for others to reproduce the error

  • Open attached file
  • Run animation
  • Paint over the animated object

Event Timeline

Eitan (EitanSomething) closed this task as Invalid.Mar 24 2020, 1:36 AM
Eitan (EitanSomething) claimed this task.

This report is being closed because the addon is not maintained by blender. Please report the bug to the developer of the addon.

This is not BPainter app, it's actually Blender normal Texture Painting causing Blender to crash when painting on animated shapes.

Can you provide the blend file

I am unable to get blender to crash. The crash is probably related to the MOM addon and should be reported to the MOM developers

Eitan (EitanSomething) changed the edit policy from "Custom Policy" to "Custom Policy".

It's not MOM addon or BPainter addo, it's when you paint on 3D mesh with animated Shapekeys, Blender crashes. I can 100% confirm this.

Eitan (EitanSomething) reopened this task as Needs Triage.Mar 24 2020, 5:14 AM
Eitan (EitanSomething) removed Eitan (EitanSomething) as the assignee of this task.

Sorry for closing prematurely. I will let someone more familiar with shapekeys take a look at it.

Hi Eitan, I tested with 2.83 Alpha latest, and still confirmed crashing.

Proof video:

What interesting is that this crashing bug / limitation existed since 2.79, I just realised. Ok, if we cannot actually paint on animated shapekeys / while timeline is running, it should not crash at least. Funny thing: we can "stamp" click but not brush stroke or moving it. Maybe it should be possible to paint this way, it would be really quite cool.

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Mar 24 2020, 3:13 PM
Germano Cavalcante (mano-wii) updated the task description. (Show Details)
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".


1 project_paint_face_init   paint_image_proj.c 3013 0x43bd12f      
2 project_bucket_init       paint_image_proj.c 3522 0x43beaed      
3 do_projectpaint_thread    paint_image_proj.c 5250 0x43c3eac      
4 task_scheduler_thread_run task.c             450  0xa8b2ab1      
5 start_thread                                      0x7ffff7c754e2 
6 clone                                             0x7ffff00206d3

Full ASAN output here P1317

Philipp Oeser (lichtwerk) renamed this task from Blender Crashing When Painting Stroke into a "Moving Animated Character" to Blender Crashing When Painting Stroke into a "Moving Animated Character" (heap-use-after-free).Mar 30 2020, 6:23 PM