Ticket #1034 (closed bug: fixed)
attempt to access code outside of current code segment
Reported by: | coke | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | trunk |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
See the Original report.
This PIR errors on exit:
$ cat tclsh.pir .sub _main :main .param pmc argv load_bytecode 'tcllib.pir' push_eh file_error $P1 = find_name '&lsort' $P1() file_error: pop_eh .end $ cat tcllib.pir .sub '&lsort' .local pmc compare compare = find_name 'intlike' $P0 = new 'ResizablePMCArray' $P0[0] = 1 $P0[1] = 1 $P0.'sort'(compare) .end .sub 'intlike' die 'expected foo' .end $ ./parrot tclsh.pir attempt to access code outside of current code segment
Note that adding an 'exit 0' before the .end in the first file avoids the error.
Change History
Note: See
TracTickets for help on using
tickets.