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
Core dump in Storable::store #8468
Comments
From @nwc10Created by @nwc10$ perl5.8.0 memobang.pl $ cat memobang.pl my $cachename = "$0.cache"; # $Memoize::Storable::Verbose = 1; tie my %cache => 'Memoize::Storable', $cachename; sub factorise { I can't get it shorter than that. Turning on Verbose isn't very interesting $ ./perl -Ilib memobang.pl Once a valid emptry Storable file exists I don't see a problem. Likewise not Nicholas Clark Perl Info
|
From berikv@xs4all.nlCreated by berikv@xs4all.nlWhen running this: perl -we '$db = bless {}; $db->{db}{12345}; use Storable; sub DESTROY { store(shift->{db},"outfile") }' perl gets a SEGV signal and dumps core.. The code generates thesame results on at least 4 machines. Not having this problem on: Hope i've supplied enough information. Kind Regards, Berik Visschers <berikv@xs4all.nl>, Perl Info
|
From @nwc10On Tue, Oct 07, 2003 at 05:49:37PM -0000, berikv@xs4all.nl (via RT) wrote:
Yes. Thanks for this bug report. I can replicate this on 5.8.1 built on Useless use of hash element in void context at -e line 1. and 55K of output (see http://www.ccl4.org/~nick/P/24154_valgrind ) which seems to start with several repeats of this: ==432== Invalid read of size 4 Nicholas Clark |
From @iabynOn Thu, Oct 09, 2003 at 09:43:10PM +0100, Nicholas Clark wrote:
The short answer: doing anything from a DESTROY method during global The long answer: Storable has private "context" data structures which Dave. -- |
From @smpetersgdb seems to put the blame on Storable... #0 0x4001dd78 in free_context (cxt=0x8156630) at Storable.xs:1506 |
The RT System itself - Status changed from 'new' to 'open' |
From @mjdominusCreated by @mjdominusThis program dumps core: use Memoize; sub f { tie my %cache => 'Memoize::Storable', 'cache'; print f('arg'); The output: plover% perl m.pl The backtrace from the core file is: #0 0x0809c844 in Perl_av_undef () at eval.c:41 I wanted to rule out the possibility of Memoize::Storable doing sub DESTROY { The output is now: Memoize::Storable::TIEHASH(cache, ) Perl Info
|
From @smpetersOn Tue, May 30, 2006 at 09:21:09AM -0700, Mark-Jason Dominus wrote:
I believe that this bug is related to or a duplaicate of Steve Peters |
The RT System itself - Status changed from 'new' to 'open' |
From @smpetersOn Thu, Jun 01, 2006 at 10:37:25AM -0500, Steve Peters wrote:
Interestingly, this appears to be fixed in bleadperl. My best guess is Abhijit, is this a good point for a new Storable release? Steve Peters |
@smpeters - Status changed from 'open' to 'resolved' |
From @andk
> Interestingly, this appears to be fixed in bleadperl. My best guess is Unfortunately, I cannot confirm that it's fixed. Seems to be a 20373-22682 ok I tried to filter on debugging perls and threaded perls then to -- |
From @smpetersOn Thu, Jun 01, 2006 at 09:00:50PM +0200, Andreas J. Koenig wrote:
Splendid! Let me re-open it. Steve Peters |
@smpeters - Status changed from 'resolved' to 'open' |
From @mjdominusAndreas Koenig:
That was my guess as well from my (very limited) attempts to produce a |
From @cpansproutOn Fri Oct 17 16:21:09 2003, davem wrote:
If Memoize::Storable were to fire its destructors preemptively in an END |
From @tonycozOn Sun, 12 Dec 2010 13:09:26 -0800, sprout wrote:
This may have been fixed by f17010d. Tony |
Migrated from rt.perl.org#39246 (status was 'open')
Searchable as RT39246$
The text was updated successfully, but these errors were encountered: