Front page | perl.perl5.porters |
Postings from March 2007
Re: perl_free problem
Thread Previous
From:
Dominic Dunlop
Date:
March 11, 2007 07:08
Subject:
Re: perl_free problem
Message ID:
B74326B2-66F4-4F16-887A-658901FB4E62@computer.org
I'll start by saying I don't know the answer to your problem, so I'll
try to help you find somebody who does, and to give them enough
information for diagnosis.
On 2007–03–11, at 06:50, Irene Ladyko wrote:
> It seems that if we create more than one interpreter we must delete
> them all at one place.
>
> Flat example:
> ...
> Exception is thrown in 29 line. If we comment 22, 23 line and
> uncomment 32
> and 33 lines, then all will be OK.
What kind of exception? Memory protection? From which function? If
possible, please follow up with a stack trace of your application at
the time the exception is thrown. How you get a stack trace depends
on your platform, which brings me to ...
What platform are you running on? Please include the output of perl -
V (making sure that the perl you run corresponds to the version that
you are embedding) in a follow-up.
>
> Questions: Please, point me to error in the code or propose method to
> delete interpreters separately.
You could also ask your question at <http://perlmonks.org>: someone
who contributes to that site, but who does not subscribe to perl5-
porters, may be able to help you.
Finally, if you think you have found a bug in Perl (at the moment you
do not sound sure, and I'm not sure either), please submit a summary
using the perlbug script that is part of the Perl distribution: this
logs it in our bug tracker and makes us feel (slightly) guilty if we
don't fix it.
--
Dominic Dunlop
Thread Previous