From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Greenisland & SDDM Date: Sun, 02 Apr 2017 23:20:31 +0200 Message-ID: <87lgri8q1s.fsf_-_@gnu.org> References: <87mvdpw3b3.fsf@gnu.org> <20170320184145.GA5087@jasmine> <87a884td23.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <87k273g3qz.fsf@gnu.org> <87tw66j0oe.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cumvO-0006rG-5k for guix-devel@gnu.org; Sun, 02 Apr 2017 17:20:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cumvL-0000Db-1L for guix-devel@gnu.org; Sun, 02 Apr 2017 17:20:38 -0400 In-Reply-To: <87tw66j0oe.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (Marius Bakke's message of "Sun, 02 Apr 2017 17:20:49 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Marius Bakke Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! Marius Bakke skribis: > One "greenisland" test is segfaulting. This package is needed for the > "sddm" display manager, so I don't think we should merge until that is > sorted. I'm looking into it now, but struggling to produce useful > debugging information. I=E2=80=99ve looked a bit and this seems to be a case of double-free: --8<---------------cut here---------------start------------->8--- $ valgrind /tmp/guix-build-greenisland-0.9.0.1.drv-0/build/tests/auto/clien= t/tst_client_registry=20 =3D=3D16114=3D=3D Memcheck, a memory error detector =3D=3D16114=3D=3D Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward = et al. =3D=3D16114=3D=3D Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyr= ight info =3D=3D16114=3D=3D Command: /tmp/guix-build-greenisland-0.9.0.1.drv-0/build/= tests/auto/client/tst_client_registry =3D=3D16114=3D=3D=20 QML debugging is enabled. Only use this in a safe environment. ********* Start testing of TestRegistry ********* Config: Using QtTest library 5.7.1, Qt 5.7.1 (x86_64-little_endian-lp64 sha= red (dynamic) release build; by GCC 5.4.0) PASS : TestRegistry::initTestCase() =3D=3D16114=3D=3D Invalid read of size 4 =3D=3D16114=3D=3D at 0x9E71A94: pthread_mutex_lock (in /gnu/store/rmjlyc= dgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/lib/libpthread-2.25.so) =3D=3D16114=3D=3D by 0x5556E9F: wl_proxy_destroy (in /gnu/store/syzisi3i= b6q406nrxpb4723fhm2cmyml-wayland-1.13.0/lib/libwayland-client.so.0.3.0) =3D=3D16114=3D=3D by 0x509A42F: wl_registry_destroy (wayland-wayland-cli= ent-protocol.h:1065) =3D=3D16114=3D=3D by 0x509A42F: GreenIsland::Client::RegistryPrivate::~R= egistryPrivate() (registry.cpp:121) =3D=3D16114=3D=3D by 0x509A488: GreenIsland::Client::RegistryPrivate::~R= egistryPrivate() (registry.cpp:124) =3D=3D16114=3D=3D by 0x7C1336B: QObject::~QObject() (in /gnu/store/ihjf8= 1is9xh4virnj9k5v87zv3z0idj8-qtbase-5.7.1/lib/libQt5Core.so.5.7.1) =3D=3D16114=3D=3D by 0x404D30: ~Registry (registry.h:54) =3D=3D16114=3D=3D by 0x404D30: testSetup (tst_registry.cpp:108) =3D=3D16114=3D=3D by 0x404D30: TestRegistry::qt_static_metacall(QObject*= , QMetaObject::Call, int, void**) [clone .part.23] (tst_registry.moc:96) =3D=3D16114=3D=3D by 0x7BED4F9: QMetaMethod::invoke(QObject*, Qt::Connec= tionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGene= ricArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGeneric= Argument, QGenericArgument, QGenericArgument, QGenericArgument) const (in /= gnu/store/ihjf81is9xh4virnj9k5v87zv3z0idj8-qtbase-5.7.1/lib/libQt5Core.so.5= .7.1) =3D=3D16114=3D=3D by 0x4E4A213: ??? (in /gnu/store/ihjf81is9xh4virnj9k5v= 87zv3z0idj8-qtbase-5.7.1/lib/libQt5Test.so.5.7.1) =3D=3D16114=3D=3D by 0x4E4AB25: ??? (in /gnu/store/ihjf81is9xh4virnj9k5v= 87zv3z0idj8-qtbase-5.7.1/lib/libQt5Test.so.5.7.1) =3D=3D16114=3D=3D by 0x4E4B111: ??? (in /gnu/store/ihjf81is9xh4virnj9k5v= 87zv3z0idj8-qtbase-5.7.1/lib/libQt5Test.so.5.7.1) =3D=3D16114=3D=3D by 0x4E4B5E8: QTest::qExec(QObject*, int, char**) (in = /gnu/store/ihjf81is9xh4virnj9k5v87zv3z0idj8-qtbase-5.7.1/lib/libQt5Test.so.= 5.7.1) =3D=3D16114=3D=3D by 0x403C60: main (tst_registry.cpp:306) =3D=3D16114=3D=3D Address 0x1274e4c0 is 240 bytes inside a block of size 3= 20 free'd =3D=3D16114=3D=3D at 0x4C2BBD0: free (in /gnu/store/qr7xykwfxav3drx9c2fx= azggpl8j9py9-valgrind-3.12.0/lib/valgrind/vgpreload_memcheck-amd64-linux.so) =3D=3D16114=3D=3D by 0x508F305: GreenIsland::Client::ClientConnectionPri= vate::~ClientConnectionPrivate() (clientconnection.cpp:61) =3D=3D16114=3D=3D by 0x508F318: GreenIsland::Client::ClientConnectionPri= vate::~ClientConnectionPrivate() (clientconnection.cpp:63) =3D=3D16114=3D=3D by 0x7C1336B: QObject::~QObject() (in /gnu/store/ihjf8= 1is9xh4virnj9k5v87zv3z0idj8-qtbase-5.7.1/lib/libQt5Core.so.5.7.1) =3D=3D16114=3D=3D by 0x508FDA6: ~ClientConnection (clientconnection.h:43) =3D=3D16114=3D=3D by 0x508FDA6: GreenIsland::Client::ClientConnection::~= ClientConnection() (clientconnection.h:43) =3D=3D16114=3D=3D by 0x7C0C887: QObject::event(QEvent*) (in /gnu/store/i= hjf81is9xh4virnj9k5v87zv3z0idj8-qtbase-5.7.1/lib/libQt5Core.so.5.7.1) =3D=3D16114=3D=3D by 0x7BE2879: QCoreApplication::notify(QObject*, QEven= t*) (in /gnu/store/ihjf81is9xh4virnj9k5v87zv3z0idj8-qtbase-5.7.1/lib/libQt5= Core.so.5.7.1) =3D=3D16114=3D=3D by 0x7BE29D7: QCoreApplication::notifyInternal2(QObjec= t*, QEvent*) (in /gnu/store/ihjf81is9xh4virnj9k5v87zv3z0idj8-qtbase-5.7.1/l= ib/libQt5Core.so.5.7.1) =3D=3D16114=3D=3D by 0x7BE4FCA: QCoreApplicationPrivate::sendPostedEvent= s(QObject*, int, QThreadData*) (in /gnu/store/ihjf81is9xh4virnj9k5v87zv3z0i= dj8-qtbase-5.7.1/lib/libQt5Core.so.5.7.1) =3D=3D16114=3D=3D by 0x7C32EE2: ??? (in /gnu/store/ihjf81is9xh4virnj9k5v= 87zv3z0idj8-qtbase-5.7.1/lib/libQt5Core.so.5.7.1) =3D=3D16114=3D=3D by 0x8CF30D6: g_main_context_dispatch (in /gnu/store/0= wps368gx0cn3ynrkbhzq5pxf75rng7y-glib-2.50.3/lib/libglib-2.0.so.0.5000.3) =3D=3D16114=3D=3D by 0x8CF3307: g_main_context_iterate.isra.29 (in /gnu/= store/0wps368gx0cn3ynrkbhzq5pxf75rng7y-glib-2.50.3/lib/libglib-2.0.so.0.500= 0.3) =3D=3D16114=3D=3D Block was alloc'd at =3D=3D16114=3D=3D at 0x4C2C868: calloc (in /gnu/store/qr7xykwfxav3drx9c2= fxazggpl8j9py9-valgrind-3.12.0/lib/valgrind/vgpreload_memcheck-amd64-linux.= so) =3D=3D16114=3D=3D by 0x555755E: wl_display_connect_to_fd (in /gnu/store/= syzisi3ib6q406nrxpb4723fhm2cmyml-wayland-1.13.0/lib/libwayland-client.so.0.= 3.0) =3D=3D16114=3D=3D by 0x5557741: wl_display_connect (in /gnu/store/syzisi= 3ib6q406nrxpb4723fhm2cmyml-wayland-1.13.0/lib/libwayland-client.so.0.3.0) =3D=3D16114=3D=3D by 0x508F6D3: GreenIsland::Client::ClientConnectionPri= vate::_q_initConnection() (clientconnection.cpp:83) =3D=3D16114=3D=3D by 0x7C0C850: QObject::event(QEvent*) (in /gnu/store/i= hjf81is9xh4virnj9k5v87zv3z0idj8-qtbase-5.7.1/lib/libQt5Core.so.5.7.1) =3D=3D16114=3D=3D by 0x7BE2879: QCoreApplication::notify(QObject*, QEven= t*) (in /gnu/store/ihjf81is9xh4virnj9k5v87zv3z0idj8-qtbase-5.7.1/lib/libQt5= Core.so.5.7.1) =3D=3D16114=3D=3D by 0x7BE29D7: QCoreApplication::notifyInternal2(QObjec= t*, QEvent*) (in /gnu/store/ihjf81is9xh4virnj9k5v87zv3z0idj8-qtbase-5.7.1/l= ib/libQt5Core.so.5.7.1) =3D=3D16114=3D=3D by 0x7BE4FCA: QCoreApplicationPrivate::sendPostedEvent= s(QObject*, int, QThreadData*) (in /gnu/store/ihjf81is9xh4virnj9k5v87zv3z0i= dj8-qtbase-5.7.1/lib/libQt5Core.so.5.7.1) =3D=3D16114=3D=3D by 0x7C32EE2: ??? (in /gnu/store/ihjf81is9xh4virnj9k5v= 87zv3z0idj8-qtbase-5.7.1/lib/libQt5Core.so.5.7.1) =3D=3D16114=3D=3D by 0x8CF30D6: g_main_context_dispatch (in /gnu/store/0= wps368gx0cn3ynrkbhzq5pxf75rng7y-glib-2.50.3/lib/libglib-2.0.so.0.5000.3) =3D=3D16114=3D=3D by 0x8CF3307: g_main_context_iterate.isra.29 (in /gnu/= store/0wps368gx0cn3ynrkbhzq5pxf75rng7y-glib-2.50.3/lib/libglib-2.0.so.0.500= 0.3) =3D=3D16114=3D=3D by 0x8CF33AB: g_main_context_iteration (in /gnu/store/= 0wps368gx0cn3ynrkbhzq5pxf75rng7y-glib-2.50.3/lib/libglib-2.0.so.0.5000.3) --8<---------------cut here---------------end--------------->8--- However, says that it=E2=80=99s UNMAINTANED (sic), so I wonder what should be done. Since, SDDM can be built without Greenisland (and thus without Wayland support I suppose), what about doing just that? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm index 307bc864e..d636fec8c 100644 --- a/gnu/packages/display-managers.scm +++ b/gnu/packages/display-managers.scm @@ -140,7 +140,7 @@ Qt-style API for Wayland clients.") ("qttools" ,qttools))) (inputs `(("glib" ,glib) - ("greenisland" ,greenisland) + ;; ("greenisland" ,greenisland) ("libxcb" ,libxcb) ("libxkbcommon" ,libxkbcommon) ("linux-pam" ,linux-pam) --=-=-=--