diff options
author | Christian Tismer <tismer@stackless.com> | 2017-11-21 17:03:41 +0100 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2017-11-23 00:57:38 +0000 |
commit | 2663162c9038a1151076b7efd3ae53e48e3818df (patch) | |
tree | d19db4935fe6e9ec9c6ceeb2754becf2b5c4b9de /sources/pyside2/tests/CMakeLists.txt | |
parent | 17f9e415bd1a4d4c5c0d86fc2855e92f698842b7 (diff) |
Investigate the sporadic segfaults on RHEL
Lately, the RHEL platform tends to segfault between 0-4 times
in a test run.
I suspect that is related to some finalization code that is triggered
at a special time, due to a stressy situation. But we don't know
until we ask the CI system by printing a stack trace.
This patch prints a stack dump after a segfault happened.
The dump is only activated when the environment setting
QTEST_ENVIRONMENT=ci
is true. (The above needs to be compared with strcmp or strstr)
Note that the tests _are not isolated_. I recognized that by the warnings
module that leaked between tests. The processes are shared, unless
you have setup and teardown functions.
There might for instance be some hidden refcount bug that triggers
only early enough in a stress situation.
Change-Id: Ibbc592e7bdcbdd3cdbc06f203be3e5fc1daaf774
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/tests/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions