https://bz.apache.org/bugzilla/show_bug.cgi?id=62325
Bug ID: 62325
Summary: mod_http2 (32-bit, i386) segmentation fault while
delivering large (2+ GiB) file
Product: Apache httpd-2
Version: 2.4.33
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_http2
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
While downloading a large (2200 MiB) file via HTTP/2.0, apache2 2.4.33
reproducibly segfaults after delivering ~89% (1975 MiB) on 32-bit i386.
Steps to reproduce:
- Install Debian unstable i386 in the "webserver" configuration, which
installs
apache2 2.4.33. Install curl. (Firefox or Chrome works as well.)
- Enable SSL:
* a2enmod ssl
* a2ensite default-ssl
- Enable HTTP/2.0:
* echo 'Protocols h2 h2c http/1.1' > /etc/apache2/mods-available/http2.conf
* a2enmod http2
- Restart Apache: systemctl restart apache2
- Create test file in /var/www/html:
* dd if=/dev/zero of=/var/www/html/2200Mfile bs=1M count=2200
- Download the test file via curl (--http2 is redundant because curl uses
HTTP/2.0 anyways if it's available; --insecure is necessary because the
above
steps do not install a proper SSL cert):
* curl --http2 --insecure -o /dev/null https://localhost/2200Mfile
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
89 2200M 89 1975M 0 0 22.2M 0 0:01:38 0:01:28 0:00:10 25.8M
curl: (56) Unexpected EOF
- Apache's error.log:
[Wed Apr 25 11:17:05.749002 2018] [core:notice] [pid 398:tid 3082986688]
AH00052: child pid 646 exit signal Segmentation fault (11)
Side note: Debian 9 with apache2 2.4.25 exhibits a slightly different failure
mode -- curl says "Unexpected EOF" after having received ~1023 MiB of data, but
Apache does not record any error in its logs.
Side note: On 64-bit, everything works as expected. This seems to be a 32-bit
related bug.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]