View Issue Details

IDProjectCategoryView StatusLast Update
0005906SOGoBackend Address Bookpublic2023-12-18 08:38
Reporterrschuetz Assigned Tosebastien  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platform[Server] LinuxOSDebianOS Version11.8 (bullseye)
Product Version5.9.1 
Fixed in Version5.9.1 
Summary0005906: NSInvalidArgumentException when searching in global address book
Description

Starting with SOGo 5.9.1 EXCEPTION: <NSException: 0x5555563a2e90> NAME:NSInvalidArgumentException REASON:GSInlineArray(instance) does not recognize replaceObjectAtIndex:withObject: INFO:(null) is raised when searching in a global (LDAP-backed) address book in the address book view.

TagsNo tags attached.

Activities

rschuetz

rschuetz

2023-12-12 08:55

reporter  

backtrace.txt (6,987 bytes)   
#0  -[NSException raise] (self=0x5555563a2e90, _cmd=0x7ffff73cfba0 <_OBJC_SELECTOR_TABLE+480>) at NSException.m:1574
#1  0x00007ffff708416a in +[NSException raise:format:arguments:] (self=<optimized out>, _cmd=<optimized out>, name=0x7ffff73d0550 <_OBJC_INSTANCE_5>, format=0x7ffff740bd10 <_OBJC_INSTANCE_11.13866>, argList=0x7fffffffb6f0)
    at NSException.m:1465
#2  0x00007ffff7084dc4 in +[NSException raise:format:] (self=0x7ffff73cfee0 <_OBJC_Class_NSException>, _cmd=<optimized out>, name=0x7ffff73d0550 <_OBJC_INSTANCE_5>, format=0x7ffff740bd10 <_OBJC_INSTANCE_11.13866>) at NSException.m:1450
#3  0x00007ffff70ee005 in -[NSObject doesNotRecognizeSelector:] (self=0x5555563989d0, _cmd=<optimized out>, aSelector=<optimized out>) at NSObject.m:1742
#4  0x00007ffff71c8126 in GSFFIInvocationCallback (cif=cif@entry=0x55555638ca70, retp=retp@entry=0x7fffffffba30, args=args@entry=0x7fffffffb890, user=user@entry=0x5555563a7ce0) at GSFFIInvocation.m:606
#5  0x00007ffff5d38b4a in ffi_closure_unix64_inner (cif=0x55555638ca70, fun=0x7ffff71c7e90 <GSFFIInvocationCallback>, user_data=0x5555563a7ce0, rvalue=0x7fffffffba30, reg_args=0x7fffffffb980, argp=0x7fffffffba60 "\260Z\206\366\377\177")
    at ../src/x86/ffi64.c:851
#6  0x00007ffff5d38eb0 in ffi_closure_unix64 () at ../src/x86/unix64.S:277
#7  0x00007ffff29d1d83 in -[UIxContactsListActions contactInfos] (self=0x555555e799d0, _cmd=0x7ffff29e6c40 <_OBJC_SELECTOR_TABLE+1216>) at UIxContactsListActions.m:211
#8  0x00007ffff29d3297 in -[UIxContactsListActions contactsListAction] (self=0x555555e799d0, _cmd=0x555555d2ccf0) at UIxContactsListActions.m:496
#9  0x00007ffff79c5b19 in -[WODirectAction performActionNamed:] (self=0x555555e799d0, _cmd=0x7ffff2a5af90 <_OBJC_SELECTOR_TABLE+720>, _actionName=0x555555e6fd10) at WODirectAction.m:97
#10 0x00007ffff2a45868 in -[SOGoDirectAction performActionNamed:] (self=0x555555e799d0, _cmd=0x7ffff7b90380 <_OBJC_SELECTOR_TABLE+928>, _actionName=0x55555592b740) at SOGoDirectAction.m:271
#11 0x00007ffff7a4fdba in -[SoActionInvocation callOnObject:withPositionalParametersWhenNotNil:inContext:] (self=0x555555d17550, _cmd=0x7ffff7b903b0 <_OBJC_SELECTOR_TABLE+976>, _client=0x555555fad590, _positionalArgs=0x0, 
    _ctx=0x555556010530) at SoActionInvocation.m:300
