#1686: Null PMC access in find_method('signature') using Digest/MD5 from rakudo
-----------------------------------+----------------------------------------
Reporter: cosimo | Type: bug
Status: new | Priority: normal
Milestone: | Component: none
Version: 2.5.0 | Severity: medium
Keywords: find_method signature | Lang: perl6
Patch: | Platform: linux
-----------------------------------+----------------------------------------
Comment(by cosimo):
I've been trying to track down what happens here, and I managed to narrow
the problem space a little bit. My `Digest::MD5.md5_hex` function wants to
use two parrot library functions:
* _md5sum()
* _md5_hex()
Of these ones, only `_md5sum()` fails, while I can definitely use
`_md5_hex()` just fine.
In my total ignorance, I relate `find_method('signature')` to some sort of
process by which parrot has to figure out the signature of the function
being called.
So my probably bogus speculation is: since `_md5sum()` returns a pmc that
is a `FixedIntegerArray`, there's something that breaks when returning
that sort of pmc, while for regular strings it works just fine
(`_md5_hex`).
...
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1686#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets