Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#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 Martin Sjölund, 9 years ago

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.

comment:2 by Martin Sjölund, 9 years ago

Component: *unknown*Frontend
Owner: changed from somebody to Martin Sjölund
Status: newaccepted

comment:3 by Henning Kiel, 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 Henning Kiel, 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 Henning Kiel, 9 years ago

Resolution: fixed
Status: acceptedclosed
Summary: Stack overflow in ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_80_M_80Stack overflow in ScalableTestSuite

comment:7 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.