Do not crash if /proc is not mounted
authorAlbert Astals Cid <albert.astals@canonical.com>
Mon, 13 Jan 2014 10:09:34 +0000 (11:09 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 15 Jan 2014 09:45:05 +0000 (10:45 +0100)
commit14ebfef611d5703e3a2d74cfb5a42f93e66644a6
treef81961083f3e5aa16ee45101e5c2b1d63e91945c
parent51f4f6f0c376607543cf046fb27b199aecac0912
Do not crash if /proc is not mounted

When proc is not mounted pthread_getattr_np fails, so default
to 1MB stack in getStackLimit and to exactGC in MemoryManager

Change-Id: Ic7515fd420f2d39a656808d24a3915a657722891
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/qv4engine.cpp
src/qml/jsruntime/qv4mm.cpp