﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2068	Segfault (Stackoverflow?) when bootstrapping omc	Christoph Höger	Martin Sjölund	"Hi all,

I try to compile omc using the bootstrap from tarball method.

In the second run (bootstrap from build/) omc segfaults after ~ 12m

It looks alot like a stack overflow in 

omc_SimCodeUtil_elaborateRecordDeclarationsForMetarecords

(gdb) frame
#0  0x0000000001219268 in omc_SimCodeUtil_elaborateRecordDeclarationsForMetarecords (_inExpl=<error reading variable: Cannot access memory at address 0x7fffff7fefe8>, 
    _inAccRecordDecls=<error reading variable: Cannot access memory at address 0x7fffff7fefe0>, _inReturnTypes=<error reading variable: Cannot access memory at address 0x7fffff7fefd8>) at Main_main2.c:1444347
1444347	{


The rest of the stack-trace contains > 14000 entries. I leave out the coredump for now since it's ~ 2.4GB. Just let me know where to put it, if it helps.
"	defect	closed	high	1.9.0	MetaModelica	trunk	fixed		Adrian Pop
