Page MenuHome

Segfault pasting stale driver.
Confirmed, NormalPublic

Description

System Information
Operating system: Linux
Graphics card: Intel

Blender Version
Broken: 2.92

Short description of error

Drives copied and pasted with significant change in file data in between can trigger segfaults.

# Blender 2.92.0, Commit date: 2021-02-24 16:25, Hash 02948a2cab44

# backtrace
blender(BLI_system_backtrace+0x34) [0x55dfd70fd084]
blender(+0xe151bd) [0x55dfd4bd41bd]
/usr/lib/libc.so.6(+0x3cf80) [0x7f9b26870f80]
blender(_ZN7blender3deg20DepsgraphNodeBuilder26build_object_data_geometryEP6Objectb+0x170) [0x55dfd7000380]
blender(_ZN7blender3deg20DepsgraphNodeBuilder17build_object_dataEP6Objectb+0x54) [0x55dfd6ffb4b4]
blender(_ZN7blender3deg20DepsgraphNodeBuilder12build_objectEiP6ObjectNS0_26eDepsNode_LinkedState_TypeEb+0x1d3) [0x55dfd6ffe2c3]
blender(_ZN7blender3deg20DepsgraphNodeBuilder22build_driver_variablesEP2IDP6FCurve+0x77) [0x55dfd6ffad87]
blender(_ZN7blender3deg20DepsgraphNodeBuilder14build_animdataEP2ID+0x1f9) [0x55dfd6ffe8b9]
blender(_ZN7blender3deg20DepsgraphNodeBuilder12build_objectEiP6ObjectNS0_26eDepsNode_LinkedState_TypeEb+0x228) [0x55dfd6ffe318]
blender(_ZN7blender3deg20DepsgraphNodeBuilder16build_view_layerEP5SceneP9ViewLayerNS0_26eDepsNode_LinkedState_TypeE+0xb2) [0x55dfd7003892]
blender(_ZN7blender3deg23AbstractBuilderPipeline16build_step_nodesEv+0x76) [0x55dfd6fea296]
blender(_ZN7blender3deg23AbstractBuilderPipeline5buildEv+0x42) [0x55dfd6fea4b2]
blender(DEG_graph_build_from_view_layer+0x33) [0x55dfd6fd24e3]
blender(+0xef501a) [0x55dfd4cb401a]
blender(wm_event_do_depsgraph+0xc5) [0x55dfd4f59245]
blender(wm_event_do_refresh_wm_and_depsgraph+0x92) [0x55dfd4f593b2]
blender(wm_event_do_notifiers+0x36a) [0x55dfd4f6055a]
blender(WM_main+0x2b) [0x55dfd4f5532b]
blender(main+0x367) [0x55dfd4b9da67]
/usr/lib/libc.so.6(__libc_start_main+0xd5) [0x7f9b2685bb25]
blender(_start+0x2e) [0x55dfd4bd056e]

# Python backtrace

Exact steps for others to reproduce the error

  • Add a custom property to the Scene.
  • Right click on its value field, and run "Copy as New Driver".
  • Run CTRL+N or "File" —> "New" —> "General".
  • Right click on any value field, and run "Paste Driver".

Event Timeline