[MacPorts] #13259: lftp crashes on Mac OS X 10.5 Leopard: 99% CPU usage due to bad poll()

MacPorts trac at macosforge.org
Mon Feb 11 14:01:38 PST 2008


#13259: lftp crashes on Mac OS X 10.5 Leopard: 99% CPU usage due to bad poll()
-------------------------------+--------------------------------------------
  Reporter:  dackze at gmail.com  |       Owner:  nox at macports.org
      Type:  defect            |      Status:  new             
  Priority:  Normal            |   Milestone:  Port Bugs       
 Component:  ports             |     Version:  1.5.0           
Resolution:                    |    Keywords:  lftp            
-------------------------------+--------------------------------------------
Comment (by yunzheng.hu at gmail.com):

 (Moving my initial comments of my ticket #14242 to this one.)


 When compiling and running lftp on Leopard it causes the 'known' 100% cpu
 usage. This however is not entirely related to the 'poll' bug, like in
 Tiger.

 I have attached a patch for configure that detects the broken poll on
 Leopard as well. And a modification to the Portfile that sets the
 MACOSX_DEPLOYMENT_TARGET=10.4, which fixes the cpu usage issue on Leopard.

 references to the bug in Tiger:[[BR]]
 http://www.mail-archive.com/lftp%40uniyar.ac.ru/msg02101.html

 same patch but for Leopard (but does not entirely fix the problem):[[BR]]
 http://www.mail-archive.com/lftp@uniyar.ac.ru/msg03091.html

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13259#comment:8>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list