From 06b103c81a28237a568b3392e5e7954bb1ec7b1d Mon Sep 17 00:00:00 2001 From: Janne Anttila Date: Wed, 29 Apr 2009 10:40:36 +0300 Subject: Increased stack size for threads created in QLocalSocket autotests. The default stack size (8KB), caused KERN-EXEC 3 panics when executing tests in 5800 HW. --- tests/auto/qlocalsocket/tst_qlocalsocket.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/auto/qlocalsocket/tst_qlocalsocket.cpp b/tests/auto/qlocalsocket/tst_qlocalsocket.cpp index c289c24..50ac953 100644 --- a/tests/auto/qlocalsocket/tst_qlocalsocket.cpp +++ b/tests/auto/qlocalsocket/tst_qlocalsocket.cpp @@ -716,12 +716,18 @@ void tst_QLocalSocket::threadedConnection() QFETCH(int, threads); Server server; +#if defined(Q_OS_SYMBIAN) + server.setStackSize(0x14000); +#endif server.clients = threads; server.start(); QList clients; for (int i = 0; i < threads; ++i) { clients.append(new Client()); +#if defined(Q_OS_SYMBIAN) + clients.last()->setStackSize(0x14000); +#endif clients.last()->start(); } -- cgit v0.12