View Issue Details

IDProjectCategoryView StatusLast Update
0003468SOGoWeb Mailpublic2016-01-29 10:05
Reporterandre.peters Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platform[Server] LinuxOSDebianOS Version8 (Jessie)
Product Version3.0.0 
Fixed in Version3.0.1 
Summary0003468: Empty trash in webmail results in NSInvalidArgumentException
Description

When I empty a trash folder via webmail I get a "Proxy Error" message.

sogo.log: NAME:NSInvalidArgumentException REASON:Tried to init dictionary with nil value INFO:(null)

Important: The trash is being emptied anyway. :-)

TagsNo tags attached.

Activities

ludovic

ludovic

2016-01-28 11:54

administrator   ~0009361

Works for me.

Try to run with only 1 child, install the sogo-dbg packages, attach to the child with gdb, set a breakpoint on "raise" and produce a stack trace.

andre.peters

andre.peters

2016-01-28 12:10

reporter   ~0009362

Here it comes:

<pre>
Breakpoint 1, -[NSException raise] (self=0x555555cc08e0, _cmd=0x7ffff58f0fc0 <_OBJC_SELECTOR_TABLE+384>) at NSException.m:960
960 NSException.m: No such file or directory.
(gdb) bt
#0 -[NSException raise] (self=0x555555cc08e0, _cmd=0x7ffff58f0fc0 <_OBJC_SELECTOR_TABLE+384>) at NSException.m:960
0000001 0x00007ffff54077a3 in +[NSException raise:format:] (self=0x7ffff58f12c0 <_OBJC_Class_NSException>, _cmd=<optimized out>, name=0x7ffff58f1950 <_OBJC_INSTANCE_4>, format=0x7ffff58a7e90 <_OBJC_INSTANCE_3>) at NSException.m:840
0000002 0x00007ffff5349b61 in -[GSDictionary initWithObjects:forKeys:count:] (self=0x0, _cmd=<optimized out>, objs=<optimized out>, keys=0x7fffffffbb80, c=1) at GSDictionary.m:208
0000003 0x00007ffff53fe961 in +[NSDictionary dictionaryWithObject:forKey:] (self=<optimized out>, _cmd=<optimized out>, object=0x0, key=0x7fffe9278cc0 <_OBJC_INSTANCE_18>) at NSDictionary.m:558
0000004 0x00007fffe905e097 in -[UIxMailFolderActions emptyTrashAction] (self=0x5555561eb8a0, _cmd=0x555555fac8e0) at UIxMailFolderActions.m:715
0000005 0x00007ffff6cee2f4 in ?? () from /usr/lib/libNGObjWeb.so.4.9
0000006 0x00007ffff6ce98f0 in ?? () from /usr/lib/libNGObjWeb.so.4.9
0000007 0x00007ffff6ceb9d1 in ?? () from /usr/lib/libNGObjWeb.so.4.9
0000008 0x00007ffff6c816de in ?? () from /usr/lib/libNGObjWeb.so.4.9
0000009 0x00007ffff6c491bc in ?? () from /usr/lib/libNGObjWeb.so.4.9
0000010 0x000055555555b8cf in -[SOGo dispatchRequest:] (self=0x5555558b9e60, _cmd=0x7ffff6ff9660, _request=0x555556237d20) at SOGo.m:453
0000011 0x00007ffff6cdc78d in ?? () from /usr/lib/libNGObjWeb.so.4.9
0000012 0x00007ffff6cddc58 in ?? () from /usr/lib/libNGObjWeb.so.4.9
0000013 0x00007ffff6cd8cea in ?? () from /usr/lib/libNGObjWeb.so.4.9
0000014 0x00007ffff6cd9b36 in ?? () from /usr/lib/libNGObjWeb.so.4.9
0000015 0x00007ffff6cd9eca in ?? () from /usr/lib/libNGObjWeb.so.4.9
0000016 0x00007ffff6cd9f54 in ?? () from /usr/lib/libNGObjWeb.so.4.9
0000017 0x00007ffff544ad07 in -[NSNotificationCenter _postAndRelease:] (self=0x555555897760, _cmd=<optimized out>, notification=0x5555561a1fa0) at NSNotificationCenter.m:1307
0000018 0x00007ffff5555b3b in -[GSRunLoopCtxt pollUntil:within:] (self=<optimized out>, _cmd=0x7ffff593a900 <_OBJC_SELECTOR_TABLE+1216>, milliseconds=<optimized out>, contexts=<optimized out>) at GSRunLoopCtxt.m:642
0000019 0x00007ffff5493840 in -[NSRunLoop acceptInputForMode:beforeDate:] (self=0x555555c4c1c0, _cmd=0x7ffff58f0fc0 <_OBJC_SELECTOR_TABLE+384>, mode=0x7ffff593b770 <_OBJC_INSTANCE_2>, limit_date=0x555555bf7800) at NSRunLoop.m:1217
0000020 0x00007ffff5493cf2 in -[NSRunLoop runMode:beforeDate:] (self=0x555555c4c1c0, _cmd=0x555555c20170, mode=0x7ffff593b770 <_OBJC_INSTANCE_2>, date=0x5555558a1e10) at NSRunLoop.m:1288
0000021 0x00007ffff6c4a59e in ?? () from /usr/lib/libNGObjWeb.so.4.9
0000022 0x000055555555af91 in -[SOGo run] (self=0x5555558b9e60, _cmd=0x7ffff6f820d0) at SOGo.m:277
0000023 0x00007ffff6c6edd4 in WOApplicationMain () from /usr/lib/libNGObjWeb.so.4.9
0000024 0x00007ffff6c8ab0f in WOWatchDogApplicationMain () from /usr/lib/libNGObjWeb.so.4.9
0000025 0x000055555555a249 in main (argc=13, argv=0x7fffffffe5b8, env=0x7fffffffe628) at sogod.m:53
</pre>

slainsavage

slainsavage

2016-01-29 09:38

reporter   ~0009364

For what it is worth I am getting the same error on my side as well.

francis

francis

2016-01-29 10:05

administrator   ~0009366

https://github.com/inverse-inc/sogo/commit/ac8cf16885b1c42775793abd09a04601fdb2cf42

Issue History

Date Modified Username Field Change
2016-01-28 11:49 andre.peters New Issue
2016-01-28 11:54 ludovic Note Added: 0009361
2016-01-28 12:10 andre.peters Note Added: 0009362
2016-01-29 09:38 slainsavage Note Added: 0009364
2016-01-29 10:05 francis Note Added: 0009366
2016-01-29 10:05 francis Status new => resolved
2016-01-29 10:05 francis Fixed in Version => 3.0.1
2016-01-29 10:05 francis Resolution open => fixed
2016-01-29 10:05 francis Assigned To => francis