kernel: ... svnserve: segfault at 7ff68a860728 ip 00007ff689e17fd5 sp 00007ffd99691d00 error 4 in libsvn_subr-1.so.1.0.0

Asked by Achim Molitor

Hallo,

ich benutze den svnserve, Version 1.9.3 (r1718519) unter Ubuntu 16.04 LTS (xenial). Das System ist ein minimales System ohne Gnome/KDE o.ä. unter ESXi 6U2.

Der svnserve funktioniert einwandfrei. Aber die bei einem commit erzeugten Mails verursachen immer wieder den Fehler

Nov 23 08:20:51 laemvsvn kernel: [501967.613305] svnserve[26315]: segfault at 7ff68a860728 ip 00007ff689e17fd5 sp 00007ffd99691d00 error 4 in libsvn_subr-1.so.1.0.0[7ff689dba000+d3000]
Nov 23 08:21:08 laemvsvn kernel: [501984.421445] svnserve[26287]: segfault at 7ff68a860730 ip 00007ff689e17fd5 sp 00007ffd99691d00 error 4 in libsvn_subr-1.so.1.0.0[7ff689dba000+d3000]

Dies passiert aber nicht bei allen Mails. Geschätzte 70% werden wie gewünscht erzeugt und verschickt. Ich habe schon verschiedene Mailsysteme (commit-mail.pl, svntools, svnmailer.py) ausprobiert mit dem gleichen Problem.

Alle Patches sind installiert.

Als Mailsystem kommt ein Standard postfix System mit Relayserver zum Einsatz.

Was kann ich tun und wie kann ich den Fehler debuggen?

Vielen Dank,

Achim

Question information

Language:
German Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Achim Molitor (achmo) said :
#2

Wow, that helped, thanks...

Revision history for this message
Achim Molitor (achmo) said :
#3

The described problem is still a big problem...

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Vielleicht hilft ein Upgrade auf eine höhere Version von subversion, beispielsweise 1.9.5 von https://launchpad.net/~dominik-stadler/+archive/ubuntu/subversion-1.9

Revision history for this message
Werner, Péter (wp42) said :
#5

I experience the same crash with latest stable Ubuntu 16.04.1 LTS, svn 1.9.3.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

@Péter: I suggest that you try using a higher version of subversion, e.g. 1.9.5 von https://launchpad.net/~dominik-stadler/+archive/ubuntu/subversion-1.9

Revision history for this message
Thorsten Schöning (tschoening) said :
#7

Just recognized most likely the same problem with my UB 16.04 LTS and SVN 1.9.3 as well. Wasn't able to reproduce it, but happened already two times within one hour this morning. The difference to the thread starter is that I'm not using any mail forwarding, BUT at least in one repo used this morning I have a post-commit-hook to do some other things as well. But the hook itself only shouldn't be the problem, because some test commits in this repo later didn't trigger the problem again. Tested some other repo without such hook as well and that didn't easily trigger the problem, too.

> Apr 12 09:58:55 [...] kernel: [214930.125762] svnserve[556]: segfault at 7f5f75994f00 ip 00007f5f74ea1065 sp 00007ffddc1353f0 error 4 in libsvn_subr-1.so.1.0.0[7f5f74e43000+d3000]
> Apr 12 10:11:41 [...] kernel: [215695.854475] svnserve[3769]: segfault at 7f5f75994f00 ip 00007f5f74ea1065 sp 00007ffddc1353f0 error 4 in libsvn_subr-1.so.1.0.0[7f5f74e43000+d3000]

Revision history for this message
Thorsten Schöning (tschoening) said :
#8

I've additionally asked on the SVN users mailing list about this problem. Maybe someone has some idea.

https://lists.apache.org/thread.html/d51cd58613c1033a0e53210346f901cb264d7da77723e4a80412ebc8@<users.subversion.apache.org>

Revision history for this message
Thorsten Schöning (tschoening) said :
#9

I've additionally posted to the dev@ mailing list and it seems the problem has been fixed with Subversion 1.9.9:

https://svn.apache.org/viewvc?view=revision&revision=1818584
https://lists.apache.org/thread.html/a60674fd3169cc66a73dd2fd12b60b56fc7d1332c6baa264fb0ae91a@<dev.subversion.apache.org>

That is interesting because even UB 18.04 LTS ships with version 1.9.7 only, so one should check if the fix is already incorporated and might consider backporting it.

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

Ideas to this topic:

The fix from https://svn.apache.org/viewvc?view=revision&revision=1818584 seems NOT to be contained in Ubuntu's version 1.9.7 for bionic.

If you look at the version of subversion provided in the Ubuntu releases at https://launchpad.net/ubuntu/+source/subversion you will see that Ubuntu cosmic and newer provide a version greater than 1.10.

A quick check on the dependencies shows that the version for cosmic cannot be installed on Ubuntu xenial without problems, but might be installable on Ubuntu bionic

Suggestion:
Try installing the subversion version 1.10.0-2ubuntu2.1 for cosmic or 1.10.0-2ubuntu3 for disco on an ubuntu bionic test system.

Remark:
Requesting changes in the Ubuntu repositories is not done here in the question area, but by creating bug reports.

Revision history for this message
Thorsten Schöning (tschoening) said :
#11

Can you help with this problem?

Provide an answer of your own, or ask Achim Molitor for more information if necessary.

To post a message you must log in.