Bug #1828

Simulation cloning might lead to segfault if SampleBuiler present

Added by pospelov over 3 years ago. Updated over 3 years ago.

Status:ResolvedStart date:25 Jul 2017
Priority:NormalDue date:
Assignee:pospelov% Done:


Target version:Sprint 35


This is happening in the context of PyExportTest, but can happen in the following scenario:
1. Create simulation containing SampleBuilder.
2. Clone simulation.
3. Run original simulation.

SampleBuilder is INode and shared_ptr at the same time. Cloning of the simulation containing SampleBuilder leads to the broken parent/child relationship for clone's origin.
Provide SampleContainer which will wrap MultiLayer/SampleBuilder to avoid this problem.


#1 Updated by pospelov over 3 years ago

  • Assignee set to pospelov

#2 Updated by pospelov over 3 years ago

  • Status changed from Sprint to Resolved

Also available in: Atom PDF