Bug 222916 - Drag and dropping an event several times in a row crashes Kontact
Summary: Drag and dropping an event several times in a row crashes Kontact
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: calendar (show other bugs)
Version: 4.4 rc1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-16 00:18 UTC by Sabine Faure
Modified: 2017-01-07 22:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.57 KB, text/plain)
2010-01-29 20:40 UTC, Sabine Faure
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sabine Faure 2010-01-16 00:18:27 UTC
Application: kontact (4.4 rc1)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1))
Qt Version: 4.6.0
Operating System: Linux 2.6.27-16-generic i686
Distribution: Ubuntu 8.10

-- Information about the crash:
- Launch Kontact and go to KOrganizer
- Create a new event if you do not have an existing one already
- Drag and drop the event several time rather quickly

Kontact crashes (see backtrace underneath) unless you move the event quite slowly.

Akonadi-ports Branch, Svn Rev 1075014



The crash can be reproduced every time.

 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 0 (LWP 7602)]

Thread 2 (Thread 0xaeccdb90 (LWP 7607)):
#0  0xb7fc1430 in __kernel_vsyscall ()
#1  0xb5e4d075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xaf121855 in WTF::TCMalloc_PageHeap::scavengerThread () from /d/qt/4/kde-qt/lib/libQtWebKit.so.4
#3  0xaf1218bf in WTF::TCMalloc_PageHeap::runScavengerThread () from /d/qt/4/kde-qt/lib/libQtWebKit.so.4
#4  0xb5e4950f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb5294a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb3c496c0 (LWP 7602)):
[KCrash Handler]
#6  0xb7fc1430 in __kernel_vsyscall ()
#7  0xb51de8a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb51e0268 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5ee894e in qt_message_output (msgType=QtFatalMsg, buf=0x9132258 "ASSERT: \"! d->m_changes.contains( item.id() )\" in file /d/kde/src/t/kdepim/korganizer/incidencechanger.cpp, line 81")
    at global/qglobal.cpp:2226
#10 0xb5ee89ee in qt_message (msgType=QtFatalMsg, msg=0xb6065608 "ASSERT: \"%s\" in file %s, line %d", ap=0xbff58304 "��ϰ��ϰQ") at global/qglobal.cpp:2272
#11 0xb5ee8a24 in qFatal (msg=0xb6065608 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2455
#12 0xb5ee8c78 in qt_assert (assertion=0xb0cfebc8 "! d->m_changes.contains( item.id() )", file=0xb0cfe6f0 "/d/kde/src/t/kdepim/korganizer/incidencechanger.cpp", line=81) at global/qglobal.cpp:1989
#13 0xb0c76568 in IncidenceChanger::beginChange (this=0x8e2b238, item=@0x9101420) at /d/kde/src/t/kdepim/korganizer/incidencechanger.cpp:81
#14 0xb0b7ca96 in KOAgenda::performItemAction (this=0x8e4df70, viewportPos=@0xbff585b4) at /d/kde/src/t/kdepim/korganizer/views/agendaview/koagenda.cpp:854
#15 0xb0b7e028 in KOAgenda::eventFilter_mouse (this=0x8e4df70, object=0x91013d0, me=0xbff58b48) at /d/kde/src/t/kdepim/korganizer/views/agendaview/koagenda.cpp:595
#16 0xb0b7a5ed in KOAgenda::eventFilter (this=0x8e4df70, object=0x91013d0, event=0xbff58b48) at /d/kde/src/t/kdepim/korganizer/views/agendaview/koagenda.cpp:375
#17 0xb5ff28a2 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8288608, receiver=0x91013d0, event=0xbff58b48) at kernel/qcoreapplication.cpp:819
#18 0xb55cb61d in QApplicationPrivate::notify_helper (this=0x8288608, receiver=0x91013d0, e=0xbff58b48) at kernel/qapplication.cpp:4238
#19 0xb55cc346 in QApplication::notify (this=0xbff59454, receiver=0x91013d0, e=0xbff58b48) at kernel/qapplication.cpp:3822
#20 0xb65b06c3 in KApplication::notify (this=0xbff59454, receiver=0x91013d0, event=0xbff58b48) at /d/kde/src/t/kdelibs/kdeui/kernel/kapplication.cpp:302
#21 0xb5ff465d in QCoreApplication::notifyInternal (this=0xbff59454, receiver=0x91013d0, event=0xbff58b48) at kernel/qcoreapplication.cpp:704
#22 0xb71e6d21 in QCoreApplication::sendSpontaneousEvent () from /d/qt/4/kde-qt/lib/libQt3Support.so.4
#23 0xb55d183d in QApplicationPrivate::sendMouseEvent (receiver=0x91013d0, event=0xbff58b48, alienWidget=0x91013d0, nativeWidget=0x838fab8, buttonDown=0xb5e40440, lastMouseReceiver=@0xb5e40444, 
    spontaneous=true) at kernel/qapplication.cpp:2954
#24 0xb566a43f in QETWidget::translateMouseEvent (this=0x838fab8, event=0xbff5916c) at kernel/qapplication_x11.cpp:4368
#25 0xb566b4ee in QApplication::x11ProcessEvent (this=0xbff59454, event=0xbff5916c) at kernel/qapplication_x11.cpp:3379
#26 0xb5699856 in x11EventSourceDispatch (s=0x8290398, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0xb4231718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb4234dc3 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0xb4234f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb6025a5a in QEventDispatcherGlib::processEvents (this=0x8286a18, flags={i = -1074425036}) at kernel/qeventdispatcher_glib.cpp:407
#31 0xb569904e in QGuiEventDispatcherGlib::processEvents (this=0x8286a18, flags={i = -1074424988}) at kernel/qguieventdispatcher_glib.cpp:202
#32 0xb5ff134a in QEventLoop::processEvents (this=0xbff593f0, flags={i = -1074424916}) at kernel/qeventloop.cpp:149
#33 0xb5ff15bb in QEventLoop::exec (this=0xbff593f0, flags={i = -1074424840}) at kernel/qeventloop.cpp:197
#34 0xb5ff4e35 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0xb55cdfd6 in QApplication::exec () at kernel/qapplication.cpp:3570
#36 0x0804ba07 in main (argc=) at /d/kde/src/t/kdepim/kontact/src/main.cpp:221

Reported using DrKonqi
Comment 1 Sabine Faure 2010-01-29 20:40:35 UTC
Created attachment 40359 [details]
New crash information added by DrKonqi

- Launch KOrg
- Create a new event
- try to drag and drop the event in the all-day event zone.

A forbidden sign appears next to the cursor to show that this action is not possible. So The event is not moved. However, shortly after KOrg crashes.

If it does not then try drag and dropping the event to an hour earlier and it should crash then.

Trunk, Svn Rev 1082000
Comment 2 Denis Kurz 2016-09-24 19:29:26 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:42:03 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.