View Issue Details

IDProjectCategoryView StatusLast Update
0002251SOGoBackend Calendarpublic2013-03-01 05:24
ReporterLudovic Hutin Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version2.0.4b 
Target VersionFixed in Version 
Summary0002251: SOGo die : (terminated due to signal 6, coredump)
Description

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 :

XXXX:XXXX:XXXX:XXXX:XXXX - - [21/Feb/2013:15:16:05 GMT] "HEAD /SOGo/index HTTP/1.0" 302 0/0 0.001 - - 0
XXXX:XXXX:XXXX:XXXX:XXXX - - [21/Feb/2013:15:16:13 GMT] "OPTIONS /SOGo/dav/ludovic.hutin/Calendar/XXXXXXX_personal/ HTTP/1.0" 401 0/0 0.003 - - 0
XXXX:XXXX:XXXX:XXXX:XXXX - - [21/Feb/2013:15:16:14 GMT] "HEAD /SOGo/index HTTP/1.0" 302 0/0 0.001 - - 0
XXXX:XXXX:XXXX:XXXX:XXXX - - [21/Feb/2013:15:16:14 GMT] "HEAD /SOGo/index HTTP/1.0" 302 0/0 0.001 - - 0
XXXX:XXXX:XXXX:XXXX:XXXX - - [21/Feb/2013:15:16:20 GMT] "OPTIONS /SOGo/dav/ludovic.hutin/Calendar/XXXXXXX_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:
XXXX:XXXX:XXXX:XXXX:XXXX - - [21/Feb/2013:15:16:20 GMT] "PROPFIND /SOGo/dav/ludovic.hutin/Calendar/XXXXXXX_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.000000 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.
XXXX:XXXX:XXXX:XXXX:XXXX - - [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.
XXXX:XXXX:XXXX:XXXX:XXXX - - [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@XXXXXXXXXXXXXX:~$ 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 0x00007f0fb4606425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0 0x00007f0fb4606425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
0000001 0x00007f0fb4609b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
0000002 0x00007f0fb82644ec in -[SOGo handleException:inContext:] (self=0x7f0fb9a340d0, _cmd=0x7f0fb702f690, _exc=0x7f0fba47f780, _ctx=0x7f0fb9fe4eb0) at SOGo.m:400
No locals.
0000003 0x00007f0fb6d1a34d 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>
0000004 0x00007f0fb6ce1736 in -[WOCoreApplication dispatchRequest:usingHandler:] (self=0x7f0fb9a340d0, _cmd=<optimized out>, _request=0x7f0fba049c00, handler=0x7f0fb9d73790) at WOCoreApplication.m:712
startDispatch = 0
response = 0x0
startDispatch = <optimized out>
0000005 0x00007f0fb8264751 in -[SOGo dispatchRequest:] (self=0x7f0fb9a340d0, _cmd=0x7f0fb7090300, _request=0x7f0fba049c00) at SOGo.m:453
runLoopModes = 0x7f0fba0499e0
debugOn = 0 '\000'
resp = 0x7f0fb9fe96f0
startDate = 0x7f0fba030fe0
timeDelta = 6.9023699034375296e-310
objc_super = {self = 0x7f0fb9a340d0, super_class = 0x7f0fb70a15e0}
0000006 0x00007f0fb6d7548d in -[WOHttpTransaction _run] (self=0x7f0fba0587e0, _cmd=<optimized out>) at WOHttpTransaction.m:581
No locals.
0000007 0x00007f0fb6d76e18 in -[WOHttpTransaction run] (self=0x7f0fba0587e0, _cmd=<optimized out>) at WOHttpTransaction.m:634
ok = 1 '\001'
0000008 0x00007f0fb6d71ab9 in -[WOHttpAdaptor runConnection:] (self=0x7f0fb9f37230, _cmd=<optimized out>, _socket=0x7f0fb9fe96f0) at WOHttpAdaptor.m:367
tx = 0x7f0fba0587e0
---Type <return> to continue, or q <return> to quit---
0000009 0x00007f0fb6d72b06 in -[WOHttpAdaptor _handleAcceptedConnection:] (self=0x7f0fb9f37230, _cmd=<optimized out>, _connection=0x7f0fb9fe96f0) at WOHttpAdaptor.m:401
t = 1.9762625833649862e-323
0000010 0x00007f0fb6d72eba in -[WOHttpAdaptor _handleConnection:] (self=0x7f0fb9f37230, _cmd=<optimized out>, connection=0x7f0fb9fe96f0) at WOHttpAdaptor.m:460
No locals.
0000011 0x00007f0fb6d71e39 in -[WOHttpAdaptor acceptControlMessage:] (self=0x7f0fb9f37230, _cmd=<optimized out>, aNotification=<optimized out>) at WOHttpAdaptor.m:499
notificationSocket = <optimized out>
connection = 0x7f0fb9fe96f0
message = WOChildMessageAccept
pool = 0x7f0fb9f39500
0000012 0x00007f0fb551d48d in ?? () from /usr/lib/libgnustep-base.so.1.22
No symbol table info available.
0000013 0x00007f0fb5617f62 in ?? () from /usr/lib/libgnustep-base.so.1.22
No symbol table info available.
0000014 0x00007f0fb5566170 in ?? () from /usr/lib/libgnustep-base.so.1.22
No symbol table info available.
0000015 0x00007f0fb5565250 in ?? () from /usr/lib/libgnustep-base.so.1.22
No symbol table info available.
0000016 0x00007f0fb6ce109e in -[WOCoreApplication run] (self=0x7f0fb9a340d0, _cmd=<optimized out>) at WOCoreApplication.m:584
loop = 0x7f0fb9bf0320
limitDate = 0x7f0fb9cf7ba0
pool = 0x7f0fb9d26c30
0000017 0x00007f0fb8263e71 in -[SOGo run] (self=0x7f0fb9a340d0, _cmd=0x7f0fb7036fa0) at SOGo.m:277
objc_super = {self = 0x7f0fb9a340d0, super_class = 0x7f0fb70a15e0}
0000018 0x00007f0fb6d22541 in -[WOWatchDog _spawnChild:] (self=0x7f0fb9b05de0, _cmd=<optimized out>, child=0x7f0fb9bc8110) at WOWatchDogApplicationMain.m:578
pair = {0x7f0fb9c59ea0, 0x7f0fb9c2d270}
isChild = 1 '\001'
childPid = 0
0000019 0x00007f0fb6d21a96 in -[WOWatchDog _ensureChildren] (self=0x7f0fb9b05de0, _cmd=<optimized out>) at WOWatchDogApplicationMain.m:668
count = <optimized out>
max = <optimized out>
child = 0x7f0fb9bc8110
isChild = 0 '\000'
delayed = 0 '\000'
---Type <return> to continue, or q <return> to quit---
now = <optimized out>
nextSpawn = 0x0
0000020 0x00007f0fb6d22c62 in -[WOWatchDog run:argc:argv:] (self=0x7f0fb9b05de0, _cmd=<optimized out>, newAppName=<optimized out>, newArgC=<optimized out>, newArgV=<optimized out>) at WOWatchDogApplicationMain.m:919
pool = 0x7f0fb9b8c930
runLoop = 0x7f0fb9bf0320
limitDate = <optimized out>
listening = <optimized out>
retries = <optimized out>
0000021 0x00007f0fb6d231d9 in WOWatchDogApplicationMain (appName=0x7f0fb846a120, argc=1, argv=0x7fff62cb66c8) at WOWatchDogApplicationMain.m:1033
pool = 0x7f0fb9a11a30
ud = <optimized out>
logFile = <optimized out>
nsPidFile = 0x7f0fb9b31930
rc = <optimized out>
i = <optimized out>
childPid = <optimized out>
processInfo = 0x7f0fb5580bc0
WOAppClass = 0x7f0fb846b820
0000022 0x00007f0fb8263145 in main (argc=1, argv=0x7fff62cb66c8, env=0x7fff62cb66d8) at sogod.m:53
pool = 0x7f0fb99d8cc0
sd = 0x7f0fb9b357e0
rc = 0

I hope this will help.

Best regards,
Ludovic.

TagsNo tags attached.

Activities

Ludovic Hutin

Ludovic Hutin

2013-02-22 02:57

reporter   ~0005391

Hello,

Here is the stack trace :

(gdb) bt
#0 -[NSException raise] (self=0x5555564437b0, _cmd=0x7ffff5736f00) at NSException.m:955
0000001 0x00007ffff5283231 in +[NSException raise:format:] (self=0x7ffff5737080, _cmd=<optimized out>, name=0x7ffff57370f0, format=0x7ffff7da0140) at NSException.m:835
0000002 0x00007ffff7b37d95 in -[SOGoObject initWithName:inContainer:] (self=0x555556443890, _cmd=0x7ffff7da39f0, _name=0x7fffe9d724a0, _container=0x55555620f750) at SOGoObject.m:183
0000003 0x00007ffff7b3ea2c in -[SOGoContentObject initWithRecord:inContainer:] (self=0x555556443890, _cmd=0x7ffff7da3950, objectRecord=0x555556223c40, newContainer=0x55555620f750) at SOGoContentObject.m:123
0000004 0x00007ffff7b3e584 in +[SOGoContentObject objectWithRecord:inContainer:] (self=0x7fffecbdd140, _cmd=0x7ffff7da9cb0, objectRecord=0x555556223c40, newContainer=0x55555620f750) at SOGoContentObject.m:53
0000005 0x00007ffff7b45228 in -[SOGoGCSFolder createChildComponentWithRecord:] (self=0x55555620f750, _cmd=0x7ffff7da9d20, record=0x555556223c40) at SOGoGCSFolder.m:727
0000006 0x00007ffff7b45508 in -[SOGoGCSFolder lookupName:inContext:acquire:] (self=0x55555620f750, _cmd=0x7fffecbe5bd0, key=0x7fffe9d724a0, localContext=0x555555e29800, acquire=0 '\000') at SOGoGCSFolder.m:768
0000007 0x00007fffec9b2ebf in -[SOGoAppointmentFolder lookupName:inContext:acquire:] (self=0x55555620f750, _cmd=0x7ffff6e643a0, _key=0x7fffe9d724a0, _ctx=0x555555e29800, _flag=0 '\000')
at SOGoAppointmentFolder.m:1914
0000008 0x00007ffff6b413d9 in -[SoObjectDataSource davFlatQuery:inContext:] (self=0x555555f5feb0, _cmd=<optimized out>, _fs=0x555555f93e60, _ctx=0x555555e29800) at SoObjectDataSource.m:156
0000009 0x00007ffff6b41766 in -[SoObjectDataSource fetchObjects] (self=0x555555f5feb0, _cmd=<optimized out>) at SoObjectDataSource.m:265
0000010 0x00007ffff6b40b2a in -[NSObject(SoObjectDAVQueries) performWebDAVQuery:inContext:] (self=0x55555620f750, _cmd=<optimized out>, _fs=0x555555f93e60, _ctx=0x555555e29800) at SoObject+SoDAVQuery.m:276
0000011 0x00007ffff6b43dbb in -[SoObjectWebDAVDispatcher doPROPFIND:] (self=0x5555561664f0, _cmd=<optimized out>, _ctx=0x555555e29800) at SoObjectWebDAVDispatcher.m:550
0000012 0x00007ffff6b4775c in -[SoObjectWebDAVDispatcher dispatchInContext:] (self=0x5555561664f0, _cmd=<optimized out>, _ctx=0x555555e29800) at SoObjectWebDAVDispatcher.m:1775
0000013 0x00007ffff6b27978 in -[SoObjectRequestHandler handleRequest:inContext:session:application:] () from /usr/lib/libNGObjWeb.so.4.9
0000014 0x00007ffff6abbc75 in -[WORequestHandler handleRequest:] (self=0x555555b33040, _cmd=<optimized out>, _request=0x555555f9bd30) at WORequestHandler.m:237
0000015 0x00007ffff6a83736 in -[WOCoreApplication dispatchRequest:usingHandler:] (self=0x555555ab93d0, _cmd=<optimized out>, _request=0x555555f9bd30, handler=0x555555b33040) at WOCoreApplication.m:712
0000016 0x000055555555b751 in -[SOGo dispatchRequest:] (self=0x555555ab93d0, _cmd=0x7ffff6e32300, _request=0x555555f9bd30) at SOGo.m:453
0000017 0x00007ffff6b1748d in -[WOHttpTransaction _run] (self=0x555555e87770, _cmd=<optimized out>) at WOHttpTransaction.m:581
0000018 0x00007ffff6b18e18 in -[WOHttpTransaction run] (self=0x555555e87770, _cmd=<optimized out>) at WOHttpTransaction.m:634
0000019 0x00007ffff6b13ab9 in -[WOHttpAdaptor runConnection:] (self=0x555555de02b0, _cmd=<optimized out>, _socket=0x555555f361f0) at WOHttpAdaptor.m:367
0000020 0x00007ffff6b14b06 in -[WOHttpAdaptor _handleAcceptedConnection:] (self=0x555555de02b0, _cmd=<optimized out>, _connection=0x555555f361f0) at WOHttpAdaptor.m:401
0000021 0x00007ffff6b14eba in -[WOHttpAdaptor _handleConnection:] (self=0x555555de02b0, _cmd=<optimized out>, connection=0x555555f361f0) at WOHttpAdaptor.m:460
0000022 0x00007ffff6b14f5d in -[WOHttpAdaptor acceptConnection:] (self=0x555555de02b0, _cmd=<optimized out>, _notification=<optimized out>) at WOHttpAdaptor.m:521
0000023 0x00007ffff52bf48d in -[NSNotificationCenter _postAndRelease:] (self=0x555555869ee0, _cmd=<optimized out>, notification=0x555555e68a80) at NSNotificationCenter.m:1162
0000024 0x00007ffff53b9f62 in -[GSRunLoopCtxt pollUntil:within:] (self=0x555555b11610, _cmd=<optimized out>, milliseconds=0, contexts=0x555555c43c80) at GSRunLoopCtxt.m:636
0000025 0x00007ffff5308170 in -[NSRunLoop acceptInputForMode:beforeDate:] (self=0x555555b3dc00, _cmd=<optimized out>, mode=0x7ffff5779390, limit_date=<optimized out>) at NSRunLoop.m:1198
0000026 0x00007ffff5307250 in -[NSRunLoop runMode:beforeDate:] (self=0x555555b3dc00, _cmd=<optimized out>, mode=0x7ffff5779390, date=0x555555b0bdf0) at NSRunLoop.m:1266
0000027 0x00007ffff6a8309e in -[WOCoreApplication run] (self=0x555555ab93d0, _cmd=<optimized out>) at WOCoreApplication.m:584
0000028 0x000055555555ae71 in -[SOGo run] (self=0x555555ab93d0, _cmd=0x7ffff6dbe200) at SOGo.m:277
0000029 0x00007ffff6aa8f24 in WOApplicationMain (_appClassName=0x555555761120, argc=<optimized out>, argv=<optimized out>) at WOApplicationMain.m:42
0000030 0x00007ffff6ac52ef in WOWatchDogApplicationMain (appName=0x555555761120, argc=13, argv=0x7fffffffe608) at WOWatchDogApplicationMain.m:1031
0000031 0x000055555555a145 in main (argc=13, argv=0x7fffffffe608, env=0x7fffffffe678) at sogod.m:53

Ludovic Hutin

Ludovic Hutin

2013-02-28 04:39

reporter   ~0005398

We got an entry with an empty c_name field.
We delete this entry and now it work's.

Ludovic Hutin

Ludovic Hutin

2013-02-28 04:40

reporter   ~0005399

You can close.

Christian Mack

Christian Mack

2013-03-01 05:24

developer   ~0005401

Closed as requested.

Issue History

Date Modified Username Field Change
2013-02-21 10:50 Ludovic Hutin New Issue
2013-02-22 02:57 Ludovic Hutin Note Added: 0005391
2013-02-28 04:39 Ludovic Hutin Note Added: 0005398
2013-02-28 04:40 Ludovic Hutin Note Added: 0005399
2013-03-01 05:24 Christian Mack Note Added: 0005401
2013-03-01 05:24 Christian Mack Status new => closed
2013-03-01 05:24 Christian Mack Resolution open => no change required