Bug 174821

Summary: Drag&Drop of folders to the end of the folder list makes Akregator crash
Product: [Applications] akregator Reporter: Christoph Lange <langec>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, finex, ndbecker2, osterfeld, stefandotterweich
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christoph Lange 2008-11-10 22:58:08 UTC
Version:           1.3.3 (using 4.1.3 (KDE 4.1.3), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.24-tuxonice-r4

How to reproduce:

1. drag a folder towards the end of the folder list/tree
1. while dragging, wait for the mouse cursor to become a "plus" instead of a "forbidden" sign
1. drop, i.e. release the mouse button, at a place at the end of the list where the cursor picture indicates that you may drop
1. Akregator crashes
Comment 1 FiNeX 2008-11-11 13:16:55 UTC
Hi!
I've just reproduced the crash using current trunk (r882292)


Here is the backtrace:


Application: Akregator (akregator), signal SIGSEGV
 [?1034h[Thread debugging using libthread_db enabled]
0x00007f4497ab7230 in nanosleep () from /lib64/libc.so.6

Thread 1 (Thread 0x7f44a30b7700 (LWP 8047)):
[KCrash Handler]
#5  Akregator::SubscriptionListModel::dropMimeData (this=0xa880b0, data=0xb8d9f0, action=<value optimized out>, row=-1, column=<value optimized out>, parent=@0x7fffab0faf50)
    at /home/test/KDE4/src/kdepim/akregator/src/subscriptionlistmodel.cpp:449
#6  0x00007f4498d366c7 in QAbstractItemView::dropEvent () from /usr/lib64/libQtGui.so.4
#7  0x00007f4498981ca1 in QWidget::event () from /usr/lib64/libQtGui.so.4
#8  0x00007f4498d3dcdd in QAbstractItemView::viewportEvent () from /usr/lib64/libQtGui.so.4
#9  0x00007f4498d6edcc in QTreeView::viewportEvent () from /usr/lib64/libQtGui.so.4
#10 0x00007f44a2c1b188 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib64/libQtCore.so.4
#11 0x00007f44989358fc in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#12 0x00007f449893c217 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#13 0x00007f44a205ad8b in KApplication::notify (this=0x7fffab0feb70, receiver=0x801360, event=0x7fffab0fba90) at /home/test/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#14 0x00007f44a2c1be9c in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#15 0x00007f44989a1803 in ?? () from /usr/lib64/libQtGui.so.4
#16 0x00007f44989a2707 in QDragManager::drop () from /usr/lib64/libQtGui.so.4
#17 0x00007f44989a289c in QDragManager::eventFilter () from /usr/lib64/libQtGui.so.4
#18 0x00007f44a2c1b234 in QCoreApplicationPrivate::sendThroughApplicationEventFilters () from /usr/lib64/libQtCore.so.4
#19 0x00007f4498935896 in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#20 0x00007f449893c566 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#21 0x00007f44a205ad8b in KApplication::notify (this=0x7fffab0feb70, receiver=0xa734a0, event=0x7fffab0fc2e0) at /home/test/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#22 0x00007f44a2c1be9c in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#23 0x00007f449893d838 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/libQtGui.so.4
#24 0x00007f44989939fc in ?? () from /usr/lib64/libQtGui.so.4
#25 0x00007f4498992541 in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#26 0x00007f44989b669c in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00007f44a2c1a7f2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#28 0x00007f44a2c1a985 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#29 0x00007f449899fc56 in QDragManager::drag () from /usr/lib64/libQtGui.so.4
#30 0x00007f44989462d8 in QDrag::exec () from /usr/lib64/libQtGui.so.4
#31 0x00007f4498d3b514 in QAbstractItemView::startDrag () from /usr/lib64/libQtGui.so.4
#32 0x00007f4498d3c9b5 in QAbstractItemView::mouseMoveEvent () from /usr/lib64/libQtGui.so.4
#33 0x00007f44989822f0 in QWidget::event () from /usr/lib64/libQtGui.so.4
#34 0x00007f4498d3dcdd in QAbstractItemView::viewportEvent () from /usr/lib64/libQtGui.so.4
#35 0x00007f4498d6edcc in QTreeView::viewportEvent () from /usr/lib64/libQtGui.so.4
#36 0x00007f44a2c1b188 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib64/libQtCore.so.4
#37 0x00007f44989358fc in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#38 0x00007f449893c566 in QApplication::notify () from /usr/lib64/libQtGui.so.4
#39 0x00007f44a205ad8b in KApplication::notify (this=0x7fffab0feb70, receiver=0x801360, event=0x7fffab0fdf20) at /home/test/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#40 0x00007f44a2c1be9c in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#41 0x00007f449893d838 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/libQtGui.so.4
#42 0x00007f44989939fc in ?? () from /usr/lib64/libQtGui.so.4
#43 0x00007f4498992541 in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#44 0x00007f44989b669c in ?? () from /usr/lib64/libQtGui.so.4
#45 0x00007f44a2c1a7f2 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#46 0x00007f44a2c1a985 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#47 0x00007f44a2c1ca25 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#48 0x0000000000408b27 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/test/KDE4/src/kdepim/akregator/src/main.cpp:115

Comment 2 Frank Osterfeld 2008-11-21 10:35:31 UTC

*** This bug has been marked as a duplicate of bug 164265 ***
Comment 3 Dario Andres 2009-02-24 23:38:35 UTC
*** Bug 185484 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-02-24 23:39:35 UTC
is this really a duplicate of bug 164265 (I don't see the relation between the backtraces and situation)

BTW, Bug 185484 is happening at KDE4.2

Should this be reopened ?
Comment 5 Dario Andres 2009-02-24 23:39:58 UTC
*** Bug 185371 has been marked as a duplicate of this bug. ***
Comment 6 Stefan Dotterweich 2009-02-24 23:53:35 UTC
i don't think #164265 is related to this, as you say it's a completely different situation and this bug still exists.

should be reopened
Comment 7 Dario Andres 2009-02-24 23:54:46 UTC
Reopening
Comment 8 Frank Osterfeld 2009-03-04 22:25:35 UTC
SVN commit 935353 by osterfeld:

don't crash when dragging folders to the end of the feed list
BUG:174821


 M  +3 -0      subscriptionlistmodel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=935353
Comment 9 Frank Osterfeld 2009-03-04 22:28:52 UTC
SVN commit 935355 by osterfeld:

forwardport, simplify code

SVN commit 935353 by osterfeld:

don't crash when dragging folders to the end of the feed list
BUG:174821



 _M            . (directory)  
 M  +37 -35    akregator/src/subscriptionlistmodel.cpp  


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