#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 |
----------------------+-----------------------------------------------------
Old description:
> During make, the following occurs
>
> {{{
> Invoking Parrot to generate runtime/parrot/include/config.fpmc --cross
> your fingers
>
> ./miniparrot config_lib.pasm > runtime/parrot/include/config.fpmc
> Segmentation fault
>
> make: *** [runtime/parrot/include/config.fpmc] Error 139
>
> theck...@pegasus:~/code/parrot$ uname -a
>
> Linux pegasus 2.6.24-23-generic #1 SMP Thu Nov 27 18:13:46 UTC 2008
> x86_64 GNU/Linux
>
> theck...@pegasus:~/code/parrot$ svn info
>
> Path: .
>
> URL: https://svn.perl.org/parrot/trunk
>
> Repository Root: https://svn.perl.org/parrot
>
> Repository UUID: d31e2699-5ff4-0310-a27c-f18f2fbe73fe
>
> Revision: 35610
>
> Node Kind: directory
>
> Schedule: normal
>
> Last Changed Author: Whiteknight
>
> Last Changed Rev: 35604
>
> Last Changed Date: 2009-01-15 17:28:28 -0500 (Thu, 15 Jan 2009)
>
> theck...@pegasus:~/code/parrot$ perl -v
>
> This is perl, v5.8.8 built for x86_64-linux-gnu-thread-multi
>
> Copyright 1987-2006, Larry Wall
>
> Perl may be copied only under the terms of either the Artistic License or
> the
> GNU General Public License, which may be found in the Perl 5 source kit.
>
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using "man perl" or "perldoc perl". If you have access to
> the
> Internet, point your browser at http://www.perl.org/, the Perl Home Page.
>
> }}}
New description:
I've just temporarily applied an equivalent patch to
packfilefixupentry.pmc, in the hopes that it will make tomorrow's release
go more smoothly. In the meantime, this is still an issue and I'm worried
that it points to something wrong in the parrot internals.
--
Comment(by Infinoid):
Replying to [comment:8 TiMBuS]:
> Got it working for me. Tracked it down using a whole lot of svn checking
out and diffing.
>
> 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.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/179#comment:10>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets