Bug 296115 - Kontact crashes when pressing r for reply
Summary: Kontact crashes when pressing r for reply
Status: RESOLVED DUPLICATE of bug 287856
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-15 23:44 UTC by Nathan O'Brennan
Modified: 2012-04-19 06:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (12.11 KB, text/plain)
2012-04-19 06:08 UTC, F Hammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan O'Brennan 2012-03-15 23:44:14 UTC
Application: kontact (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.7-PlaxOS i686

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

While viewing the message in the preview window, I press the 'r' key to reply to the message and Kontact immediately crashes. I have duplicated this a dozen times. I deleted my .kde folder and setup kmail to access all my imap directories and it works again for a short period of time then it begins crashing when attempting to reply to any message.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb1ace720 (LWP 28071))]

Thread 4 (Thread 0xb08b7b70 (LWP 28072)):
#0  0xb7773424 in __kernel_vsyscall ()
#1  0xb3dcc7fb in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6fd9db3 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0xb6fd9ecf in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb3dc8c20 in start_thread () from /lib/libpthread.so.0
#5  0xb3b5c24e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaff76b70 (LWP 28073)):
#0  0xb7773424 in __kernel_vsyscall ()
#1  0xb3b52fce in poll () from /lib/libc.so.6
#2  0xb34ba42b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb34abb66 in g_main_context_iterate.isra.19 () from /usr/lib/libglib-2.0.so.0
#4  0xb34abeea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb3fa7e27 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb3f6fd3d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb3f6ffd9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb3e4ceed in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb3e4cfbb in QThread::run() () from /usr/lib/libQtCore.so.4
#10 0xb3e501ea in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4
#11 0xb3dc8c20 in start_thread () from /lib/libpthread.so.0
#12 0xb3b5c24e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xac168b70 (LWP 28249)):
#0  0xb7773424 in __kernel_vsyscall ()
#1  0xb3dccba3 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb3e50712 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb3e429b4 in QThreadPoolThread::run() () from /usr/lib/libQtCore.so.4
#4  0xb3e501ea in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4
#5  0xb3dc8c20 in start_thread () from /lib/libpthread.so.0
#6  0xb3b5c24e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb1ace720 (LWP 28071)):
[KCrash Handler]
#7  0xb49496bb in QTextLine::cursorToX(int*, QTextLine::Edge) const () from /usr/lib/libQtGui.so.4
#8  0xb4920a0a in QTextControlPrivate::rectForPosition(int) const () from /usr/lib/libQtGui.so.4
#9  0xb4924c50 in QTextControl::ensureCursorVisible() () from /usr/lib/libQtGui.so.4
#10 0xb4928fdd in QTextControl::setTextCursor(QTextCursor const&) () from /usr/lib/libQtGui.so.4
#11 0xb4bc764c in QTextEdit::setTextCursor(QTextCursor const&) () from /usr/lib/libQtGui.so.4
#12 0xae3174e4 in Message::KMeditor::replaceSignature(KPIMIdentities::Signature const&, KPIMIdentities::Signature const&) () from /usr/lib/libmessagecomposer.so.4
#13 0xae30587b in Message::ComposerViewBase::identityChanged(KPIMIdentities::Identity const&, KPIMIdentities::Identity const&) () from /usr/lib/libmessagecomposer.so.4
#14 0xae651f5b in KMComposeWin::slotIdentityChanged(unsigned int, bool) () from /usr/lib/libkmailprivate.so.4
#15 0xae652ecc in KMComposeWin::setMsg(boost::shared_ptr<KMime::Message> const&, bool, bool, bool) () from /usr/lib/libkmailprivate.so.4
#16 0xae6566b1 in KMComposeWin::KMComposeWin(boost::shared_ptr<KMime::Message> const&, KMail::Composer::TemplateContext, unsigned int, QString const&, QString const&) () from /usr/lib/libkmailprivate.so.4
#17 0xae6575a4 in KMComposeWin::create(boost::shared_ptr<KMime::Message> const&, KMail::Composer::TemplateContext, unsigned int, QString const&, QString const&) () from /usr/lib/libkmailprivate.so.4
#18 0xae5e5915 in KMReplyCommand::execute() () from /usr/lib/libkmailprivate.so.4
#19 0xae5e4770 in KMCommand::slotPostTransfer(KMCommand::Result) () from /usr/lib/libkmailprivate.so.4
#20 0xae5ea659 in KMCommand::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#21 0xb3f89849 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#22 0xae5e44f5 in KMCommand::messagesTransfered(KMCommand::Result) () from /usr/lib/libkmailprivate.so.4
#23 0xae5e9e5f in KMCommand::slotJobFinished() () from /usr/lib/libkmailprivate.so.4
#24 0xae5ea628 in KMCommand::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#25 0xb3f89849 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#26 0xb4207415 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#27 0xb4207468 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#28 0xb2d7748e in Akonadi::JobPrivate::delayedEmitResult() () from /usr/lib/libakonadi-kde.so.4
#29 0xb3f84c01 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#30 0xb3f8f05b in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#31 0xb467225c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#32 0xb46782dd in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#33 0xb52e0e41 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#34 0xb3f719de in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#35 0xb3f757a0 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#36 0xb3f75b6c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#37 0xb3fa7934 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib/libQtCore.so.4
#38 0xb34ab52f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0xb34abc60 in g_main_context_iterate.isra.19 () from /usr/lib/libglib-2.0.so.0
#40 0xb34abeea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0xb3fa7dc7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#42 0xb4734d2a in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtGui.so.4
#43 0xb3f6fd3d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0xb3f6ffd9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#45 0xb3f75c1a in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#46 0xb4670094 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#47 0x0804b041 in main ()

Possible duplicates by query: bug 295216, bug 294916, bug 293780, bug 291583, bug 290651.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-03-16 00:47:23 UTC

*** This bug has been marked as a duplicate of bug 287856 ***
Comment 2 F Hammer 2012-04-19 06:08:37 UTC
Created attachment 70496 [details]
New crash information added by DrKonqi

kontact (4.8.0) on KDE Platform 4.8.1 (4.8.1) "release 2" using Qt 4.8.0

I'am also pressing "r" to reply a mail. Then kmail crashes! It is reproduceable every time.
This is the source of the mail i want to reply:

Return-path: <[...]>
Delivery-date: Wed, 18 Apr 2012 14:25:52 +0200
Received: from mi012.mc1.hosteurope.de ([80.237.138.243])
	by vwp2527.webpack.hosteurope.de running ExIM with esmtp
	id 1SKTxI-0007F1-Q8; Wed, 18 Apr 2012 14:25:52 +0200
Received: from mout.web.de ([212.227.17.11])
	by mx0.webpack.hosteurope.de (mi012.mc1.hosteurope.de) with esmtp
	id 1SKTxI-0004zW-8z
	for [...]; Wed, 18 Apr 2012 14:25:52 +0200
Received: from mail.paganino.de ([80.153.177.254]) by mx-ha.web.de (mxweb007)
 with ESMTP (Nemesis) id 0Lanwe-1Rriic0dw0-00kxOI for <[...]>;
 Wed, 18 Apr 2012 14:25:52 +0200
Received: from PAGW105 ([192.168.0.105]) by mail.paganino.de with Microsoft SMTPSVC(6.0.3790.4675);
	 Wed, 18 Apr 2012 14:26:09 +0200
From: <info@paganino.de>
To: <[...]>
Subject: =?Windows-1252?Q?Paganino-Auftragsbest=E4tigung_Nr._508573-B_f=FCr_Klasse?=
	=?Windows-1252?Q?nmusizieren_Streicher?=
