Page MenuHome

BVHTree.FromObject crashes with pthread priority assertion when called in quick succession on same object
Closed, DuplicatePublic

Description

System Information
Operating system: Ubuntu 18.04 Linux
Graphics card: GTX 1080

Blender Version
Broken: blender-2.80-6d89337257b6-linux-glibc224-x86_64

Short description of error

BVHTree.FromObject crashes with pthread priority assertion when called in quick succession on same object

Exact steps for others to reproduce the error

  • open default blender scene and install/enable add-on
  • go to Texture Paint workspace and switch to Vertex Paint Mode
  • from the Paint menu select Bug Test entry
  • click and drag anywhere in the scene until crash or alternatively,
  • repeatedly left mouse click anywhere quickly

observed behaviour:

  • sometimes a simple crash with no additional info
  • otherwise a assert message:

blender: tpp.c:84: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= fifo_min_prio && new_prio <= fifo_max_prio)' failed.

Details

Type
Bug

Event Timeline

PS> this might be related to https://developer.blender.org/T58734 but note that in that report the call reproducibly crashes on the second call whereas in this report it might take anywhere between 5 and 30 calls (depending on how quickly the calls happen?)

I had to call it multiple times to get the crash in some of the duplicates of T58734.

So I'll close this as duplicate too. You can always reopen this is this still happens when T58734 has been fixed as I suspect the root cause for these problems might be the same.