Bug 300159 - Kontact crashes whilst accepting an invitation [@ MailCommon::Kernel::self]
Summary: Kontact crashes whilst accepting an invitation [@ MailCommon::Kernel::self]
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: misc (show other bugs)
Version: 4.8.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 297042 300059 305658 305769 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-16 19:28 UTC by Frits Spieker
Modified: 2013-11-07 18:01 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot.jpg (63.56 KB, image/jpeg)
2012-05-17 17:20 UTC, Frits Spieker
Details
New crash information added by DrKonqi (11.07 KB, text/plain)
2013-02-04 17:11 UTC, Jana Domorowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frits Spieker 2012-05-16 19:28:58 UTC
Application: kontact (4.8.3)
KDE Platform Version: 4.8.3 (4.8.3) "release 503"
Qt Version: 4.8.1
Operating System: Linux 3.1.10-1.9-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Clicked on the "record" option in invitation; Kontact crashes

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7fafa5e45760 (LWP 7678))]

Thread 3 (Thread 0x7faf8d74f700 (LWP 7690)):
#0  0x00007faf9dccce6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fafa265ec12 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7fafa2ffd1a0) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00007fafa265ec49 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00007faf9dcc8f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fafa335010d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7faf8ce4e700 (LWP 7691)):
#0  0x00007fafa3346ff3 in poll () from /lib64/libc.so.6
#1  0x00007faf9d7b9a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007faf9d7b9f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fafa3abe2e6 in QEventDispatcherGlib::processEvents (this=0x7faf840008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fafa3a8e012 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fafa3a8e267 in QEventLoop::exec (this=0x7faf8ce4de20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fafa398e547 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fafa399156b in QThreadPrivate::start (arg=0x77d100) at thread/qthread_unix.cpp:298
#8  0x00007faf9dcc8f05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fafa335010d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fafa5e45760 (LWP 7678)):
[KCrash Handler]
#6  0x00007fafa32a9d95 in raise () from /lib64/libc.so.6
#7  0x00007fafa32ab2ab in abort () from /lib64/libc.so.6
#8  0x00007fafa3986c94 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2252
#9  0x00007fafa3986e4f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7faf8899a760 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fff807de068) at global/qglobal.cpp:2298
#10 0x00007fafa3986ff4 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2481
#11 0x00007faf8893df0a in operator-> (this=<optimized out>) at /usr/src/debug/kdepim-4.8.3/mailcommon/mailkernel.cpp:48
#12 MailCommon::Kernel::self () at /usr/src/debug/kdepim-4.8.3/mailcommon/mailkernel.cpp:64
#13 0x00007faf8892de39 in MailCommon::FolderCollection::writeConfig (this=0x14e33a0) at /usr/src/debug/kdepim-4.8.3/mailcommon/foldercollection.cpp:210
#14 0x00007faf8892e861 in MailCommon::FolderCollection::~FolderCollection (this=0x14e33a0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.8.3/mailcommon/foldercollection.cpp:83
#15 0x00007faf8892e8f9 in MailCommon::FolderCollection::~FolderCollection (this=0x14e33a0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-4.8.3/mailcommon/foldercollection.cpp:85
#16 0x00007faf8892c616 in deref (value=0x14e33a0, d=0x1510d80) at /usr/include/QtCore/qsharedpointer_impl.h:342
#17 deref (this=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:336
#18 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:401
#19 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qsharedpointer_impl.h:466
#20 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0xc83c00, this=<optimized out>) at /usr/include/QtCore/qmap.h:651
#21 0x00007fafa32ac9a1 in __run_exit_handlers () from /lib64/libc.so.6
#22 0x00007fafa32aca25 in exit () from /lib64/libc.so.6
#23 0x00007fafa3f355a6 in KCmdLineArgs::isSet (this=0x4e17e40, _opt=<optimized out>) at /usr/src/debug/kdelibs-4.8.3/kdecore/kernel/kcmdlineargs.cpp:1511
#24 0x0000000000404377 in KontactApp::newInstance (this=0x7fff807e0ab0) at /usr/src/debug/kdepim-4.8.3/kontact/src/main.cpp:129
#25 0x00007fafa51ed0b2 in KUniqueApplicationAdaptor::newInstance (this=0x775bf0, asn_id=<optimized out>, args=...) at /usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kuniqueapplication.cpp:442
#26 0x00007fafa51ed1dc in qt_static_metacall (_a=0x7fff807de960, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.8.3/build/kdeui/kuniqueapplication_p.moc:62
#27 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff807de960) at /usr/src/debug/kdelibs-4.8.3/build/kdeui/kuniqueapplication_p.moc:52
#28 0x00007fafa51ed27b in KUniqueApplicationAdaptor::qt_metacall (this=0x775bf0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff807de960) at /usr/src/debug/kdelibs-4.8.3/build/kdeui/kuniqueapplication_p.moc:102
#29 0x00007fafa048ef6b in QDBusConnectionPrivate::deliverCall (this=0x62c810, object=0x775bf0, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:947
#30 0x00007fafa049007d in QDBusConnectionPrivate::activateCall (this=0x62c810, object=0x775bf0, flags=337, msg=...) at qdbusintegrator.cpp:850
#31 0x00007fafa0490a9b in QDBusConnectionPrivate::activateObject (this=0x62c810, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#32 0x00007fafa0490e4f in QDBusConnectionPrivate::handleObjectCall (this=0x62c810, msg=...) at qdbusintegrator.cpp:1516
#33 0x00007fafa049161f in handleMessage (amsg=..., this=0x62c810) at qdbusintegrator.cpp:570
#34 QDBusConnectionPrivate::handleMessage (this=0x62c810, amsg=...) at qdbusintegrator.cpp:552
#35 0x00007fafa049179e in QDBusConnectionPrivate::sendWithReplyLocal (this=0x62c810, message=...) at qdbusintegrator.cpp:1945
#36 0x00007fafa04931a7 in QDBusConnectionPrivate::sendWithReply (this=0x62c810, message=..., sendMode=1, timeout=-1) at qdbusintegrator.cpp:1888
#37 0x00007fafa048039b in QDBusConnection::call (this=0x4c859e8, message=<optimized out>, mode=<optimized out>, timeout=<optimized out>) at qdbusconnection.cpp:597
#38 0x00007fafa049fbb4 in QDBusAbstractInterface::callWithArgumentList (this=0x7fff807df6e0, mode=QDBus::Block, method=<optimized out>, args=...) at qdbusabstractinterface.cpp:468
#39 0x00007fafa04a1547 in QDBusAbstractInterface::call (this=0x7fff807df6e0, mode=QDBus::AutoDetect, method=..., arg1=..., arg2=..., arg3=..., arg4=..., arg5=..., arg6=..., arg7=..., arg8=...) at qdbusabstractinterface.cpp:723
#40 0x00007fafa04a1b01 in QDBusAbstractInterface::call (this=<optimized out>, method=<optimized out>, arg1=<optimized out>, arg2=<optimized out>, arg3=<optimized out>, arg4=..., arg5=..., arg6=..., arg7=..., arg8=...) at qdbusabstractinterface.cpp:666
#41 0x00007faf88942177 in MailCommon::Util::ensureKorganizerRunning (switchTo=<optimized out>) at /usr/src/debug/kdepim-4.8.3/mailcommon/mailutil.cpp:205
#42 0x00007faf3d8fdc56 in (anonymous namespace)::UrlHandler::showCalendar (date=..., this=<optimized out>) at /usr/src/debug/kdepim-4.8.3/plugins/messageviewer/bodypartformatter/text_calendar.cpp:1105
#43 0x00007faf3d90a4bc in (anonymous namespace)::UrlHandler::handleClick (this=<optimized out>, viewerInstance=0xcdd480, part=<optimized out>, path=...) at /usr/src/debug/kdepim-4.8.3/plugins/messageviewer/bodypartformatter/text_calendar.cpp:1299
#44 0x00007faf42ef1bd1 in MessageViewer::URLHandlerManager::BodyPartURLHandlerManager::handleClick (this=<optimized out>, url=<optimized out>, w=0xcdd8a0) at /usr/src/debug/kdepim-4.8.3/messageviewer/urlhandlermanager.cpp:283
#45 0x00007faf42ef2218 in MessageViewer::URLHandlerManager::handleClick (this=<optimized out>, url=..., w=0xcdd8a0) at /usr/src/debug/kdepim-4.8.3/messageviewer/urlhandlermanager.cpp:370
#46 0x00007faf42f02061 in MessageViewer::ViewerPrivate::slotUrlOpen (this=0xcdd8a0, url=<optimized out>) at /usr/src/debug/kdepim-4.8.3/messageviewer/viewer_p.cpp:1858
#47 0x00007faf42f12d1e in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0xcdd8a0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-4.8.3/build/messageviewer/viewer_p.moc:197
#48 0x00007fafa3aa82b6 in QObject::event (this=0xcdd8a0, e=<optimized out>) at kernel/qobject.cpp:1204
#49 0x00007fafa44a30d4 in notify_helper (e=0x53fdae0, receiver=0xcdd8a0, this=0x647160) at kernel/qapplication.cpp:4554
#50 QApplicationPrivate::notify_helper (this=0x647160, receiver=0xcdd8a0, e=0x53fdae0) at kernel/qapplication.cpp:4526
#51 0x00007fafa44a7f53 in QApplication::notify (this=0x7fff807e0ab0, receiver=0xcdd8a0, e=0x53fdae0) at kernel/qapplication.cpp:4415
#52 0x00007fafa51e78f6 in KApplication::notify (this=0x7fff807e0ab0, receiver=0xcdd8a0, event=0x53fdae0) at /usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#53 0x00007fafa3a8f22c in QCoreApplication::notifyInternal (this=0x7fff807e0ab0, receiver=0xcdd8a0, event=0x53fdae0) at kernel/qcoreapplication.cpp:876
#54 0x00007fafa3a92aca in sendEvent (event=0x53fdae0, receiver=0xcdd8a0) at kernel/qcoreapplication.h:231
#55 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60da60) at kernel/qcoreapplication.cpp:1500
#56 0x00007fafa3abde53 in sendPostedEvents () at kernel/qcoreapplication.h:236
#57 postEventSourceDispatch (s=0x644f00) at kernel/qeventdispatcher_glib.cpp:279
#58 0x00007faf9d7b958d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#59 0x00007faf9d7b9d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#60 0x00007faf9d7b9f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#61 0x00007fafa3abe27f in QEventDispatcherGlib::processEvents (this=0x60d320, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#62 0x00007fafa454676e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00007fafa3a8e012 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#64 0x00007fafa3a8e267 in QEventLoop::exec (this=0x7fff807e0a40, flags=...) at kernel/qeventloop.cpp:204
#65 0x00007fafa3a92dc5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#66 0x0000000000403919 in main (argc=1, argv=0x7fff807e10d8) at /usr/src/debug/kdepim-4.8.3/kontact/src/main.cpp:218

Possible duplicates by query: bug 296226.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-05-16 21:11:22 UTC
Created attachment 71160 [details]
screenshot.jpg

screenshot please ? (where you click)
Do you have kmail launch ?
Comment 2 Frits Spieker 2012-05-17 17:20:06 UTC
Hi,

I click on the "record" button, which -in theory as far as I understand- 
should enter the entry into Calendar.

No idea what you mean with kmail launch.

Kind regards,
Frits

On Wednesday 16 May 2012 21:11:22 you wrote:
> https://bugs.kde.org/show_bug.cgi?id=300159
> 
> Laurent Montel <montel@kde.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
> CC|                            |montel@kde.org
> 
> --- Comment #1 from Laurent Montel <montel@kde.org> ---
> screenshot please ? (where you click)
> Do you have kmail launch ?
-----------------------------------------
Comment 3 Laurent Montel 2012-05-17 17:34:14 UTC
Do you have kmail started (as plugins or in standelone ?)
Comment 4 Frits Spieker 2012-05-17 20:51:12 UTC
On Thursday 17 May 2012 17:34:14 you wrote:
> https://bugs.kde.org/show_bug.cgi?id=300159
> 
> --- Comment #3 from Laurent Montel <montel@kde.org> ---
> Do you have kmail started (as plugins or in standelone ?)

I always fire up Kontact as a whole, so I take KMail is started as a plugin. I 
never start kmail as standalone anymore. Especially now there finally is a good 
plugin for google I really like the integration (Calendar, addresses etc.) it 
gives me.
Comment 5 Jekyll Wu 2012-07-03 14:02:47 UTC
*** Bug 297042 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2012-07-03 14:03:14 UTC
*** Bug 300059 has been marked as a duplicate of this bug. ***
Comment 7 Myriam Schweingruber 2012-08-25 14:50:42 UTC
Confirmed by dulpicates
Comment 8 Myriam Schweingruber 2012-08-25 14:50:57 UTC
*** Bug 305658 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2012-08-28 15:42:41 UTC
*** Bug 305769 has been marked as a duplicate of this bug. ***
Comment 10 Jana Domorowski 2013-02-04 17:11:14 UTC
Created attachment 76908 [details]
New crash information added by DrKonqi

kmail (4.9.5) on KDE Platform 4.9.5 using Qt 4.8.2

- What I was doing when the application crashed:

I just started kmail and seconds later finish

-- Backtrace (Reduced):
#8  0x008291df in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x0082c825 in __GI_abort () at abort.c:91
[...]
#13 0x00e5b9b4 in operator-> (this=<optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:214
#14 operator* (this=<optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:214
#15 KMainWindow::memberList () at ../../kdeui/widgets/kmainwindow.cpp:1176
Comment 11 Sergio Martins 2013-11-01 17:47:57 UTC
If you can still reproduce this, I'll need you to attach the invitation causing this (code between VCALENDAR tags)
Comment 12 Frits Spieker 2013-11-07 18:01:59 UTC
Hi,

Seems to be fixed. I had to create an invite at work, sent it to my private email, clicked on "accept" and it beautifully got added to the calendar without any crashing. Well done!