Opened 5 years ago

Closed 4 years ago

#4958 closed defect (fixed)

metacity is not reaped, failure is not detected

Reported by: quozl Owned by: manashraja
Priority: Normal Milestone: Unspecified
Component: Sugar Version: Git as of bugdate
Severity: Minor Keywords:
Cc: Distribution/OS:
Bug Status: New


Sugar starts the Metacity window manager in src/jarabe/

If Metacity fails, the process remains in Z (defunct) state, it is not reaped by jarabe calling wait(2), and several display behaviours occur;

  • alt+tab and shift+alt+tab don't work,
  • frame works, but selecting alternate views doesn't work.

The learner must restart the computer using power button.

Perhaps Sugar should restart Metacity if it fails.

Change History (5)

comment:1 Changed 5 years ago by quozl


  1. on a native or virtual installation of Sugar (not sugar-build), start Terminal and become root;
    guest ~$ sudo su
    root:~# █
  2. check metacity process started by Sugar is present on system;
    root:~# ps ax|grep metacity
      953 ?        Sl     0:00 metacity --no-force-fullscreen
    root:~# █
  3. 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:~# █
  4. try to use window management or switching features; they will fail,
  5. observe that a repeated kill is accepted without error;
    root:~# kill 953
    root:~# █
  6. return to the non-root parent shell and restart metacity manually;
    root:~# exit
    guest ~$ metacity --no-force-fullscreen &
    guest ~$ █
  7. observe window management or switching features are restored.
Last edited 5 years ago by quozl (previous) (diff)

comment:3 Changed 4 years ago by manashraja

  • Owner set to manashraja
  • Status changed from new to accepted

comment:5 Changed 4 years ago by quozl

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.