Bug 168838 - gewnview crash in view-mode ->enable thumbnail bar
Summary: gewnview crash in view-mode ->enable thumbnail bar
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 168565 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-10 09:42 UTC by SlashDevDsp
Modified: 2012-10-19 13:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SlashDevDsp 2008-08-10 09:42:11 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          4.1.3 
OS:                Linux

first run of gwenview->selected image folder->changed to 'view mode' (2nd icon in toolbar) then clicked thumbnails to see thumbnails(button on the bottom left of gwenview) then gwenview crashed. attached bt.
Application: Gwenview (gwenview), signal SIGSEGV
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[New Thread -1240168768 (LWP 5352)]
[New Thread -1268642928 (LWP 5358)]
[Current thread is 0 (LWP 5352)]

Thread 2 (Thread -1268642928 (LWP 5358)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb73718fc in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb73d3c84 in QWaitCondition::wait (this=0x8547438, mutex=0x8547434, time=30000) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qwaitcondition_unix.cpp:86
#3  0xb73caa5f in QThreadPoolThread::run (this=0x853a9c8) at /home/kde-devel/kdesvn/qt-copy/src/corelib/concurrent/qthreadpool.cpp:141
#4  0xb73d35c7 in QThreadPrivate::start (arg=0x853a9c8) at /home/kde-devel/kdesvn/qt-copy/src/corelib/thread/qthread_unix.cpp:190
#5  0xb736d46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb673a6de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1240168768 (LWP 5352)):
[KCrash Handler]
#6  0xb7468ad9 in QUrl (this=0xbfeed20c, other=@0x8) at /home/kde-devel/kdesvn/qt-copy/src/corelib/io/qurl.cpp:3775
#7  0xb768ec09 in KUrl (this=0xbfeed20c, _u=@0x8) at /home/kde-devel/kdesvn/kdelibs/kdecore/io/kurl.cpp:436
#8  0xb7ccc3be in KFileItem::url (this=0xbfeed234) at /home/kde-devel/kdesvn/kdelibs/kio/kio/kfileitem.cpp:1211
#9  0xb7eef792 in Gwenview::ThumbnailView::thumbnailForIndex (this=0x8318be0, index=@0x85262f0) at /home/kde-devel/kdesvn/kdegraphics/gwenview/lib/thumbnailview/thumbnailview.cpp:286
#10 0x0808b00e in Gwenview::ThumbnailBarItemDelegate::paint (this=0x8320068, painter=0xbfeed680, option=@0xbfeed500, index=@0x85262f0)
    at /home/kde-devel/kdesvn/kdegraphics/gwenview/app/thumbnailbarview.cpp:132
#11 0xb6fa7873 in QListView::paintEvent (this=0x8318be0, e=0xbfeedf94) at /home/kde-devel/kdesvn/qt-copy/src/gui/itemviews/qlistview.cpp:1153
#12 0x0808a8ce in Gwenview::ThumbnailBarView::paintEvent (this=0x8318be0, event=0xbfeedf94) at /home/kde-devel/kdesvn/kdegraphics/gwenview/app/thumbnailbarview.cpp:248
#13 0xb6b6e253 in QWidget::event (this=0x8318be0, event=0xbfeedf94) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7159
#14 0xb6e6f623 in QFrame::event (this=0x8318be0, e=0xbfeedf94) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qframe.cpp:657
#15 0xb6ef4b0c in QAbstractScrollArea::viewportEvent (this=0xbfeed234, e=0xbfeed20c) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:947
#16 0xb6f8a21e in QAbstractItemView::viewportEvent (this=0x8318be0, event=0xbfeedf94) at /home/kde-devel/kdesvn/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1435
#17 0xb6ef5cf5 in QAbstractScrollAreaFilter::eventFilter (this=0x831e608, o=0x831d1d8, e=0xbfeedf94) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:102
#18 0xb74ac0f9 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80aa308, receiver=0x831d1d8, event=0xbfeedf94)
    at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:698
#19 0xb6b22a59 in QApplicationPrivate::notify_helper (this=0x80aa308, receiver=0x831d1d8, e=0xbfeedf94) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3796
#20 0xb6b2958e in QApplication::notify (this=0xbfeefcc0, receiver=0x831d1d8, e=0xbfeedf94) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3765
#21 0xb7a0f23a in KApplication::notify (this=0xbfeefcc0, receiver=0x831d1d8, event=0xbfeedf94) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311
#22 0xb74abb19 in QCoreApplication::notifyInternal (this=0xbfeefcc0, receiver=0x831d1d8, event=0xbfeedf94) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:587
#23 0xb6b77b7e in qt_sendSpontaneousEvent (receiver=0x831d1d8, event=0xbfeed20c) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:218
#24 0xb6b6d018 in QWidgetPrivate::drawWidget (this=0x831d638, pdev=0x80c71a4, rgn=@0xbfeee13c, offset=@0xbfeee134, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4528
#25 0xb6b6d89c in QWidgetPrivate::paintSiblingsRecursive (this=0x831d2a0, pdev=0x80c71a4, siblings=@0xbfeee3c0, index=0, rgn=@0xbfeee1fc, offset=@0xbfeee474, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4626
#26 0xb6b6d74f in QWidgetPrivate::paintSiblingsRecursive (this=0x831d2a0, pdev=0x80c71a4, siblings=@0xbfeee3c0, index=6, rgn=@0xbfeee47c, offset=@0xbfeee474, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4616
#27 0xb6b6cc7a in QWidgetPrivate::drawWidget (this=0x831d2a0, pdev=0x80c71a4, rgn=@0xbfeee47c, offset=@0xbfeee474, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4569
#28 0xb6b6d89c in QWidgetPrivate::paintSiblingsRecursive (this=0x8324078, pdev=0x80c71a4, siblings=@0xbfeee700, index=2, rgn=@0xbfeee53c, offset=@0xbfeee7b4, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4626
#29 0xb6b6d74f in QWidgetPrivate::paintSiblingsRecursive (this=0x8324078, pdev=0x80c71a4, siblings=@0xbfeee700, index=3, rgn=@0xbfeee7bc, offset=@0xbfeee7b4, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4616
#30 0xb6b6cc7a in QWidgetPrivate::drawWidget (this=0x8324078, pdev=0x80c71a4, rgn=@0xbfeee7bc, offset=@0xbfeee7b4, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4569
#31 0xb6b6d89c in QWidgetPrivate::paintSiblingsRecursive (this=0x83186f8, pdev=0x80c71a4, siblings=@0xbfeee980, index=1, rgn=@0xbfeeea3c, offset=@0xbfeeea34, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4626
#32 0xb6b6cc7a in QWidgetPrivate::drawWidget (this=0x83186f8, pdev=0x80c71a4, rgn=@0xbfeeea3c, offset=@0xbfeeea34, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4569
#33 0xb6b6d89c in QWidgetPrivate::paintSiblingsRecursive (this=0x81b9318, pdev=0x80c71a4, siblings=@0xbfeeec00, index=4, rgn=@0xbfeeecbc, offset=@0xbfeeecb4, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4626
#34 0xb6b6cc7a in QWidgetPrivate::drawWidget (this=0x81b9318, pdev=0x80c71a4, rgn=@0xbfeeecbc, offset=@0xbfeeecb4, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4569
#35 0xb6b6d89c in QWidgetPrivate::paintSiblingsRecursive (this=0x81d8098, pdev=0x80c71a4, siblings=@0xbfeeee80, index=0, rgn=@0xbfeeef3c, offset=@0xbfeeef34, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4626
#36 0xb6b6cc7a in QWidgetPrivate::drawWidget (this=0x81d8098, pdev=0x80c71a4, rgn=@0xbfeeef3c, offset=@0xbfeeef34, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4569
#37 0xb6b6d89c in QWidgetPrivate::paintSiblingsRecursive (this=0x8199d58, pdev=0x80c71a4, siblings=@0xbfeef100, index=1, rgn=@0xbfeef1bc, offset=@0xbfeef1b4, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4626
#38 0xb6b6cc7a in QWidgetPrivate::drawWidget (this=0x8199d58, pdev=0x80c71a4, rgn=@0xbfeef1bc, offset=@0xbfeef1b4, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4569
#39 0xb6b6d89c in QWidgetPrivate::paintSiblingsRecursive (this=0x81097b0, pdev=0x80c71a4, siblings=@0xbfeef380, index=8, rgn=@0xbfeef484, offset=@0x80bcc94, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4626
#40 0xb6b6cc7a in QWidgetPrivate::drawWidget (this=0x81097b0, pdev=0x80c71a4, rgn=@0xbfeef484, offset=@0x80bcc94, flags=4, sharedPainter=0x84d8de0)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:4569
#41 0xb6cc2520 in QWidgetBackingStore::cleanRegion (this=0x80bcc88, rgn=@0xbfeef4e8, widget=0x8108740, recursiveCopyToScreen=true)
    at /home/kde-devel/kdesvn/qt-copy/src/gui/painting/qbackingstore.cpp:1033
#42 0xb6cc2887 in qt_syncBackingStore (widget=0x8108740) at /home/kde-devel/kdesvn/qt-copy/src/gui/painting/qbackingstore.cpp:319
#43 0xb6b6e03d in QWidget::event (this=0x8108740, event=0x84ec948) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7303
#44 0xb6e89b7f in QMainWindow::event (this=0x8108740, event=0x84ec948) at /home/kde-devel/kdesvn/qt-copy/src/gui/widgets/qmainwindow.cpp:1274
#45 0xb7ae5ebf in KMainWindow::event (this=0x8108740, ev=0x84ec948) at /home/kde-devel/kdesvn/kdelibs/kdeui/widgets/kmainwindow.cpp:1020
#46 0xb7b29d4c in KXmlGuiWindow::event (this=0x8108740, ev=0x84ec948) at /home/kde-devel/kdesvn/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:122
#47 0xb6b22a7f in QApplicationPrivate::notify_helper (this=0x80aa308, receiver=0x8108740, e=0x84ec948) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3800
#48 0xb6b2958e in QApplication::notify (this=0xbfeefcc0, receiver=0x8108740, e=0x84ec948) at /home/kde-devel/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3765
#49 0xb7a0f23a in KApplication::notify (this=0xbfeefcc0, receiver=0x8108740, event=0x84ec948) at /home/kde-devel/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311
#50 0xb74abb19 in QCoreApplication::notifyInternal (this=0xbfeefcc0, receiver=0x8108740, event=0x84ec948) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:587
#51 0xb74ace3e in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x809b390) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215
#52 0xb74ad06d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/kde-devel/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1095
#53 0xb74d22df in postEventSourceDispatch (s=0x80ac710) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:220
#54 0xb638a11c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#55 0xb638d55f in ?? () from /usr/lib/libglib-2.0.so.0
#56 0x080ac690 in ?? ()
#57 0x00000000 in ?? ()
Comment 1 Dario Andres 2008-08-11 01:15:30 UTC
Version 2.1 Using KDE 4.1.1 (KDE 4.1.0 (4.1 >= 20080722)) (KDEmod) in ArchLinux i686:
I can reproduce this bug
Comment 2 Aurelien Gateau 2008-08-11 15:16:27 UTC
*** Bug 168565 has been marked as a duplicate of this bug. ***
Comment 3 Aurelien Gateau 2008-08-11 16:26:36 UTC
SVN commit 845348 by gateau:

Make fileItemForIndex and urlForIndex more robust.
Use them in thumbnailForIndex.
BUG:168838


 M  +11 -5     thumbnailview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=845348