Bug 163463 - Amarok crashes when an intelligent playlist is edited that is used by a dynamic playlist
Summary: Amarok crashes when an intelligent playlist is edited that is used by a dynam...
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.4.9.1
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-07 16:06 UTC by Andreas Stangl
Modified: 2008-07-05 16:42 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 Andreas Stangl 2008-06-07 16:06:06 UTC
Version:           1.4.9.1 (using KDE 3.5.9)
Installed from:    Gentoo Packages
Compiler:          gcc 4.2.4 
OS:                Linux

Anytime an intelligent playlist is edited amarok crashes if the edited playlist is used by an currently active dynamic playlist

-------------------------------------------------------

How to reproduce:

1. Start a dynamic playlist
2. Right click on an intelligent playlist and select "edit"
3. Close the edit dialog
4. *crash*

-------------------------------------------------------

======== DEBUG INFORMATION  =======
Version:    1.4.9.1
Engine:     xine-engine
Build date: Apr 15 2008
CC version: 4.2.3 (Gentoo 4.2.3 p1.0)
KDElibs:    3.5.9
Qt:         3.3.8
TagLib:     1.5.0
CPU count:  2
NDEBUG:     true
==== file `which amarokapp` =======
/usr/bin/amarokapp: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped


==== (gdb) bt =====================
[Thread debugging using libthread_db enabled]
[New Thread 0x2af438ea71f0 (LWP 4729)]
[New Thread 0x44808950 (LWP 8723)]
[New Thread 0x43005950 (LWP 8722)]
[New Thread 0x43806950 (LWP 8721)]
[New Thread 0x41001950 (LWP 8720)]
[New Thread 0x41802950 (LWP 4747)]
0x00002af43722af5f in waitpid () from /lib/libpthread.so.0
#0  0x00002af43722af5f in waitpid () from /lib/libpthread.so.0
#1  0x00000000004061c0 in Amarok::Crash::crashHandler ()
#2  <signal handler called>
#3  0x0000000000000000 in ?? ()
#4  0x00002af42f122576 in DynamicMode::rebuildCachedItemSet ()
   from /usr/lib64/libamarok.so.0
#5  0x00002af42f1b9f25 in Playlist::rebuildDynamicModeCache ()
   from /usr/lib64/libamarok.so.0
#6  0x00002af42f1d087b in PlaylistBrowser::editSmartPlaylist ()
   from /usr/lib64/libamarok.so.0
#7  0x00002af42f200c47 in SmartPlaylist::showContextMenu ()
   from /usr/lib64/libamarok.so.0
#8  0x00002af42f1dc4da in PlaylistBrowser::qt_invoke ()
   from /usr/lib64/libamarok.so.0
#9  0x00002af4337251ca in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#10 0x00002af4339e1fac in QListView::contextMenuRequested ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#11 0x00002af4337e6429 in QListView::contentsContextMenuEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#12 0x00002af43380fea7 in QScrollView::viewportContextMenuEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#13 0x00002af43380e3ac in QScrollView::eventFilter ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#14 0x00002af4337e4904 in QListView::eventFilter ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#15 0x00002af433724865 in QObject::activate_filters ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#16 0x00002af4337248c7 in QObject::event () from /usr/qt/3/lib64/libqt-mt.so.3
#17 0x00002af433752087 in QWidget::event () from /usr/qt/3/lib64/libqt-mt.so.3
#18 0x00002af4336d498d in QApplication::internalNotify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#19 0x00002af4336d578a in QApplication::notify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#20 0x00002af43236531a in KApplication::notify ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#21 0x00002af4336822ff in QETWidget::translateMouseEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#22 0x00002af433680ca1 in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#23 0x00002af43368ebfc in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#24 0x00002af4336e78fa in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#25 0x00002af4336e77de in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#26 0x0000000000404f40 in main ()
#0  0x00002af43722af5f in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00000000004061c0 in Amarok::Crash::crashHandler ()
No symbol table info available.
#2  <signal handler called>
No symbol table info available.
#3  0x0000000000000000 in ?? ()
No symbol table info available.
#4  0x00002af42f122576 in DynamicMode::rebuildCachedItemSet ()
   from /usr/lib64/libamarok.so.0
