Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3702 closed defect (fixed)

A case of immediate OMEdit Crash

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: blocker Milestone: 1.9.4
Component: OMEdit Version: v1.9.4-dev-nightly
Keywords: Cc:

Description

Tested with OM installed from today's night build:
OpenModelica-v1.9.4-dev.beta2-15-g2dbe6e3.exe

Steps to reproduce:
1) Open oMEdit
2) create a new model naming it "a"
3) In text mode delete the model "a" and paste the following model (from ticket #3698):
model Test

Integer N = 2;
Real x[N](each fixed = true);

equation

for i in 1:N loop

der(x[i]) = -x[i];

end for;
annotation(Icon(coordinateSystem(initialScale = 1)), Diagram);

end Test;
4) click on the save button => CRASH

Change History (4)

comment:1 by Adrian Pop, 9 years ago

Component: *unknown*OMEdit
Owner: changed from somebody to Adeel Asghar
Status: newassigned

It seems it dies here:

LibraryWidget::saveModelicaLibraryTreeItemHelper (this=0xeb5df40, pLibraryTreeIt                               em=0x0) at Modeling/LibraryTreeWidget.cpp:3208

Adeel, maybe you can have a look at it.

comment:2 by Adeel Asghar, 9 years ago

Resolution: fixed
Status: assignedclosed

Fixed in 0dba740/OMEdit.

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

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

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

Milestone: 1.9.4-1.9.x1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.