Bug 144074 - Crash after deleting images, in ~KFileIconViewItem
Summary: Crash after deleting images, in ~KFileIconViewItem
Status: RESOLVED FIXED
Alias: None
Product: kooka
Classification: Applications
Component: general (show other bugs)
Version: 0.44
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Jonathan Marten
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-11 14:46 UTC by Christian D.
Modified: 2020-12-18 08:28 UTC (History)
1 user (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 Christian D. 2007-04-11 14:46:32 UTC
Version:           0.44 (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14)
Compiler:          Target: x86_64-linux-gnu
OS:                Linux (x86_64) release 2.6.20-14-generic

Überprüfung der Systemkonfiguration beim Start deaktiviert.

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46988260111984 (LWP 9531)]
[KCrash handler]
#5  0x00002abc4682adfe in ~KFileIconViewItem (this=0x9873f0)
    at /build/buildd/kdelibs-3.5.6/./kio/kfile/kfileiconview.cpp:49
#6  0x000000000044d42f in ~ThumbViewItem (this=0x9873f0)
    at /build/buildd/kdegraphics-3.5.6/./kooka/thumbviewitem.h:42
#7  0x00002abc49763ff9 in QIconView::clear () from /usr/lib/libqt-mt.so.3
#8  0x00000000004363c3 in ThumbView::slImageRenamed (this=0x7f9180, 
    kfit=0x97fab0, newUrl=@0x7fff647646c0)
    at /build/buildd/kdegraphics-3.5.6/./kooka/thumbview.cpp:214
#9  0x0000000000437366 in ThumbView::qt_invoke (this=0x7f9180, _id=59, 
    _o=0x7fff64764630) at ./thumbview.moc:183
#10 0x00002abc49589ce2 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#11 0x0000000000426f28 in ScanPackager::fileRenamed (
    this=<value optimized out>, t0=<value optimized out>, t1=@0x7fff647646c0)
    at ./scanpackager.moc:389
#12 0x000000000044a58d in ScanPackager::slFileRename (this=0x82dfd0, 
    it=0x98aab0, newStr=@0xaaf570)
    at /build/buildd/kdegraphics-3.5.6/./kooka/scanpackager.cpp:344
#13 0x000000000044b55b in ScanPackager::qt_invoke (this=0x82dfd0, _id=133, 
    _o=0x7fff64764880) at ./scanpackager.moc:407
#14 0x00002abc49589e0b in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#15 0x00002abc48682736 in KListView::itemRenamed (this=<value optimized out>, 
    t0=<value optimized out>, t1=<value optimized out>, t2=0)
    at ./klistview.moc:477
#16 0x00002abc486bd699 in KListView::doneEditing (this=0x82dfd0, 
    item=0x98aab0, row=0)
    at /build/buildd/kdelibs-3.5.6/./kdeui/klistview.cpp:1403
#17 0x00002abc48769977 in KListView::qt_invoke (this=0x82dfd0, _id=96, 
    _o=0x7fff64764ae0) at ./klistview.moc:568
#18 0x00002abc4684f551 in KFileTreeView::qt_invoke (this=0x82dfd0, _id=96, 
    _o=0x7fff64764ae0) at ./kfiletreeview.moc:356
#19 0x000000000044b430 in ScanPackager::qt_invoke (this=0x82dfd0, _id=96, 
    _o=0x7fff64764ae0) at ./scanpackager.moc:418
#20 0x00002abc49589ce2 in QObject::activate_signal ()
   from /usr/lib/libqt-mt.so.3
#21 0x00002abc48681b34 in KListViewLineEdit::done (
    this=<value optimized out>, t0=<value optimized out>, t1=0)
    at ./klistviewlineedit.moc:114
#22 0x00002abc486bd77e in KListViewLineEdit::terminate (this=0x832060, 
    commit=true) at /build/buildd/kdelibs-3.5.6/./kdeui/klistview.cpp:377
#23 0x00002abc495be826 in QWidget::event () from /usr/lib/libqt-mt.so.3
#24 0x00002abc496649e1 in QLineEdit::event () from /usr/lib/libqt-mt.so.3
#25 0x00002abc486bda75 in KListViewLineEdit::event (this=0x832060, 
    pe=0x7fff64765160)
    at /build/buildd/kdelibs-3.5.6/./kdeui/klistview.cpp:340
