Bug 177862 - Kontact crash on close ( KCal::IncidenceBase::uid removeIncidenceFromMultiHashByUID<KCal::Event*> )
Summary: Kontact crash on close ( KCal::IncidenceBase::uid removeIncidenceFromMultiHas...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdepimlibs
Classification: Applications
Component: kcal (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 183266 183318 203537 213179 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-15 17:48 UTC by SeeSpatz
Modified: 2013-07-08 23:56 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crash output (6.92 KB, application/octet-stream)
2008-12-15 17:49 UTC, SeeSpatz
Details
Crash output (with debug packages) (2.40 KB, application/octet-stream)
2008-12-29 19:34 UTC, SeeSpatz
Details
Crash file (6.70 KB, text/plain)
2009-03-10 14:53 UTC, Jonathan Gordon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SeeSpatz 2008-12-15 17:48:58 UTC
Version:           1.3 (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

When logging out of KDE, Kontact crashes with Signal SIGSEGV.

It happened for three times in arow now.

System: Kubuntu 8.10 (AMD64)
KDE Version 4.1.3 from Kubuntu packages
Kontact Version 1.3

Kontact crash output:

Anwendung: Kontact (kontact), Signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f659558f6f0 (LWP 6572)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x00007f658d459388 in KCal::IncidenceBase::uid ()
   from /usr/lib/libkcal.so.4
#6  0x00007f658d489983 in ?? () from /usr/lib/libkcal.so.4
#7  0x00007f658d48cdf1 in KCal::CalendarLocal::incidenceUpdated ()
   from /usr/lib/libkcal.so.4
#8  0x00007f658d458f23 in KCal::IncidenceBase::updated ()
   from /usr/lib/libkcal.so.4
#9  0x00007f658d45df2c in KCal::Incidence::setRelatedTo ()
   from /usr/lib/libkcal.so.4
#10 0x00007f658d4606fa in KCal::Incidence::~Incidence ()
   from /usr/lib/libkcal.so.4
#11 0x00007f658d46408b in KCal::Event::~Event () from /usr/lib/libkcal.so.4
#12 0x00007f658d48957e in KCal::CalendarLocal::close ()
   from /usr/lib/libkcal.so.4
#13 0x00007f658dc27756 in KRES::Resource::close ()
   from /usr/lib/libkresources.so.4
#14 0x00007f658d4dc889 in KCal::CalendarResources::close ()
   from /usr/lib/libkcal.so.4
#15 0x00007f658d4dcbfd in KCal::CalendarResources::~CalendarResources ()
   from /usr/lib/libkcal.so.4
#16 0x00007f6580d79dd6 in KOrg::StdCalendar::~StdCalendar ()
   from /usr/lib/libkorganizer_calendar.so.4
#17 0x00007f6580d7b477 in ?? () from /usr/lib/libkorganizer_calendar.so.4
#18 0x00007f658e3ca559 in ?? () from /usr/lib/libkde3support.so.4
#19 0x00007f65950c7315 in qt_call_post_routines ()
   from /usr/lib/libQtCore.so.4
#20 0x00007f6593406388 in QApplication::~QApplication ()
   from /usr/lib/libQtGui.so.4
#21 0x0000000000404971 in _start ()
#0  0x00007f6592c5b5f0 in nanosleep () from /lib/libc.so.6
Comment 1 SeeSpatz 2008-12-15 17:49:52 UTC
Created attachment 29359 [details]
Crash output
Comment 2 Christophe Marin 2008-12-16 08:48:55 UTC
Your backtrace is not very helpful. If you're able to reproduce this crash,  could you please install the debug packages for kdepim and kdepimlibs and paste a better one ? 

You will find informations on this page : http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 3 SeeSpatz 2008-12-20 15:33:47 UTC
I am sorry: since I installed the debug packages I can't reproduce the error anymore.
Comment 4 Christophe Marin 2008-12-20 15:51:13 UTC
Fine, let's close the report then.

Comment 5 SeeSpatz 2008-12-29 19:34:24 UTC
Created attachment 29737 [details]
Crash output (with debug packages)
Comment 6 SeeSpatz 2008-12-29 19:35:23 UTC
Hi. Sorry to bother again, but the crash reapeared. It happend only once, but this time I got a crash report having the debug packages installed:

Anwendung: Kontact (kontact), Signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7f1ae5aef6f0 (LWP 6649)]
[New Thread 0x41088950 (LWP 6800)]
[KCrash handler]
#5  KCal::IncidenceBase::uid (this=0x1b9b210)
    at /usr/include/qt4/QtCore/qstring.h:670
#6  0x00007f1add9e9983 in removeIncidenceFromMultiHashByUID<KCal::Event*> (
    container=@0x1ab38e8, key=@0x7fffedb2d1b0, uid=@0x7fffedb2d1a0)
    at /build/buildd/kdepimlibs-4.1.3/kcal/calendarlocal.cpp:93
#7  0x00007f1add9ecdf1 in KCal::CalendarLocal::incidenceUpdated (
    this=0x1ab4260, incidence=0x7176e0)
    at /build/buildd/kdepimlibs-4.1.3/kcal/calendarlocal.cpp:394
#8  0x00007f1add9b8f23 in KCal::IncidenceBase::updated (this=0x7176e0)
    at /build/buildd/kdepimlibs-4.1.3/kcal/incidencebase.cpp:474
#9  0x00007f1add9bdf2c in KCal::Incidence::setRelatedTo (this=0x7176e0, 
    incidence=0x0) at /build/buildd/kdepimlibs-4.1.3/kcal/incidence.cpp:494
#10 0x00007f1add9c06fa in ~Incidence (this=0x31d62b0)
    at /build/buildd/kdepimlibs-4.1.3/kcal/incidence.cpp:187
#11 0x00007f1add9c408b in ~Event (this=0x31d62b0)
    at /build/buildd/kdepimlibs-4.1.3/kcal/event.cpp:78
#12 0x00007f1add9e957e in KCal::CalendarLocal::close (this=0x1ab4260)
    at /usr/include/qt4/QtCore/qalgorithms.h:346
#13 0x00007f1ade187756 in KRES::Resource::close (this=0x17b3f60)
    at /build/buildd/kdepimlibs-4.1.3/kresources/resource.cpp:141
#14 0x00007f1adda3c889 in KCal::CalendarResources::close (this=0x138e830)
    at /build/buildd/kdepimlibs-4.1.3/kcal/calendarresources.cpp:315
#15 0x00007f1adda3cbfd in ~CalendarResources (this=0x7fffedb2d020)
    at /build/buildd/kdepimlibs-4.1.3/kcal/calendarresources.cpp:225
#16 0x00007f1ad12d7dd6 in ~StdCalendar (this=0x7fffedb2d020)
    at /build/buildd/kdepim-4.1.3/korganizer/stdcalendar.cpp:109
#17 0x00007f1ad12d9477 in K3StaticDeleter<KOrg::StdCalendar>::destructObject (
    this=0x7f1ad14db1e0) at /usr/include/k3staticdeleter.h:174
#18 0x00007f1ade92a559 in K3StaticDeleterPrivate::deleteStaticDeleters ()
    at /build/buildd/kde4libs-4.1.3/kde3support/kdecore/k3staticdeleter.cpp:56
#19 0x00007f1ae5627315 in qt_call_post_routines ()
   from /usr/lib/libQtCore.so.4
#20 0x00007f1ae3966388 in QApplication::~QApplication ()
   from /usr/lib/libQtGui.so.4
#21 0x0000000000404971 in main (argc=3, argv=0x7fffedb2ddd8)
    at /build/buildd/kdepim-4.1.3/kontact/src/main.cpp:67
#0  0x00007f1ae31bb621 in nanosleep () from /lib/libc.so.6

Best regards,
seespatz
Comment 7 Christophe Marin 2008-12-29 21:25:07 UTC
The backtrace looks close to the one in bug 171271 (but the issue on this bug should be fixed)
Comment 8 Davide Rondini 2009-02-05 10:15:03 UTC
It seems my crask is similar: I experienced it when exiting from Kontact.

OS: Fedora 10 x86_64
KDE version: 4.1.4
Kontact version: 1.3

Here's my backtrace. 

Applicazione: Kontact (kontact), segnale SIGSEGV
0x0000003cd70a7f81 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7ff218833800 (LWP 3891))]

