#3766 closed task (fixed)
OMEdit crashes, when you move marked models
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | OMEdit | Version: | v1.9.4-v1.9.x |
Keywords: | Crash, Move Models | Cc: |
Description
When I mark several models on the diagram layer at the same time and try to move them, OMEdit crashes with the news:
"OMEdit funktioniert nicht mehr."
"Problemsignatur:
Problemereignisname: APPCRASH
Anwendungsname: OMEdit.exe
Anwendungsversion: 0.0.0.0
Anwendungszeitstempel: 56e08098
Fehlermodulname: QtGui4.dll
Fehlermodulversion: 4.8.0.0
Fehlermodulzeitstempel: 4ee5999c
Ausnahmecode: c0000005
Ausnahmeoffset: 000085e2
Betriebsystemversion: 6.1.7601.2.1.0.256.48
Gebietsschema-ID: 1031
Zusatzinformation 1: bc20
Zusatzinformation 2: bc206843e95134566213bc14a6939946
Zusatzinformation 3: 6d7b
Zusatzinformation 4: 6d7b5b1385bbbcc747ad658d402c8f91"
Attachments (1)
Change History (5)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
I mark them by drawing a square with the mousepointer over all models. Then, when they are all marked with little red dots, i point at heatcapacitor1 and try to move the whole bunch a bit.
It crashes immediately.
(Unfortunately can´t upload screenshot get this error: "IndexError: pop from empty list")
Sample Model:
model testTemp
parameter Real Tumg = 22.5;
Modelica.Thermal.HeatTransfer.Sources.FixedTemperature fixedtemperature1(T = Tumg) annotation(Placement(visible = true, transformation(origin = {40, -36}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Components.ThermalResistor thermalresistor1(R = 1.72174 - 0.1177) annotation(Placement(visible = true, transformation(origin = {-54, 34}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Components.ThermalResistor thermalresistor3(R = 0.1087) annotation(Placement(visible = true, transformation(origin = {32, 34}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Components.ThermalResistor thermalresistor4(R = 0.805) annotation(Placement(visible = true, transformation(origin = {60, 34}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Components.ThermalResistor thermalresistor2(R = 0.35652) annotation(Placement(visible = true, transformation(origin = {-14, 34}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow fixedheatflow1(Q_flow = 15, T_ref = Tumg) annotation(Placement(visible = true, transformation(origin = {-84, 34}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Components.HeatCapacitor heatCapacitor1(C = 249, T(fixed = true, start = Tumg)) annotation(Placement(visible = true, transformation(origin = {-64, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Components.HeatCapacitor heatCapacitor2(C = 67, T(fixed = true, start = Tumg)) annotation(Placement(visible = true, transformation(origin = {-24, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Components.HeatCapacitor heatCapacitor3(C = 316.5, T(fixed = true, start = Tumg)) annotation(Placement(visible = true, transformation(origin = {22, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Components.HeatCapacitor heatCapacitor4(C = 170, T(fixed = true, start = Tumg)) annotation(Placement(visible = true, transformation(origin = {50, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow fixedheatflow2(Q_flow = 17, T_ref = Tumg) annotation(Placement(visible = true, transformation(origin = {24, -2}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Components.ThermalResistor thermalresistor5(R = 0.1177) annotation(Placement(visible = true, transformation(origin = {-74, -4}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Sources.FixedHeatFlow fixedheatflow3(Q_flow = 8, T_ref = Tumg) annotation(Placement(visible = true, transformation(origin = {-74, -38}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Thermal.HeatTransfer.Components.HeatCapacitor heatCapacitor5(C = 44, T(fixed = true, start = Tumg)) annotation(Placement(visible = true, transformation(origin = {-92, 14}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
connect(heatCapacitor5.port, thermalresistor5.port_a) annotation(Line(points = {{-92, 4}, {-92, -4}, {-84, -4}}, color = {191, 0, 0}));
connect(thermalresistor5.port_b, thermalresistor1.port_a) annotation(Line(points = {{-64, -4}, {-64, 34}}, color = {191, 0, 0}));
connect(fixedheatflow3.port, thermalresistor5.port_a) annotation(Line(points = {{-64, -38}, {-64, -20}, {-84, -20}, {-84, -4}}, color = {191, 0, 0}));
connect(fixedheatflow2.port, thermalresistor3.port_b) annotation(Line(points = {{34, -2}, {42, -2}, {42, 34}}, color = {191, 0, 0}));
connect(heatCapacitor1.port, thermalresistor1.port_a) annotation(Line(points = {{-64, 60}, {-64, 60}, {-64, 34}, {-64, 34}}, color = {191, 0, 0}));
connect(heatCapacitor2.port, thermalresistor2.port_a) annotation(Line(points = {{-24, 60}, {-24, 60}, {-24, 34}, {-24, 34}}, color = {191, 0, 0}));
connect(heatCapacitor3.port, thermalresistor3.port_a) annotation(Line(points = {{22, 60}, {22, 60}, {22, 34}, {22, 34}}, color = {191, 0, 0}));
connect(thermalresistor3.port_b, heatCapacitor4.port) annotation(Line(points = {{42, 34}, {50, 34}, {50, 60}, {50, 60}}, color = {191, 0, 0}));
connect(thermalresistor4.port_b, fixedtemperature1.port) annotation(Line(points = {{70, 34}, {88, 34}, {88, -36}, {50, -36}, {50, -36}}, color = {191, 0, 0}));
connect(thermalresistor3.port_b, thermalresistor4.port_a) annotation(Line(points = {{42, 34}, {50, 34}, {50, 34}, {50, 34}}, color = {191, 0, 0}));
connect(thermalresistor2.port_b, thermalresistor3.port_a) annotation(Line(points = {{-4, 34}, {22, 34}, {22, 34}, {22, 34}}, color = {191, 0, 0}));
connect(thermalresistor1.port_b, thermalresistor2.port_a) annotation(Line(points = {{-44, 34}, {-24, 34}, {-24, 34}, {-24, 34}}, color = {191, 0, 0}));
connect(fixedheatflow1.port, thermalresistor1.port_a) annotation(Line(points = {{-74, 34}, {-64, 34}, {-64, 34}, {-64, 34}}, color = {191, 0, 0}));
annotation(experiment(StartTime = 0, StopTime = 5000, Tolerance = 1e-6, Interval = 1));
end testTemp;
comment:3 by , 9 years ago
Milestone: | Future → 1.10.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in 6ca8c1c/OMEdit.
Could you provide a sample model? How are you marking the components? Are you moving the marked components with mouse or keyboard?