Opened 12 years ago

Closed 12 years ago

#2236 closed defect (fixed)

hierarchical connectors cause segfault

Reported by: anonymous Owned by: Adeel Asghar
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 by Adeel Asghar, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r16312.

Note: See TracTickets for help on using tickets.