Thread 2 (Thread 0x7ff20a2fb950 (LWP 3925)):
#0  0x0000003cd70deaa2 in select () from /lib64/libc.so.6
#1  0x0000003002d22626 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x0000003002c59852 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x0000003cd7c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x0000003cd70e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 1 (Thread 0x7ff218833800 (LWP 3891)):
[KCrash Handler]
#5  0x0000003009e4e399 in KCal::Incidence::removeRelation () from /usr/lib64/libkcal.so.4
#6  0x0000003009e50b17 in KCal::Incidence::~Incidence () from /usr/lib64/libkcal.so.4
#7  0x0000003009e540b5 in KCal::Todo::~Todo () from /usr/lib64/libkcal.so.4
#8  0x0000003009e74b5e in KCal::CalendarLocal::close () from /usr/lib64/libkcal.so.4
#9  0x0000003006e0cc99 in KRES::Resource::close () from /usr/lib64/libkresources.so.4
#10 0x0000003009ebad39 in KCal::CalendarResources::close () from /usr/lib64/libkcal.so.4
#11 0x0000003009ebb0ad in KCal::CalendarResources::~CalendarResources () from /usr/lib64/libkcal.so.4
#12 0x000000300be038f6 in KOrg::StdCalendar::~StdCalendar () from /usr/lib64/libkorganizer_calendar.so.4
#13 0x000000300be04877 in ?? () from /usr/lib64/libkorganizer_calendar.so.4
#14 0x0000003007869a8c in ?? () from /usr/lib64/libkde3support.so.4
#15 0x0000003002d42945 in qt_call_post_routines () from /usr/lib64/libQtCore.so.4
#16 0x000000300638c058 in QApplication::~QApplication () from /usr/lib64/libQtGui.so.4
#17 0x00000000004047b1 in _start ()

Comment 9 Dario Andres 2009-02-05 12:41:19 UTC
*** Bug 183266 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2009-02-05 12:41:49 UTC
The reporter of bug 183266 is experiencing this crash on 4.2
Comment 11 SeeSpatz 2009-02-05 13:16:39 UTC
Bug 183266 is with KDE 4.2. Bug 177862 (this one) is with KDE 4.1.
Bug 183266 is with Kontact 1.4. Bug 177862 (this one) is with KDE 1.3.
Bug 183266 is with Signal Abort. Bug 177862 (this one) is with SIGSEGV.



Comment 12 Dario Andres 2009-02-05 13:25:55 UTC
@SeeSpatz: the backtrace is *the same* (even the functions order and line numbers):

""
#12 KCal::IncidenceBase::uid (this=0x131cf50) at /usr/include/qt4/QtCore/qstring.h:670 
#13 0x00007fffd816db13 in removeIncidenceFromMultiHashByUID<KCal::Event*> (container=@0x1272528, key=@0x7fffe21f2ec0, uid=@0x7fffe21f2eb0) at /build/buildd/kdepimlibs-4.2.0/kcal/calendarlocal.cpp:93 
#14 0x00007fffd8170fd1 in KCal::CalendarLocal::incidenceUpdated (this=0x1271580, incidence=0x1306bd0) at /build/buildd/kdepimlibs-4.2.0/kcal/calendarlocal.cpp:394
#15 0x00007fffd813cec3 in KCal::IncidenceBase::updated (this=0x1306bd0) at /build/buildd/kdepimlibs-4.2.0/kcal/incidencebase.cpp:474 
""

The version of KDE/Kontact doesn't really matter in this case. If you posted a crash report for KDE4.1.x and it wasn't properly fixed for KDE4.2 it will be there in 4.2 (that doesn't mean that it's a *different* bug). 
The same for the Kontact version (as it's related to the KDE version (KDE4.1->Kontact1.3 , KDE4.2->Kontact1.4)

Not really sure about the relation between the different signals

Thanks
Comment 13 Dario Andres 2009-02-05 22:15:31 UTC
*** Bug 183318 has been marked as a duplicate of this bug. ***
Comment 14 Kuser 2009-02-08 13:27:54 UTC
my crash disappeared today after a couple of reboots (no package upgrade). I'll report if it reappears. (see Duplicate Bug 183318)
Comment 15 Jonathan Gordon 2009-03-10 14:53:01 UTC
Created attachment 31991 [details]
Crash file

I'm experiencing a similar crash, though the signal is SIGABRT. Happens intermittently on shutdown.

System: Kubuntu 8.10 (Linux kubuntu 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux)
Qt: 4.4.3
KDE: 4.2.1 (KDE 4.2.1)
Kontact Version 1.4.1
Comment 16 JJ Luza 2009-07-16 20:45:28 UTC
Hi, I have this bug too.
It seems related to the bug 196215 (where I posted some trace)
Comment 17 JJ Luza 2009-07-16 20:47:28 UTC
*** This bug has been confirmed by popular vote. ***
Comment 18 JJ Luza 2009-07-16 20:58:12 UTC
Sorry I'm wrong, I think it's not related since you didn't use Akonadi here.
Comment 19 Dario Andres 2009-08-12 16:14:58 UTC
*** Bug 203537 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2009-11-06 02:27:14 UTC
Bug 177862 has an updated backtrace (4.3.2). Thanks
Comment 21 Dario Andres 2009-11-06 02:27:16 UTC
*** Bug 213179 has been marked as a duplicate of this bug. ***
Comment 22 Sergio Martins 2013-07-08 23:56:45 UTC
KCal is deprecated in favor of KCalCore