Bug 314079 - Kmail crashes while counter-proposal an event invite
Summary: Kmail crashes while counter-proposal an event invite
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Unclassified
Component: general (show other bugs)
Version: 4.9.5
Platform: Fedora RPMs Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-29 14:42 UTC by Hebert
Modified: 2013-01-29 15:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hebert 2013-01-29 14:42:39 UTC
Application: kmail (4.9.5)
KDE Platform Version: 4.9.5
Qt Version: 4.8.4
Operating System: Linux 3.6.11-3.fc18.i686.PAE i686
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
Open an Event invitation email;
Click on counter-proposal;
Kmail will crash.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb77629c0 (LWP 3279))]

Thread 3 (Thread 0xb50a1b40 (LWP 3284)):
#0  0xb77ba424 in __kernel_vsyscall ()
#1  0x4c75e18c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:171
#2  0x462d8a89 in WTF::TCMalloc_PageHeap::scavengerThread (this=this@entry=0x46a4dfe0 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2495
#3  0x462d8b80 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x46a4dfe0 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:1618
#4  0x4c75aaff in start_thread (arg=0xb50a1b40) at pthread_create.c:308
#5  0x4c64809e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:132

Thread 2 (Thread 0xb47a0b40 (LWP 3285)):
#0  0x4c773dad in __GI_clock_gettime (clock_id=1, tp=0xb479ffa8) at ../sysdeps/unix/clock_gettime.c:115
#1  0x41edccc6 in do_gettime (frac=0xb479ffa0, sec=0xb479ff98) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x41fc660f in QTimerInfoList::updateCurrentTime (this=0xb47a0028) at kernel/qeventdispatcher_unix.cpp:354
#4  0xb3e02074 in ?? ()

