Crash with animated displacement modifier in Texture paint mode while playing #57779

Open
opened 2018-11-11 12:33:46 +01:00 by Julien Heimann · 8 comments

System Information
AMD Ryzen 5 2600, 16GB ram
Windows 7 64bit
Nvidia GTX 1060 6gb (driver version 416.34)

Blender Version
2.79b

Short description of error
I intend to paint a heightmap interactively. So i keyframed a displacement modifier (2 frames) on a subdivided plane and assigned a texture.
Playing the timeline should now refresh the modifier every frame.
Painting in the UV-editor this way works fine, but switching to texture paint mode and painting on the mesh directly crashes blender after about 0.5seconds.
HeightmapPaint.blend
I attached an example file.
Hit play and in the uv editor paint on the noise texture. This works okay.
Now switch to Texture painting in the 3d viewport. The moment a stroke is applied to the mesh it should crash (it does consistently for me).

**System Information** AMD Ryzen 5 2600, 16GB ram Windows 7 64bit Nvidia GTX 1060 6gb (driver version 416.34) **Blender Version** 2.79b **Short description of error** I intend to paint a heightmap interactively. So i keyframed a displacement modifier (2 frames) on a subdivided plane and assigned a texture. Playing the timeline should now refresh the modifier every frame. Painting in the UV-editor this way works fine, but switching to texture paint mode and painting on the mesh directly crashes blender after about 0.5seconds. [HeightmapPaint.blend](https://archive.blender.org/developer/F5493325/HeightmapPaint.blend) I attached an example file. Hit play and in the uv editor paint on the noise texture. This works okay. Now switch to Texture painting in the 3d viewport. The moment a stroke is applied to the mesh it should crash (it does consistently for me).
Author

Added subscriber: @heijulien

Added subscriber: @heijulien
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Philipp Oeser self-assigned this 2018-11-12 13:23:22 +01:00
Member

Can confirm, will have a look...

Can confirm, will have a look...
Member

Also happens with --enable-new-depsgraph in 2.79 master, but seems resolved in 2.8 (cant get it to crash there... and viewport displacement is updating happily...)

Will see where it crashes later, but not sure if there are enough dev resources for a fix only for 2.79...

Also happens with `--enable-new-depsgraph` in 2.79 master, but seems resolved in 2.8 (cant get it to crash there... and viewport displacement is updating happily...) Will see where it crashes later, but not sure if there are enough dev resources for a fix only for 2.79...
Philipp Oeser removed their assignment 2019-11-06 13:29:00 +01:00
Member

correction, crash still happens

lt_tri_uv- [x] and lt_tri_uv- [x] in project_paint_face_init are garbage in project_paint_face_init

1 project_paint_face_init   paint_image_proj.c 3049 0x3cf1f44      
2 project_bucket_init       paint_image_proj.c 3493 0x3cf35e2      
3 do_projectpaint_thread    paint_image_proj.c 5182 0x3cf85aa      
4 task_scheduler_thread_run task.c             450  0x309b0a9      
5 start_thread                                      0x7ffff485f4c0 
6 clone                                             0x7ffff1bab553 
correction, crash still happens `lt_tri_uv- [x]` and `lt_tri_uv- [x]` in `project_paint_face_init` are garbage in `project_paint_face_init` ``` 1 project_paint_face_init paint_image_proj.c 3049 0x3cf1f44 2 project_bucket_init paint_image_proj.c 3493 0x3cf35e2 3 do_projectpaint_thread paint_image_proj.c 5182 0x3cf85aa 4 task_scheduler_thread_run task.c 450 0x309b0a9 5 start_thread 0x7ffff485f4c0 6 clone 0x7ffff1bab553 ```
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

Some points of attention.

  • Play needs to be active, before the changes are applied. This might be related to a depsgraph issue.
  • Threading issue as projection painting runs in a separate modal thread that uses data could be reinitialized in the main thread? This needs thread-syncing.
    I will put this to known issue as texture painting isn't actively developed.
Some points of attention. * Play needs to be active, before the changes are applied. This might be related to a depsgraph issue. * Threading issue as projection painting runs in a separate modal thread that uses data could be reinitialized in the main thread? This needs thread-syncing. I will put this to known issue as texture painting isn't actively developed.
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:12:51 +01:00
Member

Still crashing in current main

``` ==187024==ERROR: AddressSanitizer: heap-use-after-free on address 0x7fff8c6b77cc at pc 0x00000a935372 bp 0x7fff8a1bac60 sp 0x7fff8a1bac58 READ of size 4 at 0x7fff8c6b77cc thread T38 #0 0xa935371 in project_paint_face_init /blender/editors/sculpt_paint/paint_image_proj.cc:2983 #1 0xa93ed53 in project_bucket_init /blender/editors/sculpt_paint/paint_image_proj.cc:3504 #2 0xa96122a in do_projectpaint_thread /blender/editors/sculpt_paint/paint_image_proj.cc:5243 #3 0x4531178 in Task::operator()() const /blender/blenlib/intern/task_pool.cc:166 #4 0x4535fb0 in tbb::internal::function_task::execute() /lib/linux_x86_64_glibc_228/tbb/include/tbb/task.h:1059 #5 0x7ffff7f6db44 in tbb::internal::custom_scheduler::process_bypass_loop(tbb::internal::context_guard_helper&, tbb::task*, long) (/build_linux_debug/bin/lib/libtbb.so.2+0x29b44) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) #6 0x7ffff7f6de77 in tbb::internal::custom_scheduler::local_wait_for_all(tbb::task&, tbb::task*) (/build_linux_debug/bin/lib/libtbb.so.2+0x29e77) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) #7 0x7ffff7f56756 in tbb::internal::arena::process(tbb::internal::generic_scheduler&) (/build_linux_debug/bin/lib/libtbb.so.2+0x12756) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) #8 0x7ffff7f64abf in tbb::internal::market::process(rml::job&) (/build_linux_debug/bin/lib/libtbb.so.2+0x20abf) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) #9 0x7ffff7f6859b in tbb::internal::rml::private_worker::run() (/build_linux_debug/bin/lib/libtbb.so.2+0x2459b) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) #10 0x7ffff7f687d8 in tbb::internal::rml::private_worker::thread_routine(void*) (/build_linux_debug/bin/lib/libtbb.so.2+0x247d8) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) #11 0x7fffe64ac896 in start_thread (/lib64/libc.so.6+0x8e896) (BuildId: 7ea8d85df0e89b90c63ac7ed2b3578b2e7728756) #12 0x7fffe653380b in clone3 (/lib64/libc.so.6+0x11580b) (BuildId: 7ea8d85df0e89b90c63ac7ed2b3578b2e7728756)

0x7fff8c6b77cc is located 139212 bytes inside of 393240-byte region [0x7fff8c695800,0x7fff8c6f5818)
freed by thread T46 here:
#0 0x7ffff78d7fb8 in __interceptor_free.part.0 (/lib64/libasan.so.8+0xd7fb8) (BuildId: 7fcb7759bc17ef47f9682414b6d99732d6a6ab0c)
#1 0x47fa77d in aligned_free /blender/intern/guardedalloc/intern/mallocn.c:87
#2 0x4801bf0 in MEM_lockfree_freeN /blender/intern/guardedalloc/intern/mallocn_lockfree_impl.c:107
#3 0x82f32e in blender::GuardedAllocator::deallocate(void*) /blender/blenlib/BLI_allocator.hh:50
#4 0x1028474 in blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>::deallocate_if_not_inline(blender::VecBase<int, 3>) (/build_linux_debug/bin/blender+0x1028474) (BuildId: 8287d4172f6cad42af19dd78e2fc50f3a18df4d7)
#5 0x1031979 in blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>::~Array() /blender/blenlib/BLI_array.hh:183
#6 0x1033e22 in blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData::~CacheData() /blender/blenlib/BLI_shared_cache.hh:30
#7 0x1033e5b in void std::_Destroy<blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData>(blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData
) /usr/include/c++/13/bits/stl_construct.h:151
#8 0x1032dcb in void std::allocator_traits<std::allocator >::destroy<blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData>(std::allocator&, blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData*) /usr/include/c++/13/bits/alloc_traits.h:675
#9 0x1032dcb in std::_Sp_counted_ptr_inplace<blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData, std::allocator, (__gnu_cxx::_Lock_policy)2>::_M_dispose() /usr/include/c++/13/bits/shared_ptr_base.h:613
#10 0x8d7ac6 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (/build_linux_debug/bin/blender+0x8d7ac6) (BuildId: 8287d4172f6cad42af19dd78e2fc50f3a18df4d7)
#11 0x918fdb in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/13/bits/shared_ptr_base.h:1071
#12 0x10219d0 in std::__shared_ptr<blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() /usr/include/c++/13/bits/shared_ptr_base.h:1524
#13 0x1021a24 in std::shared_ptr<blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData>::~shared_ptr() /usr/include/c++/13/bits/shared_ptr.h:175
#14 0x1021a78 in blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::~SharedCache() /blender/blenlib/BLI_shared_cache.hh:29
#15 0x1016df1 in blender::bke::MeshRuntime::~MeshRuntime() /blender/blenkernel/intern/mesh_runtime.cc:68
#16 0xf0f66f in mesh_free_data /blender/blenkernel/intern/mesh.cc:230
#17 0xf1f1a0 in BKE_mesh_eval_delete(Mesh*) /blender/blenkernel/intern/mesh.cc:859
#18 0x1369777 in BKE_object_free_derived_caches(Object*) /blender/blenkernel/intern/object.cc:1674
#19 0x320b0cc in makeDerivedMesh(Depsgraph*, Scene const*, Object*, CustomData_MeshMasks const*) /blender/blenkernel/intern/DerivedMesh.cc:1451
#20 0x13c9c36 in BKE_object_handle_data_update(Depsgraph*, Scene*, Object*) /blender/blenkernel/intern/object_update.cc:160
#21 0x13cbdd6 in BKE_object_eval_uber_data(Depsgraph*, Scene*, Object*) /blender/blenkernel/intern/object_update.cc:315
#22 0x476e719 in operator() /blender/depsgraph/intern/builder/deg_builder_nodes.cc:1677
#23 0x47a04ec in __invoke_impl<void, blender::deg::DepsgraphNodeBuilder::build_object_data_geometry(Object*)::<lambda(Depsgraph*)>&, Depsgraph*> /usr/include/c++/13/bits/invoke.h:61
#24 0x47990ce in __invoke_r<void, blender::deg::DepsgraphNodeBuilder::build_object_data_geometry(Object*)::<lambda(Depsgraph*)>&, Depsgraph*> /usr/include/c++/13/bits/invoke.h:111
#25 0x4790fa8 in _M_invoke /usr/include/c++/13/bits/std_function.h:290
#26 0x46b89fa in std::function<void (Depsgraph*)>::operator()(Depsgraph*) const /usr/include/c++/13/bits/std_function.h:591
#27 0x46b2f73 in evaluate_node /blender/depsgraph/intern/eval/deg_eval.cc:101
#28 0x46b33a5 in deg_task_run_func /blender/depsgraph/intern/eval/deg_eval.cc:118
#29 0x4531178 in Task::operator()() const /blender/blenlib/intern/task_pool.cc:166
#30 0x4535fb0 in tbb::internal::function_task::execute() /lib/linux_x86_64_glibc_228/tbb/include/tbb/task.h:1059

previously allocated by thread T0 here:
#0 0x7ffff78d8508 in memalign (/lib64/libasan.so.8+0xd8508) (BuildId: 7fcb7759bc17ef47f9682414b6d99732d6a6ab0c)
#1 0x47fa763 in aligned_malloc /blender/intern/guardedalloc/intern/mallocn.c:78
#2 0x4802996 in MEM_lockfree_mallocN_aligned /blender/intern/guardedalloc/intern/mallocn_lockfree_impl.c:333
#3 0x82f2e0 in blender::GuardedAllocator::allocate(unsigned long, unsigned long, char const*) /blender/blenlib/BLI_allocator.hh:45
#4 0x102a8ff in blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>::allocate(long) /blender/blenlib/BLI_array.hh:428
#5 0x10283a1 in blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>::get_buffer_for_size(long) (/build_linux_debug/bin/blender+0x10283a1) (BuildId: 8287d4172f6cad42af19dd78e2fc50f3a18df4d7)
#6 0x1024dc7 in blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>::reinitialize(long) /blender/blenlib/BLI_array.hh:400
#7 0x101bb2e in operator() /blender/blenkernel/intern/mesh_runtime.cc:237
#8 0x10216cd in callback_fn<Mesh::corner_tris() const::<lambda(blender::Array<blender::VecBase<int, 3> >&)> > /blender/blenlib/BLI_function_ref.hh:96
#9 0x10286ed in blender::FunctionRef<void (blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>&)>::operator()(blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>&) const (/build_linux_debug/bin/blender+0x10286ed) (BuildId: 8287d4172f6cad42af19dd78e2fc50f3a18df4d7)
#10 0x1025280 in blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::ensure(blender::FunctionRef<void (blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>&)>)::{lambda()#1}::operator()() const /blender/blenlib/BLI_shared_cache.hh:62
#11 0x102a99a in void blender::FunctionRef<void ()>::callback_fn<blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::ensure(blender::FunctionRef<void (blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>&)>)::{lambda()#1}>(long) /blender/blenlib/BLI_function_ref.hh:96
#12 0xaef782 in blender::FunctionRef<void ()>::operator()() const /blender/blenlib/BLI_function_ref.hh:132
#13 0x3feb91a in tbb::interface7::internal::delegated_function<blender::FunctionRef<void ()> const, void>::operator()() const /lib/linux_x86_64_glibc_228/tbb/include/tbb/task_arena.h:96
#14 0x7ffff7f56a54 in tbb::interface7::internal::isolate_within_arena(tbb::interface7::internal::delegate_base&, long) (/build_linux_debug/bin/lib/libtbb.so.2+0x12a54) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331)

</details>
Still crashing in current main <details> ``` ==187024==ERROR: AddressSanitizer: heap-use-after-free on address 0x7fff8c6b77cc at pc 0x00000a935372 bp 0x7fff8a1bac60 sp 0x7fff8a1bac58 READ of size 4 at 0x7fff8c6b77cc thread T38 #0 0xa935371 in project_paint_face_init /blender/editors/sculpt_paint/paint_image_proj.cc:2983 #1 0xa93ed53 in project_bucket_init /blender/editors/sculpt_paint/paint_image_proj.cc:3504 #2 0xa96122a in do_projectpaint_thread /blender/editors/sculpt_paint/paint_image_proj.cc:5243 #3 0x4531178 in Task::operator()() const /blender/blenlib/intern/task_pool.cc:166 #4 0x4535fb0 in tbb::internal::function_task<Task>::execute() /lib/linux_x86_64_glibc_228/tbb/include/tbb/task.h:1059 #5 0x7ffff7f6db44 in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::process_bypass_loop(tbb::internal::context_guard_helper<false>&, tbb::task*, long) (/build_linux_debug/bin/lib/libtbb.so.2+0x29b44) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) #6 0x7ffff7f6de77 in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::local_wait_for_all(tbb::task&, tbb::task*) (/build_linux_debug/bin/lib/libtbb.so.2+0x29e77) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) #7 0x7ffff7f56756 in tbb::internal::arena::process(tbb::internal::generic_scheduler&) (/build_linux_debug/bin/lib/libtbb.so.2+0x12756) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) #8 0x7ffff7f64abf in tbb::internal::market::process(rml::job&) (/build_linux_debug/bin/lib/libtbb.so.2+0x20abf) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) #9 0x7ffff7f6859b in tbb::internal::rml::private_worker::run() (/build_linux_debug/bin/lib/libtbb.so.2+0x2459b) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) #10 0x7ffff7f687d8 in tbb::internal::rml::private_worker::thread_routine(void*) (/build_linux_debug/bin/lib/libtbb.so.2+0x247d8) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) #11 0x7fffe64ac896 in start_thread (/lib64/libc.so.6+0x8e896) (BuildId: 7ea8d85df0e89b90c63ac7ed2b3578b2e7728756) #12 0x7fffe653380b in clone3 (/lib64/libc.so.6+0x11580b) (BuildId: 7ea8d85df0e89b90c63ac7ed2b3578b2e7728756) 0x7fff8c6b77cc is located 139212 bytes inside of 393240-byte region [0x7fff8c695800,0x7fff8c6f5818) freed by thread T46 here: #0 0x7ffff78d7fb8 in __interceptor_free.part.0 (/lib64/libasan.so.8+0xd7fb8) (BuildId: 7fcb7759bc17ef47f9682414b6d99732d6a6ab0c) #1 0x47fa77d in aligned_free /blender/intern/guardedalloc/intern/mallocn.c:87 #2 0x4801bf0 in MEM_lockfree_freeN /blender/intern/guardedalloc/intern/mallocn_lockfree_impl.c:107 #3 0x82f32e in blender::GuardedAllocator::deallocate(void*) /blender/blenlib/BLI_allocator.hh:50 #4 0x1028474 in blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>::deallocate_if_not_inline(blender::VecBase<int, 3>*) (/build_linux_debug/bin/blender+0x1028474) (BuildId: 8287d4172f6cad42af19dd78e2fc50f3a18df4d7) #5 0x1031979 in blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>::~Array() /blender/blenlib/BLI_array.hh:183 #6 0x1033e22 in blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData::~CacheData() /blender/blenlib/BLI_shared_cache.hh:30 #7 0x1033e5b in void std::_Destroy<blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData>(blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData*) /usr/include/c++/13/bits/stl_construct.h:151 #8 0x1032dcb in void std::allocator_traits<std::allocator<void> >::destroy<blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData>(std::allocator<void>&, blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData*) /usr/include/c++/13/bits/alloc_traits.h:675 #9 0x1032dcb in std::_Sp_counted_ptr_inplace<blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose() /usr/include/c++/13/bits/shared_ptr_base.h:613 #10 0x8d7ac6 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (/build_linux_debug/bin/blender+0x8d7ac6) (BuildId: 8287d4172f6cad42af19dd78e2fc50f3a18df4d7) #11 0x918fdb in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/13/bits/shared_ptr_base.h:1071 #12 0x10219d0 in std::__shared_ptr<blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() /usr/include/c++/13/bits/shared_ptr_base.h:1524 #13 0x1021a24 in std::shared_ptr<blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::CacheData>::~shared_ptr() /usr/include/c++/13/bits/shared_ptr.h:175 #14 0x1021a78 in blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::~SharedCache() /blender/blenlib/BLI_shared_cache.hh:29 #15 0x1016df1 in blender::bke::MeshRuntime::~MeshRuntime() /blender/blenkernel/intern/mesh_runtime.cc:68 #16 0xf0f66f in mesh_free_data /blender/blenkernel/intern/mesh.cc:230 #17 0xf1f1a0 in BKE_mesh_eval_delete(Mesh*) /blender/blenkernel/intern/mesh.cc:859 #18 0x1369777 in BKE_object_free_derived_caches(Object*) /blender/blenkernel/intern/object.cc:1674 #19 0x320b0cc in makeDerivedMesh(Depsgraph*, Scene const*, Object*, CustomData_MeshMasks const*) /blender/blenkernel/intern/DerivedMesh.cc:1451 #20 0x13c9c36 in BKE_object_handle_data_update(Depsgraph*, Scene*, Object*) /blender/blenkernel/intern/object_update.cc:160 #21 0x13cbdd6 in BKE_object_eval_uber_data(Depsgraph*, Scene*, Object*) /blender/blenkernel/intern/object_update.cc:315 #22 0x476e719 in operator() /blender/depsgraph/intern/builder/deg_builder_nodes.cc:1677 #23 0x47a04ec in __invoke_impl<void, blender::deg::DepsgraphNodeBuilder::build_object_data_geometry(Object*)::<lambda(Depsgraph*)>&, Depsgraph*> /usr/include/c++/13/bits/invoke.h:61 #24 0x47990ce in __invoke_r<void, blender::deg::DepsgraphNodeBuilder::build_object_data_geometry(Object*)::<lambda(Depsgraph*)>&, Depsgraph*> /usr/include/c++/13/bits/invoke.h:111 #25 0x4790fa8 in _M_invoke /usr/include/c++/13/bits/std_function.h:290 #26 0x46b89fa in std::function<void (Depsgraph*)>::operator()(Depsgraph*) const /usr/include/c++/13/bits/std_function.h:591 #27 0x46b2f73 in evaluate_node /blender/depsgraph/intern/eval/deg_eval.cc:101 #28 0x46b33a5 in deg_task_run_func /blender/depsgraph/intern/eval/deg_eval.cc:118 #29 0x4531178 in Task::operator()() const /blender/blenlib/intern/task_pool.cc:166 #30 0x4535fb0 in tbb::internal::function_task<Task>::execute() /lib/linux_x86_64_glibc_228/tbb/include/tbb/task.h:1059 previously allocated by thread T0 here: #0 0x7ffff78d8508 in memalign (/lib64/libasan.so.8+0xd8508) (BuildId: 7fcb7759bc17ef47f9682414b6d99732d6a6ab0c) #1 0x47fa763 in aligned_malloc /blender/intern/guardedalloc/intern/mallocn.c:78 #2 0x4802996 in MEM_lockfree_mallocN_aligned /blender/intern/guardedalloc/intern/mallocn_lockfree_impl.c:333 #3 0x82f2e0 in blender::GuardedAllocator::allocate(unsigned long, unsigned long, char const*) /blender/blenlib/BLI_allocator.hh:45 #4 0x102a8ff in blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>::allocate(long) /blender/blenlib/BLI_array.hh:428 #5 0x10283a1 in blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>::get_buffer_for_size(long) (/build_linux_debug/bin/blender+0x10283a1) (BuildId: 8287d4172f6cad42af19dd78e2fc50f3a18df4d7) #6 0x1024dc7 in blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>::reinitialize(long) /blender/blenlib/BLI_array.hh:400 #7 0x101bb2e in operator() /blender/blenkernel/intern/mesh_runtime.cc:237 #8 0x10216cd in callback_fn<Mesh::corner_tris() const::<lambda(blender::Array<blender::VecBase<int, 3> >&)> > /blender/blenlib/BLI_function_ref.hh:96 #9 0x10286ed in blender::FunctionRef<void (blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>&)>::operator()(blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>&) const (/build_linux_debug/bin/blender+0x10286ed) (BuildId: 8287d4172f6cad42af19dd78e2fc50f3a18df4d7) #10 0x1025280 in blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::ensure(blender::FunctionRef<void (blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>&)>)::{lambda()#1}::operator()() const /blender/blenlib/BLI_shared_cache.hh:62 #11 0x102a99a in void blender::FunctionRef<void ()>::callback_fn<blender::SharedCache<blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator> >::ensure(blender::FunctionRef<void (blender::Array<blender::VecBase<int, 3>, 4l, blender::GuardedAllocator>&)>)::{lambda()#1}>(long) /blender/blenlib/BLI_function_ref.hh:96 #12 0xaef782 in blender::FunctionRef<void ()>::operator()() const /blender/blenlib/BLI_function_ref.hh:132 #13 0x3feb91a in tbb::interface7::internal::delegated_function<blender::FunctionRef<void ()> const, void>::operator()() const /lib/linux_x86_64_glibc_228/tbb/include/tbb/task_arena.h:96 #14 0x7ffff7f56a54 in tbb::interface7::internal::isolate_within_arena(tbb::interface7::internal::delegate_base&, long) (/build_linux_debug/bin/lib/libtbb.so.2+0x12a54) (BuildId: e112c632ed5be89e6711cf88c8b925d3f1fd6331) ``` </details>
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#57779
No description provided.