-
Notifications
You must be signed in to change notification settings - Fork 562
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
Garbage Collection Segv in 5.21.10+ #14822
Comments
From @exodistThis is a bug report for perl from exodist7@gmail.com, I have attached the latest Test-Stream and Test-Simple dists. I have done If you install the attached Test-Stream, then run the tests for the The problem showed up from this commit: Adding a reference to $self back into that codeblock causes the segv to go This issue only occurs on newer perls, 5.21.10+ or so based on these Perhaps a bisect to reveal the perl core commit that causes it to break Flags: Site configuration information for perl 5.22.0: Configured by exodist at Mon Jul 27 19:49:55 PDT 2015. Summary of my perl5 (revision 5 version 22 subversion 0) configuration: Platform: @INC for perl 5.22.0: /home/exodist/perl5/perlbrew/perls/newtest/lib/site_perl/5.22.0/x86_64-linux-thread-multi /home/exodist/perl5/perlbrew/perls/newtest/lib/5.22.0/x86_64-linux-thread-multi Environment for perl 5.22.0: PATH=/home/exodist/perl5/perlbrew/bin:/home/exodist/perl5/perlbrew/perls/newtest/bin:/home/exodist/bin:/home/exodist/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PERLBREW_PATH=/home/exodist/perl5/perlbrew/bin:/home/exodist/perl5/perlbrew/perls/newtest/bin |
From @iabynOn Mon, Jul 27, 2015 at 08:45:14PM -0700, Chad Granum wrote:
It bisects to this: commit 96d7c88 [perl #57512] Warnings for implicitly closed handles Looking at a stack backtrace from valgrind, ==26423== Invalid read of size 8 it's implicitly closing a filehandle, and its checking to see whether util.c:1978: if (isLEXWARN_off) and warnings.h:117:#define isLEXWARN_off (PL_curcop->cop_warnings == pWARN_STD) So presumably at this point PL_curcop is NULL. I don't know whether the fix is simply to change isLEXWARN_off to (PL_curcop && PL_curcop->cop_warnings == pWARN_STD) or whether PL_curcop being NULL at that point represents some deeper I haven't tried to reduce the test case yet. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @iabynOn Tue, Jul 28, 2015 at 10:02:36AM +0100, Dave Mitchell wrote:
In the meantime it appears to have been fixed by v5.25.2-109-ga2637ca; -- |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#125702 (status was 'resolved')
Searchable as RT125702$
The text was updated successfully, but these errors were encountered: