Summary: | Kontact crashes regularly on exit | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | Anatoli Strigin <anatolistrigin> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, anton, c0der, christophe, czikus, jthorell, mail, myhaella5, nick, null, peter.soetens, ricardo.ucv, smartins, winter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | valgrind report |
Description
Anatoli Strigin
2008-11-04 13:37:10 UTC
A fix for the crash in KCal::Incidence::removeRelation() was made a few days ago and will appear in KDE 4.1.3 and KDE 4.2.0. I still have this exact same crash with using KDE 4.1.4 on Ubuntu Intrepid. I guess I'll submit this on Launchpad then... 0x00007f82ff4495f0 in nanosleep () from /lib/libc.so.6 Thread 1 (Thread 0x7f8301d796f0 (LWP 3736)): [KCrash Handler] #5 0x00007f82fcc41029 in KCal::Incidence::removeRelation () from /usr/lib/libkcal.so.4 #6 0x00007f82fcc44567 in KCal::Incidence::~Incidence () from /usr/lib/libkcal.so.4 #7 0x00007f82fcc46445 in KCal::Todo::~Todo () from /usr/lib/libkcal.so.4 #8 0x00007f82fcc6d62e in KCal::CalendarLocal::close () from /usr/lib/libkcal.so.4 #9 0x00007f82fd1cc756 in KRES::Resource::close () from /usr/lib/libkresources.so.4 #10 0x00007f82fccc0339 in KCal::CalendarResources::close () from /usr/lib/libkcal.so.4 #11 0x00007f82fccc06ad in KCal::CalendarResources::~CalendarResources () from /usr/lib/libkcal.so.4 #12 0x00007f82ecb34dd6 in KOrg::StdCalendar::~StdCalendar () from /usr/lib/libkorganizer_calendar.so.4 #13 0x00007f82ecb36477 in ?? () from /usr/lib/libkorganizer_calendar.so.4 #14 0x00007f82fc299559 in ?? () from /usr/lib/libkde3support.so.4 #15 0x00007f83006c9315 in qt_call_post_routines () from /usr/lib/libQtCore.so.4 #16 0x00007f82ffbf4388 in QApplication::~QApplication () from /usr/lib/libQtGui.so.4 #17 0x0000000000404971 in _start () *** Bug 181728 has been marked as a duplicate of this bug. *** *** Bug 186006 has been marked as a duplicate of this bug. *** I'm reopening this one since reporter still reproduces this in KDE4.1.4 and another reporter reproduces this with KDE4.2. Are you using an akonadi resource? Does it still crashes? If so, can you get a valgrind report? 1. Install valgrind 2. Run: valgrind kontact --nofork &> report.txt 3. make kontact crash 4. attach report.txt here Thanks Comments which Ricardo sent to my e-mail. > Did it crashed while closing? > -Yes, Kontact crash while closing- > Are you using an akonadi resource? > -Yes, I do. > Can you reproduce this? > -Yes, I can. Every time when i close the app. > Are you really using KDE4.2? > -Yes, I'm using KDE4.2 Ricardo, the valgrind report you sent me doesn't have any debug symbols, can you read: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and then run valgrind again Thanks *** Bug 190578 has been marked as a duplicate of this bug. *** I would like to confirm this bug. Kontact crashes always on exit with exactly the same backtrace. I've noticed that it happens only when the summary page in kontact is enabled. If only korganizer is used and not the summary page, kontact closes successfully. *** Bug 196115 has been marked as a duplicate of this bug. *** Bug 196115 has a complete backtrace from 4.2.90 *** Bug 197408 has been marked as a duplicate of this bug. *** *** Bug 199825 has been marked as a duplicate of this bug. *** *** Bug 204215 has been marked as a duplicate of this bug. *** Created attachment 36868 [details] valgrind report This is kde-4.3.1 Here is the corresponding backtrace: gdb korganizer GNU gdb 6.8 Copyright (C) 2008 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-pc-linux-gnu"... (gdb) set args --nocrashhandler --nofork (gdb) run Starting program: /usr/bin/korganizer --nocrashhandler --nofork [Thread debugging using libthread_db enabled] [New Thread 0x7f1406d86750 (LWP 28493)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f1406d86750 (LWP 28493)] KCal::Incidence::removeRelation (this=0x11c92c0, incidence=0xf2c100) at /usr/include/qt4/QtCore/qlist.h:664 664 Node *b = reinterpret_cast<Node *>(p.begin()); (gdb) bt full #0 KCal::Incidence::removeRelation (this=0x11c92c0, incidence=0xf2c100) at /usr/include/qt4/QtCore/qlist.h:664 No locals. #1 0x00007f1405e9d3ae in ~Incidence (this=0xf2c100) at /var/tmp/portage/kde-base/kdepimlibs-4.3.1/work/kdepimlibs-4.3.1/kcal/incidence.cpp:206 relations = {<QList<KCal::Incidence*>> = {{p = {static shared_null = {ref = {_q_value = 3877}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x60da50}, d = 0x60da50}}, mAutoDelete = false} #2 0x00007f1405e9eead in ~Todo (this=0xf2c100) at /var/tmp/portage/kde-base/kdepimlibs-4.3.1/work/kdepimlibs-4.3.1/kcal/todo.cpp:103 No locals. #3 0x00007f1405eb8943 in KCal::CalendarLocal::close (this=0xa806c0) at /usr/include/qt4/QtCore/qalgorithms.h:350 No locals. #4 0x00007f1403f5c719 in KRES::Resource::close (this=0xa926f0) at /var/tmp/portage/kde-base/kdepimlibs-4.3.1/work/kdepimlibs-4.3.1/kresources/resource.cpp:141 __PRETTY_FUNCTION__ = "void KRES::Resource::close()" #5 0x00007f1405eea2b5 in KCal::CalendarResources::close (this=0xa1c200) at /var/tmp/portage/kde-base/kdepimlibs-4.3.1/work/kdepimlibs-4.3.1/kcal/calendarresources.cpp:350 it = {mIt = {i = 0xab8f08}, mList = 0xa22aa0} #6 0x00007f1405eea56e in ~CalendarResources (this=0x11c92c0) at /var/tmp/portage/kde-base/kdepimlibs-4.3.1/work/kdepimlibs-4.3.1/kcal/calendarresources.cpp:247 No locals. #7 0x00007f1405128189 in ~StdCalendar (this=0x11c92c0) at /var/tmp/portage/kde-base/korganizer-4.3.1/work/korganizer-4.3.1/korganizer/stdcalendar.cpp:112 No locals. #8 0x00007f14051291ef in K3StaticDeleter<KOrg::StdCalendar>::destructObject (this=0x7f140532a1b0) at /usr/include/k3staticdeleter.h:174 No locals. #9 0x00007f14063d3efd in K3StaticDeleterPrivate::deleteStaticDeleters () from /usr/lib64/libkde3support.so.4 No symbol table info available. #10 0x00007f1402509b35 in qt_call_post_routines () at kernel/qcoreapplication.cpp:163 list = (QVFuncList *) 0x637680 #11 0x00007f1401563228 in ~QApplication (this=0x7ffff9702270) at kernel/qapplication.cpp:971 d = (QApplicationPrivate * const) 0x63f650 #12 0x0000000000408dc5 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/korganizer-4.3.1/work/korganizer-4.3.1/korganizer/main.cpp:61 aboutData = {<KAboutData> = {d = 0x614540}, <No data fields>} app = {<KPIM::PimApplication> = {<> = {<No data fields>}, <No data fields>}, static staticMetaObject = {d = {superdata = 0x60da30, stringdata = 0x40bc80 "KOrganizerApp", data = 0x40bd00, extradata = 0x0}}} (gdb) *** Bug 209114 has been marked as a duplicate of this bug. *** Remove the relations of deleted incidences. Please review. This fixes a crash when quitting Kontact and a crash when running the unit tests. BUG: 174244 Should be fixed with the above commit, which I also backported to the KDE 4.3 branch, so the fix will be in KDE 4.3.2. BTW, the crash was caused by having nested todos with a special structure. Thank you, and yes, I do have nested todos. *** Bug 197408 has been marked as a duplicate of this bug. *** |