View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003211 | SOGo | Backend General | public | 2015-05-08 19:55 | 2015-11-03 19:47 |
Reporter | wimmer | Assigned To | ludovic | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | [Server] Linux | OS | Debian | OS Version | 8 (Jessie) |
Fixed in Version | 2.3.3 | ||||
Summary | 0003211: "[ERROR] descriptor is not a socket descriptor" by using gnustep-base1.24 | ||||
Description | sogod child processes lose their "port 20000" listening on Debian 8 with gnustep-base1.24. They stay running, but they are unusable. After while when sogod master process has no child listening on port 20000, SOGo goes to endless loop and fills log with lot of error messages: May 08 17:20:41 sogod [14360]: [ERROR] <0x0x7ff1727c5cd0[WOHttpAdaptor]> http server caught: <NGCouldNotAcceptException: 0x7ff17281f830> NAME:NGCouldNotAcc It is the same when I use sogo-2.2.9+git20141017-1 from jessie repository, sogo-2.2.17a-1 from testing repository or when I compile sogo from source code. | ||||
Tags | No tags attached. | ||||
I found that this issue has no relation to gnustep-base1.24, but to libldap-2.4-2. Summary - when I use all packages from jessie except libldap and I compile sogo from source code, I have no problem. |
|
Confirmed here... Just upgraded to SOGo 2.3.0 and Debian Jessie and ran into this issue. Fixed it by downgrading libldap just like wimmer did. My LDAP server is slapd 2.4.31 (running on wheezy) if that makes any difference. |
|
This issue has no relation to version of remote LDAP server. I tried to use LDAP servers running on both Wheezy and Jessie with the same results. It looks it has some relation to SSL. 1) when I define LDAP server in SOGoUserSources as: I have mentioned problem 2) when I defince LDAP server without SSL: and I use stunnel for encrypted connection localhost:387 -> server:637 libldap-2.4.so.2 from wheezy uses libgnutls.so.26 |
|
As of today I also have this problem. In addtion to SOGo crashing the logs are getting spammed with If anyone could look into this problem it would be much appreciated. |
|
I have experienced the same issue.
I have followed this instructions [https://lists.inverse.ca/sogo/arc/users/2015-06/msg00176.html] in order to keep things working. Since then I have not experienced any problems. Before this, I have made some captures that may be usefull for debugging. The user activity by the moment I start debbuging was very low, only me loggin into the sogo web. Thanks in advance for checking this. I have just catch sogo when it was starting to go crazy and generated a backtrace with gdb: {{{ Also attached strace {{{ The log file was full of: {{{ In few minutes the log size almost reach 1 GB. |
|
I suspect ABI issues between librairies. Our chroots were updated and all integration tests work. Retry with the upcoming 2.3.1 version. |
|
I used current sogo and sope git sources just now and I see the same problem. |
|
If you DO NOT use SSL for LDAP, does it work? |
|
Yes. |
|
We get the same error, plus it uses up all the RAM in the server. Versions: ii libldap-2.4-2:i386 2.4.31+really2.4.4 i386 OpenLDAP libraries |
|
so i can confirm that pinning it at a lower version 2.3.1 fixed our initial issues (LDAP login causing sogo to crash) until we started doing lots of requests to the address book then we changed sogo to use non SSL LDAP. I can confirm all issues disappear after not using LDAPS. |
|
Here is the problem. Upon start of the sogod deamon, we have: ls -l /proc/4193/fdtotal 0 GNUstep's NSThread instance creates a pipe for its runloop (with file descriptor 3) so that other threads can signal it. When SOGo binds to the LDAP server, the file descriptor 3 gets closed: #0 close () at ../sysdeps/unix/syscall-template.S:81 So the file descriptor gets bogus - as it gets replaced by /dev/urandom for TLS handling: ls -l /proc/4193/fdtotal 0 This makes GNUstep enter into an infinite loop - since /dev/urandom is non-blocking and provides a continuous stream of byte. The culprit here is either libgnutls or libldap passing wrong data to libgnutls. Latest versions of both (coming from Stretch) - 2.4.42+dfsg-2 for libldap and 3.3.18-1 for libgnutls also expose the issue. We will continue our investigation a bit, but a work around in SOPE/SOGo is almost impossible for this bug. |
|
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803197 We reverted a patch in SOPE but the real issue should be fixed in libldap. Try the nightly builds and report issues, if any. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-05-08 19:55 | wimmer | New Issue | |
2015-05-09 13:18 | wimmer | Note Added: 0008458 | |
2015-06-09 17:10 | inty | Note Added: 0008607 | |
2015-06-18 18:49 | wimmer | Note Added: 0008654 | |
2015-06-23 09:52 | Phillip Leder | Note Added: 0008662 | |
2015-07-10 14:24 | pabelenda | Note Added: 0008722 | |
2015-07-10 14:25 | pabelenda | Note Edited: 0008722 | |
2015-07-10 14:26 | pabelenda | Note Edited: 0008722 | |
2015-07-10 14:26 | pabelenda | Note Edited: 0008722 | |
2015-07-22 16:46 | ludovic | Note Added: 0008756 | |
2015-07-22 16:46 | ludovic | Status | new => resolved |
2015-07-22 16:46 | ludovic | Fixed in Version | => 2.3.1 |
2015-07-22 16:46 | ludovic | Resolution | open => fixed |
2015-07-22 16:46 | ludovic | Assigned To | => ludovic |
2015-07-22 17:15 | wimmer | Note Added: 0008757 | |
2015-07-22 17:15 | wimmer | Status | resolved => feedback |
2015-07-22 17:15 | wimmer | Resolution | fixed => reopened |
2015-07-22 17:43 | ludovic | Note Added: 0008758 | |
2015-07-22 18:13 | wimmer | Note Added: 0008759 | |
2015-07-22 18:13 | wimmer | Status | feedback => assigned |
2015-07-27 11:45 | TRS-80 | Note Added: 0008775 | |
2015-09-09 08:57 | mattronix | Note Added: 0008896 | |
2015-09-09 09:09 | mattronix | Note Edited: 0008896 | |
2015-09-09 09:11 | mattronix | Note Edited: 0008896 | |
2015-10-23 12:50 | ludovic | Note Added: 0009021 | |
2015-11-03 19:47 | ludovic | Note Added: 0009070 | |
2015-11-03 19:47 | ludovic | Status | assigned => closed |
2015-11-03 19:47 | ludovic | Resolution | reopened => fixed |
2015-11-03 19:47 | ludovic | Fixed in Version | 2.3.1 => 2.3.3 |