Ticket #1812 (assigned bug) — at Version 2

Opened 11 years ago

Last modified 11 years ago

Less Than Awesome error message when new Rakudo tries to run on old Parrot

Reported by: masak Owned by: plobsing
Priority: normal Milestone:
Component: none Version: 2.8.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description (last modified by masak) (diff)

<masak> "PackFile header failed during unpack"
<masak> I just want to emphasize how much that error message,
meaning "wrong Parrot for this Rakudo", sucks.
<jnthn> masak: That probably needs to be a Parrot chnage, since it's
before Rakudo gets chance to take control and have its way with things.
<jnthn> masak: But I agree it's not clear at all to 99% of people.
<masak> I'll see about submitting a parrotbug.

Change History

Changed 11 years ago by plobsing

  • status changed from new to assigned
  • owner set to plobsing

If a newer parrot cannot read a PBC generated by an older parrot, there should be a PBC_COMPAT difference, which can and should be identified and raise a better error.

Either there was a change that didn't get an appropriate bump, or we're not looking at the PBC_COMPAT number early enough in the pbc decoder.

Can you submit the revs of both the compile-time and run-time parrots? If the old parrot is no longer available (and you don't remember the rev), the first couple hundred bytes of the PBC hexdumped might also be useable.

Changed 11 years ago by masak

  • description modified (diff)
Note: See TracTickets for help on using tickets.