Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1773 closed defect (fixed)

Array<Integer> arr := {1,2,3} causes a segfault when arr is passed to a function

Reported by: adabe588@… Owned by: somebody
Priority: normal Milestone: 1.9.0
Component: Backend Version:
Keywords: Cc:

Description

See attachment for reproduction and more details

Attachments (1)

Array2.zip (765 bytes ) - added by adabe588@… 12 years ago.

Download all attachments as: .zip

Change History (3)

by adabe588@…, 12 years ago

Attachment: Array2.zip added

comment:1 by Per Östlund, 12 years ago

Resolution: fixed
Status: newclosed

This has been fixed in r12518. For some reason we returned UNBOUND if we got a type mismatch for a binding, instead of failing. So the array lost it's binding, which resulted in a segfault. Now we print the proper errors and stop the instantiation instead.

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

Milestone: 1.9.0
Priority: majorminor
Note: See TracTickets for help on using tickets.