Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.0.0 Beta 2, 5.0.0
-
None
-
9d0afa2ab02ddd86818e83d514e03f6dfb5a1fef
Description
With sha1 4920090da0fc937d171065694d5274221d2747c9
QVarLengthArray<Foo> a; const int N = 0x7fffffff / sizeof(Foo); a.resize(N);
On Ubuntu 11.10, the test causes the machine to crash.
The test itself is crashing on other platforms:
on Mac 10.6 see attached trace.
On windows 7 with error:
********* Start testing of tst_QVarLengthArray ********* Config: Using QTest library 5.0.0, Qt 5.0.0 PASS : tst_QVarLengthArray::initTestCase() Exception at 0x756db9bc, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) at c:\users\cchao\git\qtbase\src\corelib\global\qglobal.cpp:1921 FAIL! : tst_QVarLengthArray::outOfMemory() Caught unhandled exception .\qtestcase.cpp(2143) : failure location Totals: 1 passed, 1 failed, 0 skipped ********* Finished testing of tst_QVarLengthArray ********* Exception at 0x756db9bc, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) at c:\users\cchao\git\qtbase\src\testlib\qtestcase.cpp:2159 Exception at 0x756db9bc, code: 0xe06d7363: C++ exception, flags=0x1 (execution cannot be continued) at c:\users\cchao\git\qtbase\src\corelib\global\qglobal.cpp:1921
Attachments
Issue Links
- resulted from
-
QTBUG-22342 Inappropriate use of QSKIP in QVarLengthArray autotest
-
- Closed
-