Re: [SOGo] SOGo die : (terminated due to signal 6, coredump)
Hello, We have found the origin of this bug. In the quick table of the Calendar user, one entry got an empty c_name field. The event was generate in 2011 with Ical. We delete this line, and now it work's fine. Ludovic. Le 22/02/2013 08:56, Ludovic Hutin a écrit : Hello, Here is the stack trace : (gdb) bt #0 -[NSException raise] (self=0x564437b0, _cmd=0x75736f00) at NSException.m:955 #1 0x75283231 in +[NSException raise:format:] (self=0x75737080, _cmd=optimized out, name=0x757370f0, format=0x77da0140) at NSException.m:835 #2 0x77b37d95 in -[SOGoObject initWithName:inContainer:] (self=0x56443890, _cmd=0x77da39f0, _name=0x7fffe9d724a0, _container=0x5620f750) at SOGoObject.m:183 #3 0x77b3ea2c in -[SOGoContentObject initWithRecord:inContainer:] (self=0x56443890, _cmd=0x77da3950, objectRecord=0x56223c40, newContainer=0x5620f750) at SOGoContentObject.m:123 #4 0x77b3e584 in +[SOGoContentObject objectWithRecord:inContainer:] (self=0x7fffecbdd140, _cmd=0x77da9cb0, objectRecord=0x56223c40, newContainer=0x5620f750) at SOGoContentObject.m:53 #5 0x77b45228 in -[SOGoGCSFolder createChildComponentWithRecord:] (self=0x5620f750, _cmd=0x77da9d20, record=0x56223c40) at SOGoGCSFolder.m:727 #6 0x77b45508 in -[SOGoGCSFolder lookupName:inContext:acquire:] (self=0x5620f750, _cmd=0x7fffecbe5bd0, key=0x7fffe9d724a0, localContext=0x55e29800, acquire=0 '\000') at SOGoGCSFolder.m:768 #7 0x7fffec9b2ebf in -[SOGoAppointmentFolder lookupName:inContext:acquire:] (self=0x5620f750, _cmd=0x76e643a0, _key=0x7fffe9d724a0, _ctx=0x55e29800, _flag=0 '\000') at SOGoAppointmentFolder.m:1914 #8 0x76b413d9 in -[SoObjectDataSource davFlatQuery:inContext:] (self=0x55f5feb0, _cmd=optimized out, _fs=0x55f93e60, _ctx=0x55e29800) at SoObjectDataSource.m:156 #9 0x76b41766 in -[SoObjectDataSource fetchObjects] (self=0x55f5feb0, _cmd=optimized out) at SoObjectDataSource.m:265 #10 0x76b40b2a in -[NSObject(SoObjectDAVQueries) performWebDAVQuery:inContext:] (self=0x5620f750, _cmd=optimized out, _fs=0x55f93e60, _ctx=0x55e29800) at SoObject+SoDAVQuery.m:276 #11 0x76b43dbb in -[SoObjectWebDAVDispatcher doPROPFIND:] (self=0x561664f0, _cmd=optimized out, _ctx=0x55e29800) at SoObjectWebDAVDispatcher.m:550 #12 0x76b4775c in -[SoObjectWebDAVDispatcher dispatchInContext:] (self=0x561664f0, _cmd=optimized out, _ctx=0x55e29800) at SoObjectWebDAVDispatcher.m:1775 #13 0x76b27978 in -[SoObjectRequestHandler handleRequest:inContext:session:application:] () from /usr/lib/libNGObjWeb.so.4.9 #14 0x76abbc75 in -[WORequestHandler handleRequest:] (self=0x55b33040, _cmd=optimized out, _request=0x55f9bd30) at WORequestHandler.m:237 #15 0x76a83736 in -[WOCoreApplication dispatchRequest:usingHandler:] (self=0x55ab93d0, _cmd=optimized out, _request=0x55f9bd30, handler=0x55b33040) at WOCoreApplication.m:712 #16 0xb751 in -[SOGo dispatchRequest:] (self=0x55ab93d0, _cmd=0x76e32300, _request=0x55f9bd30) at SOGo.m:453 #17 0x76b1748d in -[WOHttpTransaction _run] (self=0x55e87770, _cmd=optimized out) at WOHttpTransaction.m:581 #18 0x76b18e18 in -[WOHttpTransaction run] (self=0x55e87770, _cmd=optimized out) at WOHttpTransaction.m:634 #19 0x76b13ab9 in -[WOHttpAdaptor runConnection:] (self=0x55de02b0, _cmd=optimized out, _socket=0x55f361f0) at WOHttpAdaptor.m:367 #20 0x76b14b06 in -[WOHttpAdaptor _handleAcceptedConnection:] (self=0x55de02b0, _cmd=optimized out, _connection=0x55f361f0) at WOHttpAdaptor.m:401 #21 0x76b14eba in -[WOHttpAdaptor _handleConnection:] (self=0x55de02b0, _cmd=optimized out, connection=0x55f361f0) at WOHttpAdaptor.m:460 #22 0x76b14f5d in -[WOHttpAdaptor acceptConnection:] (self=0x55de02b0, _cmd=optimized out, _notification=optimized out) at WOHttpAdaptor.m:521 #23 0x752bf48d in -[NSNotificationCenter _postAndRelease:] (self=0x55869ee0, _cmd=optimized out, notification=0x55e68a80) at NSNotificationCenter.m:1162 #24 0x753b9f62 in -[GSRunLoopCtxt pollUntil:within:] (self=0x55b11610, _cmd=optimized out, milliseconds=0, contexts=0x55c43c80) at GSRunLoopCtxt.m:636 #25 0x75308170 in -[NSRunLoop acceptInputForMode:beforeDate:] (self=0x55b3dc00, _cmd=optimized out, mode=0x75779390, limit_date=optimized out) at NSRunLoop.m:1198 #26 0x75307250 in -[NSRunLoop runMode:beforeDate:] (self=0x55b3dc00, _cmd=optimized out, mode=0x75779390, date=0x55b0bdf0) at NSRunLoop.m:1266 #27 0x76a8309e in -[WOCoreApplication run] (self=0x55ab93d0, _cmd=optimized out) at WOCoreApplication.m:584 #28 0xae71 in -[SOGo run] (self=0x55ab93d0,
[SOGo] SOGo die : (terminated due to signal 6, coredump)
Hello all, We have this strange problem : We have a user who have a Calendar, when you subscribe to his Calendar you can see it in web gui without any trouble. When you want to see it with Thunderbird + Lightning (1.9.1) + SOGo Integrator + SOGo Connector it is impossible to see any event. We always got a warning behind the Calendar witch is tempory unavalible. It's is the same behaviour with the cadaver command In the /var/log/sogo/sogo.log we can see this : :::: - - [21/Feb/2013:15:16:05 GMT] HEAD /SOGo/index HTTP/1.0 302 0/0 0.001 - - 0 :::: - - [21/Feb/2013:15:16:13 GMT] OPTIONS /SOGo/dav/ludovic.hutin/Calendar/XXX_personal/ HTTP/1.0 401 0/0 0.003 - - 0 :::: - - [21/Feb/2013:15:16:14 GMT] HEAD /SOGo/index HTTP/1.0 302 0/0 0.001 - - 0 :::: - - [21/Feb/2013:15:16:14 GMT] HEAD /SOGo/index HTTP/1.0 302 0/0 0.001 - - 0 :::: - - [21/Feb/2013:15:16:20 GMT] OPTIONS /SOGo/dav/ludovic.hutin/Calendar/XXX_personal/ HTTP/1.0 200 0/0 0.175 - - 0 2013-02-21 15:16:20.263 sogod[31759] File NSKeyValueCoding.m: 913. In -[NSObject(KeyValueCoding) valuesForKeys:] This method is deprecated, use -dictionaryWithValuesForKeys: :::: - - [21/Feb/2013:15:16:20 GMT] PROPFIND /SOGo/dav/ludovic.hutin/Calendar/XXX_personal/ HTTP/1.0 207 598/288 0.157 - - 24K EXCEPTION: NSException: 0x7fa77fc578d0 NAME:NSInvalidArgumentException REASON:'_name' must not be an empty string INFO:(null) Feb 21 15:16:30 sogod [31754]: 0x0x7fa77f49f6b0[WOWatchDogChild] child 31759 exited Feb 21 15:16:30 sogod [31754]: 0x0x7fa77f49f6b0[WOWatchDogChild] (terminated due to signal 6, coredump) Feb 21 15:16:30 sogod [31754]: 0x0x7fa77f3726d0[WOWatchDog] child spawned with pid 2305 Feb 21 15:16:35 sogod [2305]: 0x0x7fa77f7d02f0[SOGoCache] Cache cleanup interval set every 300.00 seconds Feb 21 15:16:35 sogod [2305]: 0x0x7fa77f7d02f0[SOGoCache] Using host(s) '192.168.135.10' as server(s) 2013-02-21 15:16:35.675 sogod[2305] Note(SoObject): SoDebugKeyLookup is enabled! 2013-02-21 15:16:35.676 sogod[2305] Note(SoObject): SoDebugBaseURL is enabled! 2013-02-21 15:16:35.676 sogod[2305] Note(SoObject): relative base URLs are enabled. :::: - - [21/Feb/2013:15:16:35 GMT] HEAD /SOGo/index HTTP/1.0 302 0/0 0.001 - - 0 2013-02-21 15:16:35.682 sogod[2305] ERROR(-[NGBundleManager bundleWithPath:]): could not create bundle for path: '/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.22/Resources/SSL.bundle' 2013-02-21 15:16:35.690 sogod[2305] WOxElemBuilder: could not locate builders: WOxExtElemBuilder,WOxExtElemBuilder 2013-02-21 15:16:35.690 sogod[2305] WOCompoundElement: pool embedding is on. 2013-02-21 15:16:35.690 sogod[2305] WOCompoundElement: id logging is on. :::: - - [21/Feb/2013:15:16:35 GMT] HEAD /SOGo/index HTTP/1.0 302 0/0 0.024 - - 2M Here is the trace with gdb. sogo@XX:~$ gdb /usr/sbin/sogod core GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu. For bug reporting instructions, please see: http://bugs.launchpad.net/gdb-linaro/... Reading symbols from /usr/sbin/sogod...Reading symbols from /usr/lib/debug/usr/sbin/sogod...done. done. [New LWP 10197] warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1. Core was generated by `/usr/sbin/sogod'. Program terminated with signal 6, Aborted. #0 0x7f0fb4606425 in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt full #0 0x7f0fb4606425 in raise () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1 0x7f0fb4609b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #2 0x7f0fb82644ec in -[SOGo handleException:inContext:] (self=0x7f0fb9a340d0, _cmd=0x7f0fb702f690, _exc=0x7f0fba47f780, _ctx=0x7f0fb9fe4eb0) at SOGo.m:400 No locals. #3 0x7f0fb6d1a34d in -[WORequestHandler handleRequest:] (self=0x7f0fb9d73790, _cmd=optimized out, _request=optimized out) at WORequestHandler.m:264 localException = 0x7f0fba47f780 startHandling = 0 app = 0x7f0fb9a340d0 response = optimized out context = 0x7f0fb9fe4eb0 thread = optimized out sessionId = optimized out session = 0x0 uri = optimized out #4 0x7f0fb6ce1736 in -[WOCoreApplication dispatchRequest:usingHandler:] (self=0x7f0fb9a340d0, _cmd=optimized out, _request=0x7f0fba049c00, handler=0x7f0fb9d73790) at
Re: [SOGo] SOGo die : (terminated due to signal 6, coredump)
On 21/02/13 10:51, Ludovic Hutin wrote: When you want to see it with Thunderbird + Lightning (1.9.1) + SOGo Integrator + SOGo Connector it is impossible to see any event. We always got a warning behind the Calendar witch is tempory unavalible. It's is the same behaviour with the cadaver command Set the breakpoint on [NSException raise] and repost a stacktrace. -- Ludovic Marcotte +1.514.755.3630 :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] SOGo die : (terminated due to signal 6, coredump)
Hello, Here is the stack trace : (gdb) bt #0 -[NSException raise] (self=0x564437b0, _cmd=0x75736f00) at NSException.m:955 #1 0x75283231 in +[NSException raise:format:] (self=0x75737080, _cmd=optimized out, name=0x757370f0, format=0x77da0140) at NSException.m:835 #2 0x77b37d95 in -[SOGoObject initWithName:inContainer:] (self=0x56443890, _cmd=0x77da39f0, _name=0x7fffe9d724a0, _container=0x5620f750) at SOGoObject.m:183 #3 0x77b3ea2c in -[SOGoContentObject initWithRecord:inContainer:] (self=0x56443890, _cmd=0x77da3950, objectRecord=0x56223c40, newContainer=0x5620f750) at SOGoContentObject.m:123 #4 0x77b3e584 in +[SOGoContentObject objectWithRecord:inContainer:] (self=0x7fffecbdd140, _cmd=0x77da9cb0, objectRecord=0x56223c40, newContainer=0x5620f750) at SOGoContentObject.m:53 #5 0x77b45228 in -[SOGoGCSFolder createChildComponentWithRecord:] (self=0x5620f750, _cmd=0x77da9d20, record=0x56223c40) at SOGoGCSFolder.m:727 #6 0x77b45508 in -[SOGoGCSFolder lookupName:inContext:acquire:] (self=0x5620f750, _cmd=0x7fffecbe5bd0, key=0x7fffe9d724a0, localContext=0x55e29800, acquire=0 '\000') at SOGoGCSFolder.m:768 #7 0x7fffec9b2ebf in -[SOGoAppointmentFolder lookupName:inContext:acquire:] (self=0x5620f750, _cmd=0x76e643a0, _key=0x7fffe9d724a0, _ctx=0x55e29800, _flag=0 '\000') at SOGoAppointmentFolder.m:1914 #8 0x76b413d9 in -[SoObjectDataSource davFlatQuery:inContext:] (self=0x55f5feb0, _cmd=optimized out, _fs=0x55f93e60, _ctx=0x55e29800) at SoObjectDataSource.m:156 #9 0x76b41766 in -[SoObjectDataSource fetchObjects] (self=0x55f5feb0, _cmd=optimized out) at SoObjectDataSource.m:265 #10 0x76b40b2a in -[NSObject(SoObjectDAVQueries) performWebDAVQuery:inContext:] (self=0x5620f750, _cmd=optimized out, _fs=0x55f93e60, _ctx=0x55e29800) at SoObject+SoDAVQuery.m:276 #11 0x76b43dbb in -[SoObjectWebDAVDispatcher doPROPFIND:] (self=0x561664f0, _cmd=optimized out, _ctx=0x55e29800) at SoObjectWebDAVDispatcher.m:550 #12 0x76b4775c in -[SoObjectWebDAVDispatcher dispatchInContext:] (self=0x561664f0, _cmd=optimized out, _ctx=0x55e29800) at SoObjectWebDAVDispatcher.m:1775 #13 0x76b27978 in -[SoObjectRequestHandler handleRequest:inContext:session:application:] () from /usr/lib/libNGObjWeb.so.4.9 #14 0x76abbc75 in -[WORequestHandler handleRequest:] (self=0x55b33040, _cmd=optimized out, _request=0x55f9bd30) at WORequestHandler.m:237 #15 0x76a83736 in -[WOCoreApplication dispatchRequest:usingHandler:] (self=0x55ab93d0, _cmd=optimized out, _request=0x55f9bd30, handler=0x55b33040) at WOCoreApplication.m:712 #16 0xb751 in -[SOGo dispatchRequest:] (self=0x55ab93d0, _cmd=0x76e32300, _request=0x55f9bd30) at SOGo.m:453 #17 0x76b1748d in -[WOHttpTransaction _run] (self=0x55e87770, _cmd=optimized out) at WOHttpTransaction.m:581 #18 0x76b18e18 in -[WOHttpTransaction run] (self=0x55e87770, _cmd=optimized out) at WOHttpTransaction.m:634 #19 0x76b13ab9 in -[WOHttpAdaptor runConnection:] (self=0x55de02b0, _cmd=optimized out, _socket=0x55f361f0) at WOHttpAdaptor.m:367 #20 0x76b14b06 in -[WOHttpAdaptor _handleAcceptedConnection:] (self=0x55de02b0, _cmd=optimized out, _connection=0x55f361f0) at WOHttpAdaptor.m:401 #21 0x76b14eba in -[WOHttpAdaptor _handleConnection:] (self=0x55de02b0, _cmd=optimized out, connection=0x55f361f0) at WOHttpAdaptor.m:460 #22 0x76b14f5d in -[WOHttpAdaptor acceptConnection:] (self=0x55de02b0, _cmd=optimized out, _notification=optimized out) at WOHttpAdaptor.m:521 #23 0x752bf48d in -[NSNotificationCenter _postAndRelease:] (self=0x55869ee0, _cmd=optimized out, notification=0x55e68a80) at NSNotificationCenter.m:1162 #24 0x753b9f62 in -[GSRunLoopCtxt pollUntil:within:] (self=0x55b11610, _cmd=optimized out, milliseconds=0, contexts=0x55c43c80) at GSRunLoopCtxt.m:636 #25 0x75308170 in -[NSRunLoop acceptInputForMode:beforeDate:] (self=0x55b3dc00, _cmd=optimized out, mode=0x75779390, limit_date=optimized out) at NSRunLoop.m:1198 #26 0x75307250 in -[NSRunLoop runMode:beforeDate:] (self=0x55b3dc00, _cmd=optimized out, mode=0x75779390, date=0x55b0bdf0) at NSRunLoop.m:1266 #27 0x76a8309e in -[WOCoreApplication run] (self=0x55ab93d0, _cmd=optimized out) at WOCoreApplication.m:584 #28 0xae71 in -[SOGo run] (self=0x55ab93d0, _cmd=0x76dbe200) at SOGo.m:277 #29 0x76aa8f24 in WOApplicationMain (_appClassName=0x55761120, argc=optimized out, argv=optimized out) at WOApplicationMain.m:42 #30 0x76ac52ef in WOWatchDogApplicationMain (appName=0x55761120, argc=13, argv=0x7fffe608) at