Opened 11 years ago

Closed 10 years ago

#2527 closed defect (worksforme)

OMEdit crash while component creation in a package

Reported by: gbrault@… Owned by: Adeel Asghar
Priority: critical Milestone: 1.9.1
Component: OMEdit Version: trunk
Keywords: Cc:

Description

  • OS: XP 3
  • OMEDIT r18569 1.9.1
  • package with separate files (but same with single file)

What happens:
after editing a component if we do the save action OMEDIT close without any warning (data often lost)

Work around:

  • Edit the component (only its window open)
  • Close the component window
  • Open the package (associated) window
  • save
  • Close the package window
  • Open the component window and start again editing

Change History (3)

comment:1 by gbrault@…, 11 years ago

This bug happens while using the connector Class.
If the package don't use any connector, OMEDIT works properly.
Notice first that when OMEDIT crashes, omc.exe image is not killed, multiple crashes results in a suite of omc.exe images running in the user session:

  • manual kill of those is necessary

To reproduce the bug:

  • create a package
  • create a connector with a flow
  • create a model using this connector

Very likely you get in trouble sooner or latter (just edit the model in text mode and save it. When adding equation with connector variables crashes are likely to happen)

When OMEDIT crashes without any message

comment:2 by Adeel Asghar, 11 years ago

Can you try the latest nightly build?
https://build.openmodelica.org/omc/builds/windows/nightly-builds/

I can't reproduce the bug. Moreover, I fixed few issues with connectors handling recently. May be the update will solve your problem.

comment:3 by Adeel Asghar, 10 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.