Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Application Installer created using binarycreator (offline installer) is hanged for MACOSX 10.14.5



  • I am using Qt installer version 2.0.3 and Qt Static build version as 5.7.0. I am using binary creator to prepare installer
    for MACOSX 10.14.5. Application Installer file size is 2GB.

    I tried to installing the installer more than 2 times its hanged. Any one give the solution it will be very helpful.

    Thanks In advance



  • @dhu0504 Do you want to reduce the size of the installer file or what?



  • No. I am trying to install, Qt installer framework UI hanged when in some progress bar status for long time.
    How can fix the hang issue.


  • Lifetime Qt Champion



  • @jsulm No. Its fully hanged



  • Mac Application Installer created by using the QT Installer frameworks 2.0.3 is hangs when try to install this application installer on Mac Book air 10.14.5, the hang is happening while trying to extracting the components(Dependency libraries for Application) from com.vendor.Frame to /Library/Frameworks Path in Mac PC.

    waiting for so long time to complete the installer but unsuccessful and required to force quit.

    Error Log:

    Heaviest stack for the main thread of the target process:
    16 start + 1 (libdyld.dylib + 91093) [0x7fff57edd3d5]
    16 main + 5498 (testApp + 35738) [0x10010fb9a]
    16 InstallerBase::run() + 19660 (testApp + 63676) [0x1001168bc]
    16 QCoreApplication::exec() + 341 (testApp + 16533413) [0x1010cb7a5]
    16 QEventLoop::exec(QFlags) + 417 (testApp + 16515873) [0x1010c7321]
    16 QCocoaEventDispatcher::processEvents(QFlags) + 2191 (testApp + 6117519) [0x1006dc88f]
    16 -[NSApplication run] + 699 (AppKit + 79932) [0x7fff2958683c]
    16 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 (AppKit + 104223) [0x7fff2958c71f]
    16 _DPSNextEvent + 965 (AppKit + 108935) [0x7fff2958d987]
    16 _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 42038) [0x7fff2b1f3436]
    16 ReceiveNextEventCommon + 603 (HIToolbox + 42661) [0x7fff2b1f36a5]
    16 RunCurrentEventLoopInMode + 292 (HIToolbox + 43371) [0x7fff2b1f396b]
    16 CFRunLoopRunSpecific + 459 (CoreFoundation + 236341) [0x7fff2bf14b35]
    16 __CFRunLoopRun + 1196 (CoreFoundation + 238131) [0x7fff2bf15233]
    16 __CFRunLoopDoSources0 + 195 (CoreFoundation + 240747) [0x7fff2bf15c6b]
    16 __CFRunLoopDoSource0 + 108 (CoreFoundation + 355681) [0x7fff2bf31d61]
    16 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17 (CoreFoundation + 355771) [0x7fff2bf31dbb]
    16 QCocoaEventDispatcherPrivate::activateTimersSourceCallback(void*) + 18 (testApp + 6114434) [0x1006dbc82]
    16 QTimerInfoList::activateTimers() + 1192 (testApp + 16873400) [0x10111e7b8]
    16 QCoreApplication::notifyInternal2(QObject, QEvent) + 164 (testApp + 16531764) [0x1010cb134]
    16 SDKApp::notify(QObject, QEvent) + 14 (testApp + 74558) [0x10011933e]
    16 QApplication::notify(QObject, QEvent) + 510 (testApp + 7189454) [0x1007e23ce]
    16 QApplicationPrivate::notify_helper(QObject, QEvent) + 314 (testApp + 7184282) [0x1007e0f9a]
    16 QObject::event(QEvent*) + 258 (testApp + 16709458) [0x1010f6752]
    16 QSingleShotTimer::timerEvent(QTimerEvent*) + 155 (testApp + 16762571) [0x1011036cb]
    16 QMetaObject::activate(QObject, int, int, void*) + 3113 (testApp + 16741497) [0x1010fe479]
    16 QInstaller::PackageManagerCore::qt_static_metacall(QObject, QMetaObject::Call, int, void*) + 1210 (testApp + 1534906) [0x10027dbba]
    16 QInstaller::PackageManagerCorePrivate::runInstaller() + 4549 (testApp + 552421) [0x10018dde5]
    16 QInstaller::PackageManagerCorePrivate::installComponent(QInstaller::Component*, double, bool) + 1453 (testApp + 563485) [0x10019091d]
    16 QInstaller::PackageManagerCorePrivate::performOperationThreaded(KDUpdater::UpdateOperation*, QInstaller::PackageManagerCorePrivate::OperationType) + 288 (testApp + 471472) [0x10017a1b0]
    16 QFutureInterfaceBase::waitForResult(int) + 222 (testApp + 14774302) [0x100f1e01e]
    16 QWaitCondition::wait(QMutex*, unsigned long) + 162 (testApp + 14820994) [0x100f29682]
    16 QWaitConditionPrivate::wait(unsigned long) + 75 (testApp + 14821323) [0x100f297cb]
    16 __psynch_cvwait + 10 (libsystem_kernel.dylib + 18538) [0x7fff5801586a]
    *16 psynch_cvcontinue + 0 (pthread + 19324) [0xffffff7f82d0ab7c]

    This hang is not happening all the time. on my next try i have successfully installed the application. the problem occur rate is 7/20 attempts.

    Tried the same with QT Installer Framework 3.0.6 and this also hangs the installer more times (11/20) attempts.

    I did not understand what could be the problem and how to fix it. shading some light is very help full to fix this issue.

    Thanks


  • Lifetime Qt Champion

    @dhu0504 Looks like the installer is performing something in another thread and waits for that thread to finish. But the thread does not finish. You should check Qt bugtracker and file a bug if there is nothing like this.


Log in to reply