Bug 158582

Summary: Konqueror crashes deleting files
Product: [Applications] konqueror Reporter: Mateu S. <mito150>
Component: file icon viewAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: jarndyceofcookscourt, rpogomes
Priority: NOR    
Version: 3.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mateu S. 2008-02-29 16:48:45 UTC
Version:           3.5.8 (using 3.5.8, Debian Package 4:3.5.8.dfsg.1-7 (lenny/sid))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-3-686

If i select with the mouse some files and (without releasing the mouse button) press the delete button konqueror crashes. Sometimes at the first time, but if i try it a few times always i get the crash.

Backtrace: 

Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[KCrash handler]
#5  0x00000000 in ?? ()
#6  0xb746a32d in QIconView::drawContents (this=0x839b2c0, p=0xbfbcd06c, 
    cx=0, cy=0, cw=949, ch=584) at iconview/qiconview.cpp:3523
#7  0xb73bead3 in QScrollView::drawContentsOffset (this=0x839b2c0, 
    p=0xbfbcd06c, offsetx=<value optimized out>, 
    offsety=<value optimized out>, clipx=0, clipy=0, clipw=949, cliph=584)
    at widgets/qscrollview.cpp:2339
#8  0xb73c0637 in QScrollView::viewportPaintEvent (this=0x839b2c0, 
    pe=0xbfbcd514) at widgets/qscrollview.cpp:1709
#9  0xb7463e3d in QIconView::eventFilter (this=0x839b2c0, o=0x839b668, 
    e=0xbfbcd514) at iconview/qiconview.cpp:5694
#10 0xb72b182c in QObject::activate_filters (this=0x839b668, e=0xbfbcd514)
    at kernel/qobject.cpp:906
#11 0xb72b189b in QObject::event (this=0x839b668, e=0xbfbcd514)
    at kernel/qobject.cpp:738
#12 0xb72ea4dc in QWidget::event (this=0x839b668, e=0xbfbcd514)
    at kernel/qwidget.cpp:4681
#13 0xb72541ca in QApplication::internalNotify (this=0xbfbce02c, 
    receiver=0x839b668, e=0xbfbcd514) at kernel/qapplication.cpp:2638
#14 0xb7254f83 in QApplication::notify (this=0xbfbce02c, receiver=0x839b668, 
    e=0xbfbcd514) at kernel/qapplication.cpp:2526
#15 0xb78d1b52 in KApplication::notify (this=0xbfbce02c, receiver=0x839b668, 
    event=0xbfbcd514)
    at /build/buildd/kdelibs-3.5.8.dfsg.1/./kdecore/kapplication.cpp:550
#16 0xb72273fc in QWidget::repaint (this=0x839b668, x=0, y=0, w=949, h=584, 
    erase=false) at kernel/qapplication.h:523
#17 0xb73bf805 in QScrollView::repaintContents (this=0x839b2c0, x=0, y=0, 
    w=949, h=584, erase=<value optimized out>) at widgets/qscrollview.cpp:2323
#18 0xb7466ba1 in QIconView::repaintItem (this=0x839b2c0, item=0x84a05c8)
    at iconview/qiconview.cpp:3903
#19 0xb746a7d9 in QIconView::contentsMouseReleaseEvent (this=0x839b2c0, 
    e=0xbfbcd6e4) at iconview/qiconview.cpp:4641
#20 0xb6d412ce in KIconView::contentsMouseReleaseEvent (this=0x839b2c0, 
    e=0xbfbcd6e4)
    at /build/buildd/kdelibs-3.5.8.dfsg.1/./kdeui/kiconview.cpp:334
#21 0xb662a9c9 in KonqIconViewWidget::contentsMouseReleaseEvent (
    this=0x839b2c0, e=0xbfbcd6e4)
    at /tmp/buildd/kdebase-3.5.8.dfsg.1/./libkonq/konq_iconviewwidget.cc:1402
