Bug 51839

Summary: noatun hangs during file removal from playlist
Product: [Unmaintained] noatun Reporter: Giampaolo Gallo <gp>
Component: generalAssignee: Multimedia Developers <kde-multimedia>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Giampaolo Gallo 2002-12-13 09:24:04 UTC
Version:           2.2.0 (using KDE KDE 3.0.99)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.1 
OS:          Linux

trying to remove all the files lin the playlist causes noatun to hang.
It must be killed. Moreover, some artsd processes remain around and they must be  also killed, otherwise no more music (the audio device remains locked). I succeeded in removing all the files from the playlist by using a "1 at a time" approach.
Comment 1 Stephan Binner 2002-12-13 20:41:49 UTC
Please kill the process with "kill -6" and post the result. 
Comment 2 Giampaolo Gallo 2002-12-14 20:10:01 UTC
[New Thread 16384 (LWP 673)] 
0x4121dc09 in __wait4 () at __wait4:-1 
	in __wait4 
#0  0x4121dc09 in __wait4 () at __wait4:-1 
#1  0x4129e494 in __DTOR_END__ () from /lib/libc.so.6 
#2  0x41044cd3 in waitpid (pid=-512, stat_loc=0xfffffe00, options=-512) 
    at wrapsyscall.c:181 
#3  0x4079c7b0 in KCrash::defaultCrashHandler(int) () 
   from /usr/kde3/lib/libkdecore.so.4 
#4  <signal handler called> 
#5  0x4124712e in __select () at __select:-1 
#6  0x4202c13c in __JCR_LIST__ () from /usr/kde3/lib/libmcop.so.1 
#7  0x41fdd2a5 in Arts::Dispatcher::waitForResult(long, Arts::Connection*) () 
   from /usr/kde3/lib/libmcop.so.1 
#8  0x41c181a1 in Arts::PlayObject_stub::halt() () 
   from /usr/kde3/lib/libkmedia2_idl.so.1 
#9  0x41b65f34 in KDE::PlayObject::halt() () from /usr/kde3/lib/libartskde.so.1 
#10 0x4161dbb8 in Engine::stop() () from /usr/kde3/lib/libnoatun.so.0 
#11 0x41626f57 in Player::stop() () from /usr/kde3/lib/libnoatun.so.0 
#12 0x41627328 in Player::playCurrent() () from /usr/kde3/lib/libnoatun.so.0 
#13 0x416285cc in Player::qt_invoke(int, QUObject*) () 
   from /usr/kde3/lib/libnoatun.so.0 
#14 0x40b13519 in QObject::activate_signal(QConnectionList*, QUObject*) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#15 0x40b133bd in QObject::activate_signal(int) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#16 0x41624e6b in Playlist::playCurrent() () from /usr/kde3/lib/libnoatun.so.0 
#17 0x421ba6fd in SplitPlaylist::setCurrent(PlaylistItem const&, bool) () 
   from /usr/kde3/lib/kde3/noatun_splitplaylist.so 
#18 0x421ba67e in SplitPlaylist::setCurrent(PlaylistItem const&) () 
   from /usr/kde3/lib/kde3/noatun_splitplaylist.so 
#19 0x421bdd7b in SafeListViewItem::~SafeListViewItem() () 
   from /usr/kde3/lib/kde3/noatun_splitplaylist.so 
#20 0x421bde19 in SafeListViewItem::removeMe() () 
   from /usr/kde3/lib/kde3/noatun_splitplaylist.so 
#21 0x421c2f3f in View::deleteSelected() () 
   from /usr/kde3/lib/kde3/noatun_splitplaylist.so 
#22 0x421c432b in View::qt_invoke(int, QUObject*) () 
   from /usr/kde3/lib/kde3/noatun_splitplaylist.so 
#23 0x40b13519 in QObject::activate_signal(QConnectionList*, QUObject*) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#24 0x40b133bd in QObject::activate_signal(int) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#25 0x4052f54b in KAction::activated() () from /usr/kde3/lib/libkdeui.so.4 
#26 0x4051ddbf in KAction::slotActivated() () from /usr/kde3/lib/libkdeui.so.4 
#27 0x4052f751 in KAction::qt_invoke(int, QUObject*) () 
   from /usr/kde3/lib/libkdeui.so.4 
#28 0x40b13490 in QObject::activate_signal(QConnectionList*, QUObject*) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#29 0x40b133bd in QObject::activate_signal(int) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#30 0x40df726e in QButton::clicked() () from /usr/local/qt/lib/libqt-mt.so.3 
#31 0x40b94b26 in QButton::mouseReleaseEvent(QMouseEvent*) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#32 0x40b474bc in QWidget::event(QEvent*) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#33 0x40ab5806 in QApplication::internalNotify(QObject*, QEvent*) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#34 0x40ab5063 in QApplication::notify(QObject*, QEvent*) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#35 0x40710519 in KApplication::notify(QObject*, QEvent*) () 
   from /usr/kde3/lib/libkdecore.so.4 
#36 0x40a5c73b in QETWidget::translateMouseEvent(_XEvent const*) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#37 0x40a5a1dd in QApplication::x11ProcessEvent(_XEvent*) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#38 0x40a6f04a in QEventLoop::processEvents(unsigned) () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#39 0x40ac9496 in QEventLoop::enterLoop() () 
   from /usr/local/qt/lib/libqt-mt.so.3 
#40 0x40ac9338 in QEventLoop::exec() () from /usr/local/qt/lib/libqt-mt.so.3 
#41 0x40ab5a51 in QApplication::exec() () from /usr/local/qt/lib/libqt-mt.so.3 
#42 0x4086e232 in main () from /usr/kde3/lib/kde3/noatun.so 
#43 0x0804d30c in launch(int, char const*, char const*, char const*, int, char 
const*, bool, char const*, bool, char const*) () 
#44 0x0804e0e3 in handle_launcher_request(int) () 
#45 0x0804e5cc in handle_requests(int) () 
#46 0x0804f354 in main () 
#47 0x41184fa4 in __libc_start_main (main=0x804ef60 <main>, argc=3,  
    ubp_av=0xbffff544, init=0x804ae5c <_init>, fini=0x40015640 <_rtld_local>,  
    rtld_fini=0, stack_end=0x0) at ../sysdeps/generic/libc-start.c:144 
 
Comment 3 Charles Samuels 2003-08-25 12:09:55 UTC
I fixed Playlist Item removal from SPL not too long ago.