Bug 355477 - Kontact crashes on startup
Summary: Kontact crashes on startup
Status: RESOLVED INTENTIONAL
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
: 355481 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-11-17 09:42 UTC by ewandor
Modified: 2016-09-20 20:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (13.60 KB, text/plain)
2015-11-17 13:10 UTC, ewandor
Details
New crash information added by DrKonqi (13.05 KB, text/plain)
2016-09-20 20:40 UTC, Klos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ewandor 2015-11-17 09:42:06 UTC
Application: kontact (4.13.3)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-68-generic x86_64
Distribution: Ubuntu 14.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Just logged in, KDE starts, then crash message from kontact

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb9d7601800 (LWP 4808))]

Thread 6 (Thread 0x7fb9b5049700 (LWP 4809)):
#0  0x00007fb9d4b7212d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb9ce5eefe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb9ce5ef30a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb9baa2b336 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fb9ce613f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb9ceace182 in start_thread (arg=0x7fb9b5049700) at pthread_create.c:312
#6  0x00007fb9d4b7f47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fb9b4848700 (LWP 4810)):
#0  0x00007fb9d4b7212d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb9ce5eefe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb9ce5ef0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb9ce5ef129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb9ce613f05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb9ceace182 in start_thread (arg=0x7fb9b4848700) at pthread_create.c:312
#6  0x00007fb9d4b7f47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fb9a22e5700 (LWP 4813)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb9d23ac81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fb9d23ac859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fb9ceace182 in start_thread (arg=0x7fb9a22e5700) at pthread_create.c:312
#4  0x00007fb9d4b7f47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fb94267d700 (LWP 4814)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb9d20ed20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fb9d23dbfd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fb9ceace182 in start_thread (arg=0x7fb94267d700) at pthread_create.c:312
#4  0x00007fb9d4b7f47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fb9affff700 (LWP 4822)):
#0  0x00007fb9d4b7212d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb9ce5eefe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb9ce5ef0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb9d52f87be in QEventDispatcherGlib::processEvents (this=0x7fb9a4001390, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fb9d52ca0af in QEventLoop::processEvents (this=this@entry=0x7fb9afffeda0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb9d52ca3a5 in QEventLoop::exec (this=this@entry=0x7fb9afffeda0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fb9d51c6c5f in QThread::exec (this=this@entry=0x134a2b0) at thread/qthread.cpp:537
#7  0x00007fb9d52ab823 in QInotifyFileSystemWatcherEngine::run (this=0x134a2b0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fb9d51c932f in QThreadPrivate::start (arg=0x134a2b0) at thread/qthread_unix.cpp:349
#9  0x00007fb9ceace182 in start_thread (arg=0x7fb9affff700) at pthread_create.c:312
#10 0x00007fb9d4b7f47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fb9d7601800 (LWP 4808)):
[KCrash Handler]
#6  0x00007fb9d5f125c3 in QTextLayout::position (this=this@entry=0x1644a40) at text/qtextlayout.cpp:876
#7  0x00007fb9d5f50317 in QTextDocumentLayoutPrivate::layoutBlock (this=this@entry=0x12c3a40, bl=..., blockPosition=blockPosition@entry=6702, blockFormat=..., layoutStruct=layoutStruct@entry=0x7ffce92c98b0, layoutFrom=layoutFrom@entry=818, layoutTo=layoutTo@entry=819, previousBlockFormat=previousBlockFormat@entry=0x7ffce92c9610) at text/qtextdocumentlayout.cpp:2572
#8  0x00007fb9d5f586a3 in QTextDocumentLayoutPrivate::layoutFlow (this=this@entry=0x12c3a40, it=..., layoutStruct=layoutStruct@entry=0x7ffce92c98b0, layoutFrom=layoutFrom@entry=818, layoutTo=layoutTo@entry=819, width=..., width@entry=...) at text/qtextdocumentlayout.cpp:2415
#9  0x00007fb9d5f5703d in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x12c3a40, f=f@entry=0x11cc3f0, layoutFrom=layoutFrom@entry=818, layoutTo=layoutTo@entry=819, frameWidth=..., frameWidth@entry=..., frameHeight=..., parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2156
#10 0x00007fb9d5f5770d in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x12c3a40, f=f@entry=0x11cc3f0, layoutFrom=layoutFrom@entry=818, layoutTo=layoutTo@entry=819, parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2062
#11 0x00007fb9d5f5a1c0 in QTextDocumentLayout::doLayout (this=this@entry=0x11da350, from=from@entry=818, oldLength=oldLength@entry=0, length=length@entry=1) at text/qtextdocumentlayout.cpp:2952
#12 0x00007fb9d5f5b1fe in QTextDocumentLayout::documentChanged (this=0x11da350, from=818, oldLength=0, length=1) at text/qtextdocumentlayout.cpp:2915
#13 0x00007fb9d5f38d21 in QTextDocumentPrivate::finishEdit (this=this@entry=0x1331af0) at text/qtextdocument_p.cpp:1220
#14 0x00007fb9d5f39116 in QTextDocumentPrivate::insert (this=0x1331af0, pos=pos@entry=818, strPos=strPos@entry=6705, strLength=strLength@entry=1, format=format@entry=73) at text/qtextdocument_p.cpp:473
#15 0x00007fb9d5f63dbf in QTextCursor::insertText (this=this@entry=0x7ffce92c9d90, text=..., _format=...) at text/qtextcursor.cpp:1481
#16 0x00007fb9d5f63f2c in QTextCursor::insertImage (this=this@entry=0x7ffce92c9d90, format=...) at text/qtextcursor.cpp:2308
#17 0x00007fb93b7459a0 in KPIMTextEdit::TextEdit::loadImage (this=0x146cea0, image=..., matchName=..., resourceName=...) at ../../kpimtextedit/textedit.cpp:530
#18 0x00007fb937c1fdf3 in MessageComposer::ComposerViewBase::collectImages (this=this@entry=0x12d6950, root=<optimized out>) at ../../messagecomposer/composer/composerviewbase.cpp:1528
#19 0x00007fb937c20718 in MessageComposer::ComposerViewBase::setMessage (this=0x12d6950, msg=...) at ../../messagecomposer/composer/composerviewbase.cpp:191
#20 0x00007fb9385ee928 in KMComposeWin::setMessage (this=0x129b6a0, newMsg=..., lastSignState=<optimized out>, lastEncryptState=<optimized out>, mayAutoSign=<optimized out>, allowDecryption=<optimized out>, isModified=false) at ../../kmail/editor/kmcomposewin.cpp:1602
#21 0x00007fb93851ae2f in KMKernel::recoverDeadLetters (this=this@entry=0x110af40) at ../../kmail/kmkernel.cpp:1150
#22 0x00007fb9388c43e1 in KMailPart::KMailPart (this=this@entry=0xf7a1f0, parentWidget=parentWidget@entry=0x8d9e20, parent=parent@entry=0x8d9e20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:81
#23 0x00007fb9388c59b1 in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x8d9e20, parent=0x8d9e20, args=...) at /usr/include/kpluginfactory.h:483
#24 0x00007fb9d5831433 in KPluginFactory::create (this=0xf86f50, iface=0x7fb9d4873f60 <qt_meta_stringdata_KParts__ReadOnlyPart> "KParts::ReadOnlyPart", parentWidget=0x8d9e20, parent=0x8d9e20, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#25 0x00007fb9d7242938 in create<KParts::ReadOnlyPart> (args=..., parent=0x8d9e20, this=<optimized out>) at /usr/include/kpluginfactory.h:507
#26 KontactInterface::Core::createPart (this=0x8d9e20, libname=0xf21768 "kmailpart") at ../../kontactinterface/core.cpp:87
#27 0x00007fb9d724391e in KontactInterface::Plugin::loadPart (this=this@entry=0xf259c0) at ../../kontactinterface/plugin.cpp:154
#28 0x00007fb93b0e5f82 in KMailPlugin::createPart (this=0xf259c0) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:197
#29 0x00007fb9d7244d99 in KontactInterface::Plugin::part (this=0xf259c0) at ../../kontactinterface/plugin.cpp:193
#30 0x00007fb9d6e0b2d1 in Kontact::MainWindow::selectPlugin (this=0x8d9e20, plugin=0xf259c0) at ../../../kontact/src/mainwindow.cpp:810
#31 0x00007fb9d6e08f3c in Kontact::MainWindow::loadSettings (this=this@entry=0x8d9e20) at ../../../kontact/src/mainwindow.cpp:981
#32 0x00007fb9d6e0e5b2 in Kontact::MainWindow::initObject (this=this@entry=0x8d9e20) at ../../../kontact/src/mainwindow.cpp:247
#33 0x00007fb9d6e0ecb8 in Kontact::MainWindow::MainWindow (this=0x8d9e20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:154
#34 0x0000000000404084 in KontactApp::newInstance (this=0x7ffce92cb780) at ../../../kontact/src/main.cpp:135
#35 0x00007fb9d69cff6a in KUniqueApplicationAdaptor::newInstance (this=0xb7eb70, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#36 0x00007fb9d69cffe5 in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0xb7eb70, _id=_id@entry=0, _a=_a@entry=0x7ffce92cad70, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:57
#37 0x00007fb9d69d0203 in qt_static_metacall (_a=0x7ffce92cad70, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0xb7eb70) at ./kuniqueapplication_p.moc:100
#38 KUniqueApplicationAdaptor::qt_metacall (this=0xb7eb70, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffce92cad70) at ./kuniqueapplication_p.moc:101
#39 0x00007fb9d3eed1f6 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x8b5760, object=object@entry=0xb7eb70, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#40 0x00007fb9d3eee2f9 in QDBusConnectionPrivate::activateCall (this=this@entry=0x8b5760, object=0xb7eb70, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#41 0x00007fb9d3eeeddd in QDBusConnectionPrivate::activateObject (this=0x8b5760, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#42 0x00007fb9d3eeeeab in QDBusActivateObjectEvent::placeMetaCall (this=0xb954f0) at qdbusintegrator.cpp:1541
#43 0x00007fb9d52e3c1e in QObject::event (this=this@entry=0x7ffce92cb780, e=e@entry=0xb954f0) at kernel/qobject.cpp:1194
#44 0x00007fb9d52cfcfc in QCoreApplication::event (this=this@entry=0x7ffce92cb780, e=e@entry=0xb954f0) at kernel/qcoreapplication.cpp:1765
#45 0x00007fb9d5cc2ed3 in QApplication::event (this=0x7ffce92cb780, e=0xb954f0) at kernel/qapplication.cpp:2549
#46 0x00007fb9d5cbde2c in QApplicationPrivate::notify_helper (this=this@entry=0x8d0190, receiver=receiver@entry=0x7ffce92cb780, e=e@entry=0xb954f0) at kernel/qapplication.cpp:4567
#47 0x00007fb9d5cc44a0 in QApplication::notify (this=this@entry=0x7ffce92cb780, receiver=receiver@entry=0x7ffce92cb780, e=e@entry=0xb954f0) at kernel/qapplication.cpp:4353
#48 0x00007fb9d69c8d1a in KApplication::notify (this=0x7ffce92cb780, receiver=0x7ffce92cb780, event=0xb954f0) at ../../kdeui/kernel/kapplication.cpp:311
#49 0x00007fb9d52cb4dd in QCoreApplication::notifyInternal (this=0x7ffce92cb780, receiver=receiver@entry=0x7ffce92cb780, event=event@entry=0xb954f0) at kernel/qcoreapplication.cpp:953
#50 0x00007fb9d52ceb3d in sendEvent (event=0xb954f0, receiver=0x7ffce92cb780) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x8932b0) at kernel/qcoreapplication.cpp:1577
#52 0x00007fb9d52cefe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#53 0x00007fb9d52f8f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#54 postEventSourceDispatch (s=0x8cd540) at kernel/qeventdispatcher_glib.cpp:287
#55 0x00007fb9ce5eee04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007fb9ce5ef048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007fb9ce5ef0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007fb9d52f87a1 in QEventDispatcherGlib::processEvents (this=0x894bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#59 0x00007fb9d5d5fbe6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007fb9d52ca0af in QEventLoop::processEvents (this=this@entry=0x7ffce92cb680, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007fb9d52ca3a5 in QEventLoop::exec (this=this@entry=0x7ffce92cb680, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007fb9d52cfb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#63 0x00007fb9d5cbc37c in QApplication::exec () at kernel/qapplication.cpp:3828
#64 0x0000000000403660 in main (argc=1, argv=0x7ffce92cb8c8) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 321555.