#22 0xb73c4311 in QScrollView::viewportMouseReleaseEvent (this=0x839b2c0, 
    e=0xbfbcdbe4) at widgets/qscrollview.cpp:1753
#23 0xb73c2130 in QScrollView::eventFilter (this=0x839b2c0, obj=0x839b668, 
    e=0xbfbcdbe4) at widgets/qscrollview.cpp:1504
#24 0xb7463d7f in QIconView::eventFilter (this=0x839b2c0, o=0x839b668, 
    e=0xbfbcdbe4) at iconview/qiconview.cpp:5707
#25 0xb72b182c in QObject::activate_filters (this=0x839b668, e=0xbfbcdbe4)
    at kernel/qobject.cpp:906
#26 0xb72b189b in QObject::event (this=0x839b668, e=0xbfbcdbe4)
    at kernel/qobject.cpp:738
#27 0xb72ea4dc in QWidget::event (this=0x839b668, e=0xbfbcdbe4)
    at kernel/qwidget.cpp:4681
#28 0xb72541ca in QApplication::internalNotify (this=0xbfbce02c, 
    receiver=0x839b668, e=0xbfbcdbe4) at kernel/qapplication.cpp:2638
#29 0xb72550fa in QApplication::notify (this=0xbfbce02c, receiver=0x839b668, 
    e=0xbfbcdbe4) at kernel/qapplication.cpp:2424
#30 0xb78d1b52 in KApplication::notify (this=0xbfbce02c, receiver=0x839b668, 
    event=0xbfbcdbe4)
    at /build/buildd/kdelibs-3.5.8.dfsg.1/./kdecore/kapplication.cpp:550
#31 0xb71f3a92 in QETWidget::translateMouseEvent (this=0x839b668, 
    event=0xbfbcdec8) at kernel/qapplication.h:526
#32 0xb71f2b3d in QApplication::x11ProcessEvent (this=0xbfbce02c, 
    event=0xbfbcdec8) at kernel/qapplication_x11.cpp:3611
#33 0xb7203026 in QEventLoop::processEvents (this=0x80bc6e8, 
    flags=<value optimized out>) at kernel/qeventloop_x11.cpp:195
#34 0xb726abc0 in QEventLoop::enterLoop (this=0x80bc6e8)
    at kernel/qeventloop.cpp:201
#35 0xb726aa56 in QEventLoop::exec (this=0x80bc6e8)
    at kernel/qeventloop.cpp:148
#36 0xb7253d3f in QApplication::exec (this=0xbfbce02c)
    at kernel/qapplication.cpp:2761
#37 0xb6724d04 in kdemain (argc=2, argv=0x8080438)
    at /tmp/buildd/kdebase-3.5.8.dfsg.1/./konqueror/konq_main.cc:206
#38 0xb7f62454 in kdeinitmain (argc=2, argv=0x8080438) at konqueror_dummy.cc:3
#39 0x0804ed40 in launch (argc=2, _name=0x8083b2c "konqueror", 
    args=0x8083b3e "", cwd=0x0, envc=1, envs=0x8083b4f "", reset_env=false, 
    tty=0x0, avoid_loops=false, 
    startup_id_str=0x8083b54 "inalbyss;1204299286;650626;2840_TIME406755394")
    at /build/buildd/kdelibs-3.5.8.dfsg.1/./kinit/kinit.cpp:673
#40 0x0804f461 in handle_launcher_request (sock=9)
    at /build/buildd/kdelibs-3.5.8.dfsg.1/./kinit/kinit.cpp:1240
#41 0x0804f979 in handle_requests (waitForPid=0)
    at /build/buildd/kdelibs-3.5.8.dfsg.1/./kinit/kinit.cpp:1443
#42 0x0805045d in main (argc=5, argv=0xbfbceac4, envp=0xbfbceadc)
    at /build/buildd/kdelibs-3.5.8.dfsg.1/./kinit/kinit.cpp:1908
