Your message dated Mon, 30 Nov 2015 19:48:55 +0000
with message-id <e1a3urt-0006xz...@franck.debian.org>
and subject line Bug#787493: fixed in libapache2-mod-perl2 2.0.9-2
has caused the Debian Bug report #787493,
regarding libapache2-mod-perl2: FTBFS with Perl 5.22
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
787493: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787493
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libapache2-mod-perl2
Version: 2.0.9~rc2-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Building with GCC 5 and Perl 5.22 (also built with GCC 5) from experimental.
Build stops with

....
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /raid/build/work/libapache2-mod-
perl2-2.0.9~rc2/t/TEST -httpd_conf '/raid/build/work/libapache2-mod-
perl2-2.0.9~rc2/debian/apache2.conf' -bugreport -verbose=1
AH00558: apache2: Could not reliably determine the server's fully qualified
doma
in name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress
this message
(2)No such file or directory: AH02291: Cannot access directory
'/raid/build/work/libapache2-mod-perl2-2.0.9~rc2/t/logs/' for main error log
AH00014: Configuration check failed
/usr/sbin/apache2  -d /raid/build/work/libapache2-mod-perl2-2.0.9~rc2/t -f
/raid/build/work/libapache2-mod-perl2-2.0.9~rc2/t/conf/httpd.conf -D APACHE2 -D
APACHE2_4 -D PERL_USEITHREADS
using Apache/2.4.12

waiting 300 seconds for server to start: .[Mon Jun 01 22:31:36.041661 2015]
[env:warn] [pid 15692:tid 140437197727616] AH01506: PassEnv variable
LD_LIBRARY_PATH was undefined
Segmentation fault (core dumped)
[  error] oh golly, server dumped core

Running under gdb shows:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff35f89ce in modperl_env_init () at modperl_env.c:639
639         StructCopy(&MP_vtbl_env, &PL_vtbl_env, MGVTBL);
(gdb) b modperl_env_init
Breakpoint 1 at 0x7ffff35f88e0: file modperl_env.c, line 635.
(gdb) l
634         /* save originals */
635         StructCopy(&PL_vtbl_env, &MP_PERL_vtbl_env, MGVTBL);
636         StructCopy(&PL_vtbl_envelem, &MP_PERL_vtbl_envelem, MGVTBL);
637
638         /* replace with our versions */
639         StructCopy(&MP_vtbl_env, &PL_vtbl_env, MGVTBL);
640         StructCopy(&MP_vtbl_envelem, &PL_vtbl_envelem, MGVTBL);
641     }
642
643     void modperl_env_unload(void)

