#179: segfault generating runtime/parrot/include/config.fpmc Revision 35610 on
linux
----------------------+-----------------------------------------------------
Reporter: theckman | Owner: rurban
Type: bug | Status: assigned
Priority: normal | Milestone:
Component: none | Version:
Severity: medium | Keywords:
Lang: | Patch:
Platform: linux |
----------------------+-----------------------------------------------------
Comment(by Infinoid):
Replying to [comment:8 TiMBuS]:
> In ''src/pmc/packfilefixupentry.pmc'', the following method:
> {{{
> METHOD get_type()
> }}}
> Was simply declared in previous revisions as
> {{{
> INTVAL get_type()
> }}}
>
> I figure this was causing some kind of incorrect int size issue or..
something. I just altered it to
> {{{
> INTVAL METHOD get_type()
> }}}
> and it now works. Hope this helps.
That's ... interesting. What your patch actually does is prevent the
get_type() method from ever being implemented, as it no longer parses
correctly. I don't know why this would cause segfaults in miniparrot, but
I'll ask the list.
(As an aside, I can see I'm not testing .get_type() properly, as the patch
doesn't trigger any test failures.)
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/179#comment:9>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets