Ok, last week I updated sogo to 1.2.2, apparently everything was working
ok, but today my boss complained that he cannot see his appointments in
the web interface, though they appear in lightning.
Looking at the logs, I see this (full trace below):
*** stack smashing detected ***: /usr/sbin/sogod terminated
======= Backtrace: =========
/lib/i686/libc.so.6(__fortify_fail+0x48)[0xb6bac968]
/lib/i686/libc.so.6(__fortify_fail+0x0)[0xb6bac920]
/usr/lib/libNGCards.so.4.9[0xb758b754]
/usr/lib/libNGCards.so.4.9[0xb757f2d0]
/usr/lib/libNGCards.so.4.9[0xb758730c]
/usr/lib/libNGCards.so.4.9[0xb7582626]
/usr/lib/libNGCards.so.4.9[0xb7582ba2]
....
Reverting to my previous snapshot (1.2.1.20100323) fixed it.
These are self-built rpms, using the same spec (minus the obvious
differences), so there should be no libraries mix-up.
Below is a complete backtrace, all of them are the same, the only
difference is the address of the call in SchedulerUI, which flips
between 0xb5ee56c6 and 0xb5ee76af.
(actually I checked older logs, starting from the day I updated, and all
the addresses change, but they stay the same in a row of "stack smashing
detected").
*** stack smashing detected ***: /usr/sbin/sogod terminated
======= Backtrace: =========
/lib/i686/libc.so.6(__fortify_fail+0x48)[0xb6bac968]
/lib/i686/libc.so.6(__fortify_fail+0x0)[0xb6bac920]
/usr/lib/libNGCards.so.4.9[0xb758b754]
/usr/lib/libNGCards.so.4.9[0xb757f2d0]
/usr/lib/libNGCards.so.4.9[0xb758730c]
/usr/lib/libNGCards.so.4.9[0xb7582626]
/usr/lib/libNGCards.so.4.9[0xb7582ba2]
/usr/lib/GNUstep/SOGo/Appointments.SOGo/./Appointments[0xb6209370]
/usr/lib/GNUstep/SOGo/Appointments.SOGo/./Appointments[0xb62095d5]
/usr/lib/GNUstep/SOGo/Appointments.SOGo/./Appointments[0xb620a1cf]
/usr/lib/GNUstep/SOGo/Appointments.SOGo/./Appointments[0xb621139b]
/usr/lib/GNUstep/SOGo/Appointments.SOGo/./Appointments[0xb62111da]
/usr/lib/GNUstep/SOGo/SchedulerUI.SOGo/./SchedulerUI[0xb5ee4469]
/usr/lib/GNUstep/SOGo/SchedulerUI.SOGo/./SchedulerUI[0xb5ee56c6]
/usr/lib/libgnustep-base.so.1.18[0xb6ddcf56]
/usr/lib/libNGObjWeb.so.4.9[0xb73c6471]
/usr/lib/libNGObjWeb.so.4.9[0xb7460bae]
/usr/lib/libNGObjWeb.so.4.9[0xb7460cee]
/usr/lib/libNGObjWeb.so.4.9[0xb74608e7]
/usr/lib/libNGObjWeb.so.4.9[0xb7460cee]
/usr/lib/libNGObjWeb.so.4.9[0xb745957f]
/usr/lib/libNGObjWeb.so.4.9[0xb745bf03]
/usr/lib/libNGObjWeb.so.4.9[0xb73da1c9]
/usr/lib/libNGObjWeb.so.4.9[0xb7392040]
/usr/lib/libNGObjWeb.so.4.9[0xb7392393]
/usr/sbin/sogod[0x804a77e]
/usr/lib/libNGObjWeb.so.4.9[0xb74491a4]
/usr/lib/libNGObjWeb.so.4.9[0xb74495a9]
/usr/lib/libNGObjWeb.so.4.9[0xb7444b1a]
/usr/lib/libNGObjWeb.so.4.9[0xb7444dac]
/usr/lib/libNGObjWeb.so.4.9[0xb74455fa]
/usr/lib/libNGObjWeb.so.4.9[0xb7445876]
/usr/lib/libgnustep-base.so.1.18[0xb6dcdd5b]
/usr/lib/libgnustep-base.so.1.18[0xb6dce05f]
/usr/lib/libgnustep-base.so.1.18[0xb6dcdf1a]
/usr/lib/libNGExtensions.so.4.9[0xb71698e4]
/usr/lib/libgnustep-base.so.1.18[0xb6ed1a3d]
/usr/lib/libgnustep-base.so.1.18[0xb6e162dd]
/usr/lib/libgnustep-base.so.1.18[0xb6e1675d]
/usr/lib/libNGObjWeb.so.4.9[0xb7391810]
/usr/sbin/sogod[0x8049ebf]
/usr/lib/libNGObjWeb.so.4.9[0xb73e44a0]
/usr/lib/libNGObjWeb.so.4.9[0xb73e481f]
/usr/lib/libNGObjWeb.so.4.9[0xb73e4fc7]
/usr/lib/libNGObjWeb.so.4.9[0xb73e660f]
/usr/lib/libNGObjWeb.so.4.9(WOWatchDogApplicationMain+0x568)[0xb73e6e85]
/usr/sbin/sogod(main+0x120)[0x80491f4]
/lib/i686/libc.so.6(__libc_start_main+0xe6)[0xb6ad5a36]
/usr/sbin/sogod[0x8049041]
These are the lines right before the backtrace:
---------------- case 1 ---------------------------------------------
127.0.0.1 - - [08/Jun/2010:12:39:43 GMT] "POST
/SOGo/so/pvm/Calendar/personal/canAccessContent HTTP/1.1" 204 0/0 0.137 -
- 0
Jun 08 12:39:43 sogod: SOGo watchdog [6938]: [ERROR] |SOGo| did not find
locale for language: Catalan
2010-06-08 12:39:43.394 sogod[6938] <0x0xa716340[PostgreSQL72Channel]:
connection=<0x0x963d938[PGConnection]: connectio
n=0x0xa35ad88>>: message: WARNING: nonstandard use of \\ in a string
literal
LÍNEA 1: UPDATE sogo_user_profile SET c_settings = '{
^
SUGERENCIA: Use the escape string syntax for backslashes, e.g., E'\\'.
---------------- case 2 ---------------------------------------------
127.0.0.1 - - [08/Jun/2010:12:39:46 GMT] "POST
/SOGo/so/pvm/Calendar/monthview HTTP/1.1" 200 1163/0 0.069 6470 82% 1M
Jun 08 12:39:47 sogod: SOGo watchdog [29253]: [ERROR] |SOGo| did not
find locale for language: Catalan
2010-06-08 12:39:47.362 sogod[29253] Note: using 'UCS-2LE' on Linux.
--------------- case 3 -----------------------------------------------
Jun 07 04:02:03 sogod: SOGo watchdog [14068]: <0x0xa0c0b28[WOWatchDog]>
listening on 127.0.0.1:20000
Jun 07 04:02:03 sogod: SOGo watchdog [14068]: <0x0xa0c0b28[WOWatchDog]>
watchdog process pid: 14068
Jun 07 04:02:03 sogod: SOGo watchdog [14068]: <0x0xa0c0b28[WOWatchDog]>
preparing 1 children
Jun 07 04:02:03 sogod: SOGo watchdog [14069]: SNS support disabled.
Jun 07 04:02:03 sogod: SOGo watchdog [14068]: <0x0xa0c0b28[WOWatchDog]>
child spawned with pid 14069
Jun 07 04:02:03 sogod: SOGo watchdog [14069]:
<0x0xa490540[SOGoProductLoader]> SOGo products loaded from '/usr/lib/GNUst
ep/SOGo':
Jun 07 04:02:03 sogod: SOGo watchdog [14069]:
<0x0xa490540[SOGoProductLoader]> ContactsUI.SOGo, CommonUI.SOGo, Schedul
erUI.SOGo, Appointments.SOGo, AdministrationUI.SOGo,
MailPartViewers.SOGo, PreferencesUI.SOGo, Contacts.SOGo, MailerUI.S
OGo, Mailer.SOGo, MainUI.SOGo
Jun 07 04:02:05 sogod: SOGo watchdog [14069]: |SOGo| version 1.2.2
(build l...@sogo.wetron.local 201005071204) -- starti
ng
Jun 07 04:02:05 sogod: SOGo watchdog [14069]: |SOGo| vmem size check
enabled: shutting down app when vmem > 384 MB
Jun 07 07:03:49 sogod: SOGo watchdog [14069]: <0x0xb4f6320[SOGoCache]>
Cache cleanup interval set every 300.000000 secon
ds
Jun 07 07:03:49 sogod: SOGo watchdog [14069]: <0x0xb4f6320[SOGoCache]>
Using host(s) 'localhost' as server(s)
2010-06-07 07:03:50.001 sogod[14069] Scanner initialised with nil string
2010-06-07 07:03:50.073 sogod[14069] WARNING(-[SaxXMLReaderFactory
_loadBundlePath:infoDictionary:nameMap:typeMap:]): mu
ltiple parsers available for MIME type 'text/x-vcard', using
'VSvCardSaxDriver' as default for type text/x-vcard.
2010-06-07 07:03:50.073 sogod[14069] WARNING(-[SaxXMLReaderFactory
_loadBundlePath:infoDictionary:nameMap:typeMap:]): mu
ltiple parsers available for MIME type 'text/calendar', using
'VSiCalSaxDriver' as default for type text/calendar.
Jun 07 07:03:50 sogod: SOGo watchdog [14069]: [WARN]
<0x0xaaa55d8[SOGoWebDAVAclManager]> entry '{DAV:}write' already exi
sts in DAV permissions table
Jun 07 07:03:50 sogod: SOGo watchdog [14069]: [WARN]
<0x0xaaa55d8[SOGoWebDAVAclManager]> entry '{DAV:}write-properties'
already exists in DAV permissions table
Jun 07 07:03:50 sogod: SOGo watchdog [14069]: [WARN]
<0x0xaaa55d8[SOGoWebDAVAclManager]> entry '{DAV:}write-content' alr
eady exists in DAV permissions table
Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133) Fax +34 93 5883007
--
users@sogo.nu
https://inverse.ca/sogo/lists