[Bug 208353] New: Crash in GPGMe when going through the mails

András Manţia amantia at kde.org
Thu Sep 24 07:39:54 BST 2009


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

           Summary: Crash in GPGMe when going through the mails
           Product: kmail
           Version: SVN trunk (KDE 4)
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: encryption
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: amantia at kde.org


As I went through the unread mails in my kde-core-devel list, suddenly KMail
crashed. Twice today, with the same backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7f892a3d17e0 (LWP 28768))]

Thread 3 (Thread 0x7f8906bf3950 (LWP 28826)):
#0  0x00007f8922d21662 in select () from /lib64/libc.so.6
#1  0x00007f8924f2d153 in QProcessManager::run() () from
/opt/qt4/lib/libQtCore.so.4
#2  0x00007f8924e393e4 in QThreadPrivate::start(void*) () from
/opt/qt4/lib/libQtCore.so.4
#3  0x00007f8924bac070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f8922d2810d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f890572e950 (LWP 29062)):
[KCrash Handler]
#5  0x00007f8922c87645 in raise () from /lib64/libc.so.6
#6  0x00007f8922c88c33 in abort () from /lib64/libc.so.6
#7  0x00007f8922c80329 in __assert_fail () from /lib64/libc.so.6
#8  0x00007f89119a86fa in ?? () from /usr/lib64/libgpgme-pthread.so.11
#9  0x00007f89119a374d in gpgme_op_keylist_start () from
/usr/lib64/libgpgme-pthread.so.11
#10 0x00007f8911c1a5eb in GpgME::Context::startKeyListing (this=0x222cbb0,
pattern=0x2521278 "D6B72EB1A7F1DB43", secretOnly=false)
    at
/home/andris/development/sources/kde-trunk/kdepimlibs/gpgme++/context.cpp:384
#11 0x00007f8911c1a699 in GpgME::Context::startKeyListing (this=0x222cbb0,
patterns=0x8db2c0, secretOnly=false) at
/home/andris/development/sources/kde-trunk/kdepimlibs/gpgme++/context.cpp:392
#12 0x00007f890e468f11 in do_list_keys (ctx=0x222cbb0, pats=<value optimized
out>, keys=..., secretOnly=<value optimized out>)
    at
/home/andris/development/sources/kde-trunk/kdepim/libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:69
#13 0x00007f890e469e5d in list_keys (ctx=0x222cbb0, pats=..., secretOnly=false)
at
/home/andris/development/sources/kde-trunk/kdepim/libkleo/backends/qgpgme/qgpgmekeylistjob.cpp:87
#14 0x00007f890e46c3e3 in
QtConcurrent::StoredFunctorCall0<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key, std::allocator<GpgME::Key> >, QString, GpgME::Error,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>,
boost::_bi::bind_t<boost::_bi::unspecified,
boost::_bi::bind_t<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key, std::allocator<GpgME::Key> >, QString, GpgME::Error,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>,
boost::tuples::tuple<GpgME::KeyListResult, std::vector<GpgME::Key,
std::allocator<GpgME::Key> >, QString, GpgME::Error, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type> (*)(GpgME::Context*,
QStringList, bool), boost::_bi::list3<boost::arg<1>,
boost::_bi::value<QStringList>, boost::_bi::value<bool> > >,
boost::_bi::list1<boost::_bi::value<GpgME::Context*> > > >::runFunctor() ()
from /opt/kde4/lib64/libkleo.so.4
#15 0x00007f890e46c186 in
QtConcurrent::RunFunctionTask<boost::tuples::tuple<GpgME::KeyListResult,
std::vector<GpgME::Key, std::allocator<GpgME::Key> >, QString, GpgME::Error,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>
>::run() () from /opt/kde4/lib64/libkleo.so.4
#16 0x00007f8924e2a0ab in QThreadPoolThread::run() () from
/opt/qt4/lib/libQtCore.so.4
#17 0x00007f8924e393e4 in QThreadPrivate::start(void*) () from
/opt/qt4/lib/libQtCore.so.4
#18 0x00007f8924bac070 in start_thread () from /lib64/libpthread.so.0
#19 0x00007f8922d2810d in clone () from /lib64/libc.so.6
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f892a3d17e0 (LWP 28768)):
#0  0x00007f8924bafd59 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f8924e39d99 in QWaitConditionPrivate::wait(unsigned long) () from
/opt/qt4/lib/libQtCore.so.4
#2  0x00007f8924e398f6 in QWaitCondition::wait(QMutex*, unsigned long) () from
/opt/qt4/lib/libQtCore.so.4
#3  0x00007f8924e29596 in QThreadPoolPrivate::waitForDone() () from
/opt/qt4/lib/libQtCore.so.4
#4  0x00007f8924e298b4 in QThreadPool::~QThreadPool() () from
/opt/qt4/lib/libQtCore.so.4
#5  0x00007f8924e2acdc in
QGlobalStaticDeleter<QThreadPool>::~QGlobalStaticDeleter() () from
/opt/qt4/lib/libQtCore.so.4
#6  0x00007f8922c8a2ed in exit () from /lib64/libc.so.6
#7  0x00007f89239aa7a8 in qt_xio_errhandler () from /opt/qt4/lib/libQtGui.so.4
#8  0x00007f8925e692d8 in KApplication::xioErrhandler (this=0x7fffd9bde460,
dpy=0x63c760) at
/home/andris/development/sources/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:408
#9  0x00007f8921a92e54 in _XIOError () from /usr/lib64/libX11.so.6
#10 0x00007f8921a99aa8 in _XPutXCBBuffer () from /usr/lib64/libX11.so.6
#11 0x00007f8921a99d2d in ?? () from /usr/lib64/libX11.so.6
#12 0x00007f891f179516 in XRenderCompositeText32 () from
/usr/lib64/libXrender.so.1
#13 0x00007f8923b5312d in QX11PaintEngine::drawFreetype(QPointF const&,
QTextItemInt const&) () from /opt/qt4/lib/libQtGui.so.4
#14 0x00007f8923b53a15 in QX11PaintEngine::drawTextItem(QPointF const&,
QTextItem const&) () from /opt/qt4/lib/libQtGui.so.4
#15 0x00007f8923aa2237 in QPainter::drawTextItem(QPointF const&, QTextItem
const&) () from /opt/qt4/lib/libQtGui.so.4
#16 0x00007f8923bcc736 in drawMenuText(QPainter*, QFixed, QFixed, QScriptItem
const&, QTextItemInt&, QTextEngine*, int, int) () from
/opt/qt4/lib/libQtGui.so.4
#17 0x00007f8923bd2989 in QTextLine::draw(QPainter*, QPointF const&,
QTextLayout::FormatRange const*) const () from /opt/qt4/lib/libQtGui.so.4
#18 0x00007f8923a983ff in qt_format_text(QFont const&, QRectF const&, int,
QTextOption const*, QString const&, QRectF*, int, int*, int, QPainter*) () from
/opt/qt4/lib/libQtGui.so.4
#19 0x00007f8923a98aa8 in QPainter::drawText(QRect const&, int, QString const&,
QRect*) () from /opt/qt4/lib/libQtGui.so.4
#20 0x00007f890f0bbafc in paint_left_aligned_elided_text (text=...,
ci=0x1c2ffc0, painter=0x7fffd9bd92d0, left=@0x7fffd9bd8ac8, top=-18,
right=@0x7fffd9bd8acc, layoutDir=Qt::LeftToRight, font=...)
    at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/core/themedelegate.cpp:148
#21 0x00007f890f0bfcd0 in MessageList::Core::ThemeDelegate::paint
(this=0x1c3c660, painter=0x7fffd9bd92d0, option=..., index=<value optimized
out>)
    at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/core/themedelegate.cpp:1014
