Ticket #198 (closed bug: fixed)

Opened 13 years ago

Last modified 12 years ago

PIRC segfaults on particular sequences of code.

Reported by: kjs Owned by: kjs
Priority: normal Milestone:
Component: pirc Version:
Severity: fatal Keywords:
Cc: Language:
Patch status: Platform:


The following code segfaults when run with ./pirc -b -x

.sub main
    .local pmc i, f, t
    i = new "Integer"
    t = new "String"
    t = "hi there"
    say ''

.sub foo

When the assignment to t is commented out, it'll print "FixedIntegerArray", otherwise on windows it'll print some garbage strings (if you must know, it's:

= : : = : : \   = C : = C : \ c y g w i n \ h o m


Change History

Changed 12 years ago by kjs

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

the generated bytecode is now properly executed. No changes to PIRC were made, so it must have been something else. Cannot test it on Cygwin, since PIRC no longer builds there.

Note: See TracTickets for help on using tickets.