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

winrt: Assert and warnings when closing application.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6.0 Beta
    • Fix Version/s: 5.6.0 RC
    • Component/s: Other
    • Labels:
      None
    • Environment:
      Windows 10 x64
      MSVC 2013
      Nokia Lumia 1520 (WinPhone 8.1)
    • Platform/s:
      WinRT
    • Commits:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            mkalinow Maurice Kalinowski
            Reporter:
            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