From 2ef8894fcd415cdc24d7bc222a9f8425fb8f9f34 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Wed, 19 Jun 2019 09:37:19 -0400 Subject: [PATCH] efl_ui_suite_spec: add a hack to have running tests again Summary: it seems something is leading to weird stack behavior with gcc when we do not delete the widget here. Later deletion in _elm_win_shutdown leads to a crash like: #0 0x00007f7b30dd5bd7 in _elm_win_shutdown () at ../src/lib/elementary/efl_ui_win.c:3805 #1 0x01007f7b30cdf3a2 in ?? () #2 0x00007fffa4e60570 in ?? () #3 0x0000000000407b14 in _elm_suite_shutdown () at ../src/tests/elementary/suite_helpers.c:52 which is kind of weird. After a day of debugging i did not get any further, so maybe it is better to do add a hack, so we are having at least a running CI again Reviewers: stefan_schmidt, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9112 --- src/tests/elementary/spec/efl_test_pack_linear.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tests/elementary/spec/efl_test_pack_linear.c b/src/tests/elementary/spec/efl_test_pack_linear.c index ede81ae5d4..ec1f381505 100644 --- a/src/tests/elementary/spec/efl_test_pack_linear.c +++ b/src/tests/elementary/spec/efl_test_pack_linear.c @@ -154,6 +154,10 @@ EFL_START_TEST(pack_before2) EXPECT_ERROR_START; ck_assert_int_eq(efl_pack_before(widget, inv, wid[2]), EINA_FALSE); + //workarround for a bug, it appears that our CI is crashing in the shutdown procedure + //working arround this by deleting the widget earlier + efl_del(widget); + widget = NULL; EXPECT_ERROR_END; } EFL_END_TEST