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
Perl 5.24 makes nama FTBFS due to segfault #15930
Comments
From balint.reczey@canonical.comThis is a bug report for perl from rbalint@ubuntu.com, When building nama Perl crashes in tests. Originally reported to Debian BTS: On Fri, 30 Sep 2016 10:09:01 +0100 Chris Lamb <lamby@debian.org> wrote:
This looks like a problem in Perl itself possibly causing random crashes Reproduction with the perl-debug package shows the internal assertion: sudo apt-get install perl-debug Track sax: source set to JACK manual port sax_in PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 "/usr/bin/debugperl" \ ... ok 57 - set JACK client as input Address Sanitizer shows the crash with non-debug perl: LD_PRELOAD=libasan.so.3 PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 \
|
From rbalint@ubuntu.comApparently my original report was too detailed, pasting the interesting parts: When building nama Perl crashes in tests. Originally reported to Debian BTS: This looks like a problem in Perl itself possibly causing random crashes Reproduction with the perl-debug package shows the internal assertion: sudo apt-get install perl-debug Track sax: source set to JACK manual port sax_in PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 "/usr/bin/debugperl" \ ... ok 57 - set JACK client as input Address Sanitizer shows the crash with non-debug perl: LD_PRELOAD=libasan.so.3 PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 \
|
The RT System itself - Status changed from 'new' to 'open' |
From rbalint@ubuntu.comNiko Tyni found a workaround, but Perl itself would still be buggy:
Funny story, it was added to work around a segfault in older perl: The line looks very much like a corner case for the assignment re-implement OPpASSIGN_COMMON mechanism This commit almost completely replaces the current mechanism The issue was also reported against nama, but I could not find a way |
From @ntyniOn Fri, Mar 24, 2017 at 07:41:40AM -0700, Balint Reczey wrote:
I reduced this down to my $a = [ 0, 1 ]; which gives panic: attempt to copy freed scalar 55aa6f0921c0 to 55aa6f092bb0 at - line 4. So another stack-not-refcounted issue? -- |
From zefram@fysh.orgNiko Tyni wrote:
Yes. -zefram |
Migrated from rt.perl.org#131054 (status was 'open')
Searchable as RT131054$
The text was updated successfully, but these errors were encountered: