bartoszek / AUR-blender-git

2 stars 2 forks source link

Crash on Cycles: Segfault #10

Closed sausix closed 2 years ago

sausix commented 2 years ago

Render device independend: CPU, CUDA, Optix. Affects render view and render process. Crashes on empty scene already. Eevee not affected.

Updated minutes ago: System up todate, current blender-git

Segmentation fault (core dumped)

/tmp/blender.crash.txt:

# Blender 3.2.0, Commit date: 2022-04-26 06:51, Hash 2492d9852bb3
bpy.context.scene.render.engine = 'BLENDER_EEVEE'  # Property
bpy.context.space_data.shading.type = 'RENDERED'  # Property
bpy.context.scene.render.engine = 'CYCLES'  # Property

# backtrace
blender(BLI_system_backtrace+0x38) [0x564f78ad8b48]
blender(+0xfc3961) [0x564f75ebc961]
/usr/lib/libc.so.6(+0x42560) [0x7f1281f4b560]
/usr/lib/libtbb.so.12(_ZN3tbb6detail2r119capture_fp_settingsERNS0_2d118task_group_contextE+0) [0x7f128feea640]
blender(_ZN3ccl9PathTrace10path_traceERNS_10RenderWorkE+0xf5) [0x564f7816b065]
blender(_ZN3ccl9PathTrace15render_pipelineENS_10RenderWorkE+0x66) [0x564f7816fbe6]
blender(_ZN3ccl9PathTrace6renderERKNS_10RenderWorkE+0x7f) [0x564f7816fcff]
blender(_ZN3ccl7Session20run_main_render_loopEv+0x15e) [0x564f780ed43e]
blender(_ZN3ccl7Session13thread_renderEv+0x49d) [0x564f780edfed]
blender(_ZN3ccl7Session10thread_runEv+0x8e) [0x564f780ee22e]
blender(_ZN3ccl6thread3runEPv+0x12) [0x564f781c6ad2]
/usr/lib/libstdc++.so.6(+0xd54d4) [0x7f12822d24d4]
/usr/lib/libc.so.6(+0x8d5c2) [0x7f1281f965c2]
/usr/lib/libc.so.6(clone+0x44) [0x7f128201b584]
mysticfall commented 2 years ago

A clean up stacktrace:

libtbb.so.12!tbb::detail::r1::capture_fp_settings(tbb::detail::d1::task_group_context&) 
ccl::PathTrace::path_trace(ccl::RenderWork&) 
ccl::PathTrace::render_pipeline(ccl::RenderWork) 
ccl::PathTrace::render(ccl::RenderWork const&) 
ccl::Session::run_main_render_loop() 
ccl::Session::thread_render() 
ccl::Session::thread_run() 
ccl::thread::run(void*) 
libstdc++.so.6!std::execute_native_thread_routine(void * __p) (/usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82)
libc.so.6!start_thread 
libc.so.6!clone

I just reported it on the upstream tracker: https://developer.blender.org/T97651

sausix commented 2 years ago

Fixed upstream: https://developer.blender.org/rB3558f565f1e8a8e5dc49067cc0500cbf993af69e

Just recompile blender-git