View Issue Details

IDProjectCategoryView StatusLast Update
0001136SOGoWeb Preferencespublic2011-02-18 11:49
Reporteroroux Assigned Toludovic  
Status resolvedResolutionno change required 
Product Version1.3.5 
Target Version1.3.6 
Summary0001136: after sometime (random) crash of sogo

After the change of the preference, the sogo's instance crashs

EXCEPTION: <NSException: 0x9235320> NAME:NSInvalidArgumentException REASON:NSDataMalloc(instance) does not recognize stringByReplacingString:withString: INFO:(nil)

Then the user has proxy error on his webpage

The crash is only for that user. I could login with another user.

If I remove the preferences setting of the user, or if I empty the preferences (in the table sogo_user_profile), I could login with user

For example, the data of the preference before the erase:

{"CalendarDefaultFilter": "view_today", "Calendar": {"FolderColors": {"aaaa:Calendar\/personal": "#AAAAAA"}, "View": "weekview", "FreeBusyExclusions": {"aaaa:Calendar\/personal": false}}, "ShowCompletedTasks": "1"}

TagsNo tags attached.




2011-02-15 20:20

administrator   ~0002109

Run SOGo with only one sogod process, attach to the child process using gdb and put a breakpoint on NSException's raise method. Produce a stacktrace when that happens.



2011-02-18 10:23

reporter   ~0002131

I hjave found the problem

The database was created with utf8_bin and not utf8

I have recreated the database and I have no more errors.

Issue History

Date Modified Username Field Change
2011-02-14 10:21 oroux New Issue
2011-02-15 20:20 ludovic Note Added: 0002109
2011-02-15 20:21 ludovic Target Version => 1.3.6
2011-02-18 10:23 oroux Note Added: 0002131
2011-02-18 11:49 ludovic Status new => resolved
2011-02-18 11:49 ludovic Resolution open => no change required
2011-02-18 11:49 ludovic Assigned To => ludovic