Opened 11 years ago

Closed 11 years ago

#2236 closed defect (fixed)

hierarchical connectors cause segfault

Reported by: anonymous Owned by: adeas31
Priority: blocker Milestone: 1.9.0
Component: OMEdit Version: trunk
Keywords: connector hierarchical segfault Cc:

Description

lets take for example this connector:

connector test
  Modelica.Electrical.Analog.Interfaces.PositivePin pin_p annotation(Placement(visible = true, transformation(origin = {54.6243,56.6474}, extent = {{-10,-10},{10,10}}, rotation = 0), iconTransformation(origin = {54.6243,56.6474}, extent = {{-10,-10},{10,10}}, rotation = 0)));
  Modelica.Electrical.Analog.Interfaces.NegativePin pin_n annotation(Placement(visible = true, transformation(origin = {57.2254,-45.3757}, extent = {{-10,-10},{10,10}}, rotation = 0), iconTransformation(origin = {57.2254,-45.3757}, extent = {{-10,-10},{10,10}}, rotation = 0)));
  annotation(Icon(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2})), Diagram(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2})));
end test;

add it to a model and try to connect it -> OMEdit will crash with a segfault.

(I use the nightlies (Debian/Ubuntu repository))

Change History (1)

comment:1 Changed 11 years ago by adeas31

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r16312.

Note: See TracTickets for help on using tickets.