[Bug 274519] New: kmail crashes when opening email attachment (.docx)

Pavel Patz pavel.patz at gmail.com
Mon May 30 14:26:35 BST 2011


https://bugs.kde.org/show_bug.cgi?id=274519

           Summary: kmail crashes when opening email attachment (.docx)
           Product: kontact
           Version: 4.4.10
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: pavel.patz at gmail.com


Application: kontact (4.4.10)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.1-1.2-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

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

When i try to open email attachment (.docx), kmail sometimes (not everytime)
crashes.

The crash can be reproduced some of the time.

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

Thread 5 (Thread 0x7f947654f700 (LWP 12573)):
#0  0x00007f949031d38c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f949643014b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQtCore.so.4
#2  0x00007f947b44e254 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f947b4512a5 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f947b4512be in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f947b44e64f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f947b44e6d8 in ThreadWeaver::Thread::run() () from
/usr/lib64/libthreadweaver.so.4
#7  0x00007f949642fa5e in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f9490318a3f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f949517867d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f946f7cd700 (LWP 12576)):
#0  0x00007f949031d38c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f949643014b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQtCore.so.4
#2  0x00007f947b44e254 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f947b4512a5 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f947b4512be in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f947b4512be in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f947b4512be in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f947b4512be in ?? () from /usr/lib64/libthreadweaver.so.4
#8  0x00007f947b4512be in ?? () from /usr/lib64/libthreadweaver.so.4
#9  0x00007f947b44e64f in ?? () from /usr/lib64/libthreadweaver.so.4
#10 0x00007f947b44e6d8 in ThreadWeaver::Thread::run() () from
/usr/lib64/libthreadweaver.so.4
#11 0x00007f949642fa5e in ?? () from /usr/lib64/libQtCore.so.4
#12 0x00007f9490318a3f in start_thread () from /lib64/libpthread.so.0
#13 0x00007f949517867d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f946efcc700 (LWP 14095)):
#0  0x00007f949031d38c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f949643014b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQtCore.so.4
#2  0x00007f947b44e254 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f947b4512a5 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f947b44e64f in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f947b44e6d8 in ThreadWeaver::Thread::run() () from
/usr/lib64/libthreadweaver.so.4
#6  0x00007f949642fa5e in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f9490318a3f in start_thread () from /lib64/libpthread.so.0
#8  0x00007f949517867d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f946e7cb700 (LWP 14098)):
#0  0x00007f949031d38c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f949643014b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQtCore.so.4
#2  0x00007f947b44e254 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f947b4512a5 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f947b4512be in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f947b4512be in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f947b44e64f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f947b44e6d8 in ThreadWeaver::Thread::run() () from
/usr/lib64/libthreadweaver.so.4
#8  0x00007f949642fa5e in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f9490318a3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f949517867d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f94980ae760 (LWP 11665)):
[KCrash Handler]
#6  0x00007f947b74e282 in c_str (aDwBodyPart=0x134ff50, aPart=0x18649d8,
withBody=true) at /usr/src/debug/kdepim-4.4.10/mimelib/mimelib/string.h:618
#7  partId (aDwBodyPart=0x134ff50, aPart=0x18649d8, withBody=true) at
/usr/src/debug/kdepim-4.4.10/mimelib/mimelib/msgcmp.h:259
#8  KMMessage::bodyPart (aDwBodyPart=0x134ff50, aPart=0x18649d8, withBody=true)
at /usr/src/debug/kdepim-4.4.10/kmail/kmmessage.cpp:2677
#9  0x00007f947ba16ca9 in msgPart (this=<value optimized out>, url=...,
w=<value optimized out>) at /usr/src/debug/kdepim-4.4.10/kmail/partNode.h:103
#10 (anonymous namespace)::AttachmentURLHandler::statusBarMessage (this=<value
optimized out>, url=..., w=<value optimized out>) at
/usr/src/debug/kdepim-4.4.10/kmail/urlhandlermanager.cpp:688
#11 0x00007f947ba197c4 in KMail::URLHandlerManager::statusBarMessage
(this=0xe3eb40, url=..., w=0xb68b90) at
/usr/src/debug/kdepim-4.4.10/kmail/urlhandlermanager.cpp:355
#12 0x00007f947b806d84 in KMReaderWin::slotUrlOn (this=0xb68b90, aUrl=<value
optimized out>) at /usr/src/debug/kdepim-4.4.10/kmail/kmreaderwin.cpp:1966
#13 0x00007f947b81b30e in KMReaderWin::qt_metacall (this=0xb68b90,
_c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fff6c676e30) at
/usr/src/debug/kdepim-4.4.10/build/kmail/kmreaderwin.moc:189
#14 0x00007f949652ddef in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib64/libQtCore.so.4
#15 0x00007f94946d6d22 in KHTMLPart::onURL(QString const&) () from
/usr/lib64/libkhtml.so.5
#16 0x00007f94946e7c35 in KHTMLPart::overURL(QString const&, QString const&,
bool) () from /usr/lib64/libkhtml.so.5
#17 0x00007f94946ea813 in
KHTMLPart::handleMouseMoveEventOver(khtml::MouseMoveEvent*) () from
/usr/lib64/libkhtml.so.5
#18 0x00007f94946ead2b in
KHTMLPart::khtmlMouseMoveEvent(khtml::MouseMoveEvent*) () from
/usr/lib64/libkhtml.so.5
#19 0x00007f949652cacc in QObject::event(QEvent*) () from
/usr/lib64/libQtCore.so.4
#20 0x00007f94958e4d14 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQtGui.so.4
#21 0x00007f94958ed22a in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQtGui.so.4
#22 0x00007f9496e799e6 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libkdeui.so.5
#23 0x00007f9496518bfc in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/libQtCore.so.4
#24 0x00007f94946bd0af in KHTMLView::mouseMoveEvent(QMouseEvent*) () from
/usr/lib64/libkhtml.so.5
#25 0x00007f949593656c in QWidget::event(QEvent*) () from
/usr/lib64/libQtGui.so.4
#26 0x00007f9495cda906 in QFrame::event(QEvent*) () from
/usr/lib64/libQtGui.so.4
#27 0x00007f94946be2f5 in KHTMLView::widgetEvent(QEvent*) () from
/usr/lib64/libkhtml.so.5
#28 0x00007f94946be694 in KHTMLView::eventFilter(QObject*, QEvent*) () from
/usr/lib64/libkhtml.so.5
#29 0x00007f9496518d87 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib64/libQtCore.so.4
#30 0x00007f94958e4ce1 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQtGui.so.4
#31 0x00007f94958edaac in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQtGui.so.4
#32 0x00007f9496e799e6 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libkdeui.so.5
#33 0x00007f9496518bfc in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/libQtCore.so.4
#34 0x00007f94958e5d25 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/usr/lib64/libQtGui.so.4
#35 0x00007f9495963e08 in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007f94959624c9 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib64/libQtGui.so.4
#37 0x00007f949598a0f2 in ?? () from /usr/lib64/libQtGui.so.4
#38 0x00007f948d905bd3 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#39 0x00007f948d9063b0 in ?? () from /lib64/libglib-2.0.so.0
#40 0x00007f948d906650 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#41 0x00007f949654391f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQtCore.so.4
#42 0x00007f9495989d8e in ?? () from /usr/lib64/libQtGui.so.4
#43 0x00007f9496518052 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#44 0x00007f9496518265 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#45 0x00007f949651c6ab in QCoreApplication::exec() () from
/usr/lib64/libQtCore.so.4
#46 0x000000000040417e in main (argc=1, argv=0x7fff6c67a5c8) at
/usr/src/debug/kdepim-4.4.10/kontact/src/main.cpp:224

Possible duplicates by query: bug 266177, bug 266084, bug 258213, bug 251390,
bug 247275.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list