Line Art: Crash when switching to editmode in current master #98355

Closed
opened 2022-05-24 19:53:26 +02:00 by Martijn Versteegh · 33 comments

System Information
Operating system: Linux-5.4.0-110-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.129.06

Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-23 06:16, hash: f93b237194
Worked: 3.1

Short description of error
Crash when switching to editmode in current master

Exact steps for others to reproduce the error

  • Open the attached .blend
  • select the 'voorklep' object
  • switch to edit mode
    crash

crash.blend
Caused by 03aba8046e

**System Information** Operating system: Linux-5.4.0-110-generic-x86_64-with-glibc2.31 64 Bits Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.129.06 **Blender Version** Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-23 06:16, hash: `f93b237194` Worked: 3.1 **Short description of error** Crash when switching to editmode in current master **Exact steps for others to reproduce the error** - Open the attached .blend - select the 'voorklep' object - switch to edit mode crash [crash.blend](https://archive.blender.org/developer/F13103311/crash.blend) Caused by 03aba8046e
Author
Member

Added subscriber: @Baardaap

Added subscriber: @Baardaap

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Not replicable on:
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.14802 Core Profile Context 22.2.3 30.0.14029.5006

Tested on:
version: 3.3.0 Alpha, branch: master, commit date: 2022-05-22 18:26, hash: d095fcd6b4

Can you try run ./blender --debug-gpu > gpu_debug_log.txt from the command line, trigger the bug, and attach the resulting file here.
https://docs.blender.org/manual/en/latest/advanced/command_line/launch/linux.html
Most likely it will contain more information about the error.

Not replicable on: **Operating system:** Windows-10-10.0.22000-SP0 64 Bits **Graphics card:** Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.14802 Core Profile Context 22.2.3 30.0.14029.5006 Tested on: **version:** 3.3.0 Alpha, branch: master, commit date: 2022-05-22 18:26, hash: `d095fcd6b4` Can you try run `./blender --debug-gpu > gpu_debug_log.txt` from the command line, trigger the bug, and attach the resulting file here. https://docs.blender.org/manual/en/latest/advanced/command_line/launch/linux.html Most likely it will contain more information about the error.

Added subscriber: @MDe

Added subscriber: @MDe

Not replicable on:
OS: Windows 11 64bit
GC: NVidia GTX 980 Ti
Tested on: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-23 21:28, hash: c968dae054, type: release
build date: 2022-05-24, 00:06:24

Not replicable on: OS: Windows 11 64bit GC: NVidia GTX 980 Ti Tested on: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-23 21:28, hash: c968dae05441, type: release build date: 2022-05-24, 00:06:24
Author
Member

I'm currently bisecting it... hope to add the offending commit later this evening

I'm currently bisecting it... hope to add the offending commit later this evening
Author
Member

I don't think it's a gpu bug. I see a mesh with a bogus number of verts.

I don't think it's a gpu bug. I see a mesh with a bogus number of verts.
Author
Member
The offending commit is: https://developer.blender.org/rB03aba8046e07d956e43073502383579b7dfbb284
Author
Member

Added subscriber: @ChengduLittleA

Added subscriber: @ChengduLittleA

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Richard Antalik changed title from Crash when switching to editmode in current master to Line Art: Crash when switching to editmode in current master 2022-05-25 01:13:24 +02:00

Added subscriber: @iss

Added subscriber: @iss

Can't reproduce either, but edited report to reflect likely cause

Can't reproduce either, but edited report to reflect likely cause
YimingWu self-assigned this 2022-05-25 02:49:05 +02:00
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Because of the depsgraph usage that we found out to be "incorrecct" a few days ago, I'd assume this is a known case where a workable fix is done with D14997 (pending review).

Because of the depsgraph usage that we found out to be "incorrecct" a few days ago, I'd assume this is a known case where a workable fix is done with [D14997](https://archive.blender.org/developer/D14997) (pending review).
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Cannot repro either. I think it's fair to raise the priority if culprit commit is known (Feel free to revert the priority)

Operating system : Windows-10-10.0.18362-SP0 64 Bits
Graphics card : AMD Radeon(TM) 535 ATI Technologies .```
Cannot repro either. I think it's fair to raise the priority if culprit commit is known (Feel free to revert the priority) ```System Information Operating system : Windows-10-10.0.18362-SP0 64 Bits Graphics card : AMD Radeon(TM) 535 ATI Technologies .```
Member

I think it's fine for high priority, we just need someone who's familiar to review [D14997](https://archive.blender.org/developer/D14997) :)

I think it's fine for high priority, we just need someone who's familiar to review `[D14997](https://archive.blender.org/developer/D14997)` :)
Author
Member

With nobody able to reproduce it smells like a threading/locking thing... I'll see if I can investigate a bit more.

With nobody able to reproduce it smells like a threading/locking thing... I'll see if I can investigate a bit more.
Author
Member

Hm. It happens in my own build, but not in the daily ;-( so it must be some library problem in my own build maybe? But as the daily runs fine it's probably better to archive this bugreport.

Hm. It happens in my own build, but not in the daily ;-( so it must be some library problem in my own build maybe? But as the daily runs fine it's probably better to archive this bugreport.

Added subscriber: @deadpin

Added subscriber: @deadpin

I can crash here - ASAN seems to report at least 2 types of error.

report1.txt

report2.txt

I can crash here - ASAN seems to report at least 2 types of error. [report1.txt](https://archive.blender.org/developer/F13104036/report1.txt) [report2.txt](https://archive.blender.org/developer/F13104037/report2.txt)
Author
Member

In #98355#1363956, @deadpin wrote:
I can crash here - ASAN seems to report at least 2 types of error.

In your own build? or the daily from b.org?

And if your own build do you happen to be on ubuntu 20.04 as well?

> In #98355#1363956, @deadpin wrote: > I can crash here - ASAN seems to report at least 2 types of error. In your own build? or the daily from b.org? And if your own build do you happen to be on ubuntu 20.04 as well?
Author
Member

Oh no, I see in the report. Windows. That makes it a real thing after all I think. Especially since your crash is in the same spot as mine. I'll upload my crashlog as well.

Oh no, I see in the report. Windows. That makes it a real thing after all I think. Especially since your crash is in the same spot as mine. I'll upload my crashlog as well.
Author
Member
[crash.crash.txt](https://archive.blender.org/developer/F13104073/crash.crash.txt)
Author
Member

stacktrace

#0  0x000000000413a061 in blender::vec_base<float, 3>::vec_base(float const*) (this=0x7fffcd5b8fac, ptr=0x5fffffff0) at /home/martijn/progs/blender-git/blender/source/blender/blenlib/BLI_math_vec_types.hh:200
        i = 0
#1  0x00000000041364d8 in operator()(blender::IndexRange, Result const&) const (__closure=0x7fffcfd13868, range=..., init=...) at /home/martijn/progs/blender-git/blender/source/blender/blenkernel/intern/mesh.cc:1660
        i = 1610612735
        __for_range = @0x7fffcd5b8f60: {start_ = 1610612735, size_ = 4194304, static s_current_array_size = {<std::__atomic_base<long>> = {static _S_alignment = 8, _M_i = 1000}, static is_always_lock_free = true}, static s_current_array = {_M_b = {_M_p = 0x7fffcc269008}, static is_always_lock_free = <optimized out>}}
        __for_begin = {current_ = 1610612735}
        __for_end = {current_ = 1614807039}
        result = {min = {<blender::vec_struct_base<float, 3>> = {x = 3.40282347e+38, y = 3.40282347e+38, z = 3.40282347e+38}, static type_length = <optimized out>}, max = {<blender::vec_struct_base<float, 3>> = {x = -3.40282347e+38, y = -3.40282347e+38, z = -3.40282347e+38}, static type_length = <optimized out>}}
        me = @0x7fffcfd13858: 0x7fffcee17808
        minmax = {min = {<blender::vec_struct_base<float, 3>> = {x = -nan(0x7fffff), y = -nan(0x7fffff), z = -230233088}, static type_length = <optimized out>}, max = {<blender::vec_struct_base<float, 3>> = {x = 3.68934859e+19, y = 3.68934859e+19, z = 0}, static type_length = <optimized out>}}
#2  0x0000000004138660 in operator()(tbb::blocked_range<long> const&, Result const&) const (this=0x7fffcfd137e8, subrange=..., ident=...) at /home/martijn/progs/blender-git/blender/source/blender/blenlib/BLI_task.hh:85
        function = @0x7fffcfd13868: {__me = @0x7fffcfd13858}
- 3  0x000000000413942e in tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::operator()(tbb::blocked_range<long> &) (this=0x7fffc1eca758, range=...) at /home/martijn/progs/blender-git/lib/linux_centos7_x86_64/tbb/include/tbb/parallel_reduce.h:325
- 4  0x00000000041392e7 in tbb::interface9::internal::start_reduce<tbb::blocked_range<long int>, tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >, const tbb::auto_partitioner>::run_body(tbb::blocked_range<long> &) (this=0x7fffd1a8c440, r=...) at /home/martijn/progs/blender-git/lib/linux_centos7_x86_64/tbb/include/tbb/parallel_reduce.h:150
#5  0x0000000004139111 in tbb::interface9::internal::dynamic_grainsize_mode<tbb::interface9::internal::adaptive_mode<tbb::interface9::internal::auto_partition_type> >::work_balance<tbb::interface9::internal::start_reduce<tbb::blocked_range<long int>, tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >, const tbb::auto_partitioner>, tbb::blocked_range<long int> >(tbb::interface9::internal::start_reduce<tbb::blocked_range<long int>, tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >, const tbb::auto_partitioner> &, tbb::blocked_range<long> &) (this=0x7fffd1a8c468, start=..., range=...) at /home/martijn/progs/blender-git/lib/linux_centos7_x86_64/tbb/include/tbb/partitioner.h:438
        range_pool = {my_head = 4 '\004', my_tail = 0 '\000', my_size = 5 '\005', my_depth = "\001\002\003\004\004\350b ", my_pool = {array = {{member = {member = {1677721599, 0}}}, {member = {member = {1644167167, 0}}}, {member = {member = {1024, 0}}}, {member = {member = {1644167167, 0}}}, {member = {member = {1627389951, 0}}}, {member = {member = {1024, 0}}}, {member = {member = {1627389951, 0}}}, {member = {member = {1619001343, 0}}}, {member = {member = {1024, 0}}}, {member = {member = {1619001343, 0}}}, {member = {member = {1614807039, 0}}}, {member = {member = {1024, 0}}}, {member = {member = {1614807039, 0}}}, {member = {member = {1610612735, 0}}}, {member = {member = {1024, 0}}}, {member = {member = {3517498448, 32767}}}, {member = {member = {3445330320, 32767}}}, {member = {member = {68396426, 0}}}, {member = {member = {3445330423, 32767}}}, {member = {member = {3517498448, 32767}}}, {member = {member = {3424671040, 32767}}}, {member = {member = {1024, 0}}}, {member = {member = {3445330368, 32767}}}, {member = {member = {68397371, 0}}}}}}
- 6  0x0000000004138e14 in tbb::interface9::internal::partition_type_base<tbb::interface9::internal::auto_partition_type>::execute<tbb::interface9::internal::start_reduce<tbb::blocked_range<long int>, tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >, const tbb::auto_partitioner>, tbb::blocked_range<long int> >(tbb::interface9::internal::start_reduce<tbb::blocked_range<long int>, tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >, const tbb::auto_partitioner> &, tbb::blocked_range<long> &) (this=0x7fffd1a8c468, start=..., range=...) at /home/martijn/progs/blender-git/lib/linux_centos7_x86_64/tbb/include/tbb/partitioner.h:256
- 7  0x0000000004138c05 in tbb::interface9::internal::start_reduce<tbb::blocked_range<long int>, tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >, const tbb::auto_partitioner>::execute(void) (this=0x7fffd1a8c440) at /home/martijn/progs/blender-git/lib/linux_centos7_x86_64/tbb/include/tbb/parallel_reduce.h:190
- 8  0x0000000004b06c15 in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::process_bypass_loop(tbb::internal::context_guard_helper<false>&, tbb::task*, long) ()
- 9  0x0000000004b06ecb in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::local_wait_for_all(tbb::task&, tbb::task*) ()
- 10 0x0000000004af3f27 in tbb::internal::arena::process(tbb::internal::generic_scheduler&) ()
- 11 0x0000000004b00900 in tbb::internal::market::process(rml::job&) ()
- 12 0x0000000004b0293c in tbb::internal::rml::private_worker::run() ()
- 13 0x0000000004b02b39 in tbb::internal::rml::private_worker::thread_routine(void*) ()
#14 0x00007ffff7f3e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736639006464, -315144192356607752, 140736670175806, 140736670175807, 140736670176000, 140736638719104, 315243942294493432, 315126496763877624}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#15 0x00007ffff78c7133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
stacktrace ``` #0 0x000000000413a061 in blender::vec_base<float, 3>::vec_base(float const*) (this=0x7fffcd5b8fac, ptr=0x5fffffff0) at /home/martijn/progs/blender-git/blender/source/blender/blenlib/BLI_math_vec_types.hh:200 i = 0 #1 0x00000000041364d8 in operator()(blender::IndexRange, Result const&) const (__closure=0x7fffcfd13868, range=..., init=...) at /home/martijn/progs/blender-git/blender/source/blender/blenkernel/intern/mesh.cc:1660 i = 1610612735 __for_range = @0x7fffcd5b8f60: {start_ = 1610612735, size_ = 4194304, static s_current_array_size = {<std::__atomic_base<long>> = {static _S_alignment = 8, _M_i = 1000}, static is_always_lock_free = true}, static s_current_array = {_M_b = {_M_p = 0x7fffcc269008}, static is_always_lock_free = <optimized out>}} __for_begin = {current_ = 1610612735} __for_end = {current_ = 1614807039} result = {min = {<blender::vec_struct_base<float, 3>> = {x = 3.40282347e+38, y = 3.40282347e+38, z = 3.40282347e+38}, static type_length = <optimized out>}, max = {<blender::vec_struct_base<float, 3>> = {x = -3.40282347e+38, y = -3.40282347e+38, z = -3.40282347e+38}, static type_length = <optimized out>}} me = @0x7fffcfd13858: 0x7fffcee17808 minmax = {min = {<blender::vec_struct_base<float, 3>> = {x = -nan(0x7fffff), y = -nan(0x7fffff), z = -230233088}, static type_length = <optimized out>}, max = {<blender::vec_struct_base<float, 3>> = {x = 3.68934859e+19, y = 3.68934859e+19, z = 0}, static type_length = <optimized out>}} #2 0x0000000004138660 in operator()(tbb::blocked_range<long> const&, Result const&) const (this=0x7fffcfd137e8, subrange=..., ident=...) at /home/martijn/progs/blender-git/blender/source/blender/blenlib/BLI_task.hh:85 function = @0x7fffcfd13868: {__me = @0x7fffcfd13858} - 3 0x000000000413942e in tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::operator()(tbb::blocked_range<long> &) (this=0x7fffc1eca758, range=...) at /home/martijn/progs/blender-git/lib/linux_centos7_x86_64/tbb/include/tbb/parallel_reduce.h:325 - 4 0x00000000041392e7 in tbb::interface9::internal::start_reduce<tbb::blocked_range<long int>, tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >, const tbb::auto_partitioner>::run_body(tbb::blocked_range<long> &) (this=0x7fffd1a8c440, r=...) at /home/martijn/progs/blender-git/lib/linux_centos7_x86_64/tbb/include/tbb/parallel_reduce.h:150 #5 0x0000000004139111 in tbb::interface9::internal::dynamic_grainsize_mode<tbb::interface9::internal::adaptive_mode<tbb::interface9::internal::auto_partition_type> >::work_balance<tbb::interface9::internal::start_reduce<tbb::blocked_range<long int>, tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >, const tbb::auto_partitioner>, tbb::blocked_range<long int> >(tbb::interface9::internal::start_reduce<tbb::blocked_range<long int>, tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >, const tbb::auto_partitioner> &, tbb::blocked_range<long> &) (this=0x7fffd1a8c468, start=..., range=...) at /home/martijn/progs/blender-git/lib/linux_centos7_x86_64/tbb/include/tbb/partitioner.h:438 range_pool = {my_head = 4 '\004', my_tail = 0 '\000', my_size = 5 '\005', my_depth = "\001\002\003\004\004\350b ", my_pool = {array = {{member = {member = {1677721599, 0}}}, {member = {member = {1644167167, 0}}}, {member = {member = {1024, 0}}}, {member = {member = {1644167167, 0}}}, {member = {member = {1627389951, 0}}}, {member = {member = {1024, 0}}}, {member = {member = {1627389951, 0}}}, {member = {member = {1619001343, 0}}}, {member = {member = {1024, 0}}}, {member = {member = {1619001343, 0}}}, {member = {member = {1614807039, 0}}}, {member = {member = {1024, 0}}}, {member = {member = {1614807039, 0}}}, {member = {member = {1610612735, 0}}}, {member = {member = {1024, 0}}}, {member = {member = {3517498448, 32767}}}, {member = {member = {3445330320, 32767}}}, {member = {member = {68396426, 0}}}, {member = {member = {3445330423, 32767}}}, {member = {member = {3517498448, 32767}}}, {member = {member = {3424671040, 32767}}}, {member = {member = {1024, 0}}}, {member = {member = {3445330368, 32767}}}, {member = {member = {68397371, 0}}}}}} - 6 0x0000000004138e14 in tbb::interface9::internal::partition_type_base<tbb::interface9::internal::auto_partition_type>::execute<tbb::interface9::internal::start_reduce<tbb::blocked_range<long int>, tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >, const tbb::auto_partitioner>, tbb::blocked_range<long int> >(tbb::interface9::internal::start_reduce<tbb::blocked_range<long int>, tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >, const tbb::auto_partitioner> &, tbb::blocked_range<long> &) (this=0x7fffd1a8c468, start=..., range=...) at /home/martijn/progs/blender-git/lib/linux_centos7_x86_64/tbb/include/tbb/partitioner.h:256 - 7 0x0000000004138c05 in tbb::interface9::internal::start_reduce<tbb::blocked_range<long int>, tbb::internal::lambda_reduce_body<tbb::blocked_range<long int>, BKE_mesh_minmax(const Mesh*, float*, float*)::Result, blender::threading::parallel_reduce<BKE_mesh_minmax(const Mesh*, float*, float*)::Result, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(blender::IndexRange, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >::<lambda(const tbb::blocked_range<long int>&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)>, BKE_mesh_minmax(const Mesh*, float*, float*)::<lambda(const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&, const BKE_mesh_minmax(const Mesh*, float*, float*)::Result&)> >, const tbb::auto_partitioner>::execute(void) (this=0x7fffd1a8c440) at /home/martijn/progs/blender-git/lib/linux_centos7_x86_64/tbb/include/tbb/parallel_reduce.h:190 - 8 0x0000000004b06c15 in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::process_bypass_loop(tbb::internal::context_guard_helper<false>&, tbb::task*, long) () - 9 0x0000000004b06ecb in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::local_wait_for_all(tbb::task&, tbb::task*) () - 10 0x0000000004af3f27 in tbb::internal::arena::process(tbb::internal::generic_scheduler&) () - 11 0x0000000004b00900 in tbb::internal::market::process(rml::job&) () - 12 0x0000000004b0293c in tbb::internal::rml::private_worker::run() () - 13 0x0000000004b02b39 in tbb::internal::rml::private_worker::thread_routine(void*) () #14 0x00007ffff7f3e609 in start_thread (arg=<optimized out>) at pthread_create.c:477 ret = <optimized out> pd = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736639006464, -315144192356607752, 140736670175806, 140736670175807, 140736670176000, 140736638719104, 315243942294493432, 315126496763877624}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = 0 #15 0x00007ffff78c7133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 ```
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

FYI: got a similar thin in #98359 (Regression: Crash switching to scene with LineArt).
That one I can reproduce (whereas this report I cant)

FYI: got a similar thin in #98359 (Regression: Crash switching to scene with LineArt). That one I can reproduce (whereas this report I cant)
Member

To me it looks like an access conflict. Let's see D14997

To me it looks like an access conflict. Let's see [D14997](https://archive.blender.org/developer/D14997)
Author
Member

In #98355#1364018, @ChengduLittleA wrote:
To me it looks like an access conflict. Let's see D14997

Sadly this doesn't help. With this patch applied it even crashed once on loading the crash.blend file. next time it did load, but still crashed when switching to edit mode.

> In #98355#1364018, @ChengduLittleA wrote: > To me it looks like an access conflict. Let's see [D14997](https://archive.blender.org/developer/D14997) Sadly this doesn't help. With this patch applied it even crashed once on loading the crash.blend file. next time it did load, but still crashed when switching to edit mode.
Author
Member
https://developer.blender.org/D15022 fixes it

This issue was referenced by ef59c8295f

This issue was referenced by ef59c8295f0e04630a0cebae3bd4552d50cae2ba
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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
9 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#98355
No description provided.