Opened 10 years ago

Closed 10 years ago

#2813 closed defect (fixed)

Nested for-loops over lists segfaults

Reported by: Per Östlund Owned by: Martin Sjölund
Priority: high Milestone: 1.9.1
Component: MetaModelica Version: trunk
Keywords: Cc:

Description

Calling this function results in a segfault, even if nothing is done inside the for-loops:

function test
protected
  list<Integer> l1, l2;
algorithm
  l1 := {1, 2, 3};
  l2 := {4, 5, 6};

  for e1 in l1 loop
    for e2 in l2 loop
    end for;
  end for;
end test;

Change History (3)

comment:1 by Martin Sjölund, 10 years ago

Status: newassigned

comment:2 by Martin Sjölund, 10 years ago

Milestone: Bootstrapping1.9.1

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

Resolution: fixed
Status: assignedclosed

Fixed in r22270.

Note: See TracTickets for help on using tickets.