Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS port crashing upon launch #898

Open
Realinho opened this issue Sep 20, 2016 · 0 comments
Open

macOS port crashing upon launch #898

Realinho opened this issue Sep 20, 2016 · 0 comments

Comments

@Realinho
Copy link

Hello all,

I'm not a developer, but I think I'm running into an issue that could be of interest to the folks working on the macOS port and, not knowing if any of you is active on the Wololo forum, I'm posting this here in case it's relevant.

1- Wagic crashes upon launch after downloading it and running it for the first time with the following error message:
Dyld Error Message:
Library not loaded: /usr/local/opt/qt5/lib/QtOpenGL.framework/Versions/5/QtOpenGL
Referenced from: /Applications/wagic.app/Contents/Resources/../MacOS/wagic
Reason: image not found

There are no /opt/qt5/lib folders in /usr/local in either of my systems.

2- Installing Qt Creator, manually creating the aforementioned folders and pasting the QtCore, QtGui, QtMultimedia, QtNetwork, QtOpenGL and QtWidgets frameworks there did allow the application to launch successfully.

3- After exiting, it will no longer launch again, displaying the following error message:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8be22f06 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff8bef64ec pthread_kill + 90
2 libsystem_c.dylib 0x00007fff8aea86df abort + 129
3 org.qt-project.QtCore 0x0000000107925e79 qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) + 9
4 org.qt-project.QtCore 0x0000000107927847 QMessageLogger::fatal(char const*, ...) const + 231
5 org.qt-project.QtGui 0x000000010738aa6d QGuiApplicationPrivate::createPlatformIntegration() + 5581
6 org.qt-project.QtGui 0x000000010738aa9b QGuiApplicationPrivate::createEventDispatcher() + 27
7 org.qt-project.QtCore 0x0000000107af4e96 QCoreApplicationPrivate::init() + 1766
8 org.qt-project.QtGui 0x0000000107386d61 QGuiApplicationPrivate::init() + 49
9 org.qt-project.QtWidgets 0x0000000106c936de QApplicationPrivate::init() + 14
10 wagic 0x0000000106aab554 main + 52
11 libdyld.dylib 0x00007fff8778c5ad start + 1

Deleting and re-downloading Wagic yields the same result. Same when uninstalling and reinstalling Qt Creator and copying the libraries again. It's kind of baffling that it worked once and never again. The only change made when it did run was some key-rebinding.

I'm not knowledgeable about these things at all, but it kind of seems like a similar issue as this one: http://stackoverflow.com/questions/29521545/qt-5-4-application-bundled-for-osx-crashes-when-launched. Which makes me ask: shouldn't or couldn't the application come with these libraries bundled? It seems odd to me that the end user is expected to have them or even Qt installed.

Thanks for your great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant