RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1397858 - Using chunked transfer encoding makes mod_wsgi crash
Summary: Using chunked transfer encoding makes mod_wsgi crash
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: mod_wsgi
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: rhel-cs-infra-services-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-23 13:21 UTC by Juan Antonio Osorio
Modified: 2021-01-15 07:32 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-15 07:28:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Juan Antonio Osorio 2016-11-23 13:21:59 UTC
Description of problem:

Using "WSGIChunkedRequest on", services using chunked transfer encoding make mod_wsgi crash with a segmentation fault. It seems that the fact that it still tries to read the content-length for requests using chunked transfer encoding, even though it's not present. As seen in logs like this:

[Thu Nov 17 13:51:24.572138 2016] [http:info] [pid 20503] [remote 192.168.24.1:136] AH01588: Requested content-length of 9223372036854775807 is larger than the configured limit of 2147483647

The file I was uploading to that service was surely not of size 9223372036854775807 .

Version-Release number of selected component (if applicable):
mod_wsgi-3.4-12.el7_0.x86_64

I noticed this when trying to run the OpenStack service called Glance over httpd, and trying to upload images to it.

Steps to Reproduce:
1. deploy a service that requires transfer-encoding (such as glance)
2. try to do a request that uses chunked transfer encoding

Actual results:
requests fail and I see the logs I posted above.

Expected results:
The image upload should finish.


Additional info:

Using the latest mod_wsgi from source (having compiled it) works and the issue cannot be reproduced with it.

Comment 12 RHEL Program Management 2021-01-15 07:28:47 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


Note You need to log in before you can comment on or make changes to this bug.