[Digikam-devel] [Bug 184473] Reproducable Crash in Albumview

Ian Hubbertz kde_bugs at hubbertz.de
Mon Feb 16 22:31:37 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=184473





--- Comment #6 from   2009-02-16 23:31:33 ---
I found the problem:

689                 if (d->ratingItem)
690                 {
691                     unsetCursor();
692                     d->ratingBox->hide();
693                     ThumbBarItem *item = d->ratingItem;
694                     d->ratingItem      = 0;
695                     item->repaint();
696                 }


Problem is that line 692 results in the same event, so the function is
reentered with the *SAME* ImagePreviewBar object, so in the first called
method, d->ratingItem has been set to NULL, when d->ratingBox->hide() returns.

-------> Look at #0 and #12 <-------

#0  Digikam::ImagePreviewBar::eventFilter (this=0xe224a0, obj=0xbc5d40,
ev=0x7fff0cc90730)                                       
    at
/mnt/var_data/var/tmp/portage/media-gfx/digikam-0.10.0_rc2/work/digikam-0.10.0-rc2/digikam/imagepreviewbar.cpp:694 
#1  0x00007facfea6ce87 in
QCoreApplicationPrivate::sendThroughObjectEventFilters () from
/usr/lib64/qt4/libQtCore.so.4           
#2  0x00007facff599d8c in QApplicationPrivate::notify_helper () from
/usr/lib64/qt4/libQtGui.so.4                                
#3  0x00007facff5a169a in QApplication::notify () from
/usr/lib64/qt4/libQtGui.so.4                                              
#4  0x00007fad00873c3b in KApplication::notify () from
/usr/kde/4.2/lib64/libkdeui.so.5                                          
#5  0x00007facfea6db23 in QCoreApplication::notifyInternal () from
/usr/lib64/qt4/libQtCore.so.4                                 
#6  0x00007facff5a2a70 in QApplicationPrivate::dispatchEnterLeave () from
/usr/lib64/qt4/libQtGui.so.4                           
#7  0x00007facff5a34f5 in QApplicationPrivate::sendMouseEvent () from
/usr/lib64/qt4/libQtGui.so.4                               
#8  0x00007facff5a37d7 in QApplicationPrivate::sendSyntheticEnterLeave () from
/usr/lib64/qt4/libQtGui.so.4                      
#9  0x00007facff5e162c in QWidgetPrivate::hideChildren () from
/usr/lib64/qt4/libQtGui.so.4                                      
#10 0x00007facff5e1715 in QWidgetPrivate::hide_helper () from
/usr/lib64/qt4/libQtGui.so.4
#11 0x00007facff5e8038 in QWidget::setVisible () from
/usr/lib64/qt4/libQtGui.so.4
#12 0x00000000005c104d in Digikam::ImagePreviewBar::eventFilter (this=0xe224a0,
obj=0xbc5d40, ev=0x7fff0cc91000)
    at
/mnt/var_data/var/tmp/portage/media-gfx/digikam-0.10.0_rc2/work/digikam-0.10.0-rc2/digikam/imagepreviewbar.cpp:692
#13 0x00007facfea6ce87 in
QCoreApplicationPrivate::sendThroughObjectEventFilters () from
/usr/lib64/qt4/libQtCore.so.4
#14 0x00007facff599d8c in QApplicationPrivate::notify_helper () from
/usr/lib64/qt4/libQtGui.so.4
#15 0x00007facff5a169a in QApplication::notify () from
/usr/lib64/qt4/libQtGui.so.4
#16 0x00007fad00873c3b in KApplication::notify () from
/usr/kde/4.2/lib64/libkdeui.so.5
#17 0x00007facfea6db23 in QCoreApplication::notifyInternal () from
/usr/lib64/qt4/libQtCore.so.4
#18 0x00007facff5a2a70 in QApplicationPrivate::dispatchEnterLeave () from
/usr/lib64/qt4/libQtGui.so.4
#19 0x00007facff5a34f5 in QApplicationPrivate::sendMouseEvent () from
/usr/lib64/qt4/libQtGui.so.4
#20 0x00007facff5fc24c in ?? () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007facff5fb11d in QApplication::x11ProcessEvent () from
/usr/lib64/qt4/libQtGui.so.4
#22 0x00007facff61f5b4 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007facfb343fc1 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#24 0x00007facfb34769d in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00007facfb34785b in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#26 0x00007facfea92a0f in QEventDispatcherGlib::processEvents () from
/usr/lib64/qt4/libQtCore.so.4
#27 0x00007facff61ee7f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007facfea6c522 in QEventLoop::processEvents () from
/usr/lib64/qt4/libQtCore.so.4
#29 0x00007facfea6c6b5 in QEventLoop::exec () from
/usr/lib64/qt4/libQtCore.so.4
#30 0x00007facfea6e6b4 in QCoreApplication::exec () from
/usr/lib64/qt4/libQtCore.so.4
#31 0x00000000005ee4ac in main (argc=1, argv=0x7fff0cc92808)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list