Opened 12 years ago

Closed 12 years ago

#2089 closed defect (fixed)

OMEdit loses connection to OMC if opening Modelica.Media.Examples

Reported by: leo.gall@… Owned by: Adrian Pop
Priority: high Milestone: 1.9.0
Component: Frontend Version: trunk
Keywords: Cc: Adrian Pop, Martin Sjölund

Description

System:
OpenModelica 1.9.0 beta4 + dev r15322
Windows 7 64bit

If I try to open the MSL component tree in the component browser, it works for
Modelica.Media

but as soon as I click on
Modelica.Media.Examples

OMEdit stops to work and keeps opening a pop up window (see attachment).

Is this a known crash?

Attachments (3)

OMEdit.png (19.2 KB ) - added by leo.gall@… 12 years ago.
Screenshot
openmodelica.omc.output.OMEdit (4.3 KB ) - added by Adeel Asghar 12 years ago.
OMC output
getComponents.log (677.0 KB ) - added by Martin Sjölund 12 years ago.

Download all attachments as: .zip

Change History (9)

by leo.gall@…, 12 years ago

Attachment: OMEdit.png added

Screenshot

by Adeel Asghar, 12 years ago

OMC output

comment:1 by Adeel Asghar, 12 years ago

Cc: Adrian Pop Martin Sjölund added
Component: OMEditFrontend
Owner: changed from Adeel Asghar to somebody

The problem is with Modelica.Media.Examples.SimpleLiquidWater model. Whenever OMEdit calls

getComponents(Modelica.Media.Examples.SimpleLiquidWater, useQuotes = true)

OMC crashes.

I have attached the OMC output file.

by Martin Sjölund, 12 years ago

Attachment: getComponents.log added

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

Attached a more detailed backtrace (produced by the bootstrapped omc)

comment:3 by anonymous, 12 years ago

Hello,
I experience the same problem. When expanding the tree Modelica.Media.Examples, OMEdit looses the connection to OMC and crashes.
debian 6.0.6; OpenModelica 1.9.0 beta4 + dev r15322
al

comment:4 by Martin Sjölund, 12 years ago

Summary: OMEdit looses connection to OMC if opening Modelica.Media.ExamplesOMEdit loses connection to OMC if opening Modelica.Media.Examples

comment:5 by Adrian Pop, 12 years ago

Owner: changed from somebody to Adrian Pop
Status: newaccepted

comment:6 by Adrian Pop, 12 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in r15902.

Note: See TracTickets for help on using tickets.