From kde-bugs-dist Fri Mar 30 07:27:32 2012 From: Thorsten Schnebeck Date: Fri, 30 Mar 2012 07:27:32 +0000 To: kde-bugs-dist Subject: [Bug 287856] Kmail crash changing email account Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=133309253732528 https://bugs.kde.org/show_bug.cgi?id=287856 Thorsten Schnebeck changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thorsten.schnebeck@gmx.net --- Comment #29 from Thorsten Schnebeck --- Thread 1 (Thread 0xb26b4730 (LWP 7190)): [KCrash Handler] #7 0xb6c2fbe1 in QTextLine::cursorToX (this=0xbff5bdb0, cursorPos=0xbff5bdc8, edge=QTextLine::Leading) at text/qtextlayout.cpp:2511 #8 0xb6c0ae4a in cursorToX (edge=QTextLine::Leading, cursorPos=0, this=0xbff5bdb0) at ../../include/QtGui/../../src/gui/text/qtextlayout.h:230 #9 QTextControlPrivate::rectForPosition (this=0xa3612e0, position=585) at text/qtextcontrol.cpp:1368 #10 0xb6c0ef90 in QTextControl::ensureCursorVisible (this=0xa0fc3f8) at text/qtextcontrol.cpp:2950 #11 0xb6c131dd in QTextControl::setTextCursor (this=0xa0fc3f8, cursor=...) at text/qtextcontrol.cpp:833 #12 0xb6e7db0c in QTextEdit::setTextCursor (this=0xa4e0ed8, cursor=...) at widgets/qtextedit.cpp:805 #13 0xadebf7d4 in Message::KMeditor::replaceSignature (this=0xa4e0ed8, oldSig=..., newSig=...) at ../../messagecomposer/kmeditor.cpp:708 Here I can reduce the problem to the plain text signature. When the signature ends with a CR -> no crash, no CR -> crash The BT was generated when forwarding in text using an identity with signature: Enchant dict for "de_DE" 0x9f027f8 *** KMail got signal 11 (Exiting) *** Dead letters dumped. KCrash: Application 'kontact' crashing... When restarting kontact the dead letter opens (text only message) but the formatting is broken. It looks like the max line length is set to 16 + wordwrap + CR after each line. HTH Thorsten -- You are receiving this mail because: You are watching all bug changes.