Reported using DrKonqi
Comment 1 Laurent Montel 2015-11-17 10:16:06 UTC
Please test new version 4.13.3 is very old.
Actually we will release 5.1.0
And last 4.x version is 4.14.11
Regards
Comment 2 ewandor 2015-11-17 10:52:43 UTC
Thank you for your quick answer.
Acutally 4.13.3 is the version shipped with the current kubuntu LTS.
I guess I'll have to check with them then.

Regards
Comment 3 Laurent Montel 2015-11-17 10:55:57 UTC
*** Bug 355481 has been marked as a duplicate of this bug. ***
Comment 4 ewandor 2015-11-17 13:10:10 UTC
Created attachment 95562 [details]
New crash information added by DrKonqi

kontact (4.14.3) on KDE Platform 4.14.13 using Qt 4.8.6

Here is the same problem with the 4.14.3

- What I was doing when the application crashed:
Just launching Kontact normaly

-- Backtrace (Reduced):
#6  0x00007fad654df5c3 in QTextLayout::position (this=this@entry=0x266a8f0) at text/qtextlayout.cpp:876
#7  0x00007fad6551d317 in QTextDocumentLayoutPrivate::layoutBlock (this=this@entry=0x223c190, bl=..., blockPosition=blockPosition@entry=6702, blockFormat=..., layoutStruct=layoutStruct@entry=0x7ffd21603750, layoutFrom=layoutFrom@entry=818, layoutTo=layoutTo@entry=819, previousBlockFormat=previousBlockFormat@entry=0x7ffd216034b0) at text/qtextdocumentlayout.cpp:2572
#8  0x00007fad655256a3 in QTextDocumentLayoutPrivate::layoutFlow (this=this@entry=0x223c190, it=..., layoutStruct=layoutStruct@entry=0x7ffd21603750, layoutFrom=layoutFrom@entry=818, layoutTo=layoutTo@entry=819, width=..., width@entry=...) at text/qtextdocumentlayout.cpp:2415
#9  0x00007fad6552403d in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x223c190, f=f@entry=0x20f2e60, layoutFrom=layoutFrom@entry=818, layoutTo=layoutTo@entry=819, frameWidth=..., frameWidth@entry=..., frameHeight=..., parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2156
#10 0x00007fad6552470d in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x223c190, f=f@entry=0x20f2e60, layoutFrom=layoutFrom@entry=818, layoutTo=layoutTo@entry=819, parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2062
Comment 5 Klos 2016-09-20 20:40:07 UTC
Created attachment 101204 [details]
New crash information added by DrKonqi

