#5400 BLOC Update.: OHM crashes when X does.

Zarro Boogs per Child bugtracker at laptop.org
Tue Dec 18 19:18:51 EST 2007


#5400: OHM crashes when X does.
----------------------------------+-----------------------------------------
  Reporter:  cjb                  |       Owner:  cjb     
      Type:  defect               |      Status:  new     
  Priority:  blocker              |   Milestone:  Update.1
 Component:  power manager (OHM)  |     Version:          
Resolution:                       |    Keywords:          
  Verified:  0                    |  
----------------------------------+-----------------------------------------

Comment(by cjb):

 OHM crashes when X does because X forces all of its clients to exit when
 it crashes.  Adding an XSetIOErrorHandler() callback doesn't help.

 There is no workaround short of longjmp()ing to ensure the handler method
 never actually returns to Xlib (or moving the X client into a separate
 process from the rest of OHM).  How ridiculous.

 The shortest workaround is going to be to have OHM respawn via inittab in
 the same way that X does.  I don't know how well that will work yet,
 though.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5400#comment:1>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list