[kmail2] [Bug 354639] New: kmail2 (KF5-based, version 5.0.2) crashes when invoking composer dialog

Vadim A. Misbakh-Soloviov via KDE Bugzilla (mva) bugzilla_noreply at kde.org
Sat Oct 31 10:22:04 GMT 2015


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

            Bug ID: 354639
           Summary: kmail2 (KF5-based, version 5.0.2) crashes when
                    invoking composer dialog
           Product: kmail2
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: composer
          Assignee: kdepim-bugs at kde.org
          Reporter: kde at mva.name

When I trying to reply some letter or pressing Ctrl+N to write new letter from
scratch, kmail segfaults.

Here is backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff67eeec8 in QAction::setEnabled(bool) () from
/usr/lib64/libQt5Widgets.so.5
(gdb)  thread apply all bt

Thread 9 (Thread 0x7fff73fff700 (LWP 116324)):
#0  0x00007fffebef4188 in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007ffff5d11b9e in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQt5Core.so.5
#2  0x00007ffff5d0d3ea in QThreadPoolThread::run() () from
/usr/lib64/libQt5Core.so.5
#3  0x00007ffff5d10a35 in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#4  0x00007fffebeee4bc in start_thread () from /lib64/libpthread.so.0
#5  0x00007ffff54651cd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fff827fa700 (LWP 116314)):
#0  0x00007fffebef3ddf in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fffe7346023 in JSC::GCThread::gcThreadMain() () from
/usr/lib64/libQt5WebKit.so.5
#2  0x00007fffe76960e7 in WTF::wtfThreadEntryPoint(void*) () from
/usr/lib64/libQt5WebKit.so.5
#3  0x00007fffebeee4bc in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff54651cd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fff82ffb700 (LWP 116313)):
#0  0x00007fffebef3ddf in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fffe7346023 in JSC::GCThread::gcThreadMain() () from
/usr/lib64/libQt5WebKit.so.5
#2  0x00007fffe76960e7 in WTF::wtfThreadEntryPoint(void*) () from
/usr/lib64/libQt5WebKit.so.5
#3  0x00007fffebeee4bc in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff54651cd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fff837fc700 (LWP 116312)):
#0  0x00007fffebef3ddf in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fffe7346023 in JSC::GCThread::gcThreadMain() () from
/usr/lib64/libQt5WebKit.so.5
#2  0x00007fffe76960e7 in WTF::wtfThreadEntryPoint(void*) () from
/usr/lib64/libQt5WebKit.so.5
#3  0x00007fffebeee4bc in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff54651cd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fff83ffd700 (LWP 116311)):
#0  0x00007fffebef3ddf in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fffe7344e8c in JSC::BlockAllocator::blockFreeingThreadMain() () from
/usr/lib64/libQt5WebKit.so.5
#2  0x00007fffe76960e7 in WTF::wtfThreadEntryPoint(void*) () from
/usr/lib64/libQt5WebKit.so.5
#3  0x00007fffebeee4bc in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff54651cd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fffc99ab700 (LWP 116301)):
#0  0x00007fffebef3ddf in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fffe765f0e1 in WTF::TCMalloc_PageHeap::scavengerThread() () from
/usr/lib64/libQt5WebKit.so.5
#2  0x00007fffe765f12b in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /usr/lib64/libQt5WebKit.so.5
#3  0x00007fffebeee4bc in start_thread () from /lib64/libpthread.so.0
#4  0x00007ffff54651cd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fffca1d1700 (LWP 116300)):
#0  0x00007ffff545b58d in poll () from /lib64/libc.so.6
#1  0x00007fffea2a46e5 in g_main_context_iterate.isra () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007fffea2a4851 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007ffff5f9722d in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#4  0x00007ffff5f2db1b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007ffff5d0ab6d in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007ffff5d10a35 in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#7  0x00007fffebeee4bc in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffff54651cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fffd2bdc700 (LWP 116290)):
#0  0x00007ffff545b58d in poll () from /lib64/libc.so.6
#1  0x00007fffe937cc6a in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007fffe937f0cf in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fffd40f0cc9 in QXcbEventReader::run() () from
/usr/lib64/qt5/plugins/platforms/libqxcb.so
#4  0x00007ffff5d10a35 in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007fffebeee4bc in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffff54651cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fffd444e880 (LWP 116280)):
#0  0x00007ffff67eeec8 in QAction::setEnabled(bool) () from
/usr/lib64/libQt5Widgets.so.5
#1  0x00007ffff78a2c7d in KMComposeWin::slotEditorTextChanged() () from
/usr/lib64/libkmailprivate.so.5
#2  0x00007ffff78f4ee8 in KMComposeWin::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.5
#3  0x00007ffff5f6a021 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#4  0x00007ffff69cfd65 in QTextEdit::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Widgets.so.5
#5  0x00007ffff5f6a021 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#6  0x00007ffff69f7d85 in QWidgetTextControl::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#7  0x00007ffff69fd807 in QWidgetTextControl::qt_metacall(QMetaObject::Call,
int, void**) () from /usr/lib64/libQt5Widgets.so.5
#8  0x00007ffff5f6a12c in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#9  0x00007ffff63845d4 in QTextDocumentPrivate::finishEdit() () from
/usr/lib64/libQt5Gui.so.5
#10 0x00007ffff63ca29c in QSyntaxHighlighter::rehighlight() () from
/usr/lib64/libQt5Gui.so.5
#11 0x00007ffff7328740 in
PimCommon::RichTextEditor::setSpellCheckingLanguage(QString const&) () from
/usr/lib64/libpimcommon.so.5
#12 0x00007ffff78a0476 in KMComposeWin::slotSpellCheckingLanguage(QString
const&) () from /usr/lib64/libkmailprivate.so.5
#13 0x00007ffff5f699fe in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#14 0x00007fffef09c994 in Sonnet::DictionaryComboBox::dictionaryChanged(QString
const&) () from /usr/lib64/libKF5SonnetUi.so.5
#15 0x00007fffef09ca74 in
Sonnet::DictionaryComboBoxPrivate::slotDictionaryChanged(int) () from
/usr/lib64/libKF5SonnetUi.so.5
#16 0x00007fffef09cdf5 in
Sonnet::DictionaryComboBox::setCurrentByDictionaryName(QString const&) () from
/usr/lib64/libKF5SonnetUi.so.5
#17 0x00007ffff78aa5c7 in KMComposeWin::readConfig(bool) () from
/usr/lib64/libkmailprivate.so.5
#18 0x00007ffff78bc7d4 in
KMComposeWin::KMComposeWin(boost::shared_ptr<KMime::Message> const&, bool,
bool, KMail::Composer::TemplateContext, unsigned int, QString const&, QString
const&) () from /usr/lib64/libkmailprivate.so.5
#19 0x00007ffff78bd5c8 in
KMComposeWin::create(boost::shared_ptr<KMime::Message> const&, bool, bool,
KMail::Composer::TemplateContext, unsigned int, QString const&, QString const&)
() from /usr/lib64/libkmailprivate.so.5
#20 0x00007ffff77e36c3 in KMMainWidget::slotCompose() () from
/usr/lib64/libkmailprivate.so.5
#21 0x00007ffff5f699fe in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#22 0x00007ffff67eba0f in QAction::triggered(bool) () from
/usr/lib64/libQt5Widgets.so.5
#23 0x00007ffff67eee57 in QAction::activate(QAction::ActionEvent) () from
/usr/lib64/libQt5Widgets.so.5
#24 0x00007ffff67ef6a7 in QAction::event(QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#25 0x00007ffff67f826c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#26 0x00007ffff67fdcd2 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#27 0x00007ffff5f30b9b in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#28 0x00007ffff62aac6b in QShortcutMap::dispatchEvent(QKeyEvent*) () from
/usr/lib64/libQt5Gui.so.5
#29 0x00007ffff62aade3 in QShortcutMap::tryShortcutEvent(QObject*, QKeyEvent*)
() from /usr/lib64/libQt5Gui.so.5
#30 0x00007ffff67fdafc in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#31 0x00007ffff5f30b9b in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#32 0x00007ffff6274b95 in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
() from /usr/lib64/libQt5Gui.so.5
#33 0x00007ffff627a135 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /usr/lib64/libQt5Gui.so.5
#34 0x00007ffff6258798 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib64/libQt5Gui.so.5
#35 0x00007fffd4121c32 in userEventSourceDispatch(_GSource*, int (*)(void*),
void*) () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
#36 0x00007fffea2a443c in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#37 0x00007fffea2a4748 in g_main_context_iterate.isra () from
/usr/lib64/libglib-2.0.so.0
#38 0x00007fffea2a4851 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#39 0x00007ffff5f9722d in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#40 0x00007ffff5f2db1b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#41 0x00007ffff5f36936 in QCoreApplication::exec() () from
/usr/lib64/libQt5Core.so.5
#42 0x000055555555859d in main ()
(gdb)


Reproducible: Always

Steps to Reproduce:
1. open kmail
2. Press Ctrl+N

Actual Results:  
Segfault

Expected Results:  
Letter composing window appearance

#0  0x00007ffff67eeec8 in QAction::setEnabled(bool) () from
/usr/lib64/libQt5Widgets.so.5
#1  0x00007ffff78a2c7d in KMComposeWin::slotEditorTextChanged() () from
/usr/lib64/libkmailprivate.so.5

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list