#12 0x00007ffff7a4fedf in -[SoActionInvocation callOnObject:inContext:] (self=0x555555d17550, _cmd=0x7ffff7b902d0 <_OBJC_SELECTOR_TABLE+752>, _client=0x555555fad590, _ctx=0x555556010530) at SoActionInvocation.m:318
#13 0x00007ffff7a4fb68 in -[SoActionInvocation callOnObject:withPositionalParametersWhenNotNil:inContext:] (self=0x555555933300, _cmd=0x7ffff7b903b0 <_OBJC_SELECTOR_TABLE+976>, _client=0x555555fad590, _positionalArgs=0x0, 
    _ctx=0x555556010530) at SoActionInvocation.m:260
#14 0x00007ffff7a4fedf in -[SoActionInvocation callOnObject:inContext:] (self=0x555555933300, _cmd=0x7ffff7b8c920 <_OBJC_SELECTOR_TABLE+672>, _client=0x555555fad590, _ctx=0x555556010530) at SoActionInvocation.m:318
#15 0x00007ffff7a4a785 in -[SoObjectMethodDispatcher dispatchInContext:] (self=0x555555a64060, _cmd=0x7ffff7b8e000 <_OBJC_SELECTOR_TABLE+1536>, _ctx=0x555556010530) at SoObjectMethodDispatcher.m:192
#16 0x00007ffff7a4ca8a in -[SoObjectRequestHandler handleRequest:inContext:session:application:] (self=0x555555a7acd0, _cmd=0x7ffff7b0ec30 <_OBJC_SELECTOR_TABLE+848>, _rq=0x555555ca8820, _ctx=0x555556010530, _sn=0x0, app=0x5555559b0e20)
    at SoObjectRequestHandler.m:584
#17 0x00007ffff79d6c7a in -[WORequestHandler handleRequest:] (self=0x555555a7acd0, _cmd=0x7ffff7ad71b0 <_OBJC_SELECTOR_TABLE+1616>, _request=0x555555ca8820) at WORequestHandler.m:240
#18 0x00007ffff7999661 in -[WOCoreApplication dispatchRequest:usingHandler:] (self=0x5555559b0e20, _cmd=0x7ffff7ad7200 <_OBJC_SELECTOR_TABLE+1696>, _request=0x555555ca8820, handler=0x555555a7acd0) at WOCoreApplication.m:712
#19 0x00007ffff7999969 in -[WOCoreApplication dispatchRequest:] (self=0x5555559b0e20, _cmd=0x5555555666c0 <_OBJC_SELECTOR_TABLE+1664>, _request=0x555555ca8820) at WOCoreApplication.m:752
#20 0x000055555555d45b in -[SOGo dispatchRequest:] (self=0x5555559b0e20, _cmd=0x7ffff7b751a0 <_OBJC_SELECTOR_TABLE+1760>, _request=0x555555ca8820) at SOGo.m:584
#21 0x00007ffff7a3b645 in -[WOHttpTransaction _run] (self=0x555555f74fc0, _cmd=0x7ffff7b751d0 <_OBJC_SELECTOR_TABLE+1808>) at WOHttpTransaction.m:566
#22 0x00007ffff7a3b9a5 in -[WOHttpTransaction run] (self=0x555555f74fc0, _cmd=0x7ffff7b72ed0 <_OBJC_SELECTOR_TABLE+1168>) at WOHttpTransaction.m:619
#23 0x00007ffff7a378cc in -[WOHttpAdaptor runConnection:] (self=0x555555ac58c0, _cmd=0x7ffff7b72f70 <_OBJC_SELECTOR_TABLE+1328>, _socket=0x555555ee1b90) at WOHttpAdaptor.m:373
#24 0x00007ffff7a37ad8 in -[WOHttpAdaptor _handleAcceptedConnection:] (self=0x555555ac58c0, _cmd=0x7ffff7b72f80 <_OBJC_SELECTOR_TABLE+1344>, _connection=0x555555ee1b90) at WOHttpAdaptor.m:407
#25 0x00007ffff7a37ed0 in -[WOHttpAdaptor _handleConnection:] (self=0x555555ac58c0, _cmd=0x7ffff7b73020 <_OBJC_SELECTOR_TABLE+1504>, connection=0x555555ee1b90) at WOHttpAdaptor.m:466
#26 0x00007ffff7a38321 in -[WOHttpAdaptor acceptConnection:] (self=0x555555ac58c0, _cmd=0x7ffff7b72e90 <_OBJC_SELECTOR_TABLE+1104>, _notification=0x555555f66ad0) at WOHttpAdaptor.m:527
#27 0x00007ffff70df604 in -[NSNotificationCenter _postAndRelease:] (self=0x555555739590, _cmd=<optimized out>, notification=0x555555f66ad0) at NSNotificationCenter.m:1198
#28 0x00007ffff75f38e4 in -[NSObject(FileObjectWatcher) receivedEvent:type:extra:forMode:] (self=0x555555c01d00, _cmd=0x7ffff74b2550 <_OBJC_SELECTOR_TABLE+304>, _fdData=0x6, _type=ET_RDESC, _extra=0x6, 
    _mode=0x7ffff742ecf0 <_OBJC_INSTANCE_2>) at NSRunLoop+FileObjects.m:58
