GNU bug report logs -
#36675
kodi 18.2 fails to build
Previous Next
Reported by: Josh Holland <josh <at> inv.alid.pw>
Date: Mon, 15 Jul 2019 19:22:02 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36675 in the body.
You can then email your comments to 36675 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#36675
; Package
guix
.
(Mon, 15 Jul 2019 19:22:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Josh Holland <josh <at> inv.alid.pw>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 15 Jul 2019 19:22:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Steps to reproduce:
$ guix build kodi
Expected result:
kodi builds successfully
Actual result:
test suite fails, with the below error message
------------8<--------------------
Start 438: TestMassEvent.General
438/521 Test #438: TestMassEvent.General ....................................................Child aborted***Exception: 0.82 sec
Note: Google Test filter = TestMassEvent.General
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TestMassEvent
[ RUN ] TestMassEvent.General
[ OK ] TestMassEvent.General (105 ms)
[----------] 1 test from TestMassEvent (105 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (142 ms total)
[ PASSED ] 1 test.
kodi-test: ../nptl/pthread_mutex_lock.c:434: __pthread_mutex_lock_full: Assertion `robust || (oldval & FUTEX_OWNER_DIED) == 0' failed.
Start 439: TestMassEvent.Polling
439/521 Test #439: TestMassEvent.Polling ....................................................Child aborted***Exception: 0.79 sec
Note: Google Test filter = TestMassEvent.Polling
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TestMassEvent
[ RUN ] TestMassEvent.Polling
[ OK ] TestMassEvent.Polling (133 ms)
[----------] 1 test from TestMassEvent (133 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (276 ms total)
[ PASSED ] 1 test.
Clean shutdown of TestGlobalPattern1
kodi-test: ../nptl/pthread_mutex_lock.c:434: __pthread_mutex_lock_full: Assertion `robust || (oldval & FUTEX_OWNER_DIED) == 0' failed.
----------8<----------------------
--
Josh Holland
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36675
; Package
guix
.
(Mon, 15 Jul 2019 21:40:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 36675 <at> debbugs.gnu.org (full text, mbox):
I tried again just now, and:
successfully built /gnu/store/pmq2jv9j9snmyzbdngmklghn9bpzrxig-kodi-18.2.drv
/gnu/store/qzc0j7v4b4ylgqrk5n8h2dj5q5bp8qbf-kodi-18.2
It's definitely failed before a bunch of times when I've tried to do
`guix upgrade`, so not sure what to make of it really.
--
Josh Holland
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36675
; Package
guix
.
(Mon, 15 Jul 2019 22:39:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 36675 <at> debbugs.gnu.org (full text, mbox):
I just built it using 8 core cpu without any issues.
Maybe dmesg has useful information regarding the test failure?
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36675
; Package
guix
.
(Tue, 30 Jul 2019 09:58:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 36675 <at> debbugs.gnu.org (full text, mbox):
Hi,
I just had the same error with Kodi 18.3
(z1zswg7wfz4lb6zmyzsns2hpkbw5scir-kodi-18.3.drv), although only with the
TestMassEvent.General test; .Polling passed fine. This kind of makes
sense with it being some sort of race condition on the mutex(?).
----------8<--------------
438/521 Test #438: TestMassEvent.General ....................................................Child aborted***Exception: 1.62 sec
Note: Google Test filter = TestMassEvent.General
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TestMassEvent
[ RUN ] TestMassEvent.General
[ OK ] TestMassEvent.General (107 ms)
[----------] 1 test from TestMassEvent (107 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (162 ms total)
[ PASSED ] 1 test.
Clean shutdown of TestGlobalPattern1
kodi-test: ../nptl/pthread_mutex_lock.c:434: __pthread_mutex_lock_full: Assertion `robust || (oldval & FUTEX_OWNER_DIED) == 0' failed.
Start 439: TestMassEvent.Polling
439/521 Test #439: TestMassEvent.Polling .................................................... Passed 0.23 sec
----------8<--------------
I had a look in dmesg as suggested by Amirouche, and this appears to be
the only relevant line:
----------8<--------------
[ 1540.045259] audit: type=1701 audit(1564480138.686:163): auid=4294967295 uid=977 gid=977 ses=4294967295 pid=11783 comm="DumbThread" exe="/tmp/guix-build-kodi-18.3.drv-0/build/kodi-test" sig=6 res=1
----------8<--------------
--
Josh Holland
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36675
; Package
guix
.
(Tue, 30 Jul 2019 10:22:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 36675 <at> debbugs.gnu.org (full text, mbox):
...and just to confirm that this is some annoyingly unreproducible race
condition, the very next try to build that same z1zswg derivation
completed fine.
--
Josh Holland
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36675
; Package
guix
.
(Tue, 30 Jul 2019 14:16:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 36675 <at> debbugs.gnu.org (full text, mbox):
Josh Holland <josh <at> inv.alid.pw> writes:
> ...and just to confirm that this is some annoyingly unreproducible race
> condition, the very next try to build that same z1zswg derivation
> completed fine.
In this case I think it would be fine to disable this test and add a
comment that explains why.
--
Ricardo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36675
; Package
guix
.
(Tue, 03 Dec 2019 13:53:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 36675 <at> debbugs.gnu.org (full text, mbox):
As reported in <https://issues.guix.gnu.org/issue/36675>, occasionally the
TestMassEvent.General test in kodi crashes with a mutex error.
* gnu/packages/patches/kodi-skip-testmasseventgeneral.patch: New file.
* gnu/packages/kodi.scm (kodi)[source]: Use it.
* gnu/local.mk: (dist_patch_DATA): Add it.
---
I have tested building the kodi-wayland package with this patch, and
it successfully builds and the tests pass.
gnu/local.mk | 1 +
gnu/packages/kodi.scm | 3 +-
.../kodi-skip-testmasseventgeneral.patch | 59 +++++++++++++++++++
3 files changed, 62 insertions(+), 1 deletion(-)
create mode 100644 gnu/packages/patches/kodi-skip-testmasseventgeneral.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index e2d922373e..4fc690c785 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1036,6 +1036,7 @@ dist_patch_DATA = \
%D%/packages/patches/kodi-increase-test-timeout.patch \
%D%/packages/patches/kodi-set-libcurl-ssl-parameters.patch \
%D%/packages/patches/kodi-skip-test-449.patch \
+ %D%/packages/patches/kodi-skip-testmasseventgeneral.patch \
%D%/packages/patches/laby-make-install.patch \
%D%/packages/patches/lcalc-default-parameters-1.patch \
%D%/packages/patches/lcalc-default-parameters-2.patch \
diff --git a/gnu/packages/kodi.scm b/gnu/packages/kodi.scm
index 59ea11f812..04d879bd17 100644
--- a/gnu/packages/kodi.scm
+++ b/gnu/packages/kodi.scm
@@ -281,7 +281,8 @@ alternatives. In compilers, this can reduce the cascade of secondary errors.")
"1m0295czxabdcqyqf5m94av9d88pzhnzjvyfs1q07xqq82h313p7"))
(patches (search-patches "kodi-skip-test-449.patch"
"kodi-increase-test-timeout.patch"
- "kodi-set-libcurl-ssl-parameters.patch"))
+ "kodi-set-libcurl-ssl-parameters.patch"
+ "kodi-skip-testmasseventgeneral.patch"))
(snippet
'(begin
(use-modules (guix build utils))
diff --git a/gnu/packages/patches/kodi-skip-testmasseventgeneral.patch b/gnu/packages/patches/kodi-skip-testmasseventgeneral.patch
new file mode 100644
index 0000000000..89fe60b598
--- /dev/null
+++ b/gnu/packages/patches/kodi-skip-testmasseventgeneral.patch
@@ -0,0 +1,59 @@
+This test has been intermittently failing since version 18.2 (see Guix
+bug 36675).
+
+438/521 Test #438: TestMassEvent.General ....................................................Child aborted***Exception: 0.82 sec
+Note: Google Test filter = TestMassEvent.General
+[==========] Running 1 test from 1 test case.
+[----------] Global test environment set-up.
+[----------] 1 test from TestMassEvent
+[ RUN ] TestMassEvent.General
+[ OK ] TestMassEvent.General (105 ms)
+[----------] 1 test from TestMassEvent (105 ms total)
+
+[----------] Global test environment tear-down
+[==========] 1 test from 1 test case ran. (142 ms total)
+[ PASSED ] 1 test.
+kodi-test: ../nptl/pthread_mutex_lock.c:434: __pthread_mutex_lock_full: Assertion `robust || (oldval & FUTEX_OWNER_DIED) == 0' failed.
+
+---
+ xbmc/threads/test/TestEvent.cpp | 19 +++++++++----------
+ 1 file changed, 9 insertions(+), 10 deletions(-)
+
+diff --git a/xbmc/threads/test/TestEvent.cpp b/xbmc/threads/test/TestEvent.cpp
+index 40e644c0ed..8fe329caa4 100644
+--- a/xbmc/threads/test/TestEvent.cpp
++++ b/xbmc/threads/test/TestEvent.cpp
+@@ -592,17 +592,17 @@ template <class W> void RunMassEventTest(std::vector<std::shared_ptr<W>>& m, boo
+ }
+
+
+-TEST(TestMassEvent, General)
+-{
+- g_event = new CEvent();
++// TEST(TestMassEvent, General)
++// {
++// g_event = new CEvent();
+
+- std::vector<std::shared_ptr<mass_waiter>> m(NUMTHREADS);
+- for(size_t i=0; i<NUMTHREADS; i++)
+- m[i].reset(new mass_waiter());
++// std::vector<std::shared_ptr<mass_waiter>> m(NUMTHREADS);
++// for(size_t i=0; i<NUMTHREADS; i++)
++// m[i].reset(new mass_waiter());
+
+- RunMassEventTest(m,true);
+- delete g_event;
+-}
++// RunMassEventTest(m,true);
++// delete g_event;
++// }
+
+ TEST(TestMassEvent, Polling)
+ {
+@@ -615,4 +615,3 @@ TEST(TestMassEvent, Polling)
+ RunMassEventTest(m,false);
+ delete g_event;
+ }
+-
+--
+2.24.0
--
2.24.0
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36675
; Package
guix
.
(Sat, 21 Mar 2020 20:29:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 36675 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Josh,
Josh Holland <josh <at> inv.alid.pw> writes:
> As reported in <https://issues.guix.gnu.org/issue/36675>, occasionally the
> TestMassEvent.General test in kodi crashes with a mutex error.
This patch feel through the cracks, sorry about that. Can you rebase it
on the current master branch?
TIA, and apologies for the inconvenience.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Mon, 11 Jan 2021 13:37:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Josh Holland <josh <at> inv.alid.pw>
:
bug acknowledged by developer.
(Mon, 11 Jan 2021 13:37:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 36675-done <at> debbugs.gnu.org (full text, mbox):
Hi Josh,
Josh Holland <josh <at> inv.alid.pw> writes:
> I tried again just now, and:
> successfully built /gnu/store/pmq2jv9j9snmyzbdngmklghn9bpzrxig-kodi-18.2.drv
> /gnu/store/qzc0j7v4b4ylgqrk5n8h2dj5q5bp8qbf-kodi-18.2
>
> It's definitely failed before a bunch of times when I've tried to do
> `guix upgrade`, so not sure what to make of it really.
Kodi has since been updated to 18.8 (thanks to Timotej!), and there are
substitutes available for it, so I reckon it builds!
Thank you for the report.
Closing,
Maxim
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 09 Feb 2021 12:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.