Bug 225032 - kmail crashes when opening specific mail
Summary: kmail crashes when opening specific mail
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-31 19:07 UTC by hanno
Modified: 2021-01-08 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kmail-crash.mbox (246.14 KB, application/mbox)
2010-01-31 19:08 UTC, hanno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hanno 2010-01-31 19:07:39 UTC
Version:            (using KDE 4.3.4)
Compiler:          gcc 4.4.2 
OS:                Linux
Installed from:    Gentoo Packages

When opening a specific mail (I'll attach it), kmail crashes. Reproducible on at least two machines.
Comment 1 hanno 2010-01-31 19:08:56 UTC
Created attachment 40417 [details]
kmail-crash.mbox
Comment 2 Christoph Feck 2010-02-01 01:31:43 UTC
Probably a khtml bug. kdelibs from trunk, KMail from 4.4 branch:

Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb2ccb760 (LWP 29593))]

Thread 3 (Thread 0xac877b70 (LWP 29661)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb48185b1 in select () from /lib/libc.so.6
#2  0xb55c3b5c in QProcessManager::run (this=0xb57008b0) at io/qprocess_unix.cpp:245
#3  0xb54df19f in QThreadPrivate::start (arg=0xb57008b0) at thread/qthread_unix.cpp:248
#4  0xb54646e5 in start_thread (arg=0x0) at pthread_create.c:297
#5  0xb5464600 in ?? () at pthread_create.c:216 from /lib/libpthread.so.0

Thread 2 (Thread 0xae144b70 (LWP 14756)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb54690c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:179
#2  0xb54e017c in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0xb54d496e in QThreadPoolThread::run (this=0x8434c90) at concurrent/qthreadpool.cpp:140
#5  0xb54df19f in QThreadPrivate::start (arg=0x8434c90) at thread/qthread_unix.cpp:248
#6  0xb54646e5 in start_thread (arg=0x0) at pthread_create.c:297
#7  0xb5464600 in ?? () at pthread_create.c:216 from /lib/libpthread.so.0

Thread 1 (Thread 0xb2ccb760 (LWP 29593)):
[KCrash Handler]
#6  0xb7167114 in QChar::unicode (this=0xac077000) at /usr/include/QtCore/qchar.h:251
#7  0xb71f0da5 in khtml::HTMLTokenizer::processListing (this=0xe0cdeb8, list=...) at /local/svn/kde/trunk/KDE/kdelibs/khtml/html/htmltokenizer.cpp:281
#8  0xb71f25c4 in khtml::HTMLTokenizer::parseComment (this=0xe0cdeb8, src=...) at /local/svn/kde/trunk/KDE/kdelibs/khtml/html/htmltokenizer.cpp:547
#9  0xb71f4630 in khtml::HTMLTokenizer::parseTag (this=0xe0cdeb8, src=...) at /local/svn/kde/trunk/KDE/kdelibs/khtml/html/htmltokenizer.cpp:1118
#10 0xb71f6820 in khtml::HTMLTokenizer::write (this=0xe0cdeb8, str=..., appendData=true) at /local/svn/kde/trunk/KDE/kdelibs/khtml/html/htmltokenizer.cpp:1795
#11 0xb71f751a in khtml::HTMLTokenizer::finish (this=0xe0cdeb8) at /local/svn/kde/trunk/KDE/kdelibs/khtml/html/htmltokenizer.cpp:1973
#12 0xb719435a in DOM::DocumentImpl::finishParsing (this=0xb10c100) at /local/svn/kde/trunk/KDE/kdelibs/khtml/xml/dom_docimpl.cpp:1692
#13 0xb7128edf in KHTMLPart::end (this=0x8e1dd20) at /local/svn/kde/trunk/KDE/kdelibs/khtml/khtml_part.cpp:2145
#14 0xaf95d767 in KMail::KHtmlPartHtmlWriter::end (this=0x9199868) at /local/svn/kde/trunk/KDE/kdepim/kmail/khtmlparthtmlwriter.cpp:87
#15 0xaf95da57 in KMail::KHtmlPartHtmlWriter::slotWriteNextHtmlChunk (this=0x9199868) at /local/svn/kde/trunk/KDE/kdepim/kmail/khtmlparthtmlwriter.cpp:129
#16 0xaf95e0e6 in KMail::KHtmlPartHtmlWriter::qt_metacall (this=0x9199868, _c=InvokeMetaMethod, _id=1, _a=0xbfa6fddc) at /local/build/KDE/kdepim/kmail/khtmlparthtmlwriter.moc:79
#17 0xb55ee11d in QMetaObject::metacall (object=0x9199868, cl=8930504, idx=5, argv=0xbfa6fddc) at kernel/qmetaobject.cpp:237
#18 0xb55fcf4a in QMetaObject::activate (sender=0x919987c, m=0xb56ff5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3285
#19 0xb5650405 in QTimer::timeout (this=0x919987c) at .moc/release-shared/moc_qtimer.cpp:134
#20 0xb56052a6 in QTimer::timerEvent (this=0x919987c, e=0xbfa70334) at kernel/qtimer.cpp:271
#21 0xb55f9a54 in QObject::event (this=0x919987c, e=0x442264) at kernel/qobject.cpp:1204
#22 0xb4b1e77c in QApplicationPrivate::notify_helper (this=0x8080870, receiver=0x919987c, e=0xbfa70334) at kernel/qapplication.cpp:4298
#23 0xb4b255c8 in QApplication::notify (this=0xbfa70664, receiver=0x919987c, e=0xbfa70334) at kernel/qapplication.cpp:4181
#24 0xb5dc9f3c in KApplicationPrivate::init (this=0xbfa70664, GUIenabled=false) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:513
#25 0xb55e8dae in QCoreApplication::notifyInternal (this=0xbfa70664, receiver=0x919987c, event=0xbfa70334) at kernel/qcoreapplication.cpp:704
#26 0xb561902e in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:617
#28 0xb5615c92 in timerSourceDispatch (source=0x8083270) at kernel/qeventdispatcher_glib.cpp:184
#29 0xb391f4c2 in g_main_dispatch (context=<value optimized out>) at gmain.c:1960
#30 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2513
#31 0xb3922d98 in g_main_context_iterate (context=0x8082a98, block=<value optimized out>, dispatch=1, self=0x8080708) at gmain.c:2591
#32 0xb3922ebe in IA__g_main_context_iteration (context=0x8082a98, may_block=1) at gmain.c:2654
#33 0xb5615961 in QEventDispatcherGlib::processEvents (this=0x8076da0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#34 0xb4bdea0a in QGuiEventDispatcherGlib::processEvents (this=0x8076da0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0xb55e741d in QEventLoop::processEvents (this=0xbfa705e4, flags=) at kernel/qeventloop.cpp:149
#36 0xb55e7869 in QEventLoop::exec (this=0xbfa705e4, flags=...) at kernel/qeventloop.cpp:201
#37 0xb55eb9e0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#38 0xb4b1e824 in QApplication::exec () at kernel/qapplication.cpp:3577
#39 0x0804b8f3 in main (argc=1, argv=0xbfa70834) at /local/svn/kde/trunk/KDE/kdepim/kontact/src/main.cpp:221
Comment 3 Dario Andres 2010-02-01 01:32:49 UTC
I could reproduce too, with an old 4.4kdepim build, using:

Qt: 4.6.1 (kde-qt master commit 5ccbae0c2d9254efe67599137afec763d4fec0f6
        Date:   Tue Jan 19 20:42:24 2010 +0100)
KDE Development Platform: 4.4.61 (KDE 4.4.61 (KDE 4.5 >= 20100127))
kdelibs svn rev. 1082077 / kdebase svn rev. 1082077
on ArchLinux i686 - Kernel 2.6.32.3
Comment 4 Torgny Nyblom 2010-02-01 08:43:55 UTC
Fixed in trunk. But as that uses WebKit if there is an issue with KHTML then that is not fixed.

A strange thing about this mail is that it is a plaintext mail with a html mail in it's text.

Not sure if I should close this or reassing to konq-bugs?
Comment 5 Dario Andres 2010-02-01 12:17:40 UTC
@Torgny: I already notified the Konqueror developers. Regards
Comment 6 Christophe Marin 2011-02-14 21:33:43 UTC
Reassign to Konq.

Maybe related to 265564
Comment 7 Justin Zobel 2020-12-09 01:36:22 UTC
Thank you for the report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 8 Bug Janitor Service 2020-12-24 04:34:27 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2021-01-08 04:33:58 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!