Ticket #1701 (closed bug: fixed)

Opened 12 years ago

Last modified 11 years ago

.const string of a .local string that's been assigned to -> bus error

Reported by: hanekomu Owned by:
Priority: normal Milestone:
Component: none Version: 2.5.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: mac

Description (last modified by bacek) (diff)

.sub 'bus_error'
    .local string hello
    hello = "'Allo, 'allo, 'allo."
    .const string hello = "Hello, Polly."
    say hello
.end

produces a bus error on parrot 2.5.0-devel, Mac OS X 10.5.8.

Not assigning to the .local hello does not produce the bus error.

Change History

Changed 12 years ago by bacek

  • description modified (diff)

Changed 11 years ago by nwellnhof

  • status changed from new to closed
  • resolution set to fixed

This is partly fixed by r48765. But Parrot still doesn't check if n_regs_used in a PBC file is valid, so one can produce the same issue with a handcrafted PBC file. I will open a new ticket for that.

Changed 11 years ago by nwellnhof

Test case in r48766

Note: See TracTickets for help on using tickets.