#29 0x00007ffff720798b in -[GSRunLoopCtxt pollUntil:within:] (self=<optimized out>, _cmd=0x7ffff742dee0 <_OBJC_SELECTOR_TABLE+1184>, milliseconds=<optimized out>, contexts=0x555555a9c4a0) at GSRunLoopCtxt.m:600
#30 0x00007ffff7130fde in -[NSRunLoop acceptInputForMode:beforeDate:] (self=0x5555558b5b70, _cmd=0x7ffff742df10 <_OBJC_SELECTOR_TABLE+1232>, mode=0x7ffff742ecf0 <_OBJC_INSTANCE_2>, limit_date=0x555555c0a7f0) at NSRunLoop.m:1238
#31 0x00007ffff7130d74 in -[NSRunLoop runMode:beforeDate:] (self=0x5555558b5b70, _cmd=<optimized out>, mode=0x7ffff742ecf0 <_OBJC_INSTANCE_2>, date=0x555555c0a7f0) at NSRunLoop.m:1318
#32 0x00007ffff7998ec8 in -[WOCoreApplication run] (self=0x5555559b0e20, _cmd=0x555555566420 <_OBJC_SELECTOR_TABLE+992>) at WOCoreApplication.m:584
#33 0x000055555555c664 in -[SOGo run] (self=0x5555559b0e20, _cmd=0x7ffff7af9eb0 <_OBJC_SELECTOR_TABLE+208>) at SOGo.m:337
#34 0x00007ffff79c1f95 in WOApplicationMain (_appClassName=0x5555555641c0 <_OBJC_INSTANCE_3.1>, argc=13, argv=0x7fffffffebf8) at WOApplicationMain.m:42
#35 0x00007ffff79e1e27 in WOWatchDogApplicationMain (appName=0x5555555641c0 <_OBJC_INSTANCE_3.1>, argc=13, argv=0x7fffffffebf8) at WOWatchDogApplicationMain.m:1051
#36 0x000055555555b2fe in main (argc=13, argv=0x7fffffffebf8, env=0x7fffffffec68) at sogod.m:51
backtrace.txt (6,987 bytes)   
sebastien

sebastien

2023-12-12 11:19

administrator   ~0017502

Fixed in https://github.com/Alinto/sogo/commit/f85c53190c38c4e28536f78e43623f6776248291

I have rebuild the nightly package for Debian bullseye, can you force reinstall and try if the issue is fixed ?

Sebastien

rschuetz

rschuetz

2023-12-12 11:59

reporter   ~0017503

I have replaced the release build with the latest nightly and can confirm that contact search is working again.

Issue History

Date Modified Username Field Change
2023-12-12 08:55 rschuetz New Issue
2023-12-12 08:55 rschuetz File Added: backtrace.txt
2023-12-12 10:37 sebastien Assigned To => sebastien
2023-12-12 10:37 sebastien Status new => assigned
2023-12-12 11:19 sebastien Note Added: 0017502
2023-12-12 11:51 sebastien Status assigned => feedback
2023-12-12 11:59 rschuetz Note Added: 0017503
2023-12-12 11:59 rschuetz Status feedback => assigned
2023-12-12 12:54 sebastien Fixed in Version => 5.9.1
2023-12-12 12:54 sebastien Status assigned => resolved
2023-12-12 12:54 sebastien Resolution open => fixed
2023-12-18 08:38 qhivert Status resolved => closed