Opened 9 years ago

Closed 3 years ago

Last modified 3 years ago

#3593 closed defect (fixed)

Segfault when combining generic types, arrays and scripts

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

Description

The attached script segfaults. The issue seems to be using a uniontype containing an array, when the uniontype is inherited from a base package. Calling the function from a model instead of a script works fine. GDB isn't very helpful, it just says it dies at longjmp.

Attachments (1)

test.mos (726 bytes ) - added by Per Östlund 9 years ago.

Download all attachments as: .zip

Change History (4)

by Per Östlund, 9 years ago

Attachment: test.mos added

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

I believe this is a problem with -d=evalfunc doing something... weird... for array variables (-d=noevalfunc works fine).

comment:2 by Per Östlund, 3 years ago

Resolution: fixed
Status: newclosed

Seems to work fine now.

comment:3 by Francesco Casella, 3 years ago

Milestone: Future1.19.0
Note: See TracTickets for help on using tickets.