Ticket #756 (closed bug: fixed)
invalid PMC causes bus error with const.
Reported by: | coke | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Version: | trunk |
Severity: | high | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
This PIR causes a bus error (note that the specified PMC type doesn't exist.)
.sub foo :main .const 'StringArray' foo = "bar" $S0 = foo[2] say $S0 .end .sub bar :immediate $P1 = new 'StringArray' $P1 = 4 $P1[0] = 'a' $P1[1] = 'b' $P1[2] = 'c' $P1[3] = 'd' .end
Change History
Note: See
TracTickets for help on using
tickets.