View Issue Details

IDProjectCategoryView StatusLast Update
0001370SOGoBackend Calendarpublic2011-12-30 17:00
Reportergeepie Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version1.3.7a 
Summary0001370: Kill in iCalMonthlyRecurrenceCalculator
Description

On OpenBSD 4.9 current, sogod crashs in Calendar.

I try to display the 9 calendars I defined. In this calendar, I import ics from Apple iCal.
No events are displayed.
I am not able to save the preference (color of cal).
etc.

Additional Information

gdb sogod sogod.core

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 "i386-unknown-openbsd4.9"...(no debugging symbols found)

Core was generated by `sogod'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.13.1...done.
Loaded symbols for /usr/lib/libpthread.so.13.1
Reading symbols from /usr/local/lib/libSOGo.so.1.0...done.
Loaded symbols for /usr/local/lib/libSOGo.so.1.0
Reading symbols from /usr/local/lib/libOGoContentStore.so.1.0...done.
Loaded symbols for /usr/local/lib/libOGoContentStore.so.1.0
Reading symbols from /usr/local/lib/libGDLContentStore.so.1.0...done.
Loaded symbols for /usr/local/lib/libGDLContentStore.so.1.0
Reading symbols from /usr/local/lib/libGDLAccess.so.0.1...done.
Loaded symbols for /usr/local/lib/libGDLAccess.so.0.1
Reading symbols from /usr/local/lib/libWEExtensions.so.0.1...done.
Loaded symbols for /usr/local/lib/libWEExtensions.so.0.1
Reading symbols from /usr/local/lib/libNGCards.so.1.0...done.
Loaded symbols for /usr/local/lib/libNGCards.so.1.0
Reading symbols from /usr/local/lib/libNGObjWeb.so.0.1...done.
Loaded symbols for /usr/local/lib/libNGObjWeb.so.0.1
Reading symbols from /usr/local/lib/libNGMime.so.0.1...done.
Loaded symbols for /usr/local/lib/libNGMime.so.0.1
Reading symbols from /usr/local/lib/libNGLdap.so.0.1...done.
Loaded symbols for /usr/local/lib/libNGLdap.so.0.1
Reading symbols from /usr/local/lib/libNGStreams.so.0.1...done.
Loaded symbols for /usr/local/lib/libNGStreams.so.0.1
Reading symbols from /usr/local/lib/libNGExtensions.so.0.1...done.
Loaded symbols for /usr/local/lib/libNGExtensions.so.0.1
Reading symbols from /usr/local/lib/libEOControl.so.0.1...done.
Loaded symbols for /usr/local/lib/libEOControl.so.0.1
Reading symbols from /usr/local/lib/libDOM.so.0.1...done.
Loaded symbols for /usr/local/lib/libDOM.so.0.1
Reading symbols from /usr/local/lib/libXmlRpc.so.0.1...done.
Loaded symbols for /usr/local/lib/libXmlRpc.so.0.1
Reading symbols from /usr/local/lib/libSaxObjC.so.0.1...done.
Loaded symbols for /usr/local/lib/libSaxObjC.so.0.1
Reading symbols from /usr/local/lib/libgnustep-base.so.4.0...done.
Loaded symbols for /usr/local/lib/libgnustep-base.so.4.0
Reading symbols from /usr/lib/libobjc.so.5.0...done.
Loaded symbols for /usr/lib/libobjc.so.5.0
Reading symbols from /usr/lib/libm.so.5.3...done.
Loaded symbols for /usr/lib/libm.so.5.3
Symbols already loaded for /usr/lib/libpthread.so.13.1
Reading symbols from /usr/lib/libc.so.58.3...done.
Loaded symbols for /usr/lib/libc.so.58.3
Reading symbols from /usr/local/lib/libmemcached.so.0.0...done.
Loaded symbols for /usr/local/lib/libmemcached.so.0.0
Reading symbols from /usr/local/lib/libSBJson.so.0.1...done.
Loaded symbols for /usr/local/lib/libSBJson.so.0.1
Reading symbols from /usr/lib/libcrypto.so.19.0...done.
Loaded symbols for /usr/lib/libcrypto.so.19.0
Reading symbols from /usr/local/lib/libldap.so.11.0...done.
Loaded symbols for /usr/local/lib/libldap.so.11.0
Reading symbols from /usr/local/lib/liblber.so.11.0...done.
Loaded symbols for /usr/local/lib/liblber.so.11.0
Reading symbols from /usr/lib/libssl.so.16.0...done.
Loaded symbols for /usr/lib/libssl.so.16.0
Reading symbols from /usr/lib/libz.so.4.1...done.
Loaded symbols for /usr/lib/libz.so.4.1
Reading symbols from /usr/local/lib/libgmp.so.9.0...done.
Loaded symbols for /usr/local/lib/libgmp.so.9.0
Reading symbols from /usr/local/lib/libavahi-common.so.0.0...done.
Loaded symbols for /usr/local/lib/libavahi-common.so.0.0
Reading symbols from /usr/local/lib/libavahi-client.so.0.0...done.
Loaded symbols for /usr/local/lib/libavahi-client.so.0.0
Reading symbols from /usr/local/lib/libgnutls.so.17.1...done.
Loaded symbols for /usr/local/lib/libgnutls.so.17.1
Reading symbols from /usr/local/lib/libgcrypt.so.15.0...done.
Loaded symbols for /usr/local/lib/libgcrypt.so.15.0
Reading symbols from /usr/local/lib/libxslt.so.3.8...done.
Loaded symbols for /usr/local/lib/libxslt.so.3.8
Reading symbols from /usr/local/lib/libxml2.so.12.0...done.
Loaded symbols for /usr/local/lib/libxml2.so.12.0
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/local/lib/libffi.so.0.0...done.
Loaded symbols for /usr/local/lib/libffi.so.0.0
Reading symbols from /usr/local/lib/libicui18n.so.4.0...done.
Loaded symbols for /usr/local/lib/libicui18n.so.4.0
Reading symbols from /usr/local/lib/libicuuc.so.4.0...done.
Loaded symbols for /usr/local/lib/libicuuc.so.4.0
Reading symbols from /usr/local/lib/libicudata.so.4.0...done.
Loaded symbols for /usr/local/lib/libicudata.so.4.0
Reading symbols from /usr/local/lib/libsasl2.so.2.22...done.
Loaded symbols for /usr/local/lib/libsasl2.so.2.22
Reading symbols from /usr/lib/libgssapi.so.5.0...done.
Loaded symbols for /usr/lib/libgssapi.so.5.0
Reading symbols from /usr/lib/libkrb5.so.18.0...done.
Loaded symbols for /usr/lib/libkrb5.so.18.0
Reading symbols from /usr/lib/libasn1.so.18.0...done.
Loaded symbols for /usr/lib/libasn1.so.18.0
Reading symbols from /usr/lib/libcom_err.so.18.0...done.
Loaded symbols for /usr/lib/libcom_err.so.18.0
Reading symbols from /usr/local/lib/libintl.so.5.0...done.
Loaded symbols for /usr/local/lib/libintl.so.5.0
Reading symbols from /usr/local/lib/libdbus-1.so.9.1...done.
Loaded symbols for /usr/local/lib/libdbus-1.so.9.1
Reading symbols from /usr/local/lib/libtasn1.so.2.0...done.
Loaded symbols for /usr/local/lib/libtasn1.so.2.0
Reading symbols from /usr/local/lib/libhogweed.so.0.0...done.
Loaded symbols for /usr/local/lib/libhogweed.so.0.0
Reading symbols from /usr/local/lib/libnettle.so.0.0...done.
Loaded symbols for /usr/local/lib/libnettle.so.0.0
Reading symbols from /usr/local/lib/libgpg-error.so.3.1...done.
Loaded symbols for /usr/local/lib/libgpg-error.so.3.1
Reading symbols from /usr/lib/libstdc++.so.51.0...done.
Loaded symbols for /usr/lib/libstdc++.so.51.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/local/lib/GNUstep/SOGo/Appointments.SOGo/Appointments...done.
Loaded symbols for /usr/local/lib/GNUstep/SOGo/Appointments.SOGo/./Appointments
Reading symbols from /usr/local/lib/GNUstep/SOGo/Mailer.SOGo/Mailer...done.
Loaded symbols for /usr/local/lib/GNUstep/SOGo/Mailer.SOGo/./Mailer
Reading symbols from /usr/local/lib/GNUstep/SOGo/CommonUI.SOGo/CommonUI...done.
Loaded symbols for /usr/local/lib/GNUstep/SOGo/CommonUI.SOGo/./CommonUI
Reading symbols from /usr/local/lib/libSOGoUI.so.1.0...done.
Loaded symbols for /usr/local/lib/libSOGoUI.so.1.0
Reading symbols from /usr/local/lib/libWOExtensions.so.0.1...done.
Loaded symbols for /usr/local/lib/libWOExtensions.so.0.1
Reading symbols from /usr/local/lib/GNUstep/SOGo/MainUI.SOGo/MainUI...done.
Loaded symbols for /usr/local/lib/GNUstep/SOGo/MainUI.SOGo/./MainUI
Reading symbols from /usr/local/lib/GNUstep/SOGo/AdministrationUI.SOGo/AdministrationUI...done.
Loaded symbols for /usr/local/lib/GNUstep/SOGo/AdministrationUI.SOGo/./AdministrationUI
Reading symbols from /usr/local/lib/sope-4.9/products/SoCore.sxp/SoCore...done.
Loaded symbols for /usr/local/lib/sope-4.9/products/SoCore.sxp/./SoCore
Reading symbols from /usr/local/lib/GNUstep/SOGo/Contacts.SOGo/Contacts...done.
Loaded symbols for /usr/local/lib/GNUstep/SOGo/Contacts.SOGo/./Contacts
Reading symbols from /usr/local/lib/GNUstep/SOGo/MailPartViewers.SOGo/MailPartViewers...done.
Loaded symbols for /usr/local/lib/GNUstep/SOGo/MailPartViewers.SOGo/./MailPartViewers
Reading symbols from /usr/local/lib/GNUstep/SOGo/MailerUI.SOGo/MailerUI...done.
Loaded symbols for /usr/local/lib/GNUstep/SOGo/MailerUI.SOGo/./MailerUI
Reading symbols from /usr/local/lib/GNUstep/SOGo/PreferencesUI.SOGo/PreferencesUI...done.
Loaded symbols for /usr/local/lib/GNUstep/SOGo/PreferencesUI.SOGo/./PreferencesUI
Reading symbols from /usr/local/lib/GNUstep/SOGo/ContactsUI.SOGo/ContactsUI...done.
Loaded symbols for /usr/local/lib/GNUstep/SOGo/ContactsUI.SOGo/./ContactsUI
Reading symbols from /usr/local/lib/GNUstep/SOGo/SchedulerUI.SOGo/SchedulerUI...done.
Loaded symbols for /usr/local/lib/GNUstep/SOGo/SchedulerUI.SOGo/./SchedulerUI
Reading symbols from /usr/local/lib/sope-4.9/products/SoOFS.sxp/SoOFS...done.
Loaded symbols for /usr/local/lib/sope-4.9/products/SoOFS.sxp/./SoOFS
Reading symbols from /usr/local/lib/libSoOFS.so.0.1...done.
Loaded symbols for /usr/local/lib/libSoOFS.so.0.1
Reading symbols from /usr/local/lib/sope-4.9/dbadaptors/PostgreSQL.gdladaptor/PostgreSQL...done.
Loaded symbols for /usr/local/lib/sope-4.9/dbadaptors/PostgreSQL.gdladaptor/./PostgreSQL
Reading symbols from /usr/local/lib/libpq.so.5.3...done.
Loaded symbols for /usr/local/lib/libpq.so.5.3
Reading symbols from /usr/local/lib/sope-4.9/saxdrivers/libxmlSAXDriver.sax/libxmlSAXDriver...done.
Loaded symbols for /usr/local/lib/sope-4.9/saxdrivers/libxmlSAXDriver.sax/./libxmlSAXDriver
Reading symbols from /usr/local/lib/GNUstep/Libraries/gnustep-base/Versions/4.0/Resources/SSL.bundle/SSL...done.
Loaded symbols for /usr/local/lib/GNUstep/Libraries/gnustep-base/Versions/4.0/Resources/SSL.bundle/./SSL
Reading symbols from /usr/local/lib/GNUstep/WOxElemBuilders-4.9/SOGoElements.wox/SOGoElements...done.
Loaded symbols for /usr/local/lib/GNUstep/WOxElemBuilders-4.9/SOGoElements.wox/./SOGoElements
Reading symbols from /usr/local/lib/sope-4.9/wox-builders/WEExtensions.wox/WEExtensions...done.
Loaded symbols for /usr/local/lib/sope-4.9/wox-builders/WEExtensions.wox/./WEExtensions
Reading symbols from /usr/local/lib/sope-4.9/wox-builders/WEPrototype.wox/WEPrototype...done.
Loaded symbols for /usr/local/lib/sope-4.9/wox-builders/WEPrototype.wox/./WEPrototype
Reading symbols from /usr/local/lib/libWEPrototype.so.0.1...done.
Loaded symbols for /usr/local/lib/libWEPrototype.so.0.1
Reading symbols from /usr/local/lib/sope-4.9/wox-builders/WOExtensions.wox/WOExtensions...done.
Loaded symbols for /usr/local/lib/sope-4.9/wox-builders/WOExtensions.wox/./WOExtensions
Reading symbols from /usr/local/lib/GNUstep/SaxDrivers-4.9/versitCardsSaxDriver.sax/versitCardsSaxDriver...done.
Loaded symbols for /usr/local/lib/GNUstep/SaxDrivers-4.9/versitCardsSaxDriver.sax/./versitCardsSaxDriver
#0 0x0db4e02d in kill () from /usr/lib/libc.so.58.3
(gdb) bt
#0 0x0db4e02d in kill () from /usr/lib/libc.so.58.3
0000001 0x0db88f83 in stack_smash_handler (
func=0x2b30dba0 "-[iCalMonthlyRecurrenceCalculator recurrenceRangesWithinCalendarDateRange:]", damaged=724664152)
at /usr/src/lib/libc/sys/stack_protector.c:89
0000002 0x0b32ba94 in ?? () from /usr/local/lib/libNGCards.so.1.0
0000003 0x2b30dba0 in __objc_class_name_iCalMonthlyRecurrenceCalculator () from /usr/local/lib/libNGCards.so.1.0
0000004 0x2b317f58 in
data_start () from /usr/local/lib/libNGCards.so.1.0
0000005 0x86a9ef68 in ?? ()
0000006 0x86a9ed48 in ?? ()
0000007 0x86a9e108 in ?? ()
0000008 0x86a9ea28 in ?? ()
0000009 0x00000000 in ?? ()

TagsNo tags attached.

Activities

luca

luca

2011-07-13 07:20

reporter   ~0002696

Last edited: 2011-07-13 07:24

I had (have) a similar issue.
I had to compile NGCards with -fno-stack-protector to mask it (I don't think it's a solution, it just masks the underlying problem).
See bug 0000797 and http://www.mail-archive.com/users@sogo.nu/msg01647.html (mantis will mangle the url, so you'll have to cut'n'paste it. Read the rest of the messages in the thread, not just the linked one).

buzzdee

buzzdee

2011-07-13 10:02

reporter   ~0002699

Do you can provide the .ics file that causes the stack smash handler to show up?
Best would be to attach it here to the bug report, otherwise, you can also send it to me privately, then I can try to reproduce it with my OpenBSD box.

Sebastian

luca

luca

2011-07-13 10:12

reporter   ~0002700

No, sorry, I just have the backup in bug 0000797 (which you already tried)

geepie

geepie

2011-07-17 18:14

reporter   ~0002718

Not reproductible in 1.3.8 on OpenBSD 4.9 current.

ludovic

ludovic

2011-12-30 17:00

administrator   ~0003233

As it's not reproducible using a recent version of SOGo, closing the bug for now. If it happens again, advise.

Issue History

Date Modified Username Field Change
2011-07-12 17:19 geepie New Issue
2011-07-13 07:20 luca Note Added: 0002696
2011-07-13 07:24 luca Note Edited: 0002696
2011-07-13 10:02 buzzdee Note Added: 0002699
2011-07-13 10:12 luca Note Added: 0002700
2011-07-17 18:14 geepie Note Added: 0002718
2011-12-30 17:00 ludovic Note Added: 0003233
2011-12-30 17:00 ludovic Status new => closed
2011-12-30 17:00 ludovic Resolution open => unable to reproduce