[Bugs] #4958 Sugar NORM: metacity is not reaped, failure is not detected

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Apr 20 02:08:10 EDT 2016


#4958: metacity is not reaped, failure is not detected
---------------------+-------------------------------------
  Reporter:  quozl   |            Owner:
      Type:  defect  |           Status:  new
  Priority:  Normal  |        Milestone:  Unspecified
 Component:  Sugar   |          Version:  Git as of bugdate
  Severity:  Minor   |       Resolution:
  Keywords:          |  Distribution/OS:
Bug Status:  New     |
---------------------+-------------------------------------

Comment (by quozl):

 Reproducer:

 1. on a native or virtual installation of Sugar (not sugar-build), start
 Terminal and become root;
 {{{
 guest ~$ sudo su
 root:~# █
 }}}
 1. check metacity process started by Sugar is present on system;
 {{{
 root:~# ps ax|grep metacity
   953 ?        Sl     0:00 metacity --no-force-fullscreen
 root:~# █
 }}}
 1. kill the process and check status;
 {{{
 root:~# kill 953
 root:~# ps ax|grep metacity
   953 ?        Z      0:00 [metacity] <defunct>
  2385 pts/0    S+     0:00 grep --color=auto metacity
 root:~# █
 }}}
 1. try to use window management or switching features; they will fail,
 1. observe that a repeated kill is accepted without error;
 {{{
 root:~# kill 953
 root:~# █
 }}}
 1. return to the non-root parent shell and restart metacity manually;
 {{{
 root:~# exit
 guest ~$ metacity --no-force-fullscreen &
 }}}
 1. observe window management or switching features are restored.

--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4958#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list