[MacPorts] #46007: pymol crashes on Yosemite after a while

MacPorts noreply at macports.org
Tue Nov 25 06:24:06 PST 2014


#46007: pymol crashes on Yosemite after a while
----------------------------+-----------------------------------
  Reporter:  barak.raveh@…  |      Owner:  howarth.at.macports@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.3
Resolution:                 |   Keywords:
      Port:  pymol          |
----------------------------+-----------------------------------

Comment (by howarth.at.macports@…):

 Are you using the appropriate variants for of tcl and tk for pymol as
 designated in Portfile for pymol as...

 require_active_variants tcl "" corefoundation[[BR]]
 require_active_variants tk "" quartz

 which is tcl -corefoundation and tk -quartz? The X11 version of pymol uses
 blt which. due to its use of fork() on exec()...

 http://www.linuxprogrammingblog.com/threads-and-fork-think-twice-before-
 using-them

 ...requires the CoreFoundation support to be avoided since it internally
 uses threads. Likewise, the tk needs to be the non-quartz variant for the
 X11 version. Perhaps we need to add some sort of post-installation check
 to sanity check that the correct variants installed since port is
 incapable of honoring variant dependencies.

 ps If you are still having problems, you might try using the tcl -threads
 -corefoundation variant. In theory, you shouldn't be able to use the
 threads variant but in practice I have never seen it crash.

-- 
Ticket URL: <https://trac.macports.org/ticket/46007#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list