Bug 299257 - kmail and kontact crashing with segfault
Summary: kmail and kontact crashing with segfault
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2012-05-02 20:08 UTC by Peter
Modified: 2018-10-27 04:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2012-05-02 20:08:35 UTC
Application: kmail (4.7.3)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Linux Mint 12 KDE

-- Information about the crash:
It happens everytime i try to start kmail, it shows the UI and crashes immediately.

When I try it about ten times, it happens that there is a stable kamil running, but not reproducable.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fbb4c0577a0 (LWP 27076))]

Thread 4 (Thread 0x7fbb2c815700 (LWP 27096)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbb3e317c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fbb3e317d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fbb46f6fefc in start_thread (arg=0x7fbb2c815700) at pthread_create.c:304
#4  0x00007fbb493cb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbb2bf0c700 (LWP 27097)):
#0  0x00007fbb493bf473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbb41e07f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbb41e08429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbb49d3df3e in QEventDispatcherGlib::processEvents (this=0x7fbb240008b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fbb49d11cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbb49d11ef7 in QEventLoop::exec (this=0x7fbb2bf0bde0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fbb49c2927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fbb49c2bd05 in QThreadPrivate::start (arg=0x213f210) at thread/qthread_unix.cpp:331
#8  0x00007fbb46f6fefc in start_thread (arg=0x7fbb2bf0c700) at pthread_create.c:304
#9  0x00007fbb493cb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbae3fff700 (LWP 27102)):
#0  0x00007fbb493bf473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbb41e07f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbb41e08429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbb49d3df3e in QEventDispatcherGlib::processEvents (this=0x2557000, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fbb49d11cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbb49d11ef7 in QEventLoop::exec (this=0x7fbae3ffedb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fbb49c2927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fbb49cf4cbf in QInotifyFileSystemWatcherEngine::run (this=0x2556460) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fbb49c2bd05 in QThreadPrivate::start (arg=0x2556460) at thread/qthread_unix.cpp:331
#9  0x00007fbb46f6fefc in start_thread (arg=0x7fbae3fff700) at pthread_create.c:304
#10 0x00007fbb493cb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbb4c0577a0 (LWP 27076)):
[KCrash Handler]
#6  0x0000000000605270 in vtable for __cxxabiv1::__si_class_type_info ()
#7  0x00007fbb4a31a489 in QPixmap::copy (this=0x7fff50beb840, rect=...) at image/qpixmap.cpp:363
#8  0x00007fbb4a31b6d0 in QPixmap::QPixmap (this=0x7fff50beb940, pixmap=...) at image/qpixmap.cpp:277
#9  0x00007fbb4a31bb29 in QPixmap::scaled (this=0x7fff50beb920, s=<optimized out>, aspectMode=Qt::IgnoreAspectRatio, mode=Qt::SmoothTransformation) at image/qpixmap.cpp:1490
#10 0x00007fbb4a2ef1f6 in QPixmapIconEngine::pixmap (this=0x25fcab0, size=..., mode=QIcon::Selected, state=QIcon::On) at image/qicon.cpp:287
#11 0x00007fbb4a2eca98 in QPixmapIconEngine::paint (this=<optimized out>, painter=0x7fff50bed2b0, rect=..., mode=<optimized out>, state=<optimized out>) at image/qicon.cpp:146
#12 0x00007fbb4a2ed279 in QIcon::paint (this=0x7fff50bec788, painter=0x7fff50bed2b0, rect=..., alignment=..., mode=QIcon::Selected, state=<optimized out>) at image/qicon.cpp:722
#13 0x00007fbb4a54c8af in QCommonStyle::drawControl (this=0x1b8fe00, element=<optimized out>, opt=0x7fff50bec6f0, p=0x7fff50bed2b0, widget=0x1c84880) at styles/qcommonstyle.cpp:2195
#14 0x00007fbb32e0c675 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#15 0x00007fbb4a7f41c0 in QStyledItemDelegate::paint (this=0x1da5d60, painter=0x7fff50bed2b0, option=<optimized out>, index=...) at itemviews/qstyleditemdelegate.cpp:429
#16 0x00007fbb46073f34 in Akonadi::CollectionStatisticsDelegate::paint (this=0x1da5d60, painter=0x7fff50bed2b0, option=..., index=...) at ../../akonadi/collectionstatisticsdelegate.cpp:207
#17 0x00007fbb4a78cf7d in QTreeView::drawRow (this=0x1c84880, painter=0x7fff50bed2b0, option=..., index=...) at itemviews/qtreeview.cpp:1678
#18 0x00007fbb4a78fa43 in QTreeView::drawTree (this=0x1c84880, painter=0x7fff50bed2b0, region=<optimized out>) at itemviews/qtreeview.cpp:1441
#19 0x00007fbb4a7903e0 in QTreeView::paintEvent (this=0x1c84880, event=0x7fff50bedd00) at itemviews/qtreeview.cpp:1274
#20 0x00007fbb4a293c9c in QWidget::event (this=0x1c84880, event=0x7fff50bedd00) at kernel/qwidget.cpp:8441
#21 0x00007fbb4a63c5b6 in QFrame::event (this=0x1c84880, e=0x7fff50bedd00) at widgets/qframe.cpp:557
#22 0x00007fbb4a74d25b in QAbstractItemView::viewportEvent (this=0x1c84880, event=0x7fff50bedd00) at itemviews/qabstractitemview.cpp:1628
#23 0x00007fbb4a791df5 in QTreeView::viewportEvent (this=0x1c84880, event=0x7fff50bedd00) at itemviews/qtreeview.cpp:1256
#24 0x00007fbb49d12c88 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1db7530, event=0x7fff50bedd00) at kernel/qcoreapplication.cpp:902
#25 0x00007fbb4a24343f in notify_helper (e=0x7fff50bedd00, receiver=0x1db7530, this=0x1b0e870) at kernel/qapplication.cpp:4482
#26 QApplicationPrivate::notify_helper (this=0x1b0e870, receiver=0x1db7530, e=0x7fff50bedd00) at kernel/qapplication.cpp:4458
#27 0x00007fbb4a2482e1 in QApplication::notify (this=0x7fff50bf16f0, receiver=0x1db7530, e=0x7fff50bedd00) at kernel/qapplication.cpp:4365
#28 0x00007fbb4ba69466 in KApplication::notify (this=0x7fff50bf16f0, receiver=0x1db7530, event=0x7fff50bedd00) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007fbb49d12afc in QCoreApplication::notifyInternal (this=0x7fff50bf16f0, receiver=0x1db7530, event=0x7fff50bedd00) at kernel/qcoreapplication.cpp:787
#30 0x00007fbb4a290bd4 in sendSpontaneousEvent (event=0x7fff50bedd00, receiver=0x1db7530) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#31 QWidgetPrivate::drawWidget (this=0x2017000, pdev=0x223b0f0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5528
#32 0x00007fbb4a2917b0 in QWidgetPrivate::paintSiblingsRecursive (this=0x2016b70, pdev=0x223b0f0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5735
#33 0x00007fbb4a291690 in QWidgetPrivate::paintSiblingsRecursive (this=0x2016b70, pdev=0x223b0f0, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5722
#34 0x00007fbb4a291690 in QWidgetPrivate::paintSiblingsRecursive (this=0x2016b70, pdev=0x223b0f0, siblings=..., index=9, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5722
#35 0x00007fbb4a291690 in QWidgetPrivate::paintSiblingsRecursive (this=0x2016b70, pdev=0x223b0f0, siblings=..., index=10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5722
#36 0x00007fbb4a291690 in QWidgetPrivate::paintSiblingsRecursive (this=0x2016b70, pdev=0x223b0f0, siblings=..., index=11, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5722
#37 0x00007fbb4a291690 in QWidgetPrivate::paintSiblingsRecursive (this=0x2016b70, pdev=0x223b0f0, siblings=..., index=12, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5722
#38 0x00007fbb4a29092c in QWidgetPrivate::drawWidget (this=0x2016b70, pdev=0x223b0f0, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5581
#39 0x00007fbb4a2917b0 in QWidgetPrivate::paintSiblingsRecursive (this=0x2016970, pdev=0x223b0f0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5735
#40 0x00007fbb4a29092c in QWidgetPrivate::drawWidget (this=0x2016970, pdev=0x223b0f0, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5581
#41 0x00007fbb4a2917b0 in QWidgetPrivate::paintSiblingsRecursive (this=0x21b8520, pdev=0x223b0f0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5735
#42 0x00007fbb4a29092c in QWidgetPrivate::drawWidget (this=0x21b8520, pdev=0x223b0f0, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5581
#43 0x00007fbb4a2917b0 in QWidgetPrivate::paintSiblingsRecursive (this=0x2233420, pdev=0x223b0f0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5735
#44 0x00007fbb4a291690 in QWidgetPrivate::paintSiblingsRecursive (this=0x2233420, pdev=0x223b0f0, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5722
#45 0x00007fbb4a291690 in QWidgetPrivate::paintSiblingsRecursive (this=0x2233420, pdev=0x223b0f0, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5722
#46 0x00007fbb4a29092c in QWidgetPrivate::drawWidget (this=0x2233420, pdev=0x223b0f0, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5581
#47 0x00007fbb4a2917b0 in QWidgetPrivate::paintSiblingsRecursive (this=0x2232c30, pdev=0x223b0f0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5735
#48 0x00007fbb4a291690 in QWidgetPrivate::paintSiblingsRecursive (this=0x2232c30, pdev=0x223b0f0, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5722
#49 0x00007fbb4a291690 in QWidgetPrivate::paintSiblingsRecursive (this=0x2232c30, pdev=0x223b0f0, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5722
#50 0x00007fbb4a29092c in QWidgetPrivate::drawWidget (this=0x2232c30, pdev=0x223b0f0, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5581
#51 0x00007fbb4a2917b0 in QWidgetPrivate::paintSiblingsRecursive (this=0x200ddf0, pdev=0x223b0f0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5735
#52 0x00007fbb4a29092c in QWidgetPrivate::drawWidget (this=0x200ddf0, pdev=0x223b0f0, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5581
#53 0x00007fbb4a2917b0 in QWidgetPrivate::paintSiblingsRecursive (this=0x200d040, pdev=0x223b0f0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5735
#54 0x00007fbb4a29092c in QWidgetPrivate::drawWidget (this=0x200d040, pdev=0x223b0f0, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0x7fbb24007a90) at kernel/qwidget.cpp:5581
#55 0x00007fbb4a454273 in QWidgetBackingStore::sync (this=0x7fbb24007a90) at painting/qbackingstore.cpp:1338
#56 0x00007fbb4a2873b0 in QWidgetPrivate::syncBackingStore (this=0x200d040) at kernel/qwidget.cpp:1862
#57 0x00007fbb4a2941ac in QWidget::event (this=0x1df9950, event=0x1ff9ed0) at kernel/qwidget.cpp:8588
#58 0x00007fbb4a655dab in QMainWindow::event (this=0x1df9950, event=0x1ff9ed0) at widgets/qmainwindow.cpp:1478
#59 0x00007fbb4bb65ca8 in KXmlGuiWindow::event (this=0x1df9950, ev=0x1ff9ed0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#60 0x00007fbb4a243474 in notify_helper (e=0x1ff9ed0, receiver=0x1df9950, this=0x1b0e870) at kernel/qapplication.cpp:4486
#61 QApplicationPrivate::notify_helper (this=0x1b0e870, receiver=0x1df9950, e=0x1ff9ed0) at kernel/qapplication.cpp:4458
#62 0x00007fbb4a2482e1 in QApplication::notify (this=0x7fff50bf16f0, receiver=0x1df9950, e=0x1ff9ed0) at kernel/qapplication.cpp:4365
#63 0x00007fbb4ba69466 in KApplication::notify (this=0x7fff50bf16f0, receiver=0x1df9950, event=0x1ff9ed0) at ../../kdeui/kernel/kapplication.cpp:311
#64 0x00007fbb49d12afc in QCoreApplication::notifyInternal (this=0x7fff50bf16f0, receiver=0x1df9950, event=0x1ff9ed0) at kernel/qcoreapplication.cpp:787
#65 0x00007fbb49d1651f in sendEvent (event=0x1ff9ed0, receiver=0x1df9950) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#66 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1abb460) at kernel/qcoreapplication.cpp:1428
#67 0x00007fbb49d3da73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#68 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#69 0x00007fbb41e07a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007fbb41e08258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007fbb41e08429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007fbb49d3ded6 in QEventDispatcherGlib::processEvents (this=0x1abcf70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#73 0x00007fbb4a2eb10e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x00007fbb49d11cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#75 0x00007fbb49d11ef7 in QEventLoop::exec (this=0x7fff50bf15c0, flags=...) at kernel/qeventloop.cpp:201
#76 0x00007fbb49d16789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#77 0x0000000000402bd3 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-08-22 19:09:27 UTC
Please install debugging symbols for Oxygen, those are missing in your backtrace.
Comment 2 Andrew Crouthamel 2018-09-23 02:43:46 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 set the bug status 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 3 Andrew Crouthamel 2018-10-27 04:07:50 UTC
Dear Bug Submitter,

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!