StructCopy(src, dst, type) from Perl API essentially does *dst = *src.
In line 639 the destination is PL_vtbl_env which is #define'd
as some element of the array PL_magic_vtables from Perl internals
(I checked that it's index is well within the bounds of the array)

(gdb) whatis PL_magic_vtables
type = const MGVTBL [31]

Note the "const" here!

(gdb) info symbol PL_magic_vtables
PL_magic_vtables in section .data.rel.ro of /usr/lib/x86_64-linux-
gnu/libperl.so.5.22

So, GCC has put PL_magic_vtables into a read-only section,
hence trying to write to it deservedly produces a segfault.

Cheers, Roderich





-- Package-specific info:

-- System Information:
Debian Release: stretch/sid
  APT prefers wily
  APT policy: (500, 'wily'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 
'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-rc6 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: libapache2-mod-perl2
Source-Version: 2.0.9-2

We believe that the bug you reported is fixed in the latest version of
libapache2-mod-perl2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 787...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niko Tyni <nt...@debian.org> (supplier of updated libapache2-mod-perl2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 30 Nov 2015 21:18:46 +0200
Source: libapache2-mod-perl2
Binary: libapache2-mod-perl2 libapache2-mod-perl2-dev libapache2-mod-perl2-doc
Architecture: source
Version: 2.0.9-2
Distribution: experimental
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: Niko Tyni <nt...@debian.org>
Description:
 libapache2-mod-perl2 - Integration of perl with the Apache2 web server
 libapache2-mod-perl2-dev - Integration of perl with the Apache2 web server - 
development fil
 libapache2-mod-perl2-doc - Integration of perl with the Apache2 web server - 
documentation
Closes: 787493 795730 801520 806053
Changes:
 libapache2-mod-perl2 (2.0.9-2) experimental; urgency=low
 .
   * Fixes for the "reproducible builds" effort:
     + Set LC_ALL=C instead of just LANG to fix test failures in some locales
       (Closes: #795730)
     + Make the generated documentation not vary with filesystem ordering
       (Closes: #801520)
   * Fix arch-indep-only builds (Closes: #806053)
   * Perl 5.22 compatibility changes:
     + small test suite tweaks from upstream r1702195 and r1702395
     + work-in-progress upstream patch removing modification of Perl's
       internal magic virtual tables, which were made read-only in Perl 5.22
       (Closes: #787493)
   * Add a hopefully temporary lintian override for
     apache2-module-depends-on-real-apache2-package apache2-bin
     until lintian gets fixed (see #796285).
   * Upload to experimental.
Checksums-Sha1:
 9acf67884867188c912c74f0ff0d8146a58946de 2633 libapache2-mod-perl2_2.0.9-2.dsc
 f75be567f5bd99203ae33d4491bfdf9e58206b10 27868 
libapache2-mod-perl2_2.0.9-2.debian.tar.xz
Checksums-Sha256:
 9751d861459f59cf4f7b12c850d0e35ebb20901ad65e8a0ecd84715c03f5cc41 2633 
libapache2-mod-perl2_2.0.9-2.dsc
 abe0d5ae65c35a57cb07cafa093ddb15c4cd55d4622898b02a377295291b1d51 27868 
libapache2-mod-perl2_2.0.9-2.debian.tar.xz
Files:
 5d8237913875459174561603ebebd450 2633 httpd optional 
libapache2-mod-perl2_2.0.9-2.dsc
 14adddab6d7014cf1e6b0b031597b2c9 27868 httpd optional 
libapache2-mod-perl2_2.0.9-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWXKUHAAoJEC7A/7O3MBsf0hQP/1DphPblPkNOJimde/D8MkCF
+NaQr2w2UQYjkf8o1aB5K1oi0Un2wmSaZ9kkaLTTRX9VITBDuGxIEqSuk26+5Dwu
aLCcZCRttrtUg1d69XOnxE3DwJJmsuEcj9jgInytfXdm02pwToLsCGUVGVCQ5jFe
HrRKphl1kEGpTd0JSSvbPGLhndvlovptVTxMepdHGlriDXCNjTEGk9t2YMs1ZXRD
dCxziduuONiWXL0svCNeT1xyZ0gUFp9JhNyJa0fKAjthTa8pq9t7suGFMGCNdq/c
OR7rOf5H7aOSNbIkg6IebjLnH+jbCCR6AfbcAwcwYp9MVsNIYJKStHELCWGZbEfV
hvbnELKzG8LLXEe5fDfb752l+IGog21rg+0MbLFs2TsXzvn9O+EwyMu2Xrq8v77E
t3B1RqCXB2u1SaXMhDNeVNUdIyDJGpA90KA7lyqhCiD2Lz4vVHE4OqaCXtVQILLr
zGYVDLUj6+0O9zIVUMJpIiLZRK/BSi4NM6eWt2ZhJMEx17Ra/SQsmUieHP1Unv42
DLHS0iaud1lpi5e8jCp19f+YEcVXouHRZivN/pjQeZW6datiTS721U/oh+MRNRPR
r7RDLhAF8S8MXyOspmvmkgRP4H3PqmPEX31x3iAa92cTQ2O8LFwxNVDAOd/TLXnc
o95xE46k7btxW2TI9Pts
=+i0d
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to