Bug 1373459

Summary: INTERNAL ERROR after fixing mishandled POLLHUP
Product: Red Hat Enterprise Linux 7 Reporter: Stanislav Zidek <szidek>
Component: stunnelAssignee: Tomas Mraz <tmraz>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: low Docs Contact:
Priority: low    
Version: 7.3CC: mgrepl
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-05 16:33:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Stanislav Zidek 2016-09-06 10:51:08 UTC
Description of problem:
After fixing bz1170722, occurence of the problem lowered, but I am still getting the bad behaviour sometimes, newly accompanied by INTERNAL ERROR. Filing this bug to track the issue.

Version-Release number of selected component (if applicable):
stunnel-4.56-6.el7

How reproducible:
sometimes

Steps to Reproduce:
1. run  /CoreOS/stunnel/Regression/bz1170722-stunnel-loses-data-due-to-mishandled-POLLHUP (or do something equivalent - transfer a lot of data through stunnel and immediately close the connection)


Actual results:
:: [   FAIL   ] :: File '/var/tmp/tmp.ZaFmmStLcj' should contain '1000000000' 
...
:: [  BEGIN   ] :: Running 'cat stunnel.log'
...
2016.09.06 05:48:34 LOG3[16351:70367262404816]: INTERNAL ERROR: s_poll_wait returned 0, but no descriptor is ready
...
:: [   PASS   ] :: Command 'cat stunnel.log' (Expected 0, got 0)

Expected results:
* right file size
* no INTERNAL ERROR

Additional info:
See bz1170722 for details of the original issue.

Comment 1 Tomas Mraz 2018-12-05 16:33:08 UTC
There is no customer case associated with the issue, it is low severity, the fix is not known and would be with high probability non-trivial with risk of breaking other things. I am closing this.