General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] SOGo 2.0 beta : LDAP & NSInvalidArgumentException


Chronological Thread 
  • From: Rémi Cailletaud < >
  • To:
  • Subject: Re: [SOGo] SOGo 2.0 beta : LDAP & NSInvalidArgumentException
  • Date: Tue, 24 Jan 2012 18:25:24 +0100

... and the self (self reply) : the backtrace. sorry for the noise.


Breakpoint 1, -[NSException raise] (self=0x2e51850, _cmd=0x7faef92ab3c0)
at NSException.m:945
945 NSException.m: Aucun fichier ou dossier de ce type.
in NSException.m
(gdb) bt
#0 -[NSException raise] (self=0x2e51850, _cmd=0x7faef92ab3c0) at
NSException.m:945
#1 0x00007faef8ec9d78 in +[NSException raise:format:]
(self=0x7faef92aafe0, _cmd=<value optimized out>, name=0x7faef92ab5a0,
format=0x7faef926a620) at NSException.m:825
#2 0x00007faef8e1c261 in -[GSInlineArray initWithObjects:count:]
(self=0x0, _cmd=<value optimized out>, objects=0x2e54cb0, count=3)
at GSArray.m:426
#3 0x00007faefa18aac5 in ?? () from /usr/lib/libNGLdap.so.4.9
#4 0x00007faefb90c0dd in ?? () from /usr/lib/libSOGo.so.2
#5 0x00007faefb90c29e in ?? () from /usr/lib/libSOGo.so.2
#6 0x00007faefb911189 in ?? () from /usr/lib/libSOGo.so.2
#7 0x00007faefb911e5e in ?? () from /usr/lib/libSOGo.so.2
#8 0x00007faef168cdd5 in -[SOGoContactSourceFolder
lookupContactsWithFilter:onCriteria:sortBy:ordering:] (self=0x2cb0d70,
_cmd=0x7faef0fec2d0,
filter=0x2b401c0, criteria=0x2afcfd0, sortKey=0x29811a0,
sortOrdering=NSOrderedAscending) at SOGoContactSourceFolder.m:326
#9 0x00007faef0ddf1dc in -[UIxContactsListActions contactInfos]
(self=0x2b1b650, _cmd=0x7faef0fec2f0) at UIxContactsListActions.m:110
#10 0x00007faef0ddf25d in -[UIxContactsListActions contactsListAction]
(self=0x2b1b650, _cmd=0x279fb70) at UIxContactsListActions.m:130
#11 0x00007faefa8cee89 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#12 0x00007faefa8ca180 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#13 0x00007faefa8cc508 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#14 0x00007faefa85bb0b in ?? () from /usr/lib/libNGObjWeb.so.4.9
#15 0x00007faefa82150c in ?? () from /usr/lib/libNGObjWeb.so.4.9
#16 0x00000000004032a1 in -[SOGo dispatchRequest:] (self=0x2673350,
_cmd=0x7faefabdddc0, _request=0x2a1a630) at SOGo.m:451
#17 0x00007faefa8bbe45 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#18 0x00007faefa8bc038 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#19 0x00007faefa8b8269 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#20 0x00007faefa8b8476 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#21 0x00007faefa8b88f2 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#22 0x00007faefa8b8b28 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#23 0x00007faef8f02c32 in -[NSNotificationCenter _postAndRelease:]
(self=<value optimized out>, _cmd=<value optimized out>,
notification=<value optimized out>) at NSNotificationCenter.m:1161
#24 0x00007faef8fef6a1 in -[GSRunLoopCtxt pollUntil:within:]
(self=0x26121e0, _cmd=<value optimized out>, milliseconds=<value
optimized out>,
contexts=0x268e7f0) at GSRunLoopCtxt.m:636
#25 0x00007faef8f42c01 in -[NSRunLoop acceptInputForMode:beforeDate:]
(self=0x26b94c0, _cmd=<value optimized out>, mode=0x7faef92e8600,
limit_date=<value optimized out>) at NSRunLoop.m:1197
#26 0x00007faef8f41ba0 in -[NSRunLoop runMode:beforeDate:]
(self=0x26b94c0, _cmd=<value optimized out>, mode=0x7faef92e8600,
date=0x265d660)
at NSRunLoop.m:1265
#27 0x00007faefa820e79 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#28 0x0000000000402915 in -[SOGo run] (self=0x2673350,
_cmd=0x7faefab83680) at SOGo.m:275
#29 0x00007faefa865853 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#30 0x00007faefa864a26 in ?? () from /usr/lib/libNGObjWeb.so.4.9
#31 0x00007faefa8650da in ?? () from /usr/lib/libNGObjWeb.so.4.9
#32 0x00007faefa86610a in WOWatchDogApplicationMain () from
/usr/lib/libNGObjWeb.so.4.9
#33 0x0000000000401ae5 in main (argc=7, argv=0x7fffdc06eb08,
env=0x7fffdc06eb48) at sogod.m:53


