New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak in nested shared data structures in 5.8.4 #7342
Comments
From perlbug@ericgarland.comCreated by perlbug@ericgarland.comThe following code snippet leaks memory. I've tested it use threads; share (@q); while (1) { I'm using a shared array stored as element 0 of another shared I'm using a nested shared array which may not be supported. I also tried accomplishing the same task with the shared array use threads; share (%q); while (1) { Perl Info
|
From perlbug@ericgarland.com
Oops. I typo'd that. use threads; share (%q); while (1) { FYI, I've tested both scripts on ActivePerl 5.8.4. They both leak there |
perlbug@ericgarland.com - Status changed from 'new' to 'open' |
From @iabynOn Sun, Jun 06, 2004 at 05:04:34AM -0000, Eric Garland wrote:
Thanks for the report. I've fixed it with the patch below to the P5Pers: You may remember that there was a refcount bug with version objects, which Well, it turns out that threads.xs has the same bug, and its usage of if (!newsv) Since this has now cropped up 3 times, I've made an executive decision Dave. -- Change 23320 by davem@davem-percy on 2004/09/12 22:09:51 [perl #30066] Memory leak in nested shared data structures in 5.8.4 Affected files ... ... //depot/perl/sv.c#762 edit Differences ... ==== //depot/perl/sv.c#762 (text) ==== @@ -1756,6 +1756,7 @@ |
@iabyn - Status changed from 'open' to 'resolved' |
From perl5porters@ericgarland.comThanks Dave! You da man! Hopefully this will fix the general I have no idea how to download the current development tree for Thanks again. -Eric
|
From perl5porters@ericgarland.comI should say is there any chance of getting it in 5.8.6 since -Eric Eric Garland wrote:
|
From @iabynOn Thu, Sep 16, 2004 at 02:20:49PM -0400, Eric Garland wrote:
Well, that's up to the release manager for the 5.8.x branch, Nicholas; Dave. -- |
Migrated from rt.perl.org#30066 (status was 'resolved')
Searchable as RT30066$
The text was updated successfully, but these errors were encountered: