Bug 146978 - crash when using dynamic playlist and clearing the playlist
Summary: crash when using dynamic playlist and clearing the playlist
Status: RESOLVED DUPLICATE of bug 148317
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.4-SVN
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-19 21:35 UTC by Thomas Lindroth
Modified: 2007-08-27 23:34 UTC (History)
0 users

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 Thomas Lindroth 2007-06-19 21:35:59 UTC
Version:           SVN stable revision 677715 (using KDE KDE 3.5.7)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 4.1.1 (Gentoo 4.1.1) 
OS:                Linux

There is a crash bug when using dynamic playlist. The steps I use to reproduce are:

1. load a dynamic playlist
2. play a track
3. quickly, while the sql queries are still running, press clear playlist
4. if it did not crash go back to 2 and try again (takes a few attempts)

The bug is not easy to trigger and you might need a large collection or the queries will be done before you have time to press clear. Here is a backtrack but it's broken and might not be useful.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1248090448 (LWP 7090)]
0xb65d5e1c in QListViewItem::itemPos () from /usr/qt/3/lib/libqt-mt.so.3
(gdb) bt
#0  0xb65d5e1c in QListViewItem::itemPos () from /usr/qt/3/lib/libqt-mt.so.3
#1  0xb7d7fadc in Playlist::reallyEnsureItemCentered (this=0x817f090) at playlist.cpp:4416
#2  0xb7d90f8a in Playlist::qt_invoke (this=0x817f090, _id=174, _o=0xbfd85324) at playlist.moc:554
#3  0xb64f55a9 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#4  0xb6827ace in QSignal::signal () from /usr/qt/3/lib/libqt-mt.so.3
#5  0xb6510ea7 in QSignal::activate () from /usr/qt/3/lib/libqt-mt.so.3
#6  0xb6518103 in QSingleShotTimer::event () from /usr/qt/3/lib/libqt-mt.so.3
#7  0xb6496b77 in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3
#8  0xb6497931 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#9  0xb6bd870a in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4
#10 0xbfd857e4 in ?? ()
#11 0x081b05b8 in ?? ()
#12 0xbfd855e4 in ?? ()
#13 0xbfd85518 in ?? ()
#14 0xb5a2557c in malloc () from /lib/libc.so.6
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Comment 1 Mark Kretschmann 2007-06-19 22:08:05 UTC
Indeed, this backtrace isn't too helpful.
Comment 2 Harald Sitter 2007-08-27 23:34:00 UTC

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