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

REG: Android: tst_QBackingStore crashes

    XMLWordPrintable

Details

    • Android
    • f9e1e595a9a83a93dea98d7b34bf545d06d01387

    Description

      With the introduction of the new platform plugin in Qt 5.3, the QBackingStore autotest started crashing.

      It asserts when the test tries to create a new QBackingStore for its custom Window class (first line in QAndroidPlatformBackingStore ctor).

      Here's the stack trace:

      0	??	/home/eblomfel/dev/qt5-android-stable/base/tests/auto/gui/kernel/qbackingstore/libc.so		0x400942fe	
      1	abort	/home/eblomfel/dev/qt5-android-stable/base/tests/auto/gui/kernel/qbackingstore/libc.so		0x40089c08	
      2	qt_message_fatal	qlogging.cpp	1333	0x5d3670a8	
      3	QMessageLogger::fatal	qlogging.cpp	662	0x5d3641cc	
      4	qt_assert	qglobal.cpp	2124	0x5d35d068	
      5	QAndroidPlatformBackingStore::QAndroidPlatformBackingStore	qandroidplatformbackingstore.cpp	53	0x5df1e920	
      6	QAndroidPlatformIntegration::createPlatformBackingStore	qandroidplatformintegration.cpp	163	0x5df05e9c	
      7	QBackingStore::QBackingStore	qbackingstore.cpp	132	0x5dc37e6c	
      8	Window::Window	tst_qbackingstore.cpp	65	0x5a5725c8	
      9	tst_QBackingStore::flush	tst_qbackingstore.cpp	95	0x5a572824	
      10	tst_QBackingStore::qt_static_metacall	tst_qbackingstore.moc	66	0x5a572cf4	
      11	QMetaMethod::invoke	qmetaobject.cpp	2169	0x5d60bc54	
      12	QMetaObject::invokeMethod	qmetaobject.cpp	1464	0x5d60a454	
      13	QMetaObject::invokeMethod	qobjectdefs.h	399	0x5d9283e0	
      14	QTest::qInvokeTestMethodDataEntry	qtestcase.cpp	1890	0x5d92bb74	
      15	QTest::qInvokeTestMethod	qtestcase.cpp	2015	0x5d92c4d8	
      16	QTest::qInvokeTestMethods	qtestcase.cpp	2229	0x5d92d29c	
      17	QTest::qExec	qtestcase.cpp	2462	0x5d92d94c	
      18	main	tst_qbackingstore.cpp	103	0x5a572f60	
      19	startMainMethod	androidjnimain.cpp	442	0x5def745c	
      20	__thread_entry	/home/eblomfel/dev/qt5-android-stable/base/tests/auto/gui/kernel/qbackingstore/libc.so		0x4008ee04	
      ...	<More>				
      

      Here's the output from the test:

      I/QTestLib( 8389): ********* Start testing of tst_QBackingStore *********
      I/QTestLib( 8389): Config: Using QtTest library 5.3.0, Qt 5.3.0
      I/QTestLib( 8389): PASS   : tst_QBackingStore::initTestCase()
      I/QTestLib( 8389): QFATAL : tst_QBackingStore::flush() ASSERT: "window->handle()" in file qandroidplatformbackingstore.cpp, line 53
      I/QTestLib( 8389): FAIL!  : tst_QBackingStore::flush() Received a fatal error.
      I/QTestLib( 8389):    Loc: [Unknown file(0)]
      I/QTestLib( 8389): Totals: 1 passed, 1 failed, 0 skipped
      I/QTestLib( 8389): ********* Finished testing of tst_QBackingStore *********
      

      Attachments

        Activity

          People

            taipan BogDan Vatra
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: