Bug 321555 - Kontact crashes after last kubuntu apt upgrage
Summary: Kontact crashes after last kubuntu apt upgrage
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.10.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 318889 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-24 11:08 UTC by carlo.tognetti
Modified: 2017-01-07 22:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.66 KB, text/plain)
2013-06-24 14:21 UTC, carlo.tognetti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description carlo.tognetti 2013-06-24 11:08:48 UTC
Application: kontact (4.10.4)
KDE Platform Version: 4.10.4
Qt Version: 4.8.4
Operating System: Linux 3.8.0-26-generic x86_64
Distribution: Ubuntu 13.04

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

I had just apdated my system via muon.
Maybe the update package involved is qt4 

Even is I rebooted, kontact crasces everytime I try to start it up.

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 0x7f47ed90f7c0 (LWP 5019))]

Thread 4 (Thread 0x7f47cf0f2700 (LWP 5020)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f47ea0a4575 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f47ea0a45c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f47e4afbf8e in start_thread (arg=0x7f47cf0f2700) at pthread_create.c:311
#4  0x00007f47eae9ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f478e7ef700 (LWP 5021)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f47e9dea9f9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f47ea0d2cde in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f47e4afbf8e in start_thread (arg=0x7f478e7ef700) at pthread_create.c:311
#4  0x00007f47eae9ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f4780ece700 (LWP 5024)):
#0  0x00007f47e44781f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f47e4478979 in g_private_get () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47e445d390 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47e44392f5 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f47ec2c2036 in QEventDispatcherGlib::processEvents (this=0x7f477c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f47ec29238f in QEventLoop::processEvents (this=this@entry=0x7f4780ecdd90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f47ec292618 in QEventLoop::exec (this=this@entry=0x7f4780ecdd90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f47ec194410 in QThread::exec (this=this@entry=0xec53b0) at thread/qthread.cpp:542
#8  0x00007f47ec273edf in QInotifyFileSystemWatcherEngine::run (this=0xec53b0) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f47ec196bec in QThreadPrivate::start (arg=0xec53b0) at thread/qthread_unix.cpp:338
#10 0x00007f47e4afbf8e in start_thread (arg=0x7f4780ece700) at pthread_create.c:311
#11 0x00007f47eae9ce1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f47ed90f7c0 (LWP 5019)):
[KCrash Handler]
#6  0x00007f47eb899db3 in QTextLayout::position (this=this@entry=0xe49140) at text/qtextlayout.cpp:875
#7  0x00007f47eb8d6822 in QTextDocumentLayoutPrivate::layoutBlock (this=this@entry=0xf21dd0, bl=..., blockPosition=blockPosition@entry=2807, blockFormat=..., layoutStruct=layoutStruct@entry=0x7fff1f46a6d0, layoutFrom=layoutFrom@entry=298, layoutTo=layoutTo@entry=299, previousBlockFormat=previousBlockFormat@entry=0x7fff1f46a370) at text/qtextdocumentlayout.cpp:2559
#8  0x00007f47eb8de9c0 in QTextDocumentLayoutPrivate::layoutFlow (this=this@entry=0xf21dd0, it=..., layoutStruct=layoutStruct@entry=0x7fff1f46a6d0, layoutFrom=layoutFrom@entry=298, layoutTo=layoutTo@entry=299, width=width@entry=...) at text/qtextdocumentlayout.cpp:2402
#9  0x00007f47eb8dd517 in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0xf21dd0, f=f@entry=0xcd70e0, layoutFrom=layoutFrom@entry=298, layoutTo=layoutTo@entry=299, frameWidth=..., frameWidth@entry=..., frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2143
#10 0x00007f47eb8dda2f in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0xf21dd0, f=f@entry=0xcd70e0, layoutFrom=layoutFrom@entry=298, layoutTo=layoutTo@entry=299, parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2049
#11 0x00007f47eb8dfd71 in QTextDocumentLayout::doLayout (this=this@entry=0xd41a70, from=from@entry=298, oldLength=oldLength@entry=0, length=length@entry=1) at text/qtextdocumentlayout.cpp:2939
#12 0x00007f47eb8e0b29 in QTextDocumentLayout::documentChanged (this=0xd41a70, from=298, oldLength=0, length=1) at text/qtextdocumentlayout.cpp:2902
#13 0x00007f47eb8c0a56 in QTextDocumentPrivate::finishEdit (this=this@entry=0xf20010) at text/qtextdocument_p.cpp:1220
#14 0x00007f47eb8c3940 in QTextDocumentPrivate::insert (this=0xf20010, pos=pos@entry=298, strPos=strPos@entry=3523, strLength=strLength@entry=1, format=format@entry=79) at text/qtextdocument_p.cpp:473
#15 0x00007f47eb8e7eab in QTextCursor::insertText (this=this@entry=0x7fff1f46ab60, text=..., _format=...) at text/qtextcursor.cpp:1481
#16 0x00007f47eb8e7f2f in QTextCursor::insertImage (this=this@entry=0x7fff1f46ab60, format=...) at text/qtextcursor.cpp:2308
#17 0x00007f478c017b07 in KPIMTextEdit::TextEdit::loadImage (this=0xf1b130, image=..., matchName=..., resourceName=...) at ../../kpimtextedit/textedit.cpp:526
#18 0x00007f4785aeeec8 in Message::ComposerViewBase::collectImages (this=this@entry=0xe999d0, root=<optimized out>) at ../../messagecomposer/composerviewbase.cpp:1506
#19 0x00007f4785af7a01 in Message::ComposerViewBase::setMessage (this=0xe999d0, msg=...) at ../../messagecomposer/composerviewbase.cpp:181
#20 0x00007f47864abf96 in KMComposeWin::setMessage (this=0xe0a290, newMsg=..., lastSignState=<optimized out>, lastEncryptState=<optimized out>, mayAutoSign=false, allowDecryption=<optimized out>, isModified=false) at ../../kmail/kmcomposewin.cpp:1555
#21 0x00007f47864264e3 in KMKernel::recoverDeadLetters (this=this@entry=0xd772d0) at ../../kmail/kmkernel.cpp:1163
#22 0x00007f478679a4a8 in KMailPart::KMailPart (this=this@entry=0xbfbb90, parentWidget=parentWidget@entry=0x9bfb20, parent=parent@entry=0x9bfb20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:81
#23 0x00007f478679bbdf in KPluginFactory::createPartInstance<KMailPart> (parentWidget=0x9bfb20, parent=0x9bfb20, args=...) at /usr/include/kpluginfactory.h:483
#24 0x00007f47ec7f52f5 in KPluginFactory::create (this=0xc07e30, iface=0x7f47eab92620 <qt_meta_stringdata_KParts__ReadOnlyPart> "KParts::ReadOnlyPart", parentWidget=0x9bfb20, parent=0x9bfb20, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#25 0x00007f47ed10700f in create<KParts::ReadOnlyPart> (args=..., parent=0x9bfb20, this=<optimized out>) at /usr/include/kpluginfactory.h:507
#26 KontactInterface::Core::createPart (this=0x9bfb20, libname=0xbc3438 "kmailpart") at ../../kontactinterface/core.cpp:87
#27 0x00007f47ed10807e in KontactInterface::Plugin::loadPart (this=this@entry=0xbbd440) at ../../kontactinterface/plugin.cpp:153
#28 0x00007f4787750600 in KMailPlugin::createPart (this=0xbbd440) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:183
#29 0x00007f47ed109259 in KontactInterface::Plugin::part (this=0xbbd440) at ../../kontactinterface/plugin.cpp:192
#30 0x00007f47ed53fe5a in Kontact::MainWindow::selectPlugin (this=0x9bfb20, plugin=0x1033) at ../../../kontact/src/mainwindow.cpp:808
#31 0x00007f47ed53f794 in Kontact::MainWindow::loadSettings (this=this@entry=0x9bfb20) at ../../../kontact/src/mainwindow.cpp:975
#32 0x00007f47ed544a13 in Kontact::MainWindow::initObject (this=this@entry=0x9bfb20) at ../../../kontact/src/mainwindow.cpp:246
#33 0x00007f47ed54502a in Kontact::MainWindow::MainWindow (this=0x9bfb20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:153
#34 0x0000000000403ed4 in KontactApp::newInstance (this=0x7fff1f46cd80) at ../../../kontact/src/main.cpp:135
#35 0x00007f47eccdfd92 in KUniqueApplicationAdaptor::newInstance (this=0x9bcb90, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#36 0x00007f47eccdfe14 in qt_static_metacall (_a=0x7fff1f46bfc0, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#37 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff1f46bfc0) at ./kuniqueapplication_p.moc:52
#38 0x00007f47eccdff4b in KUniqueApplicationAdaptor::qt_metacall (this=0x9bcb90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff1f46bfc0) at ./kuniqueapplication_p.moc:102
#39 0x00007f47e7806063 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x7e2200, object=object@entry=0x9bcb90, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#40 0x00007f47e7806886 in QDBusConnectionPrivate::activateCall (this=this@entry=0x7e2200, object=0x9bcb90, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#41 0x00007f47e78072cf in QDBusConnectionPrivate::activateObject (this=0x7e2200, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#42 0x00007f47e78073ab in QDBusActivateObjectEvent::placeMetaCall (this=0x94b650) at qdbusintegrator.cpp:1541
#43 0x00007f47ec2ad5be in QObject::event (this=this@entry=0x7fff1f46cd80, e=e@entry=0x94b650) at kernel/qobject.cpp:1194
#44 0x00007f47ec297f8c in QCoreApplication::event (this=this@entry=0x7fff1f46cd80, e=e@entry=0x94b650) at kernel/qcoreapplication.cpp:1758
#45 0x00007f47eb641314 in QApplication::event (this=0x7fff1f46cd80, e=0x94b650) at kernel/qapplication.cpp:2549
#46 0x00007f47eb6398ec in QApplicationPrivate::notify_helper (this=this@entry=0x7fe450, receiver=receiver@entry=0x7fff1f46cd80, e=e@entry=0x94b650) at kernel/qapplication.cpp:4567
#47 0x00007f47eb63c25b in QApplication::notify (this=this@entry=0x7fff1f46cd80, receiver=receiver@entry=0x7fff1f46cd80, e=e@entry=0x94b650) at kernel/qapplication.cpp:4428
#48 0x00007f47eccdcaf6 in KApplication::notify (this=0x7fff1f46cd80, receiver=0x7fff1f46cd80, event=0x94b650) at ../../kdeui/kernel/kapplication.cpp:311
#49 0x00007f47ec29363e in QCoreApplication::notifyInternal (this=0x7fff1f46cd80, receiver=receiver@entry=0x7fff1f46cd80, event=event@entry=0x94b650) at kernel/qcoreapplication.cpp:946
#50 0x00007f47ec297171 in sendEvent (event=0x94b650, receiver=0x7fff1f46cd80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x7b56a0) at kernel/qcoreapplication.cpp:1570
#52 0x00007f47ec2974a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#53 0x00007f47ec2c1e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#54 postEventSourceDispatch (s=0x7f7e20) at kernel/qeventdispatcher_glib.cpp:279
#55 0x00007f47e4438f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f47e4439248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f47e4439304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f47ec2c2016 in QEventDispatcherGlib::processEvents (this=0x7b6b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#59 0x00007f47eb6df13e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007f47ec29238f in QEventLoop::processEvents (this=this@entry=0x7fff1f46cbf0, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007f47ec292618 in QEventLoop::exec (this=this@entry=0x7fff1f46cbf0, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007f47ec297cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#63 0x00007f47eb637ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#64 0x00000000004033a9 in main (argc=1, argv=0x7fff1f46cec8) at ../../../kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 carlo.tognetti 2013-06-24 14:21:25 UTC
Created attachment 80746 [details]
New crash information added by DrKonqi

kontact (4.10.4) on KDE Platform 4.10.4 using Qt 4.8.4

- What I was doing when the application crashed:
I tried to replay to a specific e-mail I received.
The previuos bug-post came from me. I thought it was related to the qt4 upgrade, but now I relize that kmail didn't start because in  .kde/share/apps/kmail2/autosave there was the e-mail I tried to reply to. Infact, if I remove the e-mail from the autosave directory kmail starts again. But, as soon as I try to replay to that e-mail, kmail crashes again.

-- Backtrace (Reduced):
#6  0x00007fc0c773cdb3 in QTextLayout::position (this=this@entry=0x3ced5e0) at text/qtextlayout.cpp:875
#7  0x00007fc0c7779822 in QTextDocumentLayoutPrivate::layoutBlock (this=this@entry=0x3bfe6f0, bl=..., blockPosition=blockPosition@entry=2808, blockFormat=..., layoutStruct=layoutStruct@entry=0x7fffc13f3850, layoutFrom=layoutFrom@entry=298, layoutTo=layoutTo@entry=299, previousBlockFormat=previousBlockFormat@entry=0x7fffc13f34f0) at text/qtextdocumentlayout.cpp:2559
#8  0x00007fc0c77819c0 in QTextDocumentLayoutPrivate::layoutFlow (this=this@entry=0x3bfe6f0, it=..., layoutStruct=layoutStruct@entry=0x7fffc13f3850, layoutFrom=layoutFrom@entry=298, layoutTo=layoutTo@entry=299, width=width@entry=...) at text/qtextdocumentlayout.cpp:2402
#9  0x00007fc0c7780517 in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x3bfe6f0, f=f@entry=0x3bfe850, layoutFrom=layoutFrom@entry=298, layoutTo=layoutTo@entry=299, frameWidth=..., frameWidth@entry=..., frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2143
#10 0x00007fc0c7780a2f in QTextDocumentLayoutPrivate::layoutFrame (this=this@entry=0x3bfe6f0, f=f@entry=0x3bfe850, layoutFrom=layoutFrom@entry=298, layoutTo=layoutTo@entry=299, parentY=parentY@entry=...) at text/qtextdocumentlayout.cpp:2049
Comment 2 Jekyll Wu 2013-09-27 23:55:39 UTC
*** Bug 318889 has been marked as a duplicate of this bug. ***
Comment 3 Denis Kurz 2016-09-24 19:30:40 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 4 Denis Kurz 2017-01-07 22:28:56 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.