Bug#820824: libapache2-mod-perl2: FTBFS: t/protocol/pseudo_http.t failure
Niko Tyni
ntyni at debian.org
Tue Apr 12 20:04:42 UTC 2016
Package: libapache2-mod-perl2
Version: 2.0.9-4
Severity: serious
User: debian-perl at lists.debian.org
Usertags: autopkgtest
X-Debbugs-Cc: apache2 at packages.debian.org
This package fails to build on current sid/amd64.
# Failed test 3 in t/protocol/pseudo_http.t at line 59
# Failed test 4 in t/protocol/pseudo_http.t at line 64
t/protocol/pseudo_http.t ................
Failed 11/13 subtests
[...]
Test Summary Report
-------------------
t/protocol/pseudo_http.t (Wstat: 13 Tests: 4 Failed: 2)
Failed tests: 3-4
Non-zero wait status: 13
Parse errors: Bad plan. You planned 13 tests but ran 4.
Looking at the CI results at
https://ci.debian.net/packages/liba/libapache2-mod-perl2/unstable/amd64/
this started happening between 2016-04-09 and 2016-04-10, probably
with the apache2 2.4.18 -> 2.4.20 upgrade.
I can get this to happen with just
# ./t/TEST -verbose -httpd_conf $(pwd)/debian/apache2.conf t/protocol/pseudo_http.t
and I see the Apache server process dies with SIGSEGV. Backtrace below.
Cc'ing the Apache maintainers, seems to be a regression there?
Core was generated by `/usr/sbin/apache2 -d /home/niko/tmp/libapache2-mod-perl2/t -f /home/niko/tmp/li'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 apr_getnameinfo (hostname=hostname at entry=0x7fd4461ee368, sockaddr=0x0, flags=flags at entry=0)
at /tmp/buildd/apr-1.5.2/network_io/unix/sockaddr.c:663
663 /tmp/buildd/apr-1.5.2/network_io/unix/sockaddr.c: No such file or directory.
[Current thread is 1 (Thread 0x7fd44740d700 (LWP 13678))]
(gdb) bt
#0 apr_getnameinfo (hostname=hostname at entry=0x7fd4461ee368, sockaddr=0x0, flags=flags at entry=0)
at /tmp/buildd/apr-1.5.2/network_io/unix/sockaddr.c:663
#1 0x000055feaf0f513a in ap_get_useragent_host (r=r at entry=0x7fd4461ee0a0, type=type at entry=3,
str_is_ip=str_is_ip at entry=0x7fd44740c9c4) at core.c:990
#2 0x00007fd4519d7212 in find_allowdeny (r=r at entry=0x7fd4461ee0a0, method=method at entry=0, a=<optimized out>,
a=<optimized out>) at mod_access_compat.c:279
#3 0x00007fd4519d74b2 in check_dir_access (r=0x7fd4461ee0a0) at mod_access_compat.c:332
#4 0x000055feaf0f8f30 in ap_run_access_checker (r=r at entry=0x7fd4461ee0a0) at request.c:87
#5 0x00007fd448a6f7dd in XS_Apache2__RequestRec_run_access_checker (my_perl=0x55feb2964a20, cv=<optimized out>)
at HookRun.c:235
#6 0x00007fd44f5f7e6a in Perl_pp_entersub () from /usr/lib/x86_64-linux-gnu/libperl.so.5.22
#7 0x00007fd44f5f0ca6 in Perl_runops_standard () from /usr/lib/x86_64-linux-gnu/libperl.so.5.22
#8 0x00007fd44f575f06 in Perl_call_sv () from /usr/lib/x86_64-linux-gnu/libperl.so.5.22
#9 0x00007fd44f91ec28 in modperl_callback (my_perl=my_perl at entry=0x55feb2964a20, handler=0x7fd4461f2750,
p=p at entry=0x7fd4461f2028, r=r at entry=0x0, s=s at entry=0x7fd453ddc628, args=0x55feb3beebd0)
at modperl_callback.c:100
#10 0x00007fd44f91f576 in modperl_callback_run_handlers (idx=0, type=type at entry=1, r=r at entry=0x0,
c=<optimized out>, s=0x7fd453ddc628, pconf=pconf at entry=0x0, plog=0x0, ptemp=0x0, run_mode=MP_HOOK_RUN_FIRST)
at modperl_callback.c:236
#11 0x00007fd44f91fd4f in modperl_callback_connection (idx=<optimized out>, c=<optimized out>,
run_mode=<optimized out>) at modperl_callback.c:359
#12 0x000055feaf10cdf0 in ap_run_process_connection (c=c at entry=0x7fd4461f22b8) at connection.c:42
#13 0x000055feaf10d340 in ap_process_connection (c=c at entry=0x7fd4461f22b8, csd=csd at entry=0x7fd4461f20a0)
at connection.c:226
#14 0x00007fd4523f3e6b in process_socket (bucket_alloc=0x7fd4461f0028, my_thread_num=1, my_child_num=0,
sock=0x7fd4461f20a0, p=0x7fd4461f2028, thd=0x7fd453eb27a0) at worker.c:631
#15 worker_thread (thd=0x7fd453eb27a0, dummy=<optimized out>) at worker.c:990
#16 0x00007fd453418454 in start_thread (arg=0x7fd44740d700) at pthread_create.c:334
#17 0x00007fd453155ecd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list