develooper Front page | perl.perl5.porters | Postings from September 2011

[perl #98204] Shared objects not destoryed

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
September 1, 2011 22:09
Subject:
[perl #98204] Shared objects not destoryed
Message ID:
rt-3.6.HEAD-31297-1314940169-228.98204-15-0@perl.org
On Wed Aug 31 15:15:36 2011, jdhedden@cpan.org wrote:
> threads::shared objects stored inside other threads::shared structures
> are
> not properly destoryed.  When a threads::shared object is 'removed'
> from a
> threads::shared structure (e.g., a hash), the object's DESTROY method
> is not
> called.  The attached script shows the cases when this occurs.

Caused by this commit, but that doesn’t look like very useful
information.  Does the branch from which the threads changes were merged
still exist, so I can try and find a description of the change (it added
Perl_shared_object_destroy)?

commit c07fbe7b8c333dbc876f7736f826d90e30b1a68b
Author: Jerry D. Hedden <jdhedden@cpan.org>
Date:   Wed Dec 19 05:17:46 2007 -0500

    Integrate:
    [ 32651]
    Upgrade to B-Lint-1.11
    
    [ 32654]
    Upgrade to Sys-Syslog-0.23
    
    [ 32656]
    Add new Sys::Syslog file to MANIFEST
    
    [ 32658]
    Subject: [PATCH] threads::shared 1.15
    From: "Jerry D. Hedden" <jdhedden@cpan.org>
    Message-ID: <1ff86f510712190717r379ffdbt9ed19b8a607b8931@mail.gmail.com>
    
    [ 32799]
    Upgrade to Sys-Syslog-0.24
    
    [ 33093]
    In Safe, load Carp::Heavy only if it exists (to remain
    compatible with older perls)
    
    [ 33096]
    Bump the version of Safe
    
    [ 33102]
    Make this test pass with the Test::More that comes with perl 5.6.2
    
    [ 33105]
    Document why ok() is being used instead of like(), to stop someone
    undoing it.
    p4raw-link: @33105 on //depot/perl:
c3c3bebb639496b8bdce5d7c639ea5632d85fc99
    p4raw-link: @33102 on //depot/perl:
7a823c1420312961bad15bc476b3491938f28870
    p4raw-link: @33096 on //depot/perl:
b41b1dd440c5da8808066ee3650a2655b234e891
    p4raw-link: @33093 on //depot/perl:
bda6a610ca3121bb57c15862a4ffb75463043b06
    p4raw-link: @32799 on //depot/perl:
483e88ad226f66ca6deefce55919b08c583c82aa
    p4raw-link: @32658 on //depot/perl:
794f4697121b50d7447d6309d7c9ada4bca913e2
    p4raw-link: @32656 on //depot/perl:
d40f418c0989f97d4d8e048e75204b214b9069ac
    p4raw-link: @32654 on //depot/perl:
328c41c4a98a66131212f22cebc43d67940f4ae5
    p4raw-link: @32651 on //depot/perl:
c97a6147af6fea02f9b15486129be65da0b7d977
    
    p4raw-id: //depot/maint-5.10/perl@33111
    p4raw-branched: from //depot/perl@33110 'branch in'
    	ext/B/B/Lint/Debug.pm ext/Sys/Syslog/fallback/syslog.h
    	ext/threads/shared/t/object.t
    p4raw-integrated: from //depot/perl@33110 'copy in' ext/B/B/Lint.pm
    	(@31294..) ext/threads/shared/shared.pm
    	ext/threads/shared/shared.xs (@31952..)
    	ext/Sys/Syslog/Makefile.PL (@32221..) ext/Sys/Syslog/t/syslog.t
    	(@32654..)
    p4raw-integrated: from //depot/perl@32656 'edit in' MANIFEST (@32652..)
    p4raw-integrated: from //depot/perl@32654 'ignore'
    	ext/Sys/Syslog/Syslog.pm (@32286..)




Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About