Le 24/01/2012 17:46, Rémi Cailletaud a écrit :
> Hi again,
>
> I made a self reply : investigating the postgresql log, I can see :
>
> 2012-01-24 17:30:51 CET LOG: n'a pas pu recevoir les données du client
> : Connexion ré-initialisée par le correspondant
> 2012-01-24 17:30:51 CET LOG: fin de fichier (EOF) inattendue de la
> connexion du client
>
> (in english : the connection was reinitialized by client
> unexpected EOF)
>
> Should I fill a bug report ?
>
> Cheers,
> rémi
>
> Le 24/01/2012 17:19, Rémi Cailletaud a écrit :
>> Hi,
>>
>> I try to install SOGo 2.0 and face a strange error. The scenario is :
>>
>> - fresh Debian Squeeze install ;
>> - SOGo from inverse nightly repository ;
>> - PGSQL ;
>> - apache2.
>>
>> - the source auth is an Active Directory :
>>
>> SOGoUserSources = (
>> {
>> type = ldap;
>> CNFieldName = cn;
>> IDFieldName = cn;
>> UIDFieldName = sAMAccountName;
>> baseDN = "OU=Users,DC=domain,DC=local";
>> bindDN = read@domain.local;
>> bindPassword = "passwd";
>> bindFields = (middleName);
>> canAuthenticate = YES;
>> displayName = "Domain";
>> hostname = 194.254.65.56;
>> id = DOMAIN;
>> isAddressBook = YES;
>> port = 389;
>> scope = sub;
>> }
>>
>> - some users cannot login. in fact, they can login, but sogo raises an
>> exception. we tried to search if they have particular LDAP field, but
>> nothing like that.
>>
>> EXCEPTION: <NSException: 0x1564bc0> NAME:NSInvalidArgumentException
>> REASON:Tried to init array with nil object INFO:(nil)
>>
>> - in same time, searching the address book if those users are in the
>> ldap search scope does not work : same exception in Sogo log.
>>
>> - putting these users out of ldap search scope make the address book
>> functional...
>>
>> We did not manage to understand which LDAP entries can cause this
>> exception. Trying to remove most of the fileds, accents, not alpha char
>> was unsuccessful...
>>
>> I paste the commented log of an unsuccessful login attempt. I tried to
>> activate some other debug output, but nothing interesting :
>>
>>
>> Jan 24 16:55:30 sogod [31741]: <0x0x10aa5a0[WOWatchDog]> child spawned
>> with pid 31751
>> Jan 24 16:55:30 sogod [31751]: <0x0x128e7e0[SOGoCache]> Cache cleanup
>> interval set every 300.000000 seconds
>> Jan 24 16:55:30 sogod [31751]: <0x0x128e7e0[SOGoCache]> Using host(s)
>> 'localhost' as server(s)
>> 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugKeyLookup is
>> enabled!
>> 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): SoDebugBaseURL is
>> enabled!
>> 2012-01-24 16:55:30.764 sogod[31751] Note(SoObject): relative base URLs
>> are enabled.
>> 2012-01-24 16:55:30.767 sogod[31751] ERROR(-[NGBundleManager
>> bundleWithPath:]): could not create bundle for path:
>> '/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.20/Resources/SSL.bundle'
>> 2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: pool embedding
>> is on.
>> 2012-01-24 16:55:30.773 sogod[31751] WOCompoundElement: id logging is on.
>> Jan 24 16:55:30 sogod [31751]: SOGoRootPage successful login for user
>> 'jertest' - expire = -1 grace = -1
>>
>> -> Login seems to be successful
>>
>> Jan 24 16:55:30 sogod [31751]: [ERROR] <0x0x1562420[NGLdapAttribute]>
>> cound not convert value of objectSid to string
>>
>> -> I think we can ignore this, as some users that have no problem cause
>> this error
>>
>> EXCEPTION: <NSException: 0x1564bc0> NAME:NSInvalidArgumentException
>> REASON:Tried to init array with nil object INFO:(nil)
>>
>> -> This one appears only when login with a "bad" user, and searching in
>> a address book with some "bad" users.
>>
>> Jan 24 16:55:30 sogod [31741]: <0x0x108bea0[WOWatchDogChild]> child
>> 31751 exited
>> Jan 24 16:55:30 sogod [31741]: <0x0x108bea0[WOWatchDogChild]>
>> (terminated due to signal 6)
>> Jan 24 16:55:30 sogod [31741]: <0x0x108bea0[WOWatchDogChild]> avoiding
>> to respawn child before 2012-01-24 16:55:35 +0100
>>
>>
>> Thanks for your help,
>> rémi
>>
>
>


--
Rémi Cailletaud - IE CNRS
3S-R - Laboratoire Sols, Solides, Structures - Risques
BP53, 38041 Grenoble CEDEX 0
FRANCE

Tél: +33 (0)4 76 82 52 78
Fax: +33 (0)4 76 82 70 43


Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.18.

Top of page