Hi there! net-misc/seafile suddenly stopped working and there were multiple messages like this in dmesg: [23934.491869] pool[13040]: segfault at 1 ip 00007f7bc9b0232b sp 00007f7bc4ff6828 error 4 in libc.so.6[7f7bc99d7000+151000] likely on CPU 0 (core 0, socket 0) [23934.491887] Code: f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 c4 41 01 ef ff 89 f8 09 f0 c1 e0 14 3d 00 00 00 f8 0f 87 29 03 00 00 c5 fe 6f 07 <c5> fd 74 0e c5 85 74 d0 c5 ed df c9 c5 fd d7 c9 ff c1 74 61 90 f3 [23940.338962] pool[13095]: segfault at 1 ip 00007f7b61e4532b sp 00007f7b5cbf5828 error 4 in libc.so.6[7f7b61d1a000+151000] likely on CPU 4 (core 8, socket 0) [23940.338974] Code: f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 c4 41 01 ef ff 89 f8 09 f0 c1 e0 14 3d 00 00 00 f8 0f 87 29 03 00 00 c5 fe 6f 07 <c5> fd 74 0e c5 85 74 d0 c5 ed df c9 c5 fd d7 c9 ff c1 74 61 90 f3 After some investigation, I found a patch from the developers that fixed this issue. Maybe it will be useful for someone. Link to patch: https://github.com/haiwen/seafile/commit/f89bdb4b55b5c21c19709476085f18470668eb0f Classical uninitialized variable.
But that patch seems to be in 8.0.9.
(In reply to Sam James from comment #1) > But that patch seems to be in 8.0.9. Well, it is in release 8.0.9. However now in net-misc/seafile/seafile-8.0.9.ebuild sources used not from tag 'v8.0.9' but 'RELEASE_COMMIT="6bd36a957573eda6a53f3d1bc538dbfc001aa9fd"'. Commit for v8.0.9 tag is f89bdb4b55b5c21c19709476085f18470668eb0f.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adfaf2ed6d9d1b3c7f15c2f46ce858360c3d53c6 commit adfaf2ed6d9d1b3c7f15c2f46ce858360c3d53c6 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-03-16 23:54:16 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-16 23:54:16 +0000 net-misc/seafile: fix commits used for tags Closes: https://bugs.gentoo.org/901013 Signed-off-by: Sam James <sam@gentoo.org> net-misc/seafile/Manifest | 4 ++-- .../seafile/{seafile-8.0.10.ebuild => seafile-8.0.10-r1.ebuild} | 6 ++++-- net-misc/seafile/{seafile-8.0.9.ebuild => seafile-8.0.9-r1.ebuild} | 6 ++++-- 3 files changed, 10 insertions(+), 6 deletions(-)
Created attachment 858043 [details, diff] Fix source dir Update failed with: * ERROR: net-misc/seafile-8.0.9-r1::gentoo failed (prepare phase): * The source directory '/var/tmp/portage/net-misc/seafile-8.0.9-r1/work/seafile-' doesn't exist * Patch added