Re: AW: svnserve frequently die at assertion in utf.c

2025-03-02 Thread Branko Čibej
On 7. 1. 25 10:47, Jäkel, Guido wrote: Building and running the test suite non-parallel shows up a single failure # make clean # EXTRA_CFLAGS="-fsanitize=thread" EXTRA_LDFLAGS="$EXTRA_CFLAGS" make check [...] [028/122] locks-test..

Re: svnserve frequently die at assertion in utf.c

2025-01-07 Thread Daniel Sahlberg
Big thanks to both Sean and Guido for their help in tracking down the issue. It seems indeed to be a bug in the Subversion code. I've added d...@subversion.apache.org for further debugging - this goes out of scope of the users list. I believe several threads are accessing the same "translator" si

Re: svnserve frequently die at assertion in utf.c

2025-01-07 Thread Sean McBride
On 7 Jan 2025, at 2:07, Guido Jäkel wrote: > I'm no developer, but Google probably tell me to add the right flags: Yes, -fsanitize=thread is the main flag. You should also build in debug so that you get filenames and line numbers. Are you saying svn's own test suite does not pass under Thread S

Re: svnserve frequently die at assertion in utf.c

2025-01-07 Thread Guido Jäkel
Dear Sean, I'm no developer, but Google probably tell me to add the right flags: root@testsub0 /var/tmp/portage/dev-vcs/subversion-1.14.5/work/subversion-1.14.5/testcase # diff Makefile{.20250107-073455,} -u --- Makefile.20250107-0734552025-01-07 07:34:55.0 +0100 +++ Makefile20

Re: svnserve frequently die at assertion in utf.c

2025-01-06 Thread Sean McBride
On 6 Jan 2025, at 16:32, Daniel Sahlberg wrote: > To me, this proves that my basic program is correct and that with a mutex, > the shared memory is protected and without the mutex we get errors. I have > tested this under both Ubuntu and Guix with the same results. If you really want to prove c

Re: svnserve frequently die at assertion in utf.c

2025-01-06 Thread Daniel Sahlberg
Den ons 18 dec. 2024 kl 16:43 skrev Guido Jäkel : > > > Did I understand you correctly that you were seeing the issue before the > upgrade as well, but more frequent now? > Yes, we saw it also before during the last 12m using the "previous" > version (lxc container image) of our subversion service

AW: svnserve frequently die at assertion in utf.c

2024-12-18 Thread Guido Jäkel
Did I understand you correctly that you were seeing the issue before the upgrade as well, but more frequent now? Yes, we saw it also before during the last 12m using the "previous" version (lxc container image) of our subversion service. But this was to seldom to really care about. Now, with

AW: svnserve frequently die at assertion in utf.c

2024-12-18 Thread Guido Jäkel
Dear Daniel, thank you for your reply and your questions. It's apr-1.7.5 (current) apr-1.7.4 (previous) There's no special USE-flag for threads, but if I execute the configure step of the ebuild, there is an output setting EXTRA_LIBS to "-luuid -lcrypt -

Re: svnserve frequently die at assertion in utf.c

2024-12-18 Thread Daniel Sahlberg
Den ons 18 dec. 2024 kl 10:38 skrev Guido Jäkel : > Hi, > > in our production environment, we have been observing random crashes of > snvserve since many month. As a platform to run Subversion we use Gentoo > Linux. Last weeks we did our common environment update. After that the > frequency of the

svnserve frequently die at assertion in utf.c

2024-12-18 Thread Guido Jäkel
Hi, in our production environment, we have been observing random crashes of snvserve since many month. As a platform to run Subversion we use Gentoo Linux. Last weeks we did our common environment update. After that the frequency of these crashes increased dramatically, from about once in a fe