Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
4.8.0, 4.8.5
-
None
-
Mac OS X 10.6/10.7/10.8/10.9
Description
Any simple application with main window (including the qt mainwindow sample) crashes after it's bundled with QT libraries using the following command:
/usr/local/Trolltech/Qt-4.8.0/bin/macdeployqt <app_name> -no-plugins -verbose=0
I'm talking about release build, of cause.
The callstack is always the same:
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 QtGui 0x1532529d -[NSApplication(QApplicationIntegration) qt_filterEvent:] + 29
1 QtGui 0x00175643 QMacInputContext::reset() + 45155
2 com.apple.AppKit 0x97b6b253 -[NSApplication run] + 917
3 QtGui 0x001808ba QDesktopWidget::resizeEvent(QResizeEvent*) + 12890
4 QtCore 0x00d77661 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 65
5 QtCore 0x00d77a3a QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 314
6 QtCore 0x00d7a0d6 QCoreApplication::exec() + 182
7 com.mycompany.myapp 0x0000e3b1 main + 225
8 com.mycompany.myapp 0x000085dd _start + 208
9 com.mycompany.myapp 0x0000850c start + 40
But if I delete the folder 'usr/local/Trolltech/Qt-4.8.0' from this mac machine, it runs OK. I believe it's some sort of confusion with libraries. It never happened with Qt 4.7.2 (used before on the same machine and same options)
configure options: -fast -no-webkit -universal