[Kolab-devel] [issue4855] Korganizer crashes on archive old entries (KCal::ResourceKolab::deleteIncidence)

aheinecke issues at kolab.org
Wed Oct 10 16:37:03 CEST 2012


When Archiving old entries in Korganizer crashes reliably for some users.
>From the attached backtrace it looks like deleteIncidence it looks to me like it
might be a threading/timing issue as the debug output shows that the incidence
that should be deleted was already deleted.

deleteIncidence is called with an incidence at 0xc73bdb8 but the this pointer in
incidence->uid() is not valid at this point (0x3) and the copying of the uid
qstring fails accordingly.

I'll see if i can reproduce this somehow.

----------
assignedto: aheinecke
files: archive-events-crash.txt
keyword: enterprise35, kde client, kkc
messages: 28784
nosy: aheinecke, allen, emanuel, laurent, ludwig, sergio, till, vkrause
priority: critical
status: unread
title: Korganizer crashes on archive old entries (KCal::ResourceKolab::deleteIncidence)

______________________________________
Kolab issue tracker <issues at kolab.org>
<https://roundup.kolab.org/issue4855>
______________________________________
-------------- next part --------------
[Thread debugging using libthread_db enabled]
[New Thread 0xb55f16c0 (LWP 30724)]
[New Thread 0xb2551b90 (LWP 30728)]
[New Thread 0xb2d51b90 (LWP 30727)]
[New Thread 0xb3551b90 (LWP 30726)]
[New Thread 0xb3d51b90 (LWP 30725)]
[KCrash handler]
#5  0xb6a7e159 in QString (this=0xbfeb8488, s=@0x2b) at tools/qstring.cpp:1398
#6  0xb5d75a1c in KCal::IncidenceBase::uid (this=0x3) at incidencebase.cpp:146
#7  0xb1adbee7 in KCal::ResourceKolab::deleteIncidence (this=0x94a6228, 
    incidence=0xc73bdb8) at resourcekolab.cpp:945
#8  0xb1ad9aeb in KCal::ResourceKolab::deleteEvent (this=0x94a6228, 
    event=0xc73bdb8) at resourcekolab.cpp:970
#9  0xb5e03761 in KCal::CalendarResources::deleteEvent (this=0x9489a50, 
    event=0xc73bdb8) at calendarresources.cpp:389
#10 0xb5da515e in KCal::Incidence::DeleteVisitor<KCal::Calendar>::visit (
    this=0xbfeb8564, e=0xc73bdb8) at incidence.h:104
#11 0xb5d827e8 in KCal::Event::accept (this=0xc73bdb8, v=@0xbfeb8564)
    at event.h:126
#12 0xb5d9f909 in KCal::Calendar::deleteIncidence (this=0x9489a50, 
    incidence=0xc73bdb8) at calendar.cpp:477
#13 0xb4db7354 in EventArchiver::archiveIncidences (this=0xbfeb8a18, 
    calendar=0x9489a50, widget=0x96cd818, incidences=@0xbfeb891c)
    at eventarchiver.cpp:247
#14 0xb4db7ac7 in EventArchiver::run (this=0xbfeb8a18, calendar=0x9489a50, 
    limitDate=@0xbfeb8a40, widget=0x96cd818, withGUI=<value optimized out>, 
    errorIfNone=true) at eventarchiver.cpp:143
#15 0xb4db7f92 in EventArchiver::runOnce (this=0xbfeb8a18, 
    calendar=0x9489a50, limitDate=@0xbfeb8a40, widget=0x96cd818)
    at eventarchiver.cpp:51
#16 0xb4d1d7d6 in ArchiveDialog::slotUser1 (this=0x96cd818)
    at archivedialog.cpp:250
#17 0xb608c273 in KDialogBase::qt_invoke (this=0x96cd818, _id=73, 
    _o=0xbfeb8b04) at ./kdialogbase.moc:358
#18 0xb4d1db50 in ArchiveDialog::qt_invoke (this=0x96cd818, _id=73, 
    _o=0xbfeb8b04) at archivedialog.moc:111
#19 0xb678c16a in QObject::activate_signal (this=0xc86cb68, clist=0xca9b098, 
    o=0xbfeb8b04) at kernel/qobject.cpp:2359
#20 0xb678e68b in QObject::activate_signal (this=0xc86cb68, signal=4)
    at kernel/qobject.cpp:2328
#21 0xb6af14dc in QButton::clicked (this=0xc86cb68)
    at .moc/release-shared-mt/moc_qbutton.cpp:152
#22 0xb68263f0 in QButton::mouseReleaseEvent (this=0xc86cb68, e=0xbfeb8fa4)
    at widgets/qbutton.cpp:839
#23 0xb67c66a7 in QWidget::event (this=0xc86cb68, e=0xbfeb8fa4)
    at kernel/qwidget.cpp:4705
#24 0xb6727775 in QApplication::internalNotify (this=0xbfeb937c, 
    receiver=0xc86cb68, e=0xbfeb8fa4) at kernel/qapplication.cpp:2638
#25 0xb6728992 in QApplication::notify (this=0xbfeb937c, receiver=0xc86cb68, 
    e=0xbfeb8fa4) at kernel/qapplication.cpp:2424
#26 0xb6e0f2a2 in KApplication::notify (this=0xbfeb937c, receiver=0xc86cb68, 
    event=0xbfeb8fa4)
    at kdelibs/kdecore/kapplication.cpp:550
#27 0xb66c1fae in QApplication::sendSpontaneousEvent (receiver=0xc86cb68, 
    event=0xbfeb8fa4) at kernel/qapplication.h:526
#28 0xb66bef11 in QETWidget::translateMouseEvent (this=0xc86cb68, 
    event=0xbfeb9298) at kernel/qapplication_x11.cpp:4347
#29 0xb66be324 in QApplication::x11ProcessEvent (this=0xbfeb937c, 
    event=0xbfeb9298) at kernel/qapplication_x11.cpp:3524
#30 0xb66d1e2c in QEventLoop::processEvents (this=0x8c68680, 
    flags=<value optimized out>) at kernel/qeventloop_x11.cpp:195
#31 0xb6740140 in QEventLoop::enterLoop (this=0x8c68680)
    at kernel/qeventloop.cpp:201
#32 0xb6740006 in QEventLoop::exec (this=0x8c68680)
    at kernel/qeventloop.cpp:148
#33 0xb6727e0f in QApplication::exec (this=0xbfeb937c)
    at kernel/qapplication.cpp:2761
#34 0x0805f4e0 in main (argc=) at main.cpp:190


More information about the devel mailing list