[MacPorts] #45309: gimp2 @2.8.14 on 10.9 - doesn't load plug-ins

MacPorts noreply at macports.org
Sun Nov 2 14:01:47 PST 2014


#45309: gimp2 @2.8.14 on 10.9 - doesn't load plug-ins
---------------------------+----------------------
  Reporter:  and.damore@…  |      Owner:  devans@…
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  gegl p11-kit  |
---------------------------+----------------------
Changes (by jeremyhu@…):

 * port:  gimp2 => gegl p11-kit


Comment:

 While I think gegl should not dlclose() the modules it opens (because
 dlclose() always risks dangling pointers like this), I'm curious why
 p11-kit is doing this.  All it's doing is counting the number of times a
 process has forked.
 {{{
 static void
 count_forks (void)
 {
         /* Thread safe, executed in child, one thread exists */
         p11_forkid++;
 }

 void
 p11_library_init_impl (void)
 {
         p11_debug_init ();
         p11_debug ("initializing library");
         p11_mutex_init (&p11_library_mutex);
         pthread_key_create (&thread_local, free);
         p11_message_storage = thread_local_message;

         pthread_atfork (NULL, NULL, count_forks);
 }

 }}}

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


More information about the macports-tickets mailing list