[MacPorts] #41709: Mac OS X- loading two sets of Qt binaries into the same process

MacPorts noreply at macports.org
Thu Dec 5 21:44:30 PST 2013


#41709: Mac OS X- loading two sets of Qt binaries into the same process
-----------------------+-------------------
  Reporter:  gtmdhl@…  |      Owner:  jan@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.2.1
Resolution:            |   Keywords:
      Port:  digikam   |
-----------------------+-------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
 * keywords:  two sets of Qt binaries =>
 * owner:  macports-tickets@… => jan@…


Old description:

> I have followed the routine of installing Digikam on Mac OS 10.9 as
> suggested by Gilles Caulie. I continue to experience an unstable program
> which crashes easily upon almost any simple menue command. Perhaps the
> followng error message is the cause.
>
> "On Mac OS X, you might be loading two sets of Qt binaries into the same
> process. Check that all plugins are compiled against the right Qt
> binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of
> binaries are being loaded.
> QObject::moveToThread: Current thread (0x7fdce9c028e0) is not the
> object's thread (0x7fdce9de92a0).
> Cannot move to target thread (0x7fdce9c028e0)"
>
> I have attempted to research the issue on Macports through the ticket
> system. I found Ticket # 19217 which addresses some of this issue but I
> do not see any recommendations as to a process to resolve the issue.
> Regarding the reference of DYLD , "Export DYLD_PRINT_LIBRARIES=1 and
> check that only one set of binaries are being loaded". My search of the
> MacPorts Ticket issues found little of the DYLD issue and did not suggest
> how to use the libraries.
>
> Any assistance or suggestions as to what I might do to correct these
> issues will be appreciated.
> David Lyon

New description:

 I have followed the routine of installing Digikam on Mac OS 10.9 as
 suggested by Gilles Caulie. I continue to experience an unstable program
 which crashes easily upon almost any simple menue command. Perhaps the
 followng error message is the cause.

 "On Mac OS X, you might be loading two sets of Qt binaries into the same
 process. Check that all plugins are compiled against the right Qt
 binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of
 binaries are being loaded.
 QObject::moveToThread: Current thread (0x7fdce9c028e0) is not the object's
 thread (0x7fdce9de92a0).
 Cannot move to target thread (0x7fdce9c028e0)"

 I have attempted to research the issue on Macports through the ticket
 system. I found Ticket #19217 which addresses some of this issue but I do
 not see any recommendations as to a process to resolve the issue.
 Regarding the reference of DYLD , "Export DYLD_PRINT_LIBRARIES=1 and check
 that only one set of binaries are being loaded". My search of the MacPorts
 Ticket issues found little of the DYLD issue and did not suggest how to
 use the libraries.

 Any assistance or suggestions as to what I might do to correct these
 issues will be appreciated.
 David Lyon

--

Comment:

 Regarding the message you quoted, do you have any reason to believe that
 you have multiple sets of Qt binaries? Have you installed a copy of Qt
 outside of MacPorts? What happens if you run `DYLD_PRINT_LIBRARIES=1
 digikam` -- does it show multiple different sets of Qt libraries being
 used?

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


More information about the macports-tickets mailing list