[Bug 273165] New: Kontact / Kmail crash when displaying forwarded HMTL mail

j_schwarz at gmx.ch j_schwarz at gmx.ch
Fri May 13 06:37:35 BST 2011


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

           Summary: Kontact / Kmail crash when displaying forwarded HMTL
                    mail
           Product: kontact
           Version: 4.4.10
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: j_schwarz at gmx.ch


Application: kontact (4.4.10)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

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

opening a forwarded message in Kontact-Mail; the original message is an HMTL
message and has been forwarded by a Thunderbird mail client. The forward mail
format is plain. If that is of any help, I can provide the message

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f3c15969700 (LWP 1599)):
#0  0x00007f3c34f02f03 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3c2e930104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c2e9309f2 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c16a80c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f3c2e9573e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3c2edfbd8c in start_thread (arg=0x7f3c15969700) at
pthread_create.c:304
#6  0x00007f3c34f1004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3c0a7c9700 (LWP 1618)):
#0  0x00007f3c34f02f03 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3c2e930104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3c2e930639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3c3564a446 in QEventDispatcherGlib::processEvents
(this=0x7f3c10003fa0, flags=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3c3561e882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3c3561eabc in QEventLoop::exec (this=0x7f3c0a7c8db0, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007f3c35535924 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:492
#7  0x00007f3c35600c2f in QInotifyFileSystemWatcherEngine::run (this=0x2a44570)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3c35538175 in QThreadPrivate::start (arg=0x2a44570) at
thread/qthread_unix.cpp:320
#9  0x00007f3c2edfbd8c in start_thread (arg=0x7f3c0a7c9700) at
pthread_create.c:304
#10 0x00007f3c34f1004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3c37ab67a0 (LWP 1559)):
[KCrash Handler]
#6  0x0000019000000499 in ?? ()
#7  0x00007f3c3450bcb2 in khtml::KHTMLParser::insertNode (this=0x2f86220,
n=0x1d85780, flat=false) at ../../khtml/html/htmlparser.cpp:542
#8  0x00007f3c3450dc2b in khtml::KHTMLParser::parseToken (this=0x2f86220,
t=0x2f69028) at ../../khtml/html/htmlparser.cpp:301
#9  0x00007f3c3450ea51 in khtml::HTMLTokenizer::processToken (this=0x2f69000)
at ../../khtml/html/htmltokenizer.cpp:2040
#10 0x00007f3c34513ad4 in khtml::HTMLTokenizer::parseTag (this=0x2f69000,
src=...) at ../../khtml/html/htmltokenizer.cpp:1501
#11 0x00007f3c34517017 in khtml::HTMLTokenizer::write (this=0x2f69000,
str=<value optimized out>, appendData=<value optimized out>) at
../../khtml/html/htmltokenizer.cpp:1798
#12 0x00007f3c344c188b in DOM::DocumentImpl::write (this=0x27f6b80, text=...)
at ../../khtml/xml/dom_docimpl.cpp:1687
#13 0x00007f3c344c193b in DOM::DocumentImpl::write (this=0x27f6b80, text=<value
optimized out>) at ../../khtml/xml/dom_docimpl.cpp:1676
#14 0x00007f3c19ab59e3 in KMail::HTMLQuoteColorer::process
(this=0x7ffffb9ad750, htmlSource=...) at ../../kmail/htmlquotecolorer.cpp:37
#15 0x00007f3c199475ee in KMail::ObjectTreeParser::processTextHtmlSubtype
(this=0x7ffffb9ada90, curNode=0x2d2b670) at
../../kmail/objecttreeparser.cpp:1016
#16 0x00007f3c199529a1 in KMail::ObjectTreeParser::parseObjectTree
(this=0x7ffffb9ada90, node=0x2d2b670) at ../../kmail/objecttreeparser.cpp:318
#17 0x00007f3c19952cc3 in KMail::ObjectTreeParser::stdChildHandling
(this=0x7ffffb9adca0, child=0x2d2b670) at ../../kmail/objecttreeparser.cpp:1278
#18 0x00007f3c19953054 in KMail::ObjectTreeParser::processMultiPartMixedSubtype
(this=<value optimized out>, node=<value optimized out>) at
../../kmail/objecttreeparser.cpp:1291
#19 0x00007f3c199529a1 in KMail::ObjectTreeParser::parseObjectTree
(this=0x7ffffb9adca0, node=0x3035290) at ../../kmail/objecttreeparser.cpp:318
#20 0x00007f3c199532f9 in KMail::ObjectTreeParser::insertAndParseNewChildNode
(this=0x7ffffb9ae230, startNode=..., content=<value optimized out>,
cntDesc=0x7f3c19b829be "encapsulated message", append=<value optimized out>,
addToTextualContent=false) at ../../kmail/objecttreeparser.cpp:235
#21 0x00007f3c199545e6 in KMail::ObjectTreeParser::processMessageRfc822Subtype
(this=0x7ffffb9ae230, node=0x2a43730) at ../../kmail/objecttreeparser.cpp:1582
#22 0x00007f3c199529a1 in KMail::ObjectTreeParser::parseObjectTree
(this=0x7ffffb9ae230, node=0x2a43730) at ../../kmail/objecttreeparser.cpp:318
#23 0x00007f3c19952cc3 in KMail::ObjectTreeParser::stdChildHandling
(this=0x7ffffb9ae4d0, child=0x3730320) at ../../kmail/objecttreeparser.cpp:1278
#24 0x00007f3c19953054 in KMail::ObjectTreeParser::processMultiPartMixedSubtype
(this=<value optimized out>, node=<value optimized out>) at
../../kmail/objecttreeparser.cpp:1291
#25 0x00007f3c199529a1 in KMail::ObjectTreeParser::parseObjectTree
(this=0x7ffffb9ae4d0, node=0x2ac8450) at ../../kmail/objecttreeparser.cpp:318
#26 0x00007f3c197f26c2 in KMReaderWin::parseMsg (this=0x236dbd0,
aMsg=0x2a41490) at ../../kmail/kmreaderwin.cpp:1612
#27 0x00007f3c197f155b in KMReaderWin::displayMessage (this=0x236dbd0) at
../../kmail/kmreaderwin.cpp:1536
#28 0x00007f3c197f1739 in KMReaderWin::updateReaderWin (this=0x236dbd0) at
../../kmail/kmreaderwin.cpp:1479
#29 0x00007f3c197f204c in KMReaderWin::setMsg (this=0x236dbd0, aMsg=0x2a41490,
force=true) at ../../kmail/kmreaderwin.cpp:1283
#30 0x00007f3c199fcfc8 in (anonymous
namespace)::KMailProtocolURLHandler::handleClick (this=<value optimized out>,
url=..., w=0x236dbd0) at ../../kmail/urlhandlermanager.cpp:390
#31 0x00007f3c199fe5f5 in KMail::URLHandlerManager::handleClick
(this=0x2de5050, url=..., w=0x236dbd0) at ../../kmail/urlhandlermanager.cpp:317
#32 0x00007f3c197e5df1 in KMReaderWin::slotUrlOpen (this=0x236dbd0, aUrl=...)
at ../../kmail/kmreaderwin.cpp:1980
#33 0x00007f3c197f449d in KMReaderWin::qt_metacall (this=0x236dbd0,
_c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x2e197d0) at
./kmreaderwin.moc:188
#34 0x00007f3c3563349a in QObject::event (this=0x236dbd0, e=<value optimized
out>) at kernel/qobject.cpp:1226
#35 0x00007f3c3602f66d in QWidget::event (this=0x236dbd0, event=0x2fd3cb0) at
kernel/qwidget.cpp:8718
#36 0x00007f3c35fde9e4 in QApplicationPrivate::notify_helper (this=0x1d8b230,
receiver=0x236dbd0, e=0x2fd3cb0) at kernel/qapplication.cpp:4462
#37 0x00007f3c35fe33aa in QApplication::notify (this=<value optimized out>,
receiver=0x236dbd0, e=0x2fd3cb0) at kernel/qapplication.cpp:4341
#38 0x00007f3c36cfd866 in KApplication::notify (this=0x7ffffb9afad0,
receiver=0x236dbd0, event=0x2fd3cb0) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x00007f3c3561f49c in QCoreApplication::notifyInternal
(this=0x7ffffb9afad0, receiver=0x236dbd0, event=0x2fd3cb0) at
kernel/qcoreapplication.cpp:731
#40 0x00007f3c35622c25 in sendEvent (receiver=0x0, event_type=0,
data=0x1d2fb90) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x1d2fb90) at kernel/qcoreapplication.cpp:1372
#42 0x00007f3c3564a253 in sendPostedEvents (s=0x1d8edc0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#43 postEventSourceDispatch (s=0x1d8edc0) at
kernel/qeventdispatcher_glib.cpp:277
#44 0x00007f3c2e92fbcd in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f3c2e9303a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f3c2e930639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f3c3564a3ef in QEventDispatcherGlib::processEvents (this=0x1d2f370,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#48 0x00007f3c36085dfe in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007f3c3561e882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007f3c3561eabc in QEventLoop::exec (this=0x7ffffb9afa60, flags=...) at
kernel/qeventloop.cpp:201
#51 0x00007f3c35622ecb in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1008
#52 0x0000000000403f70 in main (argc=3, argv=<value optimized out>) at
../../../kontact/src/main.cpp:226

This bug may be a duplicate of or related to bug 249453.

Possible duplicates by query: bug 272682, bug 270837, bug 270509, bug 269992,
bug 269004.

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