View Issue Details

IDProjectCategoryView StatusLast Update
0000865SOGoApple iPhone OSpublic2011-12-30 17:16
Reporteruliscat Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version1.3.2 
Summary0000865: sogo crashes when reading address book from ios 4.1
Description

sogo daemon crashes and restarts when iphone is trying to read address book via carrdav

Steps to reproduce

  1. create carddav record on iphone (works)
  2. open address book list on iphone (address books from sogo are visible)
  3. open one of sogo address books on iphone
  4. sogo logs shows repeatedly daemon restart

part of sogo log:
2010-09-28 13:00:15.210 sogod[7915] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='DataAccess/1.0 (8B117)'
127.0.0.1 - - [28/Sep/2010:13:00:15 GMT] "PROPFIND /SOGo/dav/my.user/Contacts/59F2-4BC58D00-1-6AD64A80/ HTTP/1.1" 207 334/161 0.007 - - 296K
2010-09-28 13:00:15.313 sogod[7915] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='DataAccess/1.0 (8B117)'
127.0.0.1 - - [28/Sep/2010:13:00:15 GMT] "PROPFIND /SOGo/dav/my.user/Contacts/59F2-4BC58D00-1-6AD64A80/ HTTP/1.1" 207 370/121 0.006 3305 88% 160K
2010-09-28 13:00:15.435 sogod[7915] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='DataAccess/1.0 (8B117)'
Sep 28 13:00:15 sogod: SOGo watchdog [20165]: <0x0x85a74f0[WOWatchDogChild]> child 7915 exited
Sep 28 13:00:15 sogod: SOGo watchdog [20165]: <0x0x85a74f0[WOWatchDogChild]> (terminated due to signal 11)
Sep 28 13:00:15 sogod: SOGo watchdog [20165]: <0x0x84ffdc8[WOWatchDog]> child spawned with pid 12090
Sep 28 13:00:15 sogod: SOGo watchdog [12090]: SNS support disabled.
Sep 28 13:00:15 sogod: SOGo watchdog [12090]: <0x0x919aea8[SOGoProductLoader]> SOGo products loaded from '/usr/local/lib/GNUstep/SOGo':
Sep 28 13:00:15 sogod: SOGo watchdog [12090]: <0x0x919aea8[SOGoProductLoader]> Contacts.SOGo, MainUI.SOGo, CommonUI.SOGo, Mailer.SOGo, ContactsUI.SOGo, MailPartViewers.SOGo, MailerUI.SOGo, PreferencesUI.SOGo, AdministrationUI.SOGo, Appointments.SOGo, SchedulerUI.SOGo
Sep 28 13:00:15 sogod: SOGo watchdog [12090]: |SOGo| version 1.3.2 (build root@localhost 201009261306) -- starting
Sep 28 13:00:15 sogod: SOGo watchdog [12090]: |SOGo| vmem size check enabled: shutting down app when vmem > 384 MB
Sep 28 13:00:16 sogod: SOGo watchdog [12090]: <0x0x93040e8[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Sep 28 13:00:16 sogod: SOGo watchdog [12090]: <0x0x93040e8[SOGoCache]> Using host(s) 'localhost' as server(s)
2010-09-28 13:00:16.018 sogod[12090] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='DataAccess/1.0 (8B117)'
2010-09-28 13:00:16.020 sogod[12090] WARNING(-[SaxXMLReaderFactory _loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available for MIME type 'text/calendar', using 'VSCardSaxDriver' as default for type text/calendar.
2010-09-28 13:00:16.020 sogod[12090] WARNING(-[SaxXMLReaderFactory _loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers available for MIME type 'text/x-vcard', using 'VSCardSaxDriver' as default for type text/x-vcard.
2010-09-28 13:00:16.024 sogod[12090] Note(SoObject): SoDebugKeyLookup is enabled!
2010-09-28 13:00:16.024 sogod[12090] Note(SoObject): SoDebugBaseURL is enabled!
2010-09-28 13:00:16.024 sogod[12090] Note(SoObject): relative base URLs are enabled.
Sep 28 13:00:16 sogod: SOGo watchdog [20165]: <0x0x85a74f0[WOWatchDogChild]> child 12090 exited
Sep 28 13:00:16 sogod: SOGo watchdog [20165]: <0x0x85a74f0[WOWatchDogChild]> (terminated due to signal 11)
Sep 28 13:00:16 sogod: SOGo watchdog [20165]: <0x0x85a74f0[WOWatchDogChild]> avoiding to respawn child before 2010-09-28 13:00:20 +0400
Sep 28 13:00:20 sogod: SOGo watchdog [20165]: <0x0x84ffdc8[WOWatchDog]> child spawned with pid 12132
Sep 28 13:00:20 sogod: SOGo watchdog [12132]: SNS support disabled.
Sep 28 13:00:20 sogod: SOGo watchdog [12132]: <0x0x919aea0[SOGoProductLoader]> SOGo products loaded from '/usr/local/lib/GNUstep/SOGo':
Sep 28 13:00:20 sogod: SOGo watchdog [12132]: <0x0x919aea0[SOGoProductLoader]> Contacts.SOGo, MainUI.SOGo, CommonUI.SOGo, Mailer.SOGo, ContactsUI.SOGo, MailPartViewers.SOGo, MailerUI.SOGo, PreferencesUI.SOGo, AdministrationUI.SOGo, Appointments.SOGo, SchedulerUI.SOGo
Sep 28 13:00:20 sogod: SOGo watchdog [12132]: |SOGo| version 1.3.2 (build root@localhost 201009261306) -- starting
Sep 28 13:00:20 sogod: SOGo watchdog [12132]: |SOGo| vmem size check enabled: shutting down app when vmem > 384 MB
Sep 28 13:00:20 sogod: SOGo watchdog [12132]: <0x0x91a3358[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Sep 28 13:00:20 sogod: SOGo watchdog [12132]: <0x0x91a3358[SOGoCache]> Using host(s) 'localhost' as server(s)
2010-09-28 13:00:20.596 sogod[12132] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='DataAccess/1.0 (8B117)'

Additional Information

sogo build steps (complete list)

  1. wget http://www.sogo.nu/files/downloads/SOGo/Sources/SOGo-1.3.2.tar.gz
  2. tar xvfz SOGo-1.3.2.tar.gz
  3. cd SOGo-1.3.2/
  4. ./configure --enable-debug --enable-strip
  5. make clean
  6. make
  7. make install
TagsNo tags attached.

Activities

2010-09-28 09:33

 

apache-virtualhost (1,492 bytes)   
### SSL SETTINGS ###
<VirtualHost server.aviatu.ru:8843>

    ServerName server.aviatu.ru
    HostNameLookups off
    ServerAdmin noc@aviatu.ru

    SSLEngine on
    SSLCertificateFile /etc/ssl/MyCERTS/server.aviatu.ru.crt
    SSLCertificateKeyFile /etc/ssl/MyCERTS/server.aviatu.ru.key
    ServerSignature off
    
    RewriteEngine Off
    SSLEngine on
    ProxyRequests Off
    SetEnv proxy-nokeepalive 1
    ProxyPreserveHost On
    ProxyPassInterpolateEnv On

    ErrorLog  /var/log/apache2/server.aviatu.ru-carddav-ssl-error.log
    CustomLog /var/log/apache2/server.aviatu.ru-carddav-ssl-access.log combined
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel info

    ProxyPass /SOGo/dav/ http://127.0.0.1:20000/SOGo/dav/  interpolate
    ProxyPass / http://127.0.0.1:20000/SOGo/dav/ interpolate
    
    <Location />
	Order allow,deny
	Allow from all
    </Location>
    
    
    <Proxy http://127.0.0.1:20000>
	RequestHeader set "x-webobjects-server-port" "8843"
	RequestHeader set "x-webobjects-server-name" "server.aviatu.ru:8843"
	RequestHeader set "x-webobjects-server-url" "https://server.aviatu.ru:8843"
	RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
	RequestHeader set "x-webobjects-remote-host" "127.0.0.1"
	RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}s"
	include /etc/apache2/includes/crowd.conf
	PerlSetVar CrowdAllowedGroups www-sogo
	AddDefaultCharset UTF-8
    </Proxy>
</VirtualHost>
apache-virtualhost (1,492 bytes)   

2010-09-28 09:34

 

GNUstepDefaults (1,112 bytes)   
{
    NSGlobalDomain = {
    };
    sogod = {
	NGUseUTF8AsURLEncoding = YES;
	OCSFolderInfoURL = "mysql://db-sogo:db-sogo@localhost:3306/sogo/sogo_folder_info";
	SOGoAppointmentSendEMailNotifications = YES;
	SOGoAuthenticationMethod = LDAP;
	SOGoFoldersSendEMailNotifications = YES;
	SOGoLanguage = Russian;
	SOGoLoginModule = Mail;
	SOGoMailDomain = aviatu.ru;
	SOGoMailingMechanism = smtp;
	SOGoProfileURL = "mysql://db-sogo:db-sogo@localhost:3306/sogo/sogo_user_profile";
	SOGoSMTPServer = localhost;
	SOGoTimeZone = Europe/Moscow;
	SOGoTrustProxyAuthentication = YES;
	SOGoUIxDebugEnabled = YES;
	SOGoUserSources = (
	    {
		CNFieldName = cn;
		IDFieldName = uid;
		UIDFieldName = uid;
		baseDN = "dc=aviatu,dc=ru";
		bindDN = "uid=reader.sogo,ou=System,ou=Accounts,ou=Aviatu.RU,dc=aviatu,dc=ru";
		bindFields = (
		    uid
		);
		bindPassword = reader.sogo;
		canAuthenticate = YES;
		displayName = "LDAP Addresses";
		hostname = localhost;
		id = aviatu.ru;
		isAddressBook = YES;
		port = 389;
		type = ldap;
	    }
	);
	WOMessageUseUTF8 = YES;
	WOParsersUseUTF8 = YES;
	WOUseRelativeURLs = YES;
    };
}
GNUstepDefaults (1,112 bytes)   
uliscat

uliscat

2010-09-28 09:36

reporter   ~0001523

adding complete sogo.log from tart till crash

2010-09-28 09:36

 

sogo.log (11,447 bytes)
wsourdeau

wsourdeau

2010-10-29 20:55

viewer   ~0001673

Does this still happen with 1.3.3? If so, please attach the cards from your addressbook. To do this in one shot, use sogo-tool backup as it will put everything in the same file. You can send the file to wsourdeau@inverse.ca so that you will avoid disclosing private information.

ludovic

ludovic

2011-05-10 20:10

administrator   ~0002460

Any news on this?

ludovic

ludovic

2011-12-30 17:16

administrator   ~0003234

No feedback provided in more than a year. Closing.

Issue History

Date Modified Username Field Change
2010-09-28 09:33 uliscat New Issue
2010-09-28 09:33 uliscat File Added: apache-virtualhost
2010-09-28 09:34 uliscat File Added: GNUstepDefaults
2010-09-28 09:36 uliscat Note Added: 0001523
2010-09-28 09:36 uliscat File Added: sogo.log
2010-10-29 20:55 wsourdeau Note Added: 0001673
2010-12-29 19:45 ludovic Severity crash => minor
2010-12-29 19:45 ludovic Status new => feedback
2011-05-10 20:10 ludovic Note Added: 0002460
2011-12-30 17:16 ludovic Note Added: 0003234
2011-12-30 17:16 ludovic Status feedback => closed
2011-12-30 17:16 ludovic Resolution open => unable to reproduce