Thread 1 (Thread 0xb77629c0 (LWP 3279)):
[KCrash Handler]
#7  0x46eac9f4 in IncidenceEditorNG::InvitationDispatcher::setIsCounterProposal (this=0x0, isCounterProposal=true) at /usr/src/debug/kdepim-4.9.5/incidenceeditor-ng/invitationdispatcher.cpp:173
#8  0x46ee8e8b in IncidenceEditorNG::EventOrTodoDialog::setIsCounterProposal (this=0xb7dddc8, isCounterProposal=true) at /usr/src/debug/kdepim-4.9.5/incidenceeditor-ng/eventortododialog.cpp:678
#9  0x46ed8b7c in IncidenceEditorNG::GroupwareUiDelegate::requestIncidenceEditor (this=0xa474fe8, item=...) at /usr/src/debug/kdepim-4.9.5/incidenceeditor-ng/groupwareintegration.cpp:93
#10 0x46dc2b83 in CalendarSupport::Groupware::finishHandlingInvitation (this=0xaa40240) at /usr/src/debug/kdepim-4.9.5/calendarsupport/groupware.cpp:231
#11 0x46dc4654 in CalendarSupport::Groupware::qt_static_metacall (_o=0xaa40240, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf8f99b4) at /usr/src/debug/kdepim-4.9.5/i686-redhat-linux-gnu/calendarsupport/groupware.moc:58
#12 0x41faa25e in QMetaObject::activate (sender=0xa631d20, m=0x46e51068 <CalendarSupport::NepomukCalendar::staticMetaObject>, local_signal_index=0, argv=0xbf8f99b4) at kernel/qobject.cpp:3539
#13 0x46ddc406 in CalendarSupport::NepomukCalendar::loadFinished (this=0xa631d20, _t1=true, _t2=...) at /usr/src/debug/kdepim-4.9.5/i686-redhat-linux-gnu/calendarsupport/nepomukcalendar.moc:126
#14 0x46dde0ed in CalendarSupport::NepomukCalendar::searchResult (this=0xa631d20, job=0xb6b76f8) at /usr/src/debug/kdepim-4.9.5/calendarsupport/nepomukcalendar.cpp:408
#15 0x46ddec35 in qt_static_metacall (_c=QMetaObject::InvokeMetaMethod, _a=0xbf8f9b58, _id=7, _o=0xa631d20) at /usr/src/debug/kdepim-4.9.5/i686-redhat-linux-gnu/calendarsupport/nepomukcalendar.moc:75
#16 CalendarSupport::NepomukCalendar::qt_static_metacall (_o=0xa631d20, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf8f9b58) at /usr/src/debug/kdepim-4.9.5/i686-redhat-linux-gnu/calendarsupport/nepomukcalendar.moc:62
#17 0x41faa25e in QMetaObject::activate (sender=0x9f2f2b8, m=0x425634ac <KJob::staticMetaObject>, local_signal_index=3, argv=0xbf8f9b58) at kernel/qobject.cpp:3539
#18 0x423a9c06 in KJob::result (this=this@entry=0x9f2f2b8, _t1=_t1@entry=0x9f2f2b8) at /usr/src/debug/kdelibs-4.9.5/i686-redhat-linux-gnu/kdecore/kjob.moc:207
#19 0x423a9c59 in KJob::emitResult (this=0x9f2f2b8) at /usr/src/debug/kdelibs-4.9.5/kdecore/jobs/kjob.cpp:318
#20 0x46dfa982 in CalendarSupport::IncidenceFetchJob::itemFetchResult (this=this@entry=0x9f2f2b8, job=0xaa409e8) at /usr/src/debug/kdepim-4.9.5/calendarsupport/next/incidencefetchjob.cpp:99
#21 0x46dfaa50 in CalendarSupport::IncidenceFetchJob::qt_static_metacall (_o=0x9f2f2b8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf8f9ce8) at /usr/src/debug/kdepim-4.9.5/i686-redhat-linux-gnu/calendarsupport/incidencefetchjob.moc:52
#22 0x41faa25e in QMetaObject::activate (sender=0xaa409e8, m=0x425634ac <KJob::staticMetaObject>, local_signal_index=3, argv=0xbf8f9ce8) at kernel/qobject.cpp:3539
#23 0x423a9c06 in KJob::result (this=this@entry=0xaa409e8, _t1=_t1@entry=0xaa409e8) at /usr/src/debug/kdelibs-4.9.5/i686-redhat-linux-gnu/kdecore/kjob.moc:207
#24 0x423a9c59 in KJob::emitResult (this=0xaa409e8) at /usr/src/debug/kdelibs-4.9.5/kdecore/jobs/kjob.cpp:318
#25 0x41ba38af in Akonadi::JobPrivate::delayedEmitResult (this=0xaa39ae8) at /usr/src/debug/kdepimlibs-4.9.5/akonadi/job.cpp:144
#26 0x41fa50eb in QMetaCallEvent::placeMetaCall (this=0xb70e438, object=0xaa409e8) at kernel/qobject.cpp:524
#27 0x41fa9753 in QObject::event (this=0xaa409e8, e=0xb70e438) at kernel/qobject.cpp:1194
#28 0x426c606c in QApplicationPrivate::notify_helper (this=0x99665b8, receiver=0xaa409e8, e=0xb70e438) at kernel/qapplication.cpp:4562
#29 0x426cab2f in QApplication::notify (this=0xb70e438, receiver=0xaa409e8, e=0xb70e438) at kernel/qapplication.cpp:3944
#30 0x43377a82 in KApplication::notify (this=0xbf8fa5b4, receiver=0xaa409e8, event=0xb70e438) at /usr/src/debug/kdelibs-4.9.5/kdeui/kernel/kapplication.cpp:311
#31 0x41f9308e in QCoreApplication::notifyInternal (this=0xbf8fa5b4, receiver=0xaa409e8, event=0xb70e438) at kernel/qcoreapplication.cpp:946
#32 0x41f97035 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x98db148) at kernel/qcoreapplication.cpp:1570
#34 0x41f972bd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1463
#35 0x41fc5945 in sendPostedEvents () at kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=s@entry=0x9917ea0) at kernel/qeventdispatcher_glib.cpp:279
#37 0x4c98f16b in g_main_dispatch (context=0x9943880, context@entry=0x9943818) at gmain.c:2715
#38 g_main_context_dispatch (context=context@entry=0x9943880) at gmain.c:3219
#39 0x4c98f510 in g_main_context_iterate (context=context@entry=0x9943880, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#40 0x4c98f5f2 in g_main_context_iteration (context=0x9943880, may_block=1) at gmain.c:3351
#41 0x41fc5ad2 in QEventDispatcherGlib::processEvents (this=0x98dbea0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0x4277870b in QGuiEventDispatcherGlib::processEvents (this=0x98dbea0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#43 0x41f91b2d in QEventLoop::processEvents (this=this@entry=0xbf8fa478, flags=...) at kernel/qeventloop.cpp:149
#44 0x41f91e29 in QEventLoop::exec (this=0xbf8fa478, flags=...) at kernel/qeventloop.cpp:204
#45 0x41f9736b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#46 0x426c3ee5 in QApplication::exec () at kernel/qapplication.cpp:3823
#47 0x0804a5d5 in main (argc=3, argv=0xbf8fa704) at /usr/src/debug/kdepim-4.9.5/kmail/main.cpp:148

Reported using DrKonqi
Comment 1 Laurent Montel 2013-01-29 15:19:00 UTC
could you save in mbox format your emails and paste here ? We need to test it.
Comment 2 Laurent Montel 2013-01-29 15:24:21 UTC
Git commit 104906909a80bd6f65d7091800a786837c87753a by Montel Laurent.
Committed on 29/01/2013 at 16:22.
Pushed by mlaurent into branch 'KDE/4.10'.

Fix Bug 314079 - Kmail crashes while counter-proposal an event invite

FIXED-IN: 4.10

mInvitationDispatcher can be null if CalendarSupport::KCalPrefs::instance()->useGroupwareCommunication()
is false

M  +2    -1    incidenceeditor-ng/eventortododialog.cpp

http://commits.kde.org/kdepim/104906909a80bd6f65d7091800a786837c87753a