Opened 6 years ago
Closed 3 years ago
#5397 closed defect (fixed)
Opening a model crashes OM 13.1 because of Inst->Static->Lookup->Inst loop started from getInheritedClasses
Reported by: | massimo ceraolo | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | blocker | Milestone: | 1.19.0 |
Component: | Interactive Environment | Version: | v1.13.0 |
Keywords: | Cc: | Per Östlund |
Description
Using Omedit 13.1 for win (64 bit) I tried to open a model from the FCSys library :
https://github.com/kdavies4/FCSys/releases/tag/v0.2.6
My OMEdit crashes if I try to open:
FCSys.SubRegions.Examples.InternalFlow
This occurs using both old and new Front Ends
Attachments (2)
Change History (18)
comment:1 by , 6 years ago
Priority: | high → blocker |
---|
comment:2 by , 6 years ago
Status: | new → accepted |
---|
comment:3 by , 6 years ago
Cc: | added |
---|---|
Component: | OMEdit → Interactive Environment |
Owner: | changed from | to
Status: | accepted → assigned |
Run the attached script. OMC goes into a loop and then crashes.
by , 6 years ago
Attachment: | script.mos added |
---|
comment:4 by , 6 years ago
Yeah, is a loop in the old front-end instantiation Inst->Static->Lookup->Inst started from getInheritedClasses. I'll see what I can do, probably we would need to use the NF for this.
comment:5 by , 6 years ago
comment:6 by , 6 years ago
Summary: | Open a model crashes OM 13.1 → Opening a model crashes OM 13.1 because of Inst->Static->Lookup->Inst loop started from getInheritedClasses |
---|
comment:7 by , 5 years ago
Milestone: | 1.14.0 → 1.15.0 |
---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2.
This issue, previously marked as blocker for 1.14.0, is rescheduled to 1.15.0
comment:8 by , 4 years ago
Milestone: | 1.15.0 → 1.16.0 |
---|
Release 1.15.0 was scrapped, because replaceable support eventually turned out to be more easily implemented in 1.16.0. Hence, all 1.15.0 tickets are rescheduled to 1.16.0
comment:9 by , 4 years ago
OpenModelica-v1.16.0-dev.03-64bit is crashing on me when I try to open the modelica.media.air library.
follow-up: 11 comment:10 by , 4 years ago
OpenModelica-v1.16.0-dev-613-g77246831b3-64bit also crashes when I try to open the modelica.media.air library.
comment:11 by , 4 years ago
Replying to Michael Schuh <OpenModelica@…>:
OpenModelica-v1.16.0-dev-613-g77246831b3-64bit also crashes when I try to open the modelica.media.air library.
This is a known issue, see #5669
comment:16 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Using the new NF API (which is now the default) there doesn't seem to be any issues opening models in FCSys anymore.
I tried with the latest 1.14.0-dev nightly build, and in fact as soon as I tried to expand the FCSys package tree in the libraries browser, OMEdit crashes. It does it so badly that it doesn't even ask to send a bug report, just disappears from the radar screen.
I guess we should understand why this happens. As soon as @adrpo has pushed in the new API, we may also try that.