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)

Changed 12 years ago by adabe588@…

comment:1 Changed 12 years ago by perost

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

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 Changed 12 years ago by sjoelund.se

  • Milestone set to 1.9.0
  • Priority changed from major to minor
Note: See TracTickets for help on using tickets.