Bug 387008 - Failing tests in master
Summary: Failing tests in master
Status: RESOLVED FIXED
Alias: None
Product: kwayland
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Flöser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-16 23:03 UTC by Christophe Marin
Modified: 2021-01-22 02:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Marin 2017-11-16 23:03:16 UTC
Using master and Qt 5.10 beta 3.

The following tests FAILED:
          7 - kwayland-testWaylandSurface (OTHER_FAULT)
         33 - kwayland-testXdgForeign (OTHER_FAULT)

The failure seems to happen *after* the test.
eg :

PASS   : TestForeign::testImportTwoTimes()
PASS   : TestForeign::cleanupTestCase()
Totals: 9 passed, 0 failed, 0 skipped, 0 blacklisted, 101ms
********* Finished testing of TestForeign *********
Error sending request: Bad file descriptor
[1]    1943 abort (core dumped)  ./testXdgForeign


#1  0x00007f577ee476b1 in __GI_abort () at abort.c:79
#2  0x00007f577dc070bf in ?? ()
#3  0x00007f577dc0313d in wl_proxy_marshal_array_constructor_versioned () from /usr/lib64/libwayland-client.so.0
#4  0x00007f577dc0328c in wl_proxy_marshal () from /usr/lib64/libwayland-client.so.0
#5  0x00007f577fd14ad9 in zxdg_exported_v2_destroy (zxdg_exported_v2=0x214eed0) at /kde/build/5/frameworks/kwayland/src/client/wayland-xdg-foreign-unstable-v2-client-protocol.h:371
#6  0x00007f577fd13f6f in KWayland::Client::WaylandPointer<zxdg_exported_v2, &(zxdg_exported_v2_destroy(zxdg_exported_v2*))>::release (this=0x214aae8) at /kde/src/5/frameworks/kwayland/src/client/wayland_pointer_p.h:53
#7  0x00007f577fd13f29 in KWayland::Client::XdgExportedUnstableV2::Private::release (this=0x214aad0) at /kde/src/5/frameworks/kwayland/src/client/xdgforeign_v2.cpp:201
#8  0x00007f577fd1574a in KWayland::Client::XdgExported::release (this=0x2151f20) at /kde/src/5/frameworks/kwayland/src/client/xdgforeign.cpp:188
#9  0x00007f577fd156f7 in KWayland::Client::XdgExported::~XdgExported (this=0x2151f20) at /kde/src/5/frameworks/kwayland/src/client/xdgforeign.cpp:178
#10 0x00007f577fd143a5 in KWayland::Client::XdgExportedUnstableV2::~XdgExportedUnstableV2 (this=0x2151f20) at /kde/src/5/frameworks/kwayland/src/client/xdgforeign_v2.cpp:248
#11 0x00007f577fd143c9 in KWayland::Client::XdgExportedUnstableV2::~XdgExportedUnstableV2 (this=0x2151f20) at /kde/src/5/frameworks/kwayland/src/client/xdgforeign_v2.cpp:247
#12 0x00007f577f806cbb in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#13 0x00007f577f81000b in QObject::~QObject() () from /usr/lib64/libQt5Core.so.5
#14 0x000000000040a3b3 in TestForeign::~TestForeign (this=0x7ffdd7c9e248) at /kde/src/5/frameworks/kwayland/autotests/client/test_xdg_foreign.cpp:38
#15 0x0000000000407e79 in main (argc=1, argv=0x7ffdd7c9e408) at /kde/src/5/frameworks/kwayland/autotests/client/test_xdg_foreign.cpp:400
Comment 1 Christophe Marin 2017-11-16 23:06:07 UTC
with the wayland debug package installed :
#2  0x00007f577dc070bf in wl_abort (fmt=fmt@entry=0x7f577dc0728e "Error sending request: %s\n") at src/wayland-util.c:419
#3  0x00007f577dc0313d in wl_proxy_marshal_array_constructor_versioned (proxy=proxy@entry=0x214eed0, opcode=opcode@entry=0, args=args@entry=0x7ffdd7c9dee0, interface=interface@entry=0x0, version=1)
    at src/wayland-client.c:659
#4  0x00007f577dc03199 in wl_proxy_marshal_array_constructor (proxy=proxy@entry=0x214eed0, opcode=opcode@entry=0, args=args@entry=0x7ffdd7c9dee0, interface=interface@entry=0x0) at src/wayland-client.c:599
#5  0x00007f577dc0328c in wl_proxy_marshal (proxy=0x214eed0, opcode=0) at src/wayland-client.c:696
#6  0x00007f577fd14ad9 in zxdg_exported_v2_destroy (zxdg_exported_v2=0x214eed0) at /kde/build/5/frameworks/kwayland/src/client/wayland-xdg-foreign-unstable-v2-client-protocol.h:371
Comment 2 Thiago Sueto 2021-01-22 02:38:22 UTC
Hello Cristophe,
There have been 9 Plasma versions and 5 Qt versions since then.
I believe we can safely close this one since it consists of tests for a very specific version. A new bug report may be warranted if current KWayland fails on testXDGforeign.