View Issue Details

IDProjectCategoryView StatusLast Update
0002288SOGoBackend Generalpublic2013-04-12 17:49
Reporterbuzzdee Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Summary0002288: exception after upgrading to 2.0.5
Description

Just upgraded SOPE/SOGo from 2.0.4b to 2.0.5. I'm on OpenBSD 3.2 amd64.

The exception comes immediately after trying to access the server with the browser.

$ /usr/local/sbin/sogod -WOUseWatchDog NO -WOLogFile - -WONoDetach YES
Apr 12 18:40:25 sogod [1405]: version 2.0.5 (build @www.l00-bugdead-prods.de 201304121838) -- starting
Apr 12 18:40:25 sogod [1405]: vmem size check enabled: shutting down app when vmem > 384 MB
Apr 12 18:40:25 sogod [1405]: <0x0x14203ceaabe8[SOGoProductLoader]> SOGo products loaded from '/usr/local/lib/GNUstep/SOGo':
Apr 12 18:40:25 sogod [1405]: <0x0x14203ceaabe8[SOGoProductLoader]> AdministrationUI.SOGo, Appointments.SOGo, CommonUI.SOGo, Contacts.SOGo, ContactsUI.SOGo, MailPartViewers.SOGo, Mailer.SOGo, MailerUI.SOGo, MainUI.SOGo, PreferencesUI.SOGo, SchedulerUI.SOGo
Apr 12 18:40:26 sogod [1405]: |SOGo| WOHttpAdaptor listening on address *:40000
2013-04-12 18:40:40.779 sogod[1405] Note: Using UTF-8 as URL encoding in NGExtensions.
Apr 12 18:40:40 sogod [1405]: <0x0x142049d7a808[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Apr 12 18:40:40 sogod [1405]: <0x0x142049d7a808[SOGoCache]> Using host(s) 'localhost' as server(s)
2013-04-12 18:40:41.083 sogod[1405] File NSKeyValueCoding.m: 797. In -[NSObject(KeyValueCoding) handleTakeValue:forUnboundKey:] This method is deprecated, use -setValue:forUndefinedKey:
EXCEPTION: <NSException: 0x14204549f3c8> NAME:NSUnknownKeyException REASON:Unable to set value for key INFO:{NSTargetObjectUserInfoKey = {NSAMPMDesignation = (AM, PM); NSCurrencySymbol = "$"; NSDateFormatString = "%A, %B %e, %Y"; NSDateTimeOrdering = MDYH; NSDecimalDigits = (0, 1, 2, 3, 4, 5, 6, 7, 8, 9); NSDecimalSeparator = "."; NSEarlierTimeDesignations = (prior, last, past, ago); NSFormalName = English; NSHourNameDesignations = ((0, midnight), (10, morning), (12, noon, lunch), (14, afternoon), (19, dinner)); NSInternationalCurrencyString = USD; NSLanguageCode = eng; NSLanguageName = English; NSLaterTimeDesignations = (next); NSLocaleCode = en; NSMonthNameArray = (January, February, March, April, May, June, July, August, September, October, November, December); NSNegativeCurrencyFormatString = "-$9,999.00"; NSNextDayDesignations = (tomorrow); NSNextNextDayDesignations = (nextday); NSParentContext = ""; NSPositiveCurrencyFormatString = "$9,999.00"; NSPriorDayDesignations = (yesterday); NSShortDateFormatString = "%m/%e/%y"; NSShortMonthNameArray = (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec); NSShortTimeDateFormatString = "%m/%e/%y %I:%M %p"; NSShortWeekDayNameArray = (Sun, Mon, Tue, Wed, Thu, Fri, Sat); NSThisDayDesignations = (today, now); NSThousandsSeparator = ","; NSTimeDateFormatString = "%A, %B %e, %Y %I:%M:%S %p %Z"; NSTimeFormatString = "%I:%M:%S %p"; NSWeekDayNameArray = (Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday); NSYearMonthWeekDesignations = (year, month, week); }; NSUnknownUserInfoKey = locale; }

Additional Information

still using the "traditional" type of configuration, using the defaults tool.
But I also tried following the installation procedure mentioned in the announcement mail and created the /etc/sogo/sogo.conf file

But in general, did not changed anything to the configuration from before the update.

This instance was prior upgraded from other older versions.
The procedure is described here:
http://www.openbsd.org/cgi-bin/cvsweb/ports/www/sogo/pkg/README?rev=1.9;content-type=text%2Fplain

Also restarted memcached, for just in case, but to no avail.

GDB backtrace looks like this:
$ gdb /usr/local/sbin/sogod
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.1"...
(gdb) r -WOUseWatchDog NO -WOLogFile - -WONoDetach YES
Starting program: /usr/local/sbin/sogod -WOUseWatchDog NO -WOLogFile - -WONoDetach YES
Apr 12 18:42:52 sogod [32098]: version 2.0.5 (build @www.l00-bugdead-prods.de 201304121838) -- starting
Apr 12 18:42:52 sogod [32098]: vmem size check enabled: shutting down app when vmem > 384 MB
Apr 12 18:42:53 sogod [32098]: <0x0xb134dafb6a8[SOGoProductLoader]> SOGo products loaded from '/usr/local/lib/GNUstep/SOGo':
Apr 12 18:42:53 sogod [32098]: <0x0xb134dafb6a8[SOGoProductLoader]> AdministrationUI.SOGo, Appointments.SOGo, CommonUI.SOGo, Contacts.SOGo, ContactsUI.SOGo, MailPartViewers.SOGo, Mailer.SOGo, MailerUI.SOGo, MainUI.SOGo, PreferencesUI.SOGo, SchedulerUI.SOGo
Apr 12 18:42:55 sogod [32098]: |SOGo| WOHttpAdaptor listening on address *:40000
^C[New process 32098]
^C
Program received signal SIGINT, Interrupt.
0x00000b134f9a7c2a in poll () from /usr/lib/libc.so.62.0
(gdb) break -[NSException raise]
Breakpoint 1 at 0xb13539263d7: file NSException.m, line 956.
(gdb) c
Continuing.
2013-04-12 18:43:28.060 sogod[32098] Note: Using UTF-8 as URL encoding in NGExtensions.
Apr 12 18:43:28 sogod [32098]: <0x0xb134db11a08[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Apr 12 18:43:28 sogod [32098]: <0x0xb134db11a08[SOGoCache]> Using host(s) 'localhost' as server(s)
2013-04-12 18:43:28.133 sogod[32098] File NSKeyValueCoding.m: 797. In -[NSObject(KeyValueCoding) handleTakeValue:forUnboundKey:] This method is deprecated, use -setValue:forUndefinedKey:
[Switching to process 32098, thread 0xb134f640000]

Breakpoint 1, -[NSException raise] (self=0xb13540ea5c8, _cmd=0xb1353db06a0) at NSException.m:956
956 NSException.m: No such file or directory.
in NSException.m
Current language: auto; currently minimal
(gdb) bt
#0 -[NSException raise] (self=0xb13540ea5c8, _cmd=0xb1353db06a0) at NSException.m:956
0000001 0x00000b11480070ab in -[SOGo lookupName:inContext:acquire:] (self=0xb13554aa608, _cmd=Variable "_cmd" is not available.
) at SOGo.m:340
0000002 0x00000b1357be4a54 in -[NSObject(SoObjectLookup) traverseKey:inContext:error:acquire:] (self=0xb13554aa608, _cmd=Variable "_cmd" is not available.
)
at SoObject+Traversal.m:98
0000003 0x00000b1357be429f in -[NSObject(SoObjectLookup) traversePathArray:inContext:error:acquire:] (self=0xb13554aa608, _cmd=dwarf2_read_address: Corrupted DWARF expression.
)
at SoObject+Traversal.m:252
0000004 0x00000b1357be773b in -[SoObjectRequestHandler lookupObjectForRequest:inContext:] (self=0xb135641d748, _cmd=Variable "_cmd" is not available.
)
at SoObjectRequestHandler.m:349
0000005 0x00000b1357be887a in -[SoObjectRequestHandler handleRequest:inContext:session:application:] (self=0xb135641d748, _cmd=Variable "_cmd" is not available.
)
at SoObjectRequestHandler.m:551
0000006 0x00000b1357b7b02c in -[WORequestHandler handleRequest:] (self=0xb135641d748, _cmd=0xb1357e3b4e0, _request=0xb134a1bbb08)
at WORequestHandler.m:237
0000007 0x00000b1357b41aac in -[WOCoreApplication dispatchRequest:usingHandler:] (self=0xb13554aa608, _cmd=Variable "_cmd" is not available.
) at WOCoreApplication.m:712
0000008 0x00000b1148008182 in -[SOGo dispatchRequest:] (self=0xb13554aa608, _cmd=Variable "_cmd" is not available.
) at SOGo.m:453
0000009 0x00000b1357bd7f8d in -[WOHttpTransaction _run] (self=0xb13540fae88, _cmd=Variable "_cmd" is not available.
) at WOHttpTransaction.m:581
0000010 0x00000b1357bd7e68 in -[WOHttpTransaction run] (self=Variable "self" is not available.
) at WOHttpTransaction.m:634
0000011 0x00000b1357bd5639 in -[WOHttpAdaptor runConnection:] (self=0xb135cc79e88, _cmd=Variable "_cmd" is not available.
) at WOHttpAdaptor.m:367
0000012 0x00000b1357bd545e in -[WOHttpAdaptor _handleAcceptedConnection:] (self=0xb135cc79e88, _cmd=Variable "_cmd" is not available.
) at WOHttpAdaptor.m:401
0000013 0x00000b1357bd50c0 in -[WOHttpAdaptor _handleConnection:] (self=0xb135cc79e88, _cmd=0xb1353db06a0, connection=0xb134db1fe08)
at WOHttpAdaptor.m:460
0000014 0x00000b1357bd690c in -[WOHttpAdaptor acceptConnection:] (self=Variable "self" is not available.
) at WOHttpAdaptor.m:521
0000015 0x00000b13539645f9 in -[NSNotificationCenter _postAndRelease:] (self=0xb1348b731c8, _cmd=Variable "_cmd" is not available.
) at NSNotificationCenter.m:1223
0000016 0x00000b1353a68a21 in -[GSRunLoopCtxt pollUntil:within:] (self=0xb1349637908, _cmd=Variable "_cmd" is not available.
) at GSRunLoopCtxt.m:629
0000017 0x00000b13539ae42c in -[NSRunLoop acceptInputForMode:beforeDate:] (self=0xb13579dfd48, _cmd=0xb1353ddea40, mode=0xb1353ddeae0,
limit_date=Variable "limit_date" is not available.
) at NSRunLoop.m:1195
0000018 0x00000b13539ac82b in -[NSRunLoop runMode:beforeDate:] (self=0xb13579dfd48, _cmd=0xb1357e3b3d0, mode=0xb1353ddeae0,
date=0xb1354156b48) at NSRunLoop.m:1263
0000019 0x00000b1357b42337 in -[WOCoreApplication run] (self=Variable "self" is not available.
) at WOCoreApplication.m:584
0000020 0x00000b114800757f in -[SOGo run] (self=0xb13554aa608, _cmd=Variable "_cmd" is not available.
) at SOGo.m:277
0000021 0x00000b1357b686b5 in WOApplicationMain (_appClassName=0xb114820c1a0, argc=Variable "argc" is not available.
) at WOApplicationMain.m:42
0000022 0x00000b1357b84c14 in WOWatchDogApplicationMain (appName=0xb114820c1a0, argc=7, argv=0x7f7ffffcebd0)
at WOWatchDogApplicationMain.m:1031
0000023 0x00000b11480068f5 in gnustep_base_user_main (argc=7, argv=0x7f7ffffcebd0, env=Variable "env" is not available.
) at sogod.m:53
0000024 0x00000b1148006631 in ___start () from /usr/local/sbin/sogod
0000025 0x0000000000000007 in ?? ()
0000026 0x00007f7ffffced00 in ?? ()
0000027 0x00007f7ffffced16 in ?? ()
0000028 0x00007f7ffffced25 in ?? ()
0000029 0x00007f7ffffced28 in ?? ()
0000030 0x00007f7ffffced33 in ?? ()
0000031 0x00007f7ffffced35 in ?? ()
0000032 0x00007f7ffffced41 in ?? ()
0000033 0x0000000000000000 in ?? ()
(gdb) frame 1
0000001 0x00000b11480070ab in -[SOGo lookupName:inContext:acquire:] (self=0xb13554aa608, _cmd=Variable "_cmd" is not available.
) at SOGo.m:340
340 [self _setupLocaleInContext:_ctx];
(gdb) list
335 WORequest request;
336 BOOL isDAVRequest;
337 SOGoSystemDefaults
sd;
338
339 / put locale info into the context in case it's not there /
340 [self _setupLocaleInContext:_ctx];
341
342 sd = [SOGoSystemDefaults sharedSystemDefaults];
343 request = [_ctx request];
344 isDAVRequest = [[request requestHandlerKey] isEqualToString:@"dav"];
(gdb)

TagsNo tags attached.

Activities

ludovic

ludovic

2013-04-12 17:15

administrator   ~0005518

Are you sure you've updated all packages? SOGo AND SOPE.

buzzdee

buzzdee

2013-04-12 17:42

reporter   ~0005519

CRAP: somehow the patches directory of my ports tree for SOPE contained a bunch of patches that should not have been there in the first place. Reinstalled SOPE without those, and everything seems to be fine now.

sorry for the noise, please close.
Sebastian

jraby

jraby

2013-04-12 17:49

viewer   ~0005520

hehe no problem!

Issue History

Date Modified Username Field Change
2013-04-12 17:02 buzzdee New Issue
2013-04-12 17:15 ludovic Note Added: 0005518
2013-04-12 17:42 buzzdee Note Added: 0005519
2013-04-12 17:49 jraby Note Added: 0005520
2013-04-12 17:49 jraby Status new => closed
2013-04-12 17:49 jraby Resolution open => no change required