Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #32450] [PATCH] core dump of japh16

2 views
Skip to first unread message

Bernhard Schmalhofer

unread,
Nov 15, 2004, 4:54:46 PM11/15/04
to bugs-bi...@rt.perl.org
# New Ticket Created by Bernhard Schmalhofer
# Please include the string: [perl #32450]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=32450 >


Hi,

since a couple of days the example japh16 is dumping core on my Linux
machine.
It looks like there was a free on a NULL, when cleaning up packfile
segments. The attached patch checks wether there is a fixup table in the
seqment.

I'm not sure about the validity of this patch. Perhaps there has to be a
fixup table.
Unfortunately I have no idea what a fixup table does.

CU, Bernhard

--
/* Bernhard.S...@biomax.de */

Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++

japh16_20041115.patch

Leopold Toetsch

unread,
Nov 16, 2004, 4:01:28 AM11/16/04
to perl6-i...@perl.org
Bernhard Schmalhofer <parrotbug...@parrotcode.org> wrote:

> since a couple of days the example japh16 is dumping core on my Linux
> machine.
> It looks like there was a free on a NULL, when cleaning up packfile
> segments. The attached patch checks wether there is a fixup table in the
> seqment.

> I'm not sure about the validity of this patch. Perhaps there has to be a
> fixup table.

It's fine.

> Unfortunately I have no idea what a fixup table does.

The fixup table is a list of global Sub PMCs. These are coming from he
packfile with relative start offsets to the beginning of their packfile.
During fixup, these offsets are converted to absolute bytecode
addresses.

> CU, Bernhard

Thanks, applied.
leo

0 new messages