Date: Wed, 18 Apr 2012 14:26:09 +0200
Message-ID: <7B86F42B2E874B0CB09B7AEF7ED724DE@Paganino.local>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_001E_01CD1D6F.32CC5640"
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
X-OriginalArrivalTime: 18 Apr 2012 12:26:09.0461 (UTC) FILETIME=[6F461E50:01CD1D5E]
X-UI-FORWARD: [...] -> [...]
X-HE-Virus-Scanned: Yes
X-HE-Spam-Level: /
X-HE-Spam-Score: 0.6
X-HE-Spam-Report: Content analysis details:   (0.6 points)
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
                             trust
                             [212.227.17.11 listed in list.dnswl.org]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail provider
                             ([...])
  0.6 J_CHICKENPOX_43        BODY: 4alpha-pock-3alpha
  0.0 T_FRT_CONTACT          BODY: ReplaceTags: Contact
  0.0 T_FREEMAIL_DOC_PDF     MS document or PDF attachment, from freemail
Envelope-to: felix@haemmerlinge.de

This is a multi-part message in MIME format.

------=_NextPart_000_001E_01CD1D6F.32CC5640
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

 =20

An:
Firma
[...]
hiermit best=E4tigen wir Ihre gestrige Bestellung der folgenden Artikel=
:

***********************************************************************=
*
****
Pos. best. Artikel  Bezeichnung
Brutto-=20
     Menge   Nr.                                                   prei=
s

***********************************************************************=
*
****
01     1   39      Versandkosten laut Webshop
2,95 =80
02     1   700498  PACATO Vinci Formetui Violine 4/4 blau
34,50 =80
***********************************************************************=
*
****
                                                Gesamtbetrag:
37,45 =80
***********************************************************************=
*
****
[...]

Paganino KG
Postfach 700 337
70573 Stuttgart
Tel. +49 (0)180 - 55 75 100 (14ct/min inkl. MwSt.aus dem Festnetz,
Mobilfunk max 42ct/min inkl. MwSt.)
Fax. 0800 - 785 0 785 (kostenlos im dt. Festnetz)
Email: info@paganino.de
Internet: www.paganino.de

Gesch=E4ftsf=FChrer:
Peter Weilacher
Handelsregister:
Amtsgericht Stuttgart, HRA-13337
USt.Id.Nr: DE 813333695

18.04.2012 14:22

****************************************
Diese Nachricht ist nur f=FCr den Empf=E4nger bestimmt. Sollten Sie die=
se
Nachricht
irrt=FCmlich erhalten haben oder nicht der Empf=E4nger sein, so
benachrichtigen Sie
uns bitte umgehend und l=F6schen Sie diese Nachricht.


------=_NextPart_000_001E_01CD1D6F.32CC5640
Content-Type: application/pdf;
	name="OnHold.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="OnHold.pdf"
[...]

i9JRCBbPDZDQzg2
OUMxNjBFQ0IwOUNDQTQ0OTYzMzNFNTQ2QTg4Pjw2Q0M4NjlDMTYwRUNCMDlDQ0E0NDk2MzMzRTU0
NkE4OD5dCj4+CnN0YXJ0eHJlZgo2MjM5NAolJUVPRgo=

------=_NextPart_000_001E_01CD1D6F.32CC5640--

-- Backtrace (Reduced):
#6  0xb6be10e1 in QTextLine::cursorToX (this=0xbfe51af0, cursorPos=0xbfe51b08, edge=QTextLine::Leading) at text/qtextlayout.cpp:2511
#7  0xb6bbc172 in cursorToX (edge=QTextLine::Leading, cursorPos=0, this=0xbfe51af0) at ../../src/gui/text/qtextlayout.h:230
#8  QTextControlPrivate::rectForPosition (this=0xbadffd8, position=2) at text/qtextcontrol.cpp:1368
#9  0xb6bc02d0 in QTextControl::ensureCursorVisible (this=0xbadffc8) at text/qtextcontrol.cpp:2950
#10 0xb6bc452d in QTextControl::setTextCursor (this=0xbadffc8, cursor=...) at text/qtextcontrol.cpp:833