Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.11.3
-
None
-
17032c4d64cc4cf32580ff994e443f16126ad7a3 (qt/qtbase/5.13)
Description
Running tst_selftests fails on armv7 with following output:
./tst_selftests runSubTest:"crashes old stdout txt" ********* Start testing of tst_Selftests ********* Config: Using QtTest library 5.11.3, Qt 5.11.3 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) debug build; by GCC 6.3.0) PASS : tst_Selftests::initTestCase() FAIL! : tst_Selftests::runSubTest(crashes old stdout txt) 'output == expected' returned FALSE. (Mismatch at line 4 (stdout txt, expected_crashes.txt): 'QFATAL : tst_Crashes::crash() Received signal 11' != 'FAIL! : tst_Crashes::crash() Caught unhandled exception') Loc: [../tst_selftests.cpp(898)] PASS : tst_Selftests::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 578ms ********* Finished testing of tst_Selftests *********
On aarch64 it doesn't detect the crash correctly even though manually running crashes/crashes outputs following:
crashes/crashes ********* Start testing of tst_Crashes ********* Config: Using QtTest library 5.11.3, Qt 5.11.3 (arm64-little_endian-lp64 shared (dynamic) debug build; by GCC 6.3.0) PASS : tst_Crashes::initTestCase()=== Received signal at function time: 4ms, total time: 32ms, dumping stack === GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 2904 (gdb) === End of stack trace === qemu: uncaught target signal 4 (Illegal instruction) - core dumped Illegal instruction (core dumped)
Attachments
For Gerrit Dashboard: QTBUG-71915 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
273266,3 | Re-add tst_selftests "crashes old stdout txt" on QEMU | 5.13 | qt/qtbase | Status: MERGED | +2 | 0 |