Bug 1282432

Summary: Anaconda leaves Yelp zombies behind
Product: [Fedora] Fedora Reporter: Alexander Todorov <atodorov>
Component: anacondaAssignee: David Shea <dshea>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 24CC: anaconda-maint-list, g.kaviyarasu, jonathan, mkolman, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-25.15-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-16 13:36:30 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:
Embargoed:
Attachments:
Description Flags
Help screen error none

Description Alexander Todorov 2015-11-16 11:53:53 UTC
Created attachment 1094859 [details]
Help screen error

Description of problem:

When the built-in help is started and then closed the Yelp process becomes a zombie. 


Version-Release number of selected component (if applicable):
anaconda-24.6-2.fc24.x86_64

How reproducible:
Always


Steps to Reproduce:
1. /usr/sbin/anaconda -G --dirinstall /var/tmp/
2. At the welcome spoke click the Help button
3. Yelp is started (there is an error showing the help text though)

# ps aux | grep yelp
root     19413 10.6  2.4 2235508 49544 pts/1   Sl+  06:44   0:00 yelp /usr/share/anaconda/help/en-US/WelcomeSpoke.xml
root     19443  0.0  0.0 118520   964 pts/2    S+   06:44   0:00 grep --color=auto yelp


4. Now close the yelp window (clicking the X in the top right corner). Yelp closes and shortly after:

# ps aux | grep yelp
root     19413  2.4  0.0      0     0 pts/1    Z+   06:44   0:00 [yelp] <defunct>
root     19457  0.0  0.0 118520   900 pts/2    S+   06:44   0:00 grep --color=auto yelp


If you move on to the hub screen and click the Help button again nothing happens. 


Step 4 can be also performed a bit differently:
4) Instead of closing the yelp window click somewhere else on the anaconda UI. The yelp window is hidden. Proceed to the hub and click the Help button again. Anaconda should kill the running yelp process and start it anew. Instead we get two zombie processes:

# ps aux | grep yelp
root     19250  1.2  2.4 2227300 49052 pts/0   Sl+  06:42   0:00 yelp /usr/share/anaconda/help/en-US/WelcomeSpoke.xml
root     19294  0.0  0.0 118520   912 pts/2    S+   06:43   0:00 grep --color=auto yelp
[root@dell-pe860-01 gui]# ps aux | grep yelp
root     19250  0.8  0.0      0     0 pts/0    Z+   06:42   0:00 [yelp] <defunct>
root     19296  5.3  0.0      0     0 pts/0    Z+   06:43   0:00 [yelp] <defunct>


Actual results:


Expected results:


Additional info:
Sometimes I see zombies right after clicking Help for the first time but rarely. This usually happens after the first help window is closed. 


I have accessibility enabled. I'm not sure if this matters.

Comment 1 Alexander Todorov 2016-02-03 11:30:02 UTC
ping, any update here ?

Comment 2 David Shea 2016-02-03 17:44:12 UTC
Are the zombie processes actually causing a problem?

Comment 3 Alexander Todorov 2016-02-05 12:28:30 UTC
Sort of. In tests/gui/ we click the Help button and close the Yelp window every time we enter a new spoke. For some reason this fails when we start leaving zombies behind. 

However I tested it the other day with an updated git checkout and still saw problems but manifested slightly differently. I'll give it a thorough test once more next week and update this BZ.

Maybe we can drop the help clicking code and design a new test for that, thoughts ?

Comment 4 Jan Kurik 2016-02-24 15:51:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 5 David Shea 2016-05-18 20:18:41 UTC
https://github.com/rhinstaller/anaconda/pull/635