﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
439	Segmentation fault with local structs	Jorge	Víctor de Buen Remiro	"Try the following code:

Set s1 = {
  Struct strA {
    Text tt
  };
  strA(""aa"")
};

Set View([[s1]], ""Std"");

A segmentation fault is generated when ejecuting ""View"", the same happens when doing 

Text StructName(s1);

It seems to be related with Struct strA being local. It could be related to other bugs in tolbase/toltcl because when a doing tol::forallchild if an item of a Set is an structured Set the following is executed for that item:

ptrSet->Struct()->Name();

and that expresion will fail if the Struct does not exists, ie. point to an invalid address."	defect	closed	highest		SetAlgebra	head	critical	fixed		
