Bug 295795 - Kontact (Kmail) crashes when typing in subject or body field of a new mail
Summary: Kontact (Kmail) crashes when typing in subject or body field of a new mail
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-11 20:33 UTC by Henning Kurre
Modified: 2012-03-22 12:11 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.2


Attachments
New crash information added by DrKonqi (5.40 KB, text/plain)
2012-03-19 15:54 UTC, Alex Frolov
Details
New crash information added by DrKonqi (4.81 KB, text/plain)
2012-03-20 19:43 UTC, Marc Collin
Details
New crash information added by DrKonqi (6.85 KB, text/plain)
2012-03-22 10:43 UTC, Sven Eden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henning Kurre 2012-03-11 20:33:24 UTC
Application: kontact (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
When I try to write a new mail Kontact (Kmail) crashes as soon as I start typing in either the subject or the body field of the new mail window. 
This is always reproducable. 

Kontact
Version 4.8.0
KDE 4.8.1
Kubuntu oneiric

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

Thread 6 (Thread 0x7fccbf3f7700 (LWP 7110)):
#0  0x00007fccd2b6f04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fccd73a0c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fccd73a0d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fccd2b6aefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007fccd80b159d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fccbeade700 (LWP 7111)):
#0  0x00007fccd2698366 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fccd2698e6a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fccd2699429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fccd881fc06 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fccd87ef3e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fccd87ef637 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fccd86ef067 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fccd86f208b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fccd2b6aefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00007fccd80b159d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fcc71d59700 (LWP 7115)):
#0  0x00007fccd80a5473 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fccd2698f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fccd2699429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fccd881fc06 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fccd87ef3e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fccd87ef637 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fccd86ef067 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fccd87cf17f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fccd86f208b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fccd2b6aefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fccd80b159d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fcc6fc02700 (LWP 7124)):
#0  0x00007fccd2b6f3cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fccd86f24ff in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fccd86e567f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fccd86f208b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fccd2b6aefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007fccd80b159d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fcc6e3dd700 (LWP 7131)):
#0  0x00007fccd2b6f3cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fccd86f24ff in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fccd86e567f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fccd86f208b in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fccd2b6aefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007fccd80b159d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fccdab747c0 (LWP 7109)):
[KCrash Handler]
#6  0x00007fccd9f75363 in Sonnet::Highlighter::eventFilter(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#7  0x00007fccd87f0788 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fccd91e50cf in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9  0x00007fccd91ea645 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007fccd9f1b8e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#11 0x00007fccd87f05fc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007fccd9286109 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007fccd928657b in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007fccd9261164 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007fccd928a592 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007fccd2698a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007fccd2699258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fccd2699429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fccd881fb9f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007fccd928a21e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007fccd87ef3e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007fccd87ef637 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007fccd87f46c7 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x0000000000403629 in ?? ()
#25 0x00007fccd7fef30d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#26 0x0000000000403b71 in _start ()

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

Possible duplicates by query: bug 295759, bug 295091.

Reported using DrKonqi
Comment 1 Kjetil Kilhavn 2012-03-13 08:42:19 UTC
Notice to reporter: Solution for bug 295759 was found in KMail identities setup where selection of dictionary proved to be relevant.
Comment 2 Alex Frolov 2012-03-19 15:54:13 UTC
Created attachment 69736 [details]
New crash information added by DrKonqi

kontact (4.8.1) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:
I was replying to a message. KMail has crashed right after I've tried to write message body.

- Custom settings of the application:
I have 2 profiles with 1 IMAP account in each one

-- Backtrace (Reduced):
#6  0x00000034c76abfb3 in Sonnet::Highlighter::eventFilter(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#7  0x000000349cf791d8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x2ac3200, event=0x7fffa754dc50) at kernel/qcoreapplication.cpp:986
#8  0x0000003d991c995f in notify_helper (e=0x7fffa754dc50, receiver=0x2ac3200, this=0x1a1d380) at kernel/qapplication.cpp:4546
#9  QApplicationPrivate::notify_helper (this=0x1a1d380, receiver=0x2ac3200, e=0x7fffa754dc50) at kernel/qapplication.cpp:4522
#10 0x0000003d991ceede in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fffa754dc50) at kernel/qapplication.cpp:3991
Comment 3 Marc Collin 2012-03-20 19:43:21 UTC
Created attachment 69770 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

i wrote some text in title section and the application crashed

-- Backtrace (Reduced):
#6  0xb754f36a in eventFilter (e=0xbfc73774, o=0x84f8e78, this=0x8234618) at /usr/src/debug/kdelibs-4.8.1/kdeui/sonnet/highlighter.cpp:355
#7  Sonnet::Highlighter::eventFilter (this=0x8234618, o=0x84f8e78, e=0xbfc73774) at /usr/src/debug/kdelibs-4.8.1/kdeui/sonnet/highlighter.cpp:337
#8  0xb63cca36 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8074f80, receiver=0x84f8e78, event=0xbfc73774) at kernel/qcoreapplication.cpp:986
#9  0xb69522c2 in notify_helper (e=0xbfc73774, receiver=0x84f8e78, this=0x8074f80) at kernel/qapplication.cpp:4546
#10 QApplicationPrivate::notify_helper (this=0x8074f80, receiver=0x84f8e78, e=0xbfc73774) at kernel/qapplication.cpp:4522
Comment 4 Sven Eden 2012-03-22 10:43:17 UTC
Created attachment 69804 [details]
New crash information added by DrKonqi

kontact (4.8.0) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:

Opened kontact, started to write a new e-mail.
The crash happens when I am either writing into the subject or the text field.

- Custom settings:
I just changed my language settings from "German" to "American English" in KDE Systemsettings to track down a different issue the german error text yields no hits in common web search engines. Therefore my country setting is "Germany", Preferred Languages has "American English" first.

Before I made this change kontact never crashed.

- Test 1:
I have pushed "German" back up to first place. Kontact now starts in german and I can finish my e-mail. Everything is fine again.

- Test 2:
I have pushed "American English" up to first place and this time changed the country settings to "USA". Kontact now starts in english, I start a new mail, enter recipient and subject, hit tab (or click into the message box, it doesn't matter) and get the same crash again.

- Test 3:
This time I removed "German" from the preferred languages side and added "British English" as second. Kontact starts, I can write and send e-mail, everything is fine.

- Test 4:
After removing "British English" from the Preferred Languages, the crash is back.

- Test 5:
After swapping American and British English, the crash is still there.

----------

It seems there is a problem when eitehr British or American english is alone without the other chosen as the preferred language in Systemsettings->Country/Region&Language

-- Backtrace (Reduced):
#6  0x00007f0bd45b64d3 in eventFilter (e=0x7fff87e3aa60, o=0x145f3b0, this=0x12d9820) at /home/portage/kde-base/kdelibs-4.8.1-r1/work/kdelibs-4.8.1/kdeui/sonnet/highlighter.cpp:355
#7  Sonnet::Highlighter::eventFilter (this=0x12d9820, o=0x145f3b0, e=0x7fff87e3aa60) at /home/portage/kde-base/kdelibs-4.8.1-r1/work/kdelibs-4.8.1/kdeui/sonnet/highlighter.cpp:337
#8  0x00007f0bd3ab72b8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x145f3b0, event=0x7fff87e3aa60) at kernel/qcoreapplication.cpp:986
#9  0x00007f0bd2e58e3f in notify_helper (e=0x7fff87e3aa60, receiver=0x145f3b0, this=0xb597a0) at kernel/qapplication.cpp:4546
#10 QApplicationPrivate::notify_helper (this=0xb597a0, receiver=0x145f3b0, e=0x7fff87e3aa60) at kernel/qapplication.cpp:4522
Comment 5 Laurent Montel 2012-03-22 12:11:07 UTC
fixed in kdelibs 4.8.2