[MacPorts] #41709: Mac OS X- loading two sets of Qt binaries into the same process
#41709: Mac OS X- loading two sets of Qt binaries into the same process -------------------------------------+-------------------------------- Reporter: gtmdhl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: two sets of Qt binaries | Port: digikam -------------------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/41709> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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 | -----------------------+------------------- Comment (by gtmdhl@…): Replying to [comment:2 ryandesign@…]:
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?
I have attempted to run the inquiry but perhaps my ignorance of the nomenlature is a problem. bash-3.2$ DYLD_PRINT_LIBRARIES=1digikam bash-3.2$ 'DYLD_PRINT_LIBRARIES=1 digikam' bash: DYLD_PRINT_LIBRARIES=1 digikam: command not found bash-3.2$ DYLD_PRINT_LIBRARIES=1 digikam bash: digikam: command not found bash-3.2$ I get no results with what I have tried. Please advise. Thanks, David -- Ticket URL: <https://trac.macports.org/ticket/41709#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | -----------------------+------------------- Comment (by caulier.gilles@…): David, I see the smae problem on my macbook after to update on Maverick. All Qt applications compile fine (digiKam & co) but at run time, i see the same error than you. I uninstalled all macports and reinstalled all libraries and programs WITHOUT "+debug" option through Macports Sound like there is a conflict at linking that mix debug and not debug objects. Gilles Caulier -- Ticket URL: <https://trac.macports.org/ticket/41709#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | -----------------------+------------------- Comment (by ryandesign@…): Replying to [comment:3 gtmdhl@…]:
{{{ bash-3.2$ DYLD_PRINT_LIBRARIES=1 digikam bash: digikam: command not found }}}
How does one usually start digikam? I thought the digikam port would install a `digikam` executable, but maybe not. I have not been able to install digikam on my own machine yet to verify. -- Ticket URL: <https://trac.macports.org/ticket/41709#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | -----------------------+------------------- Comment (by ryandesign@…): Ok, I've managed to install digikam, and I see now it's an application bundle. So try: {{{ DYLD_PRINT_LIBRARIES=1 /Applications/MacPorts/KDE4/digikam.app/Contents/MacOS/digikam }}} -- Ticket URL: <https://trac.macports.org/ticket/41709#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | -----------------------+------------------- Comment (by gtmdhl@…): Replying to [comment:6 ryandesign@…]:
Ok, I've managed to install digikam, and I see now it's an application bundle. So try:
{{{ DYLD_PRINT_LIBRARIES=1 /Applications/MacPorts/KDE4/digikam.app/Contents/MacOS/digikam }}} Upon running the suggested sequence there are no duplicate libraries. However since the problem was created, I have uninstalled digikam and MacPorts, cleaned and reinstalled MacPorts and digikam. Thanks for your support. David
-- Ticket URL: <https://trac.macports.org/ticket/41709#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts