Bug 258306 - Gwenview crashes when clicking on another thumbnail then the one openen
Summary: Gwenview crashes when clicking on another thumbnail then the one openen
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 254618 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-29 20:44 UTC by J Reitsma
Modified: 2012-10-19 13:27 UTC (History)
3 users (show)

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 J Reitsma 2010-11-29 20:44:37 UTC
Application: gwenview (2.5.2)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.36-18-desktop x86_64
Distribution: "openSUSE 11.4 Milestone 3 of 6 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I had Gwenview opened from Dolphin. The picture I selected in Dolphin was shown correctly.
When want to select another picture in the thumbnail bar in Gwenview (either by clicking on one, or by going to the neighbour with the cursor keys), Gwenview crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f7a05007760 (LWP 5255))]

Thread 2 (Thread 0x7f79f2dcf710 (LWP 5256)):
#0  0x00007f7a00958709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7a04006f12 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f7a03ffcd28 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f7a040068be in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f7a00953a4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7a01e209fd in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7a05007760 (LWP 5255)):
[KCrash Handler]
#6  0x00007f7a0265431e in QPixmap::isNull() const () from /usr/lib64/libQtGui.so.4
#7  0x00007f7a02655629 in QPixmap::copy(QRect const&) const () from /usr/lib64/libQtGui.so.4
#8  0x00007f7a02656928 in QPixmap::QPixmap(QPixmap const&) () from /usr/lib64/libQtGui.so.4
#9  0x00007f7a036739df in KPixmapSequence::frameAt(int) const () from /usr/lib64/libkdeui.so.5
#10 0x00007f7a04942e99 in Gwenview::ThumbnailView::busySequenceCurrentPixmap() const () from /usr/lib64/libgwenviewlib.so.4
#11 0x00007f7a049419bb in Gwenview::ThumbnailBarItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib64/libgwenviewlib.so.4
#12 0x00007f7a02aa14da in QListView::paintEvent(QPaintEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x00007f7a025d163a in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x00007f7a0296f026 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#15 0x00007f7a02a7f043 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#16 0x00007f7a040efc27 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#17 0x00007f7a0257ff31 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007f7a0258838a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007f7a0364d4b6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007f7a040efa9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#21 0x00007f7a025ce502 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#22 0x00007f7a025cf0cf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f7a025ce26a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f7a025cf0cf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f7a025ce26a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#26 0x00007f7a025cf0cf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#27 0x00007f7a025ce26a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#28 0x00007f7a025cf0cf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#29 0x00007f7a025ce26a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#30 0x00007f7a025cf0cf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#31 0x00007f7a025ce26a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#32 0x00007f7a025cf0cf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#33 0x00007f7a025ce26a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#34 0x00007f7a025cf0cf in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#35 0x00007f7a025ce26a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#36 0x00007f7a0278ac21 in ?? () from /usr/lib64/libQtGui.so.4
#37 0x00007f7a025c4280 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4
#38 0x00007f7a025d1b42 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#39 0x00007f7a02988a3b in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#40 0x00007f7a036f2463 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#41 0x00007f7a0257ff64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#42 0x00007f7a0258838a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#43 0x00007f7a0364d4b6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#44 0x00007f7a040efa9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#45 0x00007f7a040f3245 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#46 0x00007f7a0411a603 in ?? () from /usr/lib64/libQtCore.so.4
#47 0x00007f79fe88bf43 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#48 0x00007f79fe88c720 in ?? () from /lib64/libglib-2.0.so.0
#49 0x00007f79fe88c9c0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#50 0x00007f7a0411a79f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#51 0x00007f7a02623e1e in ?? () from /usr/lib64/libQtGui.so.4
#52 0x00007f7a040eeed2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#53 0x00007f7a040ef0e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#54 0x00007f7a040f34fb in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#55 0x000000000043e77f in _start ()

This bug may be a duplicate of or related to bug 254618.

Possible duplicates by query: bug 254618.

Reported using DrKonqi
Comment 1 Aurelien Gateau 2010-11-29 22:23:39 UTC
Hi,

Are you by chance using a different icon theme from the Oxygen one? Judging from the backtrace I think this bug should go away if you use the Oxygen icon theme.
Comment 2 Aurelien Gateau 2010-11-29 23:03:05 UTC
SVN commit 1202164 by gateau:

Do not crash if one tries to access the frame of an invalid sequence

CCBUG: 258306

 M  +4 -0      kpixmapsequence.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1202164
Comment 3 J Reitsma 2010-12-01 17:10:03 UTC
There's is little difference if I use Oxygen (not the default theme in OpenSuse 11.4M4): sometimes I can choose *one* other item; by the second choice it crashes again.
Comment 4 Dario Andres 2010-12-07 13:42:07 UTC
[Comment from a bug triager]
@Aurelien: I guess that your commit should also fix the crash on bug 246632. Is it that way ?
Thanks
Comment 5 Jekyll Wu 2012-05-29 10:04:57 UTC
*** Bug 254618 has been marked as a duplicate of this bug. ***