Application: kontact (4.4.5) KDE Platform Version: 4.4.95 (KDE 4.4.95 (KDE 4.5 >= 20100723)) Qt Version: 4.6.3 Operating System: Linux 2.6.31.12-0.2-desktop x86_64 Distribution: "openSUSE 11.2 (x86_64)" -- Information about the crash: - What I was doing when the application crashed: 1) open Kontact, it opens the email section 2) try to switch to the addressbook using the sidebar, then it freezes. The crash can be reproduced every time. -- Backtrace: Application: Kontact (kontact), signal: Segmentation fault [KCrash Handler] #6 isNull (this=<value optimized out>) at image/qpixmapdata_p.h:119 #7 QPixmap::isNull (this=<value optimized out>) at image/qpixmap.cpp:544 #8 0x00007f262634daa9 in QPixmap::copy (this=0x7f26271c28d0, rect=...) at image/qpixmap.cpp:355 #9 0x00007f262634f088 in QPixmap::QPixmap (this=0x7fffbc2e7750, pixmap=...) at image/qpixmap.cpp:276 #10 0x00007f26277ceddf in KPixmapSequence::frameAt (this=<value optimized out>, index=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/kdeui/util/kpixmapsequence.cpp:141 #11 0x00007f2627d424ef in Akonadi::DelegateAnimator::sequenceFrame (this=0x1f94b30, index=...) at /usr/src/debug/kdepimlibs-4.4.95/akonadi/progressspinnerdelegate.cpp:60 #12 0x00007f2627d5488a in Akonadi::ProgressSpinnerDelegate::initStyleOption (this=0x1f969d0, option=0x7fffbc2e7860, index=...) at /usr/src/debug/kdepimlibs-4.4.95/akonadi/progressspinnerdelegate.cpp:94 #13 0x00007f262683f088 in QStyledItemDelegate::sizeHint (this=0x1f969d0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:445 #14 0x00007f26267cc8d6 in QTreeView::indexRowSizeHint (this=<value optimized out>, index=<value optimized out>) at itemviews/qtreeview.cpp:2861 #15 0x00007f26267ccd4e in QTreeViewPrivate::itemHeight (this=0x1fada60, item=0) at itemviews/qtreeview.cpp:3239 #16 0x00007f26267ccf8f in QTreeViewPrivate::updateScrollBars (this=0x1fada60) at itemviews/qtreeview.cpp:3484 #17 0x00007f26267cd3c4 in QTreeView::updateGeometries (this=0x1fa1bb0) at itemviews/qtreeview.cpp:2746 #18 0x00007f2626788849 in QAbstractItemView::doItemsLayout (this=0x1fa1bb0) at itemviews/qabstractitemview.cpp:1135 #19 0x00007f26267d8861 in QTreeView::doItemsLayout (this=0x1fa1bb0) at itemviews/qtreeview.cpp:2001 #20 0x00007f2626789304 in QAbstractItemView::timerEvent (this=0x1fa1bb0, event=<value optimized out>) at itemviews/qabstractitemview.cpp:2405 #21 0x00007f26267dafa1 in QTreeView::timerEvent (this=0x1fa1bb0, event=0x7fffbc2e8b20) at itemviews/qtreeview.cpp:1201 #22 0x00007f2627d357f5 in Akonadi::EntityTreeView::timerEvent (this=0x1fa1bb0, event=0x7fffbc2e8b20) at /usr/src/debug/kdepimlibs-4.4.95/akonadi/entitytreeview.cpp:219 #23 0x00007f2626ebd663 in QObject::event (this=0x1fa1bb0, e=0x7fffbc2e8b20) at kernel/qobject.cpp:1212 #24 0x00007f26262c114f in QWidget::event (this=0x1fa1bb0, event=0x7fffbc2e8b20) at kernel/qwidget.cpp:8501 #25 0x00007f26266671a6 in QFrame::event (this=0x1fa1bb0, e=0x7fffbc2e8b20) at widgets/qframe.cpp:557 #26 0x00007f26266f27bb in QAbstractScrollArea::event (this=0x1fa1bb0, e=0x7fffbc2e8b20) at widgets/qabstractscrollarea.cpp:989 #27 0x00007f26267900db in QAbstractItemView::event (this=0x1fa1bb0, event=0x7fffbc2e8b20) at itemviews/qabstractitemview.cpp:1551 #28 0x00007f262626b7fc in QApplicationPrivate::notify_helper (this=0x651970, receiver=0x1fa1bb0, e=0x7fffbc2e8b20) at kernel/qapplication.cpp:4302 #29 0x00007f2626271ddb in QApplication::notify (this=0x7fffbc2e8f80, receiver=0x1fa1bb0, e=0x7fffbc2e8b20) at kernel/qapplication.cpp:4185 #30 0x00007f262784bce6 in KApplication::notify (this=0x7fffbc2e8f80, receiver=0x1fa1bb0, event=0x7fffbc2e8b20) at /usr/src/debug/kdelibs-4.4.95/kdeui/kernel/kapplication.cpp:309 #31 0x00007f2626eadb1c in QCoreApplication::notifyInternal (this=0x7fffbc2e8f80, receiver=0x1fa1bb0, event=0x7fffbc2e8b20) at kernel/qcoreapplication.cpp:726 #32 0x00007f2626eda9d5 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215 #33 QTimerInfoList::activateTimers (event=<value optimized out>, receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:618 #34 0x00007f2626ed74c8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #35 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231 #36 0x00007f261e3f7dee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #37 0x00007f261e3fb7b8 in ?? () from /usr/lib64/libglib-2.0.so.0 #38 0x00007f261e3fb8e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #39 0x00007f2626ed7193 in QEventDispatcherGlib::processEvents (this=0x613ae0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #40 0x00007f262631a21e in QGuiEventDispatcherGlib::processEvents (this=0x7f26271c28d0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #41 0x00007f2626eac432 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #42 0x00007f2626eac80c in QEventLoop::exec (this=0x7fffbc2e8ec0, flags=) at kernel/qeventloop.cpp:201 #43 0x00007f2626eb14bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #44 0x0000000000403ede in _start () Reported using DrKonqi
from bug 254633: -- Information about the crash: - What I was doing when the application crashed: I startet kontact with kmail as application. Then I switched to addressbook and kontact crashed. Starting kaddressbook crashes at once. This happens every time. The crash can be reproduced every time.
*** Bug 254633 has been marked as a duplicate of this bug. ***
Hej, is it still reproducable with current version? Ciao, Tobias
Yes, it's still reproducable. What I have found, it seems to be a akonadi problem. When I deleted all kontact sources and kadressbook starts without crash. If I readd or import the kontact sources again I have access to them. After another start of kaddressbook or switching between two komponents of kontact it crashes again.
[Comment from a bug triager] Updated backtrace from bug 254945 (KDE SC 4.5.2): [KCrash Handler] #6 isNull (this=0x7f2951d808f0) at image/qpixmapdata_p.h:124 #7 QPixmap::isNull (this=0x7f2951d808f0) at image/qpixmap.cpp:545 #8 0x00007f2950ee6809 in QPixmap::copy (this=0x7f2951d808f0, rect=...) at image/qpixmap.cpp:356 #9 0x00007f2950ee7b08 in QPixmap::QPixmap (this=0x7fff1b5cebd0, pixmap=@0x7f2951d808f0) at image/qpixmap.cpp:277 #10 0x00007f29523b728f in KPixmapSequence::frameAt (this=<value optimized out>, index=<value optimized out>) at /usr/src/debug/kdelibs-4.5.2/kdeui/util/kpixmapsequence.cpp:141 #11 0x00007f2952916780 in Akonadi::DelegateAnimator::sequenceFrame (this=0x21fa940, index=...) at /usr/src/debug/kdepimlibs-4.5.2/akonadi/progressspinnerdelegate.cpp:60 #12 0x00007f2952917396 in Akonadi::ProgressSpinnerDelegate::initStyleOption (this=0xd3c050, option=0x7fff1b5cece0, index=...) at /usr/src/debug/kdepimlibs-4.5.2/akonadi/progressspinnerdelegate.cpp:94 #13 0x00007f29513c37e0 in QStyledItemDelegate::sizeHint (this=0xd3c050, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:445 ... From bug 256950: - What I was doing when the application crashed: I can start kmail and even log in to my IMAP account. However, whenever I try to open any mailbox, whether local or remote, kmail crashes. This makes it not very useful as a mail reader. :) I can recompile with additional flags if you think this would be helpful. Just let me know what/how.
*** Bug 254945 has been marked as a duplicate of this bug. ***
*** Bug 256950 has been marked as a duplicate of this bug. ***
Is this reproducible in trunk with Qt 4.7.1? I think it may have been fixed.
Worksforme
Created attachment 53914 [details] New crash information added by DrKonqi kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0 - What I was doing when the application crashed: Using Kontact, switching to the Contacts tab and it segfaults. With KAddressBook it also segfault. -- Backtrace (Reduced): #6 isNull (this=0x7fc88e9a78d0) at image/qpixmapdata_p.h:124 #7 QPixmap::isNull (this=0x7fc88e9a78d0) at image/qpixmap.cpp:545 #8 0x00007fc88f113f89 in QPixmap::copy (this=0x7fc88e9a78d0, rect=...) at image/qpixmap.cpp:356 #9 0x00007fc88f115688 in QPixmap::QPixmap (this=0x7fffdff9c860, pixmap=...) at image/qpixmap.cpp:277 #10 0x00007fc88fe18f6f in KPixmapSequence::frameAt (this=<value optimized out>, index=<value optimized out>) at ../../kdeui/util/kpixmapsequence.cpp:141
Is there no other solution than doing an update to qt 4.7.1? I'm using opensuse 11.3. and I don't wone update to an unstable repo. It seems there are many using the adresssbook without crash.
Well, it doesn't work for me. I'm not 100% sure this is the same problem, but previous Bug 256950 was closed as a duplicate of this one. I recompiled using trunk as of about 2 hours again and akonadi git as of half an hour ago. I have been using qt 4.7.1 for a while. But, whenever I click on any mailbox in order to try to actually read mail, kmail crashes. I can provide additional info if you tell me what you need (obviously I can compile KDE, but I'm not 100% expert so I may need instructions...).
[Comment from a bug triager] Just to check, are the backtraces you are getting with Qt 4.7.1 the same as the one described here ? If it is the same then we can reopen this bug report, otherwise, it could be a different bug (which may be already reported too). Thanks
It certainly looks similar. Attaching backtrace so you can judge for yourself Application: KMail (kmail), signal: Segmentation fault The current source language is "auto; currently c". [Current thread is 1 (Thread 0x7fc2f9ed9760 (LWP 20933))] Thread 2 (Thread 0x7fc2e2604710 (LWP 20939)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/ pthread_cond_wait.S:162 #1 0x00007fc2ecaf37ae in ?? () from /usr/local/cvskde/lib/libQtWebKit.so.4 #2 0x00007fc2ecaf38c9 in ?? () from /usr/local/cvskde/lib/libQtWebKit.so.4 #3 0x00007fc2f414f8ba in start_thread (arg=<value optimized out>) at pthread_cr eate.c:300 #4 0x00007fc2f370b02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S: 112 #5 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fc2f9ed9760 (LWP 20933)): [KCrash Handler] #4 0x00007fc2f52fd48e in QPixmap::isNull() const () from /usr/local/cvskde/lib/ libQtGui.so.4 #5 0x00007fc2f52fe6c9 in QPixmap::copy(QRect const&) const () from /usr/local/c vskde/lib/libQtGui.so.4 #6 0x00007fc2f52ff420 in QPixmap::QPixmap(QPixmap const&) () from /usr/local/cv skde/lib/libQtGui.so.4 #7 0x00007fc2f99834ef in KPixmapSequence::frameAt (this=<value optimized out>, index=<value optimized out>) at /usr/local/src/kde/KDE/kdelibs/kdeui/util/kpixma psequence.cpp:141 #8 0x00007fc2f6b0ffbf in Akonadi::DelegateAnimator::sequenceFrame (this=0x16ca4 e0, index=...) at /usr/local/src/kde/KDE/kdepimlibs/akonadi/progressspinnerdeleg ate.cpp:60 #9 0x00007fc2f6a8bbfe in Akonadi::CollectionStatisticsDelegate::initStyleOption (this=<value optimized out>, option=0x7fff8d0132a0, index=...) at /usr/local/src/kde/KDE/kdepimlibs/akonadi/collectionstatisticsdelegate.cp p:174 #10 0x00007fc2f5815318 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem con st&, QModelIndex const&) const () from /usr/local/cvskde/lib/libQtGui.so.4 #11 0x00007fc2f57a50a5 in QTreeView::indexRowSizeHint(QModelIndex const&) const () from /usr/local/cvskde/lib/libQtGui.so.4 #12 0x00007fc2f57a54fc in ?? () from /usr/local/cvskde/lib/libQtGui.so.4 #13 0x00007fc2f57a7d7c in QTreeView::drawTree(QPainter*, QRegion const&) const ( ) from /usr/local/cvskde/lib/libQtGui.so.4 #14 0x00007fc2f57a8263 in QTreeView::paintEvent(QPaintEvent*) () from /usr/local /cvskde/lib/libQtGui.so.4 #15 0x00007fc2f526da4e in QWidget::event(QEvent*) () from /usr/local/cvskde/lib/ libQtGui.so.4 #16 0x00007fc2f5635876 in QFrame::event(QEvent*) () from /usr/local/cvskde/lib/l ibQtGui.so.4 #17 0x00007fc2f576b8fb in QAbstractItemView::viewportEvent(QEvent*) () from /usr /local/cvskde/lib/libQtGui.so.4 #18 0x00007fc2f57a85c5 in QTreeView::viewportEvent(QEvent*) () from /usr/local/c vskde/lib/libQtGui.so.4 #19 0x00007fc2f44e1847 in QCoreApplicationPrivate::sendThroughObjectEventFilters (QObject*, QEvent*) () from /usr/local/cvskde/lib/libQtCore.so.4 #20 0x00007fc2f5217d8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/cvskde/lib/libQtGui.so.4 #21 0x00007fc2f521e75d in QApplication::notify(QObject*, QEvent*) () from /usr/l ocal/cvskde/lib/libQtGui.so.4 #22 0x00007fc2f98effb6 in KApplication::notify (this=0x7fff8d015750, receiver=0x 1656180, event=0x7fff8d0144b0) at /usr/local/src/kde/KDE/kdelibs/kdeui/kernel/ka pplication.cpp:311 #23 0x00007fc2f44e201c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/cvskde/lib/libQtCore.so.4 #24 0x00007fc2f527445d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion cons t&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/local/cvsk de/lib/libQtGui.so.4 #25 0x00007fc2f5447bb6 in ?? () from /usr/local/cvskde/lib/libQtGui.so.4 #26 0x00007fc2f5267570 in QWidgetPrivate::syncBackingStore() () from /usr/local/ cvskde/lib/libQtGui.so.4 #27 0x00007fc2f526e115 in QWidget::event(QEvent*) () from /usr/local/cvskde/lib/libQtGui.so.4 #28 0x00007fc2f565163b in QMainWindow::event(QEvent*) () from /usr/local/cvskde/lib/libQtGui.so.4 #29 0x00007fc2f9a06093 in KXmlGuiWindow::event (this=0x7fc2f4815f30, ev=0x7fc2f4815f30) at /usr/local/src/kde/KDE/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:126 #30 0x00007fc2f5217dbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/cvskde/lib/libQtGui.so.4 #31 0x00007fc2f521e75d in QApplication::notify(QObject*, QEvent*) () from /usr/local/cvskde/lib/libQtGui.so.4 #32 0x00007fc2f98effb6 in KApplication::notify (this=0x7fff8d015750, receiver=0x16b1e80, event=0x1970a70) at /usr/local/src/kde/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #33 0x00007fc2f44e201c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/cvskde/lib/libQtCore.so.4 #34 0x00007fc2f44e4fbb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/local/cvskde/lib/libQtCore.so.4 #35 0x00007fc2f450e5c3 in ?? () from /usr/local/cvskde/lib/libQtCore.so.4 #36 0x00007fc2e93e96f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #37 0x00007fc2e93ed568 in ?? () from /lib/libglib-2.0.so.0 #38 0x00007fc2e93ed71c in g_main_context_iteration () from /lib/libglib-2.0.so.0 #39 0x00007fc2f450e103 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/cvskde/lib/libQtCore.so.4 #40 0x00007fc2f52c9a7e in ?? () from /usr/local/cvskde/lib/libQtGui.so.4 #41 0x00007fc2f44e0d42 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/cvskde/lib/libQtCore.so.4 #42 0x00007fc2f44e112c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/cvskde/lib/libQtCore.so.4 #43 0x00007fc2f44e51fb in QCoreApplication::exec() () from /usr/local/cvskde/lib/libQtCore.so.4 #44 0x000000000040319c in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/local/src/kde/KDE/kdepim/kmail/main.cpp:145 The current source language is "auto; currently asm". The current source language is "auto; currently c". Here is my version information kde-cvs@cavy:~$ kmail -v Qt: 4.7.1 KDE Development Platform: 4.5.76 (4.6 >= 20101111) KMail: 2.0.89 kde-cvs@cavy:~$ akonadiserver --version Akonadi 1.4.80 (revision: d0502b1)
Sorry for the double message, but I also tried using Kontact as mentioned here, and I got a crash when clicking on the contacts tab, so I guess my crash is related.
[Comment from a bug triager] Reopening due a new case
[Comment from a bug triager] Note: there is a small fix on KPixmapSequence code described at bug 258306 comment 2 (applied some days ago to the KDE SC 4.6 code). This fix should stop the crash, however the application using the KPixmapSequence should provide valid pixmaps. Regards
Created attachment 54482 [details] New crash information added by DrKonqi kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0 - What I was doing when the application crashed: Opening the Contacts tab on Kontact. When using KAddressBook it also does it. -- Backtrace (Reduced): #6 isNull (this=0x7f152daa98d0) at image/qpixmapdata_p.h:124 #7 QPixmap::isNull (this=0x7f152daa98d0) at image/qpixmap.cpp:545 #8 0x00007f152e215f89 in QPixmap::copy (this=0x7f152daa98d0, rect=...) at image/qpixmap.cpp:356 #9 0x00007f152e217688 in QPixmap::QPixmap (this=0x7fffc145af90, pixmap=...) at image/qpixmap.cpp:277 #10 0x00007f152ef1af6f in KPixmapSequence::frameAt (this=<value optimized out>, index=<value optimized out>) at ../../kdeui/util/kpixmapsequence.cpp:141
Created attachment 56446 [details] New crash information added by DrKonqi kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0 - What I was doing when the application crashed: full Kontact PIM open. Address book component enabled. From summary screen selected address book; crash followed. Also occurs when selecting Address book component from mail component. -- Backtrace (Reduced): #6 isNull (this=0x7f7d6304e8d0) at image/qpixmapdata_p.h:124 #7 QPixmap::isNull (this=0x7f7d6304e8d0) at image/qpixmap.cpp:545 #8 0x00007f7d637baf89 in QPixmap::copy (this=0x7f7d6304e8d0, rect=...) at image/qpixmap.cpp:356 #9 0x00007f7d637bc688 in QPixmap::QPixmap (this=0x7fffde7d6e70, pixmap=...) at image/qpixmap.cpp:277 #10 0x00007f7d644bff6f in KPixmapSequence::frameAt (this=<value optimized out>, index=<value optimized out>) at ../../kdeui/util/kpixmapsequence.cpp:141
*** Bug 295675 has been marked as a duplicate of this bug. ***
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present? If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.