Bug 533239

Summary: metacity calls illegal functions from sigterm handler
Product: [Fedora] Fedora Reporter: Ray Strode [halfline] <rstrode>
Component: metacityAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: awilliam, dcantrell, jmccann, otaylor, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-05 19:54:00 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 473303    

Description Ray Strode [halfline] 2009-11-05 13:53:28 EST
Just noticed metacity using 99% cpu.  I investigated it a bit with mccann and
it's because metacity is calling meta_finalize from a sigterm handler.

This is a big no-no.  There is a set of maybe 10 - 15 functions that are legal
to call from a sigterm handler.
Comment 1 Adam Williamson 2009-11-05 17:36:54 EST
Ray provided a patched metacity for testing:


a bug in that build has been discovered, and Ray is now working on another update:

<Oxf13> halfline: and metacity is spiking the CPU
<halfline> sweet
<halfline> i can log in, but things definitely aren't right
<halfline> investigating
<Oxf13> halfline: ok, the second time I got logged in
<Oxf13> but it's still spiking the CPU
<halfline> Oxf13: yea, patch needs to be reworked
<halfline> Oxf13: g_io_channel isn't firing
<Oxf13> ok.  glad I tested 9:
<halfline> must be a leaked fd somewhere
<halfline> rather than tackling that bug where ever it is, instead i'm going to just not rely on hup and do an explicit write call

Fedora Bugzappers volunteer triage team
Comment 2 Adam Williamson 2009-11-05 18:26:21 EST
Improved fixed metacity is at:


Jesse is testing.

Fedora Bugzappers volunteer triage team
Comment 3 Adam Williamson 2009-11-05 19:54:11 EST
the fixed build was tagged.

Fedora Bugzappers volunteer triage team