#43 0xb7cb4450 in __collseq_table_lookup () from /lib/i686/cmov/libc.so.6
#44 0x0804bb41 in _start ()
Comment 1 Tommi Tervo 2008-03-01 10:37:54 UTC
*** Bug 144548 has been marked as a duplicate of this bug. ***
Comment 2 Jaime Torres 2008-07-23 18:13:32 UTC
I can not reproduce it in 3.5.9 nor in 4.0.4.
Comment 3 Mateu S. 2008-07-23 18:28:45 UTC
Im using:

Qt: 3.3.8b
KDE: 3.5.9
KDE Daemon: $Id: kded.cpp 711061 2007-09-11 09:42:51Z tpatzig $

and still crashing. I get this backtrace:

[Thread debugging using libthread_db enabled]
[New Thread 0xb682b6c0 (LWP 12974)]
[KCrash handler]
#6  0x74001800 in ?? ()
#7  0xb75ef28d in QIconView::drawContents (this=0xa2437a0, p=0xbfd0000c, 
    cx=36, cy=55, cw=52, ch=68) at iconview/qiconview.cpp:3523
#8  0xb7543a33 in QScrollView::drawContentsOffset (this=0xa2437a0, 
    p=0xbfd0000c, offsetx=<value optimized out>, 
    offsety=<value optimized out>, clipx=36, clipy=55, clipw=52, cliph=68)
    at widgets/qscrollview.cpp:2339
#9  0xb7545597 in QScrollView::viewportPaintEvent (this=0xa2437a0, 
    pe=0xbfd004b4) at widgets/qscrollview.cpp:1709
#10 0xb75e8d9d in QIconView::eventFilter (this=0xa2437a0, o=0xa254e30, 
    e=0xbfd004b4) at iconview/qiconview.cpp:5694
#11 0xb743678c in QObject::activate_filters (this=0xa254e30, e=0xbfd004b4)
    at kernel/qobject.cpp:906
#12 0xb74367fb in QObject::event (this=0xa254e30, e=0xbfd004b4)
    at kernel/qobject.cpp:738
#13 0xb746f43c in QWidget::event (this=0xa254e30, e=0xbfd004b4)
    at kernel/qwidget.cpp:4681
#14 0xb73d918a in QApplication::internalNotify (this=0xbfd01024, 
    receiver=0xa254e30, e=0xbfd004b4) at kernel/qapplication.cpp:2638
#15 0xb73d9f43 in QApplication::notify (this=0xbfd01024, receiver=0xa254e30, 
    e=0xbfd004b4) at kernel/qapplication.cpp:2526
#16 0xb70f5c22 in KApplication::notify (this=0xbfd01024, receiver=0xa254e30, 
    event=0xbfd004b4)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kapplication.cpp:550
#17 0xb73ac3bc in QWidget::repaint (this=0xa254e30, x=36, y=55, w=52, h=68, 
    erase=false) at kernel/qapplication.h:523
#18 0xb7544765 in QScrollView::repaintContents (this=0xa2437a0, x=36, y=55, 
    w=52, h=68, erase=<value optimized out>) at widgets/qscrollview.cpp:2323
#19 0xb75ebb01 in QIconView::repaintItem (this=0xa2437a0, item=0xa417a58)
    at iconview/qiconview.cpp:3903
#20 0xb75ef739 in QIconView::contentsMouseReleaseEvent (this=0xa2437a0, 
    e=0xbfd00684) at iconview/qiconview.cpp:4641
#21 0xb6c4c45e in KIconView::contentsMouseReleaseEvent (this=0xa2437a0, 
    e=0xbfd00684)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdeui/kiconview.cpp:334
#22 0xb668cab9 in KonqIconViewWidget::contentsMouseReleaseEvent (
    this=0xa2437a0, e=0xbfd00684)
    at /build/buildd/kdebase-3.5.9.dfsg.1/./libkonq/konq_iconviewwidget.cc:1402
#23 0xb7549271 in QScrollView::viewportMouseReleaseEvent (this=0xa2437a0, 
    e=0xbfd00b84) at widgets/qscrollview.cpp:1753
#24 0xb7547090 in QScrollView::eventFilter (this=0xa2437a0, obj=0xa254e30, 
    e=0xbfd00b84) at widgets/qscrollview.cpp:1504
#25 0xb75e8cdf in QIconView::eventFilter (this=0xa2437a0, o=0xa254e30, 
    e=0xbfd00b84) at iconview/qiconview.cpp:5707
#26 0xb743678c in QObject::activate_filters (this=0xa254e30, e=0xbfd00b84)
    at kernel/qobject.cpp:906
#27 0xb74367fb in QObject::event (this=0xa254e30, e=0xbfd00b84)
    at kernel/qobject.cpp:738
#28 0xb746f43c in QWidget::event (this=0xa254e30, e=0xbfd00b84)
    at kernel/qwidget.cpp:4681
#29 0xb73d918a in QApplication::internalNotify (this=0xbfd01024, 
    receiver=0xa254e30, e=0xbfd00b84) at kernel/qapplication.cpp:2638
#30 0xb73da0ba in QApplication::notify (this=0xbfd01024, receiver=0xa254e30, 
    e=0xbfd00b84) at kernel/qapplication.cpp:2424
#31 0xb70f5c22 in KApplication::notify (this=0xbfd01024, receiver=0xa254e30, 
    event=0xbfd00b84)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kapplication.cpp:550
#32 0xb7378a52 in QETWidget::translateMouseEvent (this=0xa254e30, 
    event=0xbfd00e68) at kernel/qapplication.h:526
#33 0xb7377afd in QApplication::x11ProcessEvent (this=0xbfd01024, 
    event=0xbfd00e68) at kernel/qapplication_x11.cpp:3611
#34 0xb7387fe6 in QEventLoop::processEvents (this=0xa02d370, 
    flags=<value optimized out>) at kernel/qeventloop_x11.cpp:195
#35 0xb73efb80 in QEventLoop::enterLoop (this=0xa02d370)
    at kernel/qeventloop.cpp:201
#36 0xb73efa16 in QEventLoop::exec (this=0xa02d370)
    at kernel/qeventloop.cpp:148
#37 0xb73d8cff in QApplication::exec (this=0xbfd01024)
    at kernel/qapplication.cpp:2761
#38 0xb65bfc0c in kdemain (argc=4, argv=0x9ffc268)
    at /build/buildd/kdebase-3.5.9.dfsg.1/./konqueror/konq_main.cc:206
#39 0xb7ee1464 in kdeinitmain (argc=4, argv=0x9ffc268) at konqueror_dummy.cc:3
#40 0x0804f2f1 in launch (argc=4, _name=0x9ffbd9c "konqueror", 
    args=0x9ffbdd2 "", cwd=0x9ffbdd3 "/home/mateu", envc=28, 
    envs=0x9ffc1e1 "", reset_env=true, tty=0x0, avoid_loops=false, 
    startup_id_str=0x9ffc1e6 "inalbyss;1216826491;895858;2511_TIME686983137")
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kinit/kinit.cpp:673
#41 0x0804fa7a in handle_launcher_request (sock=5)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kinit/kinit.cpp:1240
#42 0x08050204 in handle_requests (waitForPid=0)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kinit/kinit.cpp:1433
#43 0x08050b7a in main (argc=5, argv=0xbfd01a94, envp=0xbfd01aac)
    at /tmp/buildd/kdelibs-3.5.9.dfsg.1/./kinit/kinit.cpp:1908
Comment 4 Rui G. 2008-07-31 13:47:38 UTC
Could you install libc6-dbg package and paste another backtrace? There a lot of other very similar backtraces in other bugs but they were all marked as resolved. 
Comment 5 Mateu S. 2008-07-31 14:53:41 UTC
The package libc6-dbg its already installed.
Comment 6 Rui G. 2008-07-31 15:24:56 UTC
I see, thanks for the feedback, I'll mark it as duplicate, the backtrace should be similar enough.

*** This bug has been marked as a duplicate of 111729 ***