#26 0x00002abc495251d6 in QApplication::internalNotify ()
   from /usr/lib/libqt-mt.so.3
#27 0x00002abc49527a4a in QApplication::notify () from /usr/lib/libqt-mt.so.3
#28 0x00002abc48e757a8 in KApplication::notify (this=0x7fff64765ee0, 
    receiver=0x832060, event=0x7fff64765160)
    at /build/buildd/kdelibs-3.5.6/./kdecore/kapplication.cpp:550
#29 0x00002abc494b7cc2 in QApplication::sendEvent ()
   from /usr/lib/libqt-mt.so.3
#30 0x00002abc495c288b in QWidget::setFocus () from /usr/lib/libqt-mt.so.3
#31 0x00002abc49527253 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#32 0x00002abc48e757a8 in KApplication::notify (this=0x7fff64765ee0, 
    receiver=0x82eed0, event=0x7fff647655d0)
    at /build/buildd/kdelibs-3.5.6/./kdecore/kapplication.cpp:550
#33 0x00002abc494b7d34 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#34 0x00002abc494b693e in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#35 0x00002abc494b4b0a in QApplication::x11ProcessEvent ()
   from /usr/lib/libqt-mt.so.3
#36 0x00002abc494cb3ea in QEventLoop::processEvents ()
   from /usr/lib/libqt-mt.so.3
#37 0x00002abc4953e70b in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#38 0x00002abc4953e513 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#39 0x00002abc49526c9c in QApplication::exec () from /usr/lib/libqt-mt.so.3
#40 0x0000000000449cce in main (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /build/buildd/kdegraphics-3.5.6/./kooka/main.cpp:117
#41 0x00002abc4813d8e4 in __libc_start_main () from /lib/libc.so.6
#42 0x00000000004245b9 in _start ()
Comment 1 Jonathan Marten 2008-02-24 15:30:17 UTC
Different call tree but same crash as bug 66713 and bug 132701.
Comment 2 Jonathan Marten 2008-05-17 13:40:19 UTC
SVN commit 808701 by marten:

Replaced the home-made thumbnail preview pane with a KDirOperator/KFileIconView
combination.  Eliminates some possible crashes (bugs 66713, 132701, 144074) related
to the ownership and destruction of KFileIconViewItem's (see the comments in
thumbview.cpp for more discussion).  Also simplifies the communication between
the scan packager and the previewer, since most file operations are noticed
automatically and the thumbnail view updated.

Implement a popup menu for the thumbnail view, with much the same operations
as the gallery tree - bug 69464

CCBUG:69464
CCBUG:66713
CCBUG:132701
CCBUG:144074


 M  +2 -2      kooka/Makefile.am  
 M  +7 -2      kooka/kooka.cpp  
 M  +60 -75    kooka/kookapref.cpp  
 M  +1 -5      kooka/kookapref.h  
 M  +65 -113   kooka/kookaview.cpp  
 M  +9 -7      kooka/kookaview.h  
 M  +75 -77    kooka/scanpackager.cpp  
 M  +6 -4      kooka/scanpackager.h  
 M  +220 -371  kooka/thumbview.cpp  
 M  +49 -100   kooka/thumbview.h  
 A             kooka/thumbviewdiroperator.cpp   [License: GPL (v2) (+Qt exception)]
 A             kooka/thumbviewdiroperator.h   [License: GPL (v2) (+Qt exception)]
 D             kooka/thumbviewitem.cpp  
 D             kooka/thumbviewitem.h  
 M  +1 -1      libkscan/kscancontrols.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=808701
Comment 3 Jonathan Marten 2008-05-17 13:49:53 UTC
Thumbnail gallery rewritten in SVN version to hopefully eliminate this crash.
Please test that from branches/work/kooka-kde3 if possible, see http://techbase.kde.org/Projects/Kooka for build instructions.
Comment 4 Justin Zobel 2020-12-03 21:39:27 UTC
Thank you for the report, Christian.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 5 Bug Janitor Service 2020-12-18 04:34:43 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!