#22 0x00007f8923fd7407 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem
const&, QModelIndex const&) const () from /opt/qt4/lib/libQtGui.so.4
#23 0x00007f8923fd7eff in QTreeView::drawTree(QPainter*, QRegion const&) const
() from /opt/qt4/lib/libQtGui.so.4
#24 0x00007f8923fd925b in QTreeView::paintEvent(QPaintEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#25 0x00007f8923994b08 in QWidget::event(QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#26 0x00007f8923e11473 in QFrame::event(QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#27 0x00007f8923ec3efc in QAbstractScrollArea::viewportEvent(QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#28 0x00007f8923f953c1 in QAbstractItemView::viewportEvent(QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#29 0x00007f8923fd9800 in QTreeView::viewportEvent(QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#30 0x00007f8923ec6ffc in QAbstractScrollAreaPrivate::viewportEvent(QEvent*) ()
from /opt/qt4/lib/libQtGui.so.4
#31 0x00007f8923ec7038 in QAbstractScrollAreaFilter::eventFilter(QObject*,
QEvent*) () from /opt/qt4/lib/libQtGui.so.4
#32 0x00007f8924f50e47 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /opt/qt4/lib/libQtCore.so.4
#33 0x00007f8923923175 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /opt/qt4/lib/libQtGui.so.4
#34 0x00007f892392530e in QApplication::notify(QObject*, QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#35 0x00007f8925e698ab in KApplication::notify (this=0x7fffd9bde460,
receiver=0x1c316b0, event=0x7fffd9bda390) at
/home/andris/development/sources/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:302
#36 0x00007f8924f53237 in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /opt/qt4/lib/libQtCore.so.4
#37 0x00007f8928657487 in QCoreApplication::sendSpontaneousEvent(QObject*,
QEvent*) () from /opt/qt4/lib/libQt3Support.so.4
#38 0x00007f89239918f9 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/opt/qt4/lib/libQtGui.so.4
#39 0x00007f8923b740ec in QWidgetBackingStore::sync() () from
/opt/qt4/lib/libQtGui.so.4
#40 0x00007f892398a7df in QWidgetPrivate::syncBackingStore() () from
/opt/qt4/lib/libQtGui.so.4
#41 0x00007f8923995155 in QWidget::event(QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#42 0x00007f8923e34ad8 in QMainWindow::event(QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#43 0x00007f8925f7a823 in KXmlGuiWindow::event (this=0x2a50f6c, ev=0x80) at
/home/andris/development/sources/kde-trunk/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131
#44 0x00007f8923923197 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /opt/qt4/lib/libQtGui.so.4
#45 0x00007f892392530e in QApplication::notify(QObject*, QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#46 0x00007f8925e698ab in KApplication::notify (this=0x7fffd9bde460,
receiver=0x642c30, event=0x7fffd9bdb470) at
/home/andris/development/sources/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:302
#47 0x00007f8924f53237 in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /opt/qt4/lib/libQtCore.so.4
#48 0x00007f892865742d in QCoreApplication::sendEvent(QObject*, QEvent*) ()
from /opt/qt4/lib/libQt3Support.so.4
#49 0x00007f8923b6e640 in sendUpdateRequest(QWidget*, bool) () from
/opt/qt4/lib/libQtGui.so.4
#50 0x00007f8923b6ec86 in QWidgetBackingStore::markDirty(QRect const&,
QWidget*, bool, bool) () from /opt/qt4/lib/libQtGui.so.4
#51 0x00007f89239832b2 in QWidget::repaint(QRect const&) () from
/opt/qt4/lib/libQtGui.so.4
#52 0x00007f892398341c in QWidget::repaint() () from /opt/qt4/lib/libQtGui.so.4
#53 0x00007f8923daf179 in QAbstractButtonPrivate::click() () from
/opt/qt4/lib/libQtGui.so.4
#54 0x00007f8923daf478 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
from /opt/qt4/lib/libQtGui.so.4
#55 0x00007f8923ebe75c in QToolButton::mouseReleaseEvent(QMouseEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#56 0x00007f8923994235 in QWidget::event(QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#57 0x00007f8923dadc92 in QAbstractButton::event(QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#58 0x00007f8923ebf8d6 in QToolButton::event(QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#59 0x00007f8923923197 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /opt/qt4/lib/libQtGui.so.4
#60 0x00007f8923923f8e in QApplication::notify(QObject*, QEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#61 0x00007f8925e698ab in KApplication::notify (this=0x7fffd9bde460,
receiver=0x2599710, event=0x7fffd9bdc220) at
/home/andris/development/sources/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:302
#62 0x00007f8924f53237 in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /opt/qt4/lib/libQtCore.so.4
#63 0x00007f8928657487 in QCoreApplication::sendSpontaneousEvent(QObject*,
QEvent*) () from /opt/qt4/lib/libQt3Support.so.4
#64 0x00007f8923928adf in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from
/opt/qt4/lib/libQtGui.so.4
#65 0x00007f89239bd9ab in QETWidget::translateMouseEvent(_XEvent const*) ()
from /opt/qt4/lib/libQtGui.so.4
#66 0x00007f89239bed47 in QApplication::x11ProcessEvent(_XEvent*) () from
/opt/qt4/lib/libQtGui.so.4
#67 0x00007f89239efa16 in x11EventSourceDispatch(_GSource*, int (*)(void*),
void*) () from /opt/qt4/lib/libQtGui.so.4
#68 0x00007f891e8ab0fb in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#69 0x00007f891e8ae8cd in ?? () from /usr/lib64/libglib-2.0.so.0
#70 0x00007f891e8aea8b in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#71 0x00007f8924f8b06a in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /opt/qt4/lib/libQtCore.so.4
#72 0x00007f89239ef077 in
QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /opt/qt4/lib/libQtGui.so.4
#73 0x00007f8924f4f977 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/opt/qt4/lib/libQtCore.so.4
#74 0x00007f8924f4fb9b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/opt/qt4/lib/libQtCore.so.4
#75 0x00007f8924f53c81 in QCoreApplication::exec() () from
/opt/qt4/lib/libQtCore.so.4
#76 0x00007f8923922ef4 in QApplication::exec() () from
/opt/qt4/lib/libQtGui.so.4
#77 0x0000000000404b31 in main (argc=1, argv=0x7fffd9bdea38) at
/home/andris/development/sources/kde-trunk/kdepim/kontact/src/main.cpp:223

-- 
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