Bug#1077910: notmuch: autopkgtest failure with glib 2.81.1

Jeremy Bícha jeremy.bicha at canonical.com
Sun Aug 4 12:15:02 BST 2024


Source: notmuch
Version: 0.38.3-2
Severity: serious
Tags: ftbfs
Control: affects -1 src:glib2.0
X-Debbugs-CC: glib2.0 at packages.debian.org

glib 2.81.1 was recently uploaded to Unstable. notmuch's autopkgtest
(but not the build test) is now failing. Specifically, the T810-tsan
test is failing. The test was passing with glib 2.81.0. This is
preventing glib 2.81.1 from migrating to Testing.

https://ci.debian.net/packages/n/notmuch/testing/amd64/
https://gitlab.gnome.org/GNOME/glib/-/compare/2.81.0...2.81.1

By the way, it appears like this particular test has always failed on
Ubuntu's autopkgtest infrastructure:
https://autopkgtest.ubuntu.com/packages/notmuch

========
log excerpt
========

T810-tsan: Testing run code with TSan enabled against the library
 PASS   create
 FAIL   query
--- T810-tsan.2.EXPECTED 2024-08-03 17:25:10.734599354 +0000
+++ T810-tsan.2.OUTPUT 2024-08-03 17:25:10.734599354 +0000
@@ -1,2 +1,27 @@
== stdout ==
== stderr ==
+==================
+WARNING: ThreadSanitizer: data race (pid=31219)
+  Atomic read of size 1 at 0x721000002580 by thread T2:
+    #0 pthread_rwlock_rdlock
../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1476
(libtsan.so.2+0x535cc) (BuildId:
4696c58f898e5d5cf4fe08e45868ac4fc5702473)
+    #1 <null> <null> (libglib-2.0.so.0+0xb9f0b) (BuildId:
3a7c5b70371ef106debb656a45acbdf6aa91218c)
+
+  Previous write of size 8 at 0x721000002580 by thread T1:
+    #0 malloc ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:665
(libtsan.so.2+0x513b6) (BuildId:
4696c58f898e5d5cf4fe08e45868ac4fc5702473)
+    #1 <null> <null> (libglib-2.0.so.0+0xb9ee1) (BuildId:
3a7c5b70371ef106debb656a45acbdf6aa91218c)
+
+  Location is heap block of size 56 at 0x721000002580 allocated by thread T1:
+    #0 malloc ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:665
(libtsan.so.2+0x513b6) (BuildId:
4696c58f898e5d5cf4fe08e45868ac4fc5702473)
+    #1 <null> <null> (libglib-2.0.so.0+0xb9ee1) (BuildId:
3a7c5b70371ef106debb656a45acbdf6aa91218c)
+
+  Thread T2 (tid=31222, running) created by main thread at:
+    #0 pthread_create
../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022
(libtsan.so.2+0x564a6) (BuildId:
4696c58f898e5d5cf4fe08e45868ac4fc5702473)
+    #1 main CWD/test1.c:24 (test1+0x136b) (BuildId:
1832b22acf7f8ab44068867df3e5f3045b88cf92)
+
+  Thread T1 (tid=31221, running) created by main thread at:
+    #0 pthread_create
../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022
(libtsan.so.2+0x564a6) (BuildId:
4696c58f898e5d5cf4fe08e45868ac4fc5702473)
+    #1 main CWD/test1.c:23 (test1+0x1331) (BuildId:
1832b22acf7f8ab44068867df3e5f3045b88cf92)
+
+SUMMARY: ThreadSanitizer: data race
(/lib/x86_64-linux-gnu/libglib-2.0.so.0+0xb9f0b) (BuildId:
3a7c5b70371ef106debb656a45acbdf6aa91218c)
+==================
+ThreadSanitizer: reported 1 warnings

Thank you,
Jeremy Bícha



More information about the pkg-gnome-maintainers mailing list