Bug 161562 - aKregator crashes when you try and drop a folder on top of itself
Summary: aKregator crashes when you try and drop a folder on top of itself
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: SVN
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-05-03 17:04 UTC by Andrew Stromme
Modified: 2008-10-19 18:54 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 Andrew Stromme 2008-05-03 17:04:57 UTC
Version:            (using 4.00.72 (KDE 4.0.72 >= 20080430, compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-16-generic

In the current svn version (5-3-08) of akregator I can cause a crash 100% of the time by dragging a folder like I was going to move it somewhere but instead dropping it back on top of itself. I can't seem to get a backtrace (gdb complains "no stack" when started with gdb /opt/kde4/bin/akregator) and the kde bug interface doesn't come up when it crashes.
Comment 1 Andrew Stromme 2008-07-16 04:03:55 UTC
While the specified issue doesn't appear to happen anymore (KDE4.1 RC1 with Kubuntu packages), I can still trigger a crash by dragging a folder and dropping it inside itself (i.e. as a subitem of itself). Different bug?
Comment 2 Christophe Marin 2008-07-24 11:56:07 UTC
Does akregator still crashes for you ? If so, could you provide a backtrace following instructions on this page : http://techbase.kde.org/Contribute/Bugsquad/How_to_create_useful_crash_reports
Comment 3 Christophe Marin 2008-10-16 13:43:12 UTC
Program received signal SIGSEGV, Segmentation fault.
0xb52504b9 in ?? () from /lib/libc.so.6             
(gdb) bt                                            
#0  0xb52504b9 in ?? () from /lib/libc.so.6         
#1  0xb52513fe in ?? () from /lib/libc.so.6         
#2  0xb5252445 in malloc () from /lib/libc.so.6     
#3  0xb7d3b10d in qMalloc(unsigned int) () from /usr/lib/libQtCore.so.4
#4  0xb7d915df in QVectorData::malloc(int, int, int, QVectorData*) () from /usr/lib/libQtCore.so.4
#5  0xb34ec786 in QVector<Akregator::Feed const*>::append (this=0xbf0561b4, t=@0xbf056148) from /usr/lib/kde4/akregatorpart.so
#6  0xb34e62f0 in Akregator::Feed::feeds (this=0x878dce8) from /usr/lib/kde4/akregatorpart.so                                 
#7  0xb34ef0f1 in Akregator::Folder::feeds (this=0x83906b8) from /usr/lib/kde4/akregatorpart.so                               
#8  0xb34ef0f1 in Akregator::Folder::feeds (this=0x83906b8) from /usr/lib/kde4/akregatorpart.so                               
#9  0xb34ef0f1 in Akregator::Folder::feeds (this=0x83906b8) from /usr/lib/kde4/akregatorpart.so                               
#10 0xb34ef0f1 in Akregator::Folder::feeds (this=0x83906b8) from /usr/lib/kde4/akregatorpart.so

and so on
Comment 4 Frank Osterfeld 2008-10-19 18:52:43 UTC
SVN commit 873535 by osterfeld:

don't crash when dropping a folder onto itself or direct children feed (the test worked for subfolders, and 
everything below only)
BUG:161562


 M  +1 -1      subscriptionlistmodel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=873535
Comment 5 Frank Osterfeld 2008-10-19 18:54:59 UTC
SVN commit 873542 by osterfeld:

backport: don't crash when dropping folders onto themselves
CCBUG:161562


 M  +1 -1      subscriptionlistmodel.cpp  


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