kontact (4.14.2) on KDE Platform 4.14.2 using Qt 4.8.6

Kontact crashes on startup

-- Backtrace (Reduced):
#6  0x00007fd3958a35c3 in QTextLayout::position (this=this@entry=0x2211a10) at text/qtextlayout.cpp:876
#7  0x00007fd3958e1317 in QTextDocumentLayoutPrivate::layoutBlock (this=this@entry=0x1d36420, bl=..., blockPosition=blockPosition@entry=1377, blockFormat=..., layoutStruct=layoutStruct@entry=0x7fffc4e82c40, layoutFrom=layoutFrom@entry=67, layoutTo=layoutTo@entry=68, previousBlockFormat=previousBlockFormat@entry=0x7fffc4e826d0) at text/qtextdocumentlayout.cpp:2572
#8  0x00007fd3958e96a3 in QTextDocumentLayoutPrivate::layoutFlow (this=this@entry=0x1d36420, it=..., layoutStruct=layoutStruct@entry=0x7fffc4e82c40, layoutFrom=layoutFrom@entry=67, layoutTo=layoutTo@entry=68, width=..., width@entry=...) at text/qtextdocumentlayout.cpp:2415
#9  0x00007fd3958e4d44 in QTextDocumentLayoutPrivate::layoutCell (this=this@entry=0x1d36420, t=t@entry=0x2227000, cell=..., width=..., width@entry=..., layoutFrom=layoutFrom@entry=67, layoutTo=layoutTo@entry=68, td=td@entry=0x2245e50, absoluteTableY=absoluteTableY@entry=..., withPageBreaks=withPageBreaks@entry=false) at text/qtextdocumentlayout.cpp:1545
#10 0x00007fd3958e583c in QTextDocumentLayoutPrivate::layoutTable (this=this@entry=0x1d36420, table=0x2227000, layoutFrom=layoutFrom@entry=67, layoutTo=layoutTo@entry=68, parentY=..., parentY@entry=...) at text/qtextdocumentlayout.cpp:1655