[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#873945: apache2-bin: apache2 with http2 segfault

Title: apache2-bin: apache2 with http2 segfault
Package: apache2-bin
Version: 2.4.25-3+deb9u2
Severity: important
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
   * What led up to the situation?
SEGFAULT Apache2 with http2, just by having users visiting the site.
gdb /usr/sbin/apache2 core-apache2-11-33-33-16474-1504205745
GNU gdb (Debian 7.12-6)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/apache2...Reading symbols from /usr/lib/debug/.build-id/1b/81c3ec196acae651912c3a4025bc1c6a07c375.debug...done.
[New LWP 16532]
[New LWP 16477]
[New LWP 16474]
[New LWP 16475]
[New LWP 16479]
[New LWP 16476]
[New LWP 16480]
[New LWP 16481]
[New LWP 16511]
[New LWP 16478]
[New LWP 16487]
[New LWP 16482]
[New LWP 16512]
[New LWP 16489]
[New LWP 16483]
[New LWP 16491]
[New LWP 16494]
[New LWP 16513]
[New LWP 16484]
[New LWP 16499]
[New LWP 16485]
[New LWP 16500]
[New LWP 16516]
[New LWP 16502]
[New LWP 16486]
[New LWP 16504]
[New LWP 16517]
[New LWP 16488]
[New LWP 16506]
[New LWP 16507]
[New LWP 16490]
[New LWP 16518]
[New LWP 16492]
[New LWP 16509]
[New LWP 16514]
[New LWP 16519]
[New LWP 16522]
[New LWP 16527]
[New LWP 16520]
[New LWP 16523]
[New LWP 16524]
[New LWP 16525]
[New LWP 16529]
[New LWP 16495]
[New LWP 16533]
[New LWP 16496]
[New LWP 16497]
[New LWP 16535]
[New LWP 16498]
[New LWP 16501]
[New LWP 16536]
[New LWP 16503]
[New LWP 16537]
[New LWP 16505]
[New LWP 16510]
[New LWP 16515]
[New LWP 16521]
[New LWP 16526]
[New LWP 16528]
[New LWP 16530]
[New LWP 16531]
[New LWP 16534]
[New LWP 16538]
[New LWP 16539]
[New LWP 16540]
[New LWP 16541]
[New LWP 16493]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  h2_stream_out_prepare (stream=stream@entry=0x7ff7772330a0, plen=plen@entry=0x7ff77cfe89e0, peos=peos@entry=0x7ff77cfe89dc, presponse=presponse@entry=0x7ff77cfe89e8) at h2_stream.c:604
604     h2_stream.c: No such file or directory.
[Current thread is 1 (Thread 0x7ff77cfe9700 (LWP 16532))]
(gdb) bt
#0  h2_stream_out_prepare (stream=stream@entry=0x7ff7772330a0, plen=plen@entry=0x7ff77cfe89e0, peos=peos@entry=0x7ff77cfe89dc, presponse=presponse@entry=0x7ff77cfe89e8) at h2_stream.c:604
#1  0x00007ff7ae7bb6cb in on_stream_resume (ctx=0x7ff7768410a0, stream=0x7ff7772330a0) at h2_session.c:1576
#2  0x00007ff7ae7b2e3b in h2_mplx_dispatch_master_events (m=0x7ff7768412d0, _on_resume_=on_resume@entry=0x7ff7ae7bb500 <on_stream_resume>, _on_ctx_=on_ctx@entry=0x7ff7768410a0) at h2_mplx.c:1379
#3  0x00007ff7ae7bc7ab in h2_session_process (session=0x7ff7768410a0, async=async@entry=1) at h2_session.c:2210
#4  0x00007ff7ae7a8b2a in h2_conn_run (ctx=ctx@entry=0x7ff78c144360, c=c@entry=0x7ff78c14b348) at h2_conn.c:212
#5  0x00007ff7ae7aea5b in h2_h2_process_conn (c=0x7ff78c14b348) at h2_h2.c:658
#6  0x0000558b46d1e6f0 in ap_run_process_connection (c=c@entry=0x7ff78c14b348) at connection.c:42
#7  0x00007ff7ad8976e8 in process_socket (my_thread_num=<optimized out>, my_child_num=<optimized out>, cs=0x7ff78c14b2b8, sock=<optimized out>, p=0x7ff78c14b028, thd=<optimized out>) at event.c:1099
#8  worker_thread (thd=<optimized out>, dummy=<optimized out>) at event.c:2003
#9  0x00007ff7b1862494 in start_thread (arg=0x7ff77cfe9700) at pthread_create.c:333
#10 0x00007ff7b15a4aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
   * What exactly did you do (or not do) that was effective (or ineffective)?
http2 enabled caused it, disable module fixes it immediately
-- Package-specific info:
-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apache2-bin depends on:
ii  libapr1                  1.5.2-5
ii  libaprutil1              1.5.4-3
ii  libaprutil1-dbd-sqlite3  1.5.4-3
ii  libaprutil1-ldap         1.5.4-3
ii  libc6                    2.24-11+deb9u1
ii  libldap-2.4-2            2.4.44+dfsg-5
ii  liblua5.2-0              5.2.4-1.1+b2
ii  libnghttp2-14            1.18.1-1
ii  libpcre3                 2:8.39-3
ii  libssl1.0.2              1.0.2l-2
ii  libxml2                  2.9.4+dfsg1-2.2+deb9u1
ii  perl                     5.24.1-3+deb9u1
ii  zlib1g                   1:1.2.8.dfsg-5
apache2-bin recommends no packages.
Versions of packages apache2-bin suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
ii  w3m [www-browser]                                0.5.3-34
Versions of packages apache2 depends on:
ii  apache2-data         2.4.25-3+deb9u2
ii  apache2-utils        2.4.25-3+deb9u2
ii  dpkg                 1.18.24
ii  init-system-helpers  1.48
ii  lsb-base             9.20161125
ii  mime-support         3.60
ii  perl                 5.24.1-3+deb9u1
ii  procps               2:3.3.12-3
Versions of packages apache2 recommends:
ii  ssl-cert  1.0.39
Versions of packages apache2 suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
ii  w3m [www-browser]                                0.5.3-34
Versions of packages apache2-bin is related to:
ii  apache2      2.4.25-3+deb9u2
ii  apache2-bin  2.4.25-3+deb9u2
-- no debconf information




Reply to: