Summary: | Crash at opening Addressbook [QPixmap::isNull, QPixmap::copy, ..., KPixmapSequence::frameAt, Akonadi::DelegateAnimator::sequenceFrame] | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Aron Novak <naronhu> |
Component: | libakonadi | Assignee: | Tobias Koenig <tokoe> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | andresbajotierra, hgernhardt, is, ka_si_mir, peteroschi, redzabu, steveire, tokoe, v |
Priority: | NOR | ||
Version: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Aron Novak
2010-08-03 20:23:02 UTC
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. |