Bug 321929 - KMail crahsed and doesn't comes aup again
Summary: KMail crahsed and doesn't comes aup again
Status: CLOSED DUPLICATE of bug 316775
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.9.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-03 21:58 UTC by Hans-Peter Frank
Modified: 2013-07-18 19:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Peter Frank 2013-07-03 21:58:54 UTC
Application: kmail (4.9.5)
KDE Platform Version: 4.9.5
Qt Version: 4.8.3
Operating System: Linux 3.5.0-34-generic x86_64
Distribution: Ubuntu 12.10

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

I think i tried answering an email by clicking the reply button. 
Kmail crashed and didn't come up again. Afte reach start it hangs until timeout.

I think also i got some Qt related errors starting in the console.

It's possible that the html part of the shown message included something strange, maybe its an akonadi problem?

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f496b93a7c0 (LWP 2873))]

Thread 2 (Thread 0x7f4961837700 (LWP 2883)):
#0  0x00007f4981f7e313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f497a42ad84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f497a42aea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4982914c16 in QEventDispatcherGlib::processEvents (this=0x7f49540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f49828e52bf in QEventLoop::processEvents (this=this@entry=0x7f4961836d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f49828e5548 in QEventLoop::exec (this=0x7f4961836d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f49827e6b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f49828c59af in QInotifyFileSystemWatcherEngine::run (this=0xe18b50) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f49827e9aec in QThreadPrivate::start (arg=0xe18b50) at thread/qthread_unix.cpp:338
#9  0x00007f497f83de9a in start_thread (arg=0x7f4961837700) at pthread_create.c:308
#10 0x00007f4981f89ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f496b93a7c0 (LWP 2873)):
[KCrash Handler]
#6  0x00007f4981ecc425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f4981ecfb8b in __GI_abort () at abort.c:91
#8  0x00007f4981f0a39e in __libc_message (do_abort=2, fmt=0x7f4982014028 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007f4981f14b96 in malloc_printerr (action=3, str=0x7f49820141f0 "free(): invalid next size (fast)", ptr=<optimized out>) at malloc.c:5018
#10 0x00007f4983068885 in free (alignment=8, x=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:99
#11 free (x=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:468
#12 operator= (v=..., this=0xf6c020) at ../../include/QtCore/../../src/corelib/tools/qvector.h:395
#13 clear (this=0xf6c020) at ../../include/QtCore/../../src/corelib/tools/qvector.h:348
#14 QTextEngine::clearLineData (this=0xf6c020) at text/qtextengine.cpp:1483
#15 0x00007f49830b142d in QTextDocumentLayout::documentChanged (this=0xed2e00, from=0, oldLength=0, length=7284) at text/qtextdocumentlayout.cpp:2869
#16 0x00007f4983273eec in QTextEditPrivate::relayoutDocument (this=this@entry=0xed4020) at widgets/qtextedit.cpp:1438
#17 0x00007f498327429a in _q_adjustScrollbars (this=0xed4020) at widgets/qtextedit.cpp:297
#18 QTextEditPrivate::_q_adjustScrollbars (this=0xed4020) at widgets/qtextedit.cpp:258
#19 0x00007f4983276ae0 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qtextedit.cpp:213
#20 QTextEdit::qt_static_metacall (_o=0xb39, _c=2873, _id=6, _a=0xffffffffffffffff) at .moc/release-shared/moc_qtextedit.cpp:166
#21 0x00007f49828fbf5f in QMetaObject::activate (sender=0xed7b70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa5b87820) at kernel/qobject.cpp:3547
#22 0x00007f49830532c5 in QTextControl::documentSizeChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qtextcontrol_p.cpp:309
#23 0x00007f4983059d4d in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qtextcontrol_p.cpp:140
#24 QTextControl::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qtextcontrol_p.cpp:125
#25 0x00007f49828fbf5f in QMetaObject::activate (sender=0xed2e00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa5b87990) at kernel/qobject.cpp:3547
#26 0x00007f49830a14d5 in QAbstractTextDocumentLayout::documentSizeChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qabstracttextdocumentlayout.cpp:137
#27 0x00007f49830b1829 in QTextDocumentLayout::documentChanged (this=0xed2e00, from=<optimized out>, oldLength=1, length=0) at text/qtextdocumentlayout.cpp:2914
#28 0x00007f4983091284 in QTextDocumentPrivate::finishEdit (this=0xed7ee0) at text/qtextdocument_p.cpp:1220
#29 0x00007f49830b7045 in removeSelectedText (this=<optimized out>) at text/qtextcursor.cpp:1662
#30 QTextCursor::removeSelectedText (this=0x7fffa5b87b60) at text/qtextcursor.cpp:1655
#31 0x00007f497b91bab8 in KPIMTextEdit::TextEdit::loadImage (this=0xed2c30, image=..., matchName=..., resourceName=...) at ../../kpimtextedit/textedit.cpp:434
#32 0x00007f497e16db88 in Message::ComposerViewBase::collectImages (this=this@entry=0xcb66e0, root=<optimized out>) at ../../messagecomposer/composerviewbase.cpp:1336
#33 0x00007f497e176ff9 in Message::ComposerViewBase::setMessage (this=0xcb66e0, msg=...) at ../../messagecomposer/composerviewbase.cpp:180
#34 0x00007f4983a4ef66 in KMComposeWin::setMessage (this=0xcb4480, newMsg=..., lastSignState=<optimized out>, lastEncryptState=<optimized out>, mayAutoSign=false, allowDecryption=<optimized out>, isModified=false) at ../../kmail/kmcomposewin.cpp:1509
#35 0x00007f49839d48d3 in KMKernel::recoverDeadLetters (this=<optimized out>) at ../../kmail/kmkernel.cpp:1150
#36 0x0000000000402ca5 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:138

Possible duplicates by query: bug 321465, bug 321000, bug 320526, bug 320128, bug 316775.

Reported using DrKonqi
Comment 1 Laurent Montel 2013-07-04 06:05:12 UTC

*** This bug has been marked as a duplicate of bug 316775 ***
Comment 2 Hans-Peter Frank 2013-07-06 21:01:15 UTC
Ok, it's working again.

I had a "lock" file and deleted it. Also there were some open drafts in autosave. I also deleted them.
After this kmail didn't came up.

Then i also disabled all nepomuk features and made a system restart.
Now, kmail is coming up again and looks fine.

Thread can be closed!
Comment 3 Nicolás Mosconi 2013-07-18 19:15:02 UTC
I had exactly the same problem, the solution was removing all the files in .kde/share/apps/kmail2/autosave/