Bug 264166 - When I select my whole collection ( more than 5300 songs) in browser window and then select add to playlist, amarok will crash when save current playlist is selected
Summary: When I select my whole collection ( more than 5300 songs) in browser window a...
Status: RESOLVED DUPLICATE of bug 257353
Alias: None
Product: amarok
Classification: Applications
Component: Playlists/Saved Playlists (show other bugs)
Version: 2.3.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 2.4.1
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-24 14:23 UTC by Tim
Modified: 2011-02-09 23:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
gdb output (93.78 KB, text/plain)
2011-01-24 14:23 UTC, Tim
Details
New crash information added by DrKonqi (19.89 KB, text/plain)
2011-02-09 23:25 UTC, Wouter Eelen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim 2011-01-24 14:23:57 UTC
Created attachment 56382 [details]
gdb output 

Version:           2.3.2 (using KDE 4.5.5) 
OS:                Linux

the above explains it all I think except that there where many other apps running at the same time firefox(3.6) many widows running (in excess of 10) and evolution mail (2.32)

Reproducible: Always

Steps to Reproduce:
select all the collection (which is in a single folder) right click and the select add to playlist. When try to save current playlist application closes

Actual Results:  
amarok closes

Expected Results:  
ummm it save the playlist :)

using oxygen theme
Comment 1 Myriam Schweingruber 2011-01-24 16:05:59 UTC
Backtrace from the attachment. Please always paste backtraces inline so they can be searched.


(gdb) bt
#0  0x02dd1fe1 in QSortFilterProxyModel::parent(QModelIndex const&) const ()
   from /usr/lib/libQtGui.so.4
#1  0x02d86362 in QTreeView::indexRowSizeHint(QModelIndex const&) const ()
   from /usr/lib/libQtGui.so.4
#2  0x02d8a8e9 in ?? () from /usr/lib/libQtGui.so.4
#3  0x02d8abc8 in ?? () from /usr/lib/libQtGui.so.4
#4  0x02d8aecf in QTreeView::updateGeometries() () from /usr/lib/libQtGui.so.4
#5  0x02d40615 in QAbstractItemView::resizeEvent(QResizeEvent*) ()
   from /usr/lib/libQtGui.so.4
#6  0x0281583f in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#7  0x02c131a4 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#8  0x02ca3063 in QAbstractScrollArea::viewportEvent(QEvent*) ()
   from /usr/lib/libQtGui.so.4
#9  0x02d44aef in QAbstractItemView::viewportEvent(QEvent*) ()
   from /usr/lib/libQtGui.so.4
#10 0x02d8e694 in QTreeView::viewportEvent(QEvent*) ()
   from /usr/lib/libQtGui.so.4
#11 0x02ca59d5 in ?? () from /usr/lib/libQtGui.so.4
#12 0x021594ea in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#13 0x027bc241 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#14 0x027c0f7f in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#15 0x032faf7b in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdeui.so.5
#16 0x02159333 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#17 0x02810fe9 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) ()
   from /usr/lib/libQtGui.so.4
#18 0x0281991a in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#19 0x02819dc3 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#20 0x028198a8 in QWidgetPrivate::showChildren(bool) ()
   from /usr/lib/libQtGui.so.4
#21 0x02819942 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#22 0x02819dc3 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#23 0x028198a8 in QWidgetPrivate::showChildren(bool) ()
---Type <return> to continue, or q <return> to quit---q
 from /usr/lib/libQtGui.sQuit
(gdb) 

The backtrace shows no evidence of a problem in Amarok. JFYI: Amarok is not designed to work with huge playlists, and even less to hold the complete collection in the playlist.

Can you reliably reproduce this crash? Could you please test with Amarok 2.4 and report back?
Comment 2 Bart Cerneels 2011-01-24 16:12:20 UTC
When saving a playlist the view automatically switches to the saved playlist category. So this crash is a duplicate.

*** This bug has been marked as a duplicate of bug 257353 ***
Comment 3 Wouter Eelen 2011-02-09 23:25:54 UTC
Created attachment 57066 [details]
New crash information added by DrKonqi

amarok (2.3.2) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
only listening to music with amarok + file transfer (music) from remote samba share to local folder.

-- Backtrace (Reduced):
#7  QModelIndex (this=0xa883b38, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0xa883b38, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#9  0xb67a4942 in parent (this=0xa8839f8, index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#10 QTreeView::indexRowSizeHint (this=0xa8839f8, index=...) at itemviews/qtreeview.cpp:2758
#11 0xb67a516b in QTreeViewPrivate::itemHeight (this=0xa72c3e8, item=0) at itemviews/qtreeview.cpp:3229