No symbol table info available.
#5  0x00002af42f1b9f25 in Playlist::rebuildDynamicModeCache ()
   from /usr/lib64/libamarok.so.0
No symbol table info available.
#6  0x00002af42f1d087b in PlaylistBrowser::editSmartPlaylist ()
   from /usr/lib64/libamarok.so.0
No symbol table info available.
#7  0x00002af42f200c47 in SmartPlaylist::showContextMenu ()
   from /usr/lib64/libamarok.so.0
No symbol table info available.
#8  0x00002af42f1dc4da in PlaylistBrowser::qt_invoke ()
   from /usr/lib64/libamarok.so.0
No symbol table info available.
#9  0x00002af4337251ca in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#10 0x00002af4339e1fac in QListView::contextMenuRequested ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#11 0x00002af4337e6429 in QListView::contentsContextMenuEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#12 0x00002af43380fea7 in QScrollView::viewportContextMenuEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#13 0x00002af43380e3ac in QScrollView::eventFilter ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#14 0x00002af4337e4904 in QListView::eventFilter ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#15 0x00002af433724865 in QObject::activate_filters ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#16 0x00002af4337248c7 in QObject::event () from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#17 0x00002af433752087 in QWidget::event () from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#18 0x00002af4336d498d in QApplication::internalNotify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#19 0x00002af4336d578a in QApplication::notify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#20 0x00002af43236531a in KApplication::notify ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
No symbol table info available.
#21 0x00002af4336822ff in QETWidget::translateMouseEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#22 0x00002af433680ca1 in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#23 0x00002af43368ebfc in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#24 0x00002af4336e78fa in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#25 0x00002af4336e77de in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
No symbol table info available.
#26 0x0000000000404f40 in main ()
No symbol table info available.
==== (gdb) thread apply all bt ====
Thread 6 (Thread 0x41802950 (LWP 4747)):
#0  0x00002af437227b8d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaaae0e0b6 in ?? () from /usr/lib64/libxine.so.1
#2  0x00002af437223067 in start_thread () from /lib/libpthread.so.0
#3  0x00002af438c1fbad in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()
Thread 5 (Thread 0x41001950 (LWP 8720)):
#0  0x00002af438c17a36 in poll () from /lib/libc.so.6
#1  0x00002aaab3e29846 in ?? () from /usr/lib/libasound.so.2
#2  0x00002aaab3ba9fc3 in ?? ()
   from /usr/lib64/xine/plugins/1.21/xineplug_ao_out_alsa.so
#3  0x00002aaaaae1bff7 in ?? () from /usr/lib64/libxine.so.1
#4  0x00002af437223067 in start_thread () from /lib/libpthread.so.0
#5  0x00002af438c1fbad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()
Thread 4 (Thread 0x43806950 (LWP 8721)):
#0  0x00002af437227b8d in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaaae1ad41 in ?? () from /usr/lib64/libxine.so.1
#2  0x00002aaaaae1ad65 in ?? () from /usr/lib64/libxine.so.1
#3  0x00002aaaaae1c7a4 in ?? () from /usr/lib64/libxine.so.1
#4  0x00002aaaaae266b5 in ?? () from /usr/lib64/libxine.so.1
#5  0x00002aaab8a38ff4 in ?? ()
   from /usr/lib64/xine/plugins/1.21/xineplug_decode_mad.so
#6  0x00002aaaaae174a8 in ?? () from /usr/lib64/libxine.so.1
#7  0x00002af437223067 in start_thread () from /lib/libpthread.so.0
#8  0x00002af438c1fbad in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()
Thread 3 (Thread 0x43005950 (LWP 8722)):
#0  0x00002af437227909 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaaae1e8d6 in xine_event_wait () from /usr/lib64/libxine.so.1
#2  0x00002aaaaae1e948 in ?? () from /usr/lib64/libxine.so.1
#3  0x00002af437223067 in start_thread () from /lib/libpthread.so.0
#4  0x00002af438c1fbad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()
Thread 2 (Thread 0x44808950 (LWP 8723)):
#0  0x00002af437227909 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaaae10bba in ?? () from /usr/lib64/libxine.so.1
#2  0x00002aaab54b1521 in ?? ()
   from /usr/lib64/xine/plugins/1.21/xineplug_dmx_audio.so
#3  0x00002aaab54b1e27 in ?? ()
   from /usr/lib64/xine/plugins/1.21/xineplug_dmx_audio.so
#4  0x00002aaaaae22ef5 in ?? () from /usr/lib64/libxine.so.1
#5  0x00002af437223067 in start_thread () from /lib/libpthread.so.0
#6  0x00002af438c1fbad in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()
Thread 1 (Thread 0x2af438ea71f0 (LWP 4729)):
#0  0x00002af43722af5f in waitpid () from /lib/libpthread.so.0
#1  0x00000000004061c0 in Amarok::Crash::crashHandler ()
#2  <signal handler called>
#3  0x0000000000000000 in ?? ()
#4  0x00002af42f122576 in DynamicMode::rebuildCachedItemSet ()
   from /usr/lib64/libamarok.so.0
#5  0x00002af42f1b9f25 in Playlist::rebuildDynamicModeCache ()
   from /usr/lib64/libamarok.so.0
#6  0x00002af42f1d087b in PlaylistBrowser::editSmartPlaylist ()
   from /usr/lib64/libamarok.so.0
#7  0x00002af42f200c47 in SmartPlaylist::showContextMenu ()
   from /usr/lib64/libamarok.so.0
#8  0x00002af42f1dc4da in PlaylistBrowser::qt_invoke ()
   from /usr/lib64/libamarok.so.0
#9  0x00002af4337251ca in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#10 0x00002af4339e1fac in QListView::contextMenuRequested ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#11 0x00002af4337e6429 in QListView::contentsContextMenuEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#12 0x00002af43380fea7 in QScrollView::viewportContextMenuEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#13 0x00002af43380e3ac in QScrollView::eventFilter ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#14 0x00002af4337e4904 in QListView::eventFilter ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#15 0x00002af433724865 in QObject::activate_filters ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#16 0x00002af4337248c7 in QObject::event () from /usr/qt/3/lib64/libqt-mt.so.3
#17 0x00002af433752087 in QWidget::event () from /usr/qt/3/lib64/libqt-mt.so.3
#18 0x00002af4336d498d in QApplication::internalNotify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#19 0x00002af4336d578a in QApplication::notify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#20 0x00002af43236531a in KApplication::notify ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#21 0x00002af4336822ff in QETWidget::translateMouseEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#22 0x00002af433680ca1 in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#23 0x00002af43368ebfc in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#24 0x00002af4336e78fa in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#25 0x00002af4336e77de in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#26 0x0000000000404f40 in main ()
#0  0x00002af43722af5f in waitpid () from /lib/libpthread.so.0


==== kdBacktrace() ================
Comment 1 Andreas Stangl 2008-06-07 16:14:50 UTC
this crash occures even 

* when amarok is currently not playing any song
* the edited intelligent playlist where not changed

I already sent about 5 or 6 backtraces to amarok-backtraces@lists.sf.net but the bug is still there
Comment 2 Andreas Stangl 2008-06-07 16:16:12 UTC
amarok only crashes if one leaves the edit dialog of the intelligent playlist with the "ok" button. When closing dialog via "cancel" _no_ crash occures
Comment 3 Myriam Schweingruber 2008-06-15 18:37:01 UTC
comment from KDE bugsquad member

Amarok 1.4.x is in bugfix-only mode as development is focused on Amarok 2. Unfortunately your bug will very likely not get fixed, as the risk of regressions is too high and the Amarok developers do not have the resources for it. Thank you for your report though. Please don't hesitate to report new bugs should you have any problems with Amarok 2 once it is released.
Comment 4 Andreas Stangl 2008-06-16 18:33:26 UTC
Thanks for your reply. So is this a _bug_ or just "my bug"? I mean: can anybody reproduce this? Though this seems to be a pretty old issue I understand that you are focused on Amarok 2 now.
Comment 5 David Leutwyler 2008-07-05 16:36:11 UTC
I havnt been able to reproduce this in 1.4.9.1. Not with Alt+F4, not with "close", not with the "X"-button, not with the "OK" button and not with the "Cancel" button. 
Comment 6 Mark Kretschmann 2008-07-05 16:42:24 UTC
Thanks, David. Closing then.