#1833: Incompatible bytecode error lacks important information
--------------------+-------------------------------------------------------
Reporter: moritz | Owner:
Type: bug | Status: reopened
Priority: normal | Milestone:
Component: core | Version: 2.8.0
Severity: medium | Resolution:
Keywords: gci | Lang:
Patch: | Platform: all
--------------------+-------------------------------------------------------
Comment(by nwellnhof):
This is probably triggered when linking against an incompatible libparrot
and thawing the config hash in Parrot_gbl_set_config_hash_interpreter() in
src/global_setup.c which happens pretty early in init_world(). plobsing
noted on IRC:
"And the solution to making that error easier to debug would be (a) to
have access to a C level backtrace or (b) for it to be possible to handle
exceptions from c (so Parrot_gbl_set_config_hash_interpreter() could spit
out something intelligent about the situation)."
As a quick work around, we could also directly test the version of the
config_hash before thawing. But I can't find a way to read
PARROT_PBC_MAJOR and PARROT_PBC_MINOR from libparrot.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1833#comment:7>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets