Hi,

When running the following test app on OSX (10.8.4, PyQt 5.1 snapshot + Qt 5.1)

https://github.com/pyinstaller/pyinstaller/blob/develop/tests/interactive/test_pyqt5_qml.py

I get a crash (stack trace below) when it is frozen but not when it is not 
frozen.

Can anyone suggest what might be causing this or how to diagnose it further?

Glenn

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000004

Thread 4 Crashed:: QThread
0 QtQml_debug 0x0c8af5dd QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data() const + 13 (qscopedpointer.h:132) 1 QtQml_debug 0x0c8be1e7 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::pointer qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > >(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > const&) + 23 (qglobal.h:886)
2   QtQml_debug                         0x0c8c9c0c QObject::d_func() + 28 
(qobject.h:118)
3 QtQml_debug 0x0c8be367 QObjectPrivate::get(QObject*) + 23 (qobject_p.h:190) 4 QtQml_debug 0x0cae15ff QQmlDebugServer::instance() + 63 (qqmldebugserver.cpp:273) 5 QtQml_debug 0x0cadb2ab QQmlDebugService::isDebuggingEnabled() + 11 (qqmldebugservice.cpp:269) 6 QtQuick_debug 0x0c3be966 QQmlQtQuick2Module::defineModule() + 182 (qtquick2.cpp:183) 7 libqtquick2plugin_debug.dylib 0x01ff2347 QtQuick2Plugin::registerTypes(char const*) + 167 (plugin.cpp:59) 8 libqtquick2plugin_debug.dylib 0x01ff23d9 non-virtual thunk to QtQuick2Plugin::registerTypes(char const*) + 41 (plugin.cpp:59) 9 QtQml_debug 0x05cb3d42 QQmlImportDatabase::importPlugin(QString const&, QString const&, QString const&, QList<QQmlError>*) + 2882 (qqmlimport.cpp:1708) 10 QtQml_debug 0x05cb2953 QQmlImportsPrivate::importExtension(QString const&, QString const&, QQmlImportDatabase*, QQmlTypeLoader::QmldirContent const*, QList<QQmlError>*) + 979 (qqmlimport.cpp:760) 11 QtQml_debug 0x05cb6628 QQmlImportsPrivate::addLibraryImport(QString const&, QString const&, int, int, QString const&, QString const&, bool, QQmlImportDatabase*, QList<QQmlError>*) + 712 (qqmlimport.cpp:1058) 12 QtQml_debug 0x05cb8cbc QQmlImports::addLibraryImport(QQmlImportDatabase*, QString const&, QString const&, int, int, QString const&, QString const&, bool, QList<QQmlError>*) + 892 (qqmlimport.cpp:1314) 13 QtQml_debug 0x05c4fa1d QQmlTypeLoader::Blob::addImport(QQmlScript::Import const&, QList<QQmlError>*) + 781 (qqmltypeloader.cpp:1258) 14 QtQml_debug 0x05c53e0d QQmlTypeData::dataReceived(QQmlDataBlob::Data const&) + 1677 (qqmltypeloader.cpp:2096) 15 QtQml_debug 0x05c4de5f QQmlDataLoader::setData(QQmlDataBlob*, QQmlDataBlob::Data const&) + 111 (qqmltypeloader.cpp:1156) 16 QtQml_debug 0x05c4dc7a QQmlDataLoader::setData(QQmlDataBlob*, QQmlFile*) + 138 (qqmltypeloader.cpp:1146) 17 QtQml_debug 0x05c4d34d QQmlDataLoader::loadThread(QQmlDataBlob*) + 1437 (qqmltypeloader.cpp:1026) 18 QtQml_debug 0x05c4c8b7 QQmlDataLoaderThread::loadThread(QQmlDataBlob*) + 39 (qqmltypeloader.cpp:808) 19 QtQml_debug 0x05c57915 void QQmlThread::callMethodInThread<QQmlDataBlob*, QQmlDataBlob*, QQmlDataLoaderThread>(void (QQmlDataLoaderThread::*)(QQmlDataBlob*), QQmlDataBlob* const&)::QQmlThread::callMethodInThread<QQmlDataBlob*, QQmlDataBlob*, QQmlDataLoaderThread>::I::call(QQmlThread*) + 117 (qqmlthread_p.h:161) 20 QtQml_debug 0x05d126a3 QQmlThreadPrivate::threadEvent() + 211 (qqmlthread.cpp:197) 21 QtQml_debug 0x05d125a9 QQmlThreadPrivate::event(QEvent*) + 57 (qqmlthread.cpp:136) 22 QtWidgets_debug 0x03a34811 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 449 (qapplication.cpp:3455) 23 QtWidgets_debug 0x03a368b2 QApplication::notify(QObject*, QEvent*) + 2178 (qapplication.cpp:2876) 24 PyQt5.QtWidgets.so 0x031f386e sipQApplication::notify(QObject*, QEvent*) + 222 25 QtCore_debug 0x0181802e QCoreApplication::notifyInternal(QObject*, QEvent*) + 190 (qcoreapplication.cpp:871) 26 QtCore_debug 0x0181da9b QCoreApplication::sendEvent(QObject*, QEvent*) + 107 (qcoreapplication.h:232) 27 QtCore_debug 0x0181963f QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 1423 (qcoreapplication.cpp:1473) 28 QtCore_debug 0x01818a83 QCoreApplication::sendPostedEvents(QObject*, int) + 51 (qcoreapplication.cpp:1334) 29 QtCore_debug 0x018bd390 postEventSourceDispatch(_GSource*, int (*)(void*), void*) + 80 (qeventdispatcher_glib.cpp:280)
30  libglib-2.0.0.dylib                 0x005b2580 g_main_context_dispatch + 320
31  libglib-2.0.0.dylib                 0x005b298a g_main_context_iterate + 538
32  libglib-2.0.0.dylib                 0x005b2a18 g_main_context_iteration + 
104
33 QtCore_debug 0x018bbeef QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 319 (qeventdispatcher_glib.cpp:428) 34 QtCore_debug 0x01812ea6 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 118 (qeventloop.cpp:136) 35 QtCore_debug 0x018130e6 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 550 (qeventloop.cpp:212) 36 QtCore_debug 0x01566fe7 QThread::exec() + 183 (qthread.cpp:507) 37 QtQml_debug 0x05d12759 QQmlThreadPrivate::run() + 73 (qqmlthread.cpp:149) 38 QtCore_debug 0x01570ba4 QThreadPrivate::start(void*) + 868 (qthread_unix.cpp:339)
39  libsystem_c.dylib                   0x931f25b7 _pthread_start + 344
40  libsystem_c.dylib                   0x931dcd4e thread_start + 34

--
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to