Bug 294485 - Crash when adding a traditional KDE calendar
Summary: Crash when adding a traditional KDE calendar
Status: RESOLVED DUPLICATE of bug 229259
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: KResource compat bridges (show other bugs)
Version: 4.7
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Krammer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-20 10:17 UTC by Kevin Swift
Modified: 2012-03-31 21:32 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.72 KB, text/plain)
2012-03-14 08:36 UTC, Marco Vader
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Swift 2012-02-20 10:17:25 UTC
Application: akonadi_kcal_resource (4.7)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.6-3.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
Added a new calendar (in a vain attempt to make korganiser not read only, but thats another story)
As soon as the calendar was added, and shows as "Ready" in the calendar list the application crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Calendar of type KDE Calendar (traditional) (akonadi_kcal_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f177af9f840 (LWP 3331))]

Thread 2 (Thread 0x7f175787b700 (LWP 3334)):
#0  0x00007f1776712af3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1775400fd8 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f177540149c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f177a466dc6 in QEventDispatcherGlib::processEvents (this=0x7f17500008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f177a437182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f177a4373d7 in QEventLoop::exec (this=0x7f175787ad10, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f177a337b27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f177a416e7f in QInotifyFileSystemWatcherEngine::run (this=0x20e0890) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f177a33ab6b in QThreadPrivate::start (arg=0x20e0890) at thread/qthread_unix.cpp:298
#9  0x00007f177a0aad90 in start_thread (arg=0x7f175787b700) at pthread_create.c:309
#10 0x00007f177671b48d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f177af9f840 (LWP 3331)):
[KCrash Handler]
#6  begin (this=0x305f6563727617) at /usr/include/QtCore/qlist.h:101
#7  contains (this=0x305f6563727617, t=<synthetic pointer>) at /usr/include/QtCore/qlist.h:874
#8  removeRef (t=0x2cf7200, this=0x305f6563727617) at /usr/src/debug/kdepimlibs-4.7.4/kcal/listbase.h:118
#9  KCal::Incidence::removeRelation (this=0x2c0d000, incidence=0x2cf7200) at /usr/src/debug/kdepimlibs-4.7.4/kcal/incidence.cpp:535
#10 0x00007f177967735b in KCal::Incidence::~Incidence (this=0x2cf7200, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/kcal/incidence.cpp:207
#11 0x00007f177967d7e9 in KCal::Event::~Event (this=0x2cf7200, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/kcal/event.cpp:79
#12 0x000000000041253a in release (this=0x2ee1900) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
#13 ~shared_count (this=0x2e73e00, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:305
#14 ~shared_ptr (this=0x2e73df8, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:164
#15 ~Payload (this=0x2e73df0, __in_chrg=<optimized out>) at /usr/include/kde4/akonadi/itempayloadinternals_p.h:285
#16 Akonadi::Payload<boost::shared_ptr<KCal::Incidence> >::~Payload (this=0x2e73df0, __in_chrg=<optimized out>) at /usr/include/kde4/akonadi/itempayloadinternals_p.h:285
#17 0x00007f177aaac1e6 in ~clone_ptr (this=0x2def860, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/item_p.h:48
#18 ~TypedPayload (this=0x2def860, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/item_p.h:119
#19 _Destroy<Akonadi::_detail::TypedPayload> (__pointer=0x2def860) at /usr/include/c++/4.6.2/bits/stl_construct.h:94
#20 __destroy<Akonadi::_detail::TypedPayload*> (__last=0x2def870, __first=<optimized out>) at /usr/include/c++/4.6.2/bits/stl_construct.h:104
#21 _Destroy<Akonadi::_detail::TypedPayload*> (__last=0x2def870, __first=<optimized out>) at /usr/include/c++/4.6.2/bits/stl_construct.h:127
#22 _Destroy<Akonadi::_detail::TypedPayload*, Akonadi::_detail::TypedPayload> (__last=0x2def870, __first=<optimized out>) at /usr/include/c++/4.6.2/bits/stl_construct.h:153
#23 ~vector (this=0x2d54b28, __in_chrg=<optimized out>) at /usr/include/c++/4.6.2/bits/stl_vector.h:350
#24 ~ItemPrivate (this=0x2d54ae0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/item_p.h:203
#25 Akonadi::ItemPrivate::~ItemPrivate (this=0x2d54ae0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/item_p.h:204
#26 0x00007f177aa0f57c in node_destruct (to=0x2cad278, from=0x2cad278, this=<optimized out>) at /usr/include/QtCore/qlist.h:431
#27 QList<Akonadi::Item>::free (this=<optimized out>, data=0x2cad260) at /usr/include/QtCore/qlist.h:757
#28 0x00007f177aac3040 in ~ItemModifyJobPrivate (this=0x2bdcbf0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/itemmodifyjob_p.h:30
#29 Akonadi::ItemModifyJobPrivate::~ItemModifyJobPrivate (this=0x2bdcbf0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/itemmodifyjob_p.h:30
#30 0x00007f177aac7299 in Akonadi::Job::~Job (this=0x2ca9c10, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/job.cpp:254
#31 0x00007f177aabf249 in Akonadi::ItemModifyJob::~ItemModifyJob (this=0x2ca9c10, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/itemmodifyjob.cpp:134
#32 0x00007f177a450f48 in QObject::event (this=0x2ca9c10, e=<optimized out>) at kernel/qobject.cpp:1176
#33 0x00007f177734b994 in notify_helper (e=0x2eeee30, receiver=0x2ca9c10, this=0x1afa2b0) at kernel/qapplication.cpp:4550
#34 QApplicationPrivate::notify_helper (this=0x1afa2b0, receiver=0x2ca9c10, e=0x2eeee30) at kernel/qapplication.cpp:4522
#35 0x00007f1777350813 in QApplication::notify (this=0x7fffd2eccdc0, receiver=0x2ca9c10, e=0x2eeee30) at kernel/qapplication.cpp:4411
#36 0x00007f1778865766 in KApplication::notify (this=0x7fffd2eccdc0, receiver=0x2ca9c10, event=0x2eeee30) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#37 0x00007f177a43804c in QCoreApplication::notifyInternal (this=0x7fffd2eccdc0, receiver=0x2ca9c10, event=0x2eeee30) at kernel/qcoreapplication.cpp:876
#38 0x00007f177a43bada in sendEvent (event=0x2eeee30, receiver=0x2ca9c10) at kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1ac92e0) at kernel/qcoreapplication.cpp:1500
#40 0x00007f177a466933 in sendPostedEvents () at kernel/qcoreapplication.h:236
#41 postEventSourceDispatch (s=0x1afcab0) at kernel/qeventdispatcher_glib.cpp:279
#42 0x00007f1775400acd in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#43 0x00007f17754012c8 in ?? () from /lib64/libglib-2.0.so.0
#44 0x00007f177540149c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#45 0x00007f177a466d5f in QEventDispatcherGlib::processEvents (this=0x1aca7a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007f17773ee66e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#47 0x00007f177a437182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f177a4373d7 in QEventLoop::exec (this=0x7fffd2eccd40, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f177a43bdd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#50 0x00007f177aade0f6 in Akonadi::ResourceBase::init (r=0x1c89e50) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/resourcebase.cpp:393
#51 0x0000000000413216 in Akonadi::ResourceBase::init<KCalResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/kde4/akonadi/resourcebase.h:188
#52 0x00007f177664d69d in __libc_start_main (main=0x4089f0 <main(int, char**)>, argc=3, ubp_av=0x7fffd2ecced8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd2eccec8) at libc-start.c:226
#53 0x0000000000408a21 in _start ()

Possible duplicates by query: bug 288404, bug 272285.

Reported using DrKonqi
Comment 1 Marco Vader 2012-03-14 08:36:54 UTC
Created attachment 69602 [details]
New crash information added by DrKonqi

akonadi_kcal_resource (4.7) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0

- What I was doing when the application crashed:

It crashes every after a sleep/wakup cycle. The problem started when a traditional calendar was added.

-- Backtrace (Reduced):
#6  begin (this=0xd9) at /usr/include/QtCore/qlist.h:101
#7  contains (this=0xd9, t=<synthetic pointer>) at /usr/include/QtCore/qlist.h:874
#8  removeRef (t=0x1883c60, this=0xd9) at /usr/src/debug/kdepimlibs-4.7.4/kcal/listbase.h:118
#9  KCal::Incidence::removeRelation (this=0x15a4fb0, incidence=0x1883c60) at /usr/src/debug/kdepimlibs-4.7.4/kcal/incidence.cpp:535
#10 0x0000003e02a5335b in KCal::Incidence::~Incidence (this=0x1883c60, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/kcal/incidence.cpp:207
Comment 2 Christophe Marin 2012-03-31 21:32:38 UTC

*** This bug has been marked as a duplicate of bug 229259 ***