Skip Menu |

This queue is for tickets about the String-Ediff CPAN distribution.

Report information
The Basics
Id: 121151
Status: open
Priority: 0/
Queue: String-Ediff

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.09
Fixed in: (no value)



Subject: Segfaults on Debian/stretch
The test suite fails on my Debian/stretch smoker: ... PERL_DL_NONLAZY=1 "/opt/perl-5.25.11/bin/perl5.25.11" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01Simple.t .. Failed 10/10 subtests ... Test Summary Report ------------------- t/01Simple.t (Wstat: 11 Tests: 0 Failed: 0) Non-zero wait status: 11 ... The test runs fine on other smokers of mine (older Debians, FreeBSD)
On 2017-04-15 08:17:23, SREZIC wrote: Show quoted text
> The test suite fails on my Debian/stretch smoker: > > ... > PERL_DL_NONLAZY=1 "/opt/perl-5.25.11/bin/perl5.25.11" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > t/01Simple.t .. > Failed 10/10 subtests > ... > Test Summary Report > ------------------- > t/01Simple.t (Wstat: 11 Tests: 0 Failed: 0) > Non-zero wait status: 11 > ... > > The test runs fine on other smokers of mine (older Debians, FreeBSD)
A backtrace of the core file (unfortunately I don't have a debugging perl available): (gdb) bt #0 strlen () at ../sysdeps/x86_64/strlen.S:106 #1 0x0000561fa0e982b0 in Perl_sv_setpv () #2 0x00007f9afdcb2df5 in _wrap_ediff () from /home/cpansand/.cpan/build/2017041512/String-Ediff-0.09-0/blib/arch/auto/String/Ediff/Ediff.so #3 0x0000561fa0e84348 in Perl_pp_entersub () #4 0x0000561fa0e7c433 in Perl_runops_standard () #5 0x0000561fa0e08866 in perl_run () #6 0x0000561fa0de3b6f in main ()
If you add the following to the top of st.h (so that it's included in the wrapper): %module st %{ char *ediff(char *s1, char *s2); %} and recompile (I've tried with swig 3.0.10 and 3.0.12), then make test passes fine on Debian stretch (and Mac OS X). I've forked off gitpan and put a working version at https://github.com/mysociety/String-Ediff I'm happy to do a release if given permission. On Sat Apr 15 08:19:24 2017, SREZIC wrote: Show quoted text
> On 2017-04-15 08:17:23, SREZIC wrote:
> > The test suite fails on my Debian/stretch smoker: > > > > ... > > PERL_DL_NONLAZY=1 "/opt/perl-5.25.11/bin/perl5.25.11" "- > > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > > t/*.t > > t/01Simple.t .. > > Failed 10/10 subtests > > ... > > Test Summary Report > > ------------------- > > t/01Simple.t (Wstat: 11 Tests: 0 Failed: 0) > > Non-zero wait status: 11 > > ... > > > > The test runs fine on other smokers of mine (older Debians, FreeBSD)