Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-49310

winrt: Assert and warnings when closing application.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0 RC
    • 5.6.0 Beta
    • Other
    • None
    • Windows 10 x64
      MSVC 2013
      Nokia Lumia 1520 (WinPhone 8.1)
    • WinRT
    • becbffe291c1105eb422e8dc66c67c5b6443b96c

    Description

      Steps:
      1. Run any QML application on windows phone
      2. Long press back button
      3. Close app from close button
      Expected: Waring free exit log
      Actual: Quite a few warning printed.

      System out:

      Failed to completely destroy window resources, likely because the application is shutting down (The operation cannot be completed because the window is being closed.)
      
      QCoreApplication::exit: It is not recommended to explicitly exit an application on Windows Store Apps
      
      ASSERT failure in __cdecl QWinRTWindow::QWinRTWindow(class QWindow *): "The operation cannot be completed because the window is being closed.", file qt5\qtbase\src\plugins\platforms\winrt\qwinrtwindow.cpp, line 147
      
      ASSERT failure in void __cdecl QWinRTWindow::setGeometry(const class QRect &): "The operation cannot be completed because the window is being closed.", file qt5\qtbase\src\plugins\platforms\winrt\qwinrtwindow.cpp, line 239
      
      Failed to completely destroy window resources, likely because the application is shutting down (The operation cannot be completed because the window is being closed.)
      
      ASSERT failure in __cdecl QWinRTIntegration::~QWinRTIntegration(void): "A method was called at an unexpected time.", file qt5\qtbase\src\plugins\platforms\winrt\qwinrtintegration.cpp, line 157
      
      Failed to unregister screen event callbacks (The operation cannot be completed because the window is being closed.)
      
      First-chance exception at 0x77CB35D7 (KERNELBASE.DLL) in The callee (server [not server application]) is not available and disappeared; all connections are invalid. The call did not execute.
      

      Attachments

        For Gerrit Dashboard: QTBUG-49310
        # Subject Branch Project Status CR V

        Activity

          People

            mkalinow Maurice Kalinowski
            samuelnevala Samuel Nevala
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes