#3863 closed defect (fixed)
Stack overflow in ScalableTestSuite
Reported by: | Henning Kiel | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Frontend | Version: | v1.10.0-dev-nightly |
Keywords: | Cc: | Martin Sjölund |
Description ¶
Stack overflow detected and was not caught. Send us a bug report at https://trac.openmodelica.org/OpenModelica/newticket Include the following trace: [bt] #1 libOpenModelicaRuntimeC.dylib(mmc_setStacktraceMessages_threadData) [bt] #2 libOpenModelicaCompiler.dylib(FNode.child) [bt] #3 libOpenModelicaCompiler.dylib(FNode.refInstVar) [bt] #4 libOpenModelicaCompiler.dylib(Lookup.lookupVar2) [bt] #5 libOpenModelicaCompiler.dylib(Lookup.lookupConnectorVar2) [bt] #6 libOpenModelicaCompiler.dylib(Lookup.lookupConnectorVar) [bt] #7...1024 libOpenModelicaCompiler.dylib(InstUtil.splitConnectEquationsExpandable) [bt] #1025 [...]
Change History (7)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Component: | *unknown* → Frontend |
---|---|
Owner: | changed from | to
Status: | new → accepted |
comment:3 by , 9 years ago
Can the ScalableTestSuite be started again? Last run is from 2016-04-20.
We might close this ticket then...
comment:5 by , 9 years ago
Seems to be fixed.
Another stack overflow in BackendDAEUtil.adjacencyMatrixDispatchEnhancedScalar (from ScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_2560):
[bt] #1 libOpenModelicaRuntimeC.dylib(mmc_setStacktraceMessages_threadData)
...
[bt] #17 libOpenModelicaCompiler.dylib(BackendDAEUtil.tryToSolveOrDerive)
[bt] #18...21 libOpenModelicaCompiler.dylib(BackendDAEUtil.adjacencyRowEnhanced1)
[bt] #22 libOpenModelicaCompiler.dylib(BackendDAEUtil.adjacencyRowEnhanced)
[bt] #23...1024 libOpenModelicaCompiler.dylib(BackendDAEUtil.adjacencyMatrixDispatchEnhancedScalar)
[bt] #1025 [...]
comment:6 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Summary: | Stack overflow in ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_80_M_80 → Stack overflow in ScalableTestSuite |
Should be quite easy to rewrite InstUtil.splitConnectEquationsExpandable. First check the condition (do not check System.getHasExpandableConnectors() in every iteration). Then it's actually just a list splitting.