Bug 227941

Summary: Amarok crashes when dragging or right-clicking an item of a saved playlist
Product: [Applications] amarok Reporter: Arthur Schiwon <blizzz>
Component: Playlists/Saved PlaylistsAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bart.cerneels
Priority: NOR    
Version: 2.2.90   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arthur Schiwon 2010-02-21 15:38:23 UTC
Application: amarok (2.2.2.90)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.31-19-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Navigate to Saved Playlist, doubleclick(!!) to open Internal Database, unfold a saved playlist and try to drag an item of it or even right click on one: leads to crash Amarok.

The crash can be reproduced every time.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8a41b64810 (LWP 13965))]

Thread 13 (Thread 0x7f8a29ca1910 (LWP 13966)):
#0  0x00007f8a3cbd682d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a2f956c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f8a3cbd1a04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f8a3eaa780d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f8a28758910 (LWP 13967)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f8a28757c30 in ?? ()
#2  0x00007ffff536b782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0x7f8a27d4d910 (LWP 13970)):
#0  0x00007f8a3eab67fb in ?? () from /lib/libc.so.6
#1  0x00007f8a3ea9b3db in poll () from /lib/libc.so.6
#2  0x00007f8a27d53cbe in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0x00007f8a3cbd1a04 in start_thread () from /lib/libpthread.so.0
#4  0x00007f8a3eaa780d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f8a2752b910 (LWP 13971)):
#0  0x00007f8a3cbd65a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a2f967983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f8a3cbd1a04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f8a3eaa780d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f8a2691f910 (LWP 13972)):
#0  0x00007f8a3cbd65a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a2f967983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f8a3cbd1a04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f8a3eaa780d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f8a2611e910 (LWP 13973)):
#0  0x00007f8a3cbd65a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a2f967983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f8a3cbd1a04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f8a3eaa780d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f8a2591d910 (LWP 13974)):
#0  0x00007f8a3cbd65a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a2f967983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f8a3cbd1a04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f8a3eaa780d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f8a17075910 (LWP 13975)):
#0  0x00007f8a3cbd65a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a3f2d86fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f8a3b61a096 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f8a3b61c74b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f8a3b61c764 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f8a3b61c764 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f8a3b61c764 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f8a3b61abff in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00007f8a3b61b058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#9  0x00007f8a3f2d7745 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f8a3cbd1a04 in start_thread () from /lib/libpthread.so.0
#11 0x00007f8a3eaa780d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f8a16874910 (LWP 13976)):
#0  0x00007f8a3cbd65a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a3f2d86fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f8a3b61a096 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f8a3b61c74b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f8a3b61c764 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f8a3b61abff in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f8a3b61b058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f8a3f2d7745 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f8a3cbd1a04 in start_thread () from /lib/libpthread.so.0
#9  0x00007f8a3eaa780d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8a16073910 (LWP 13977)):
#0  0x00007f8a3cbd65a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a3f2d86fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f8a3b61a096 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f8a3b61c74b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f8a3b61abff in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f8a3b61b058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f8a3f2d7745 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f8a3cbd1a04 in start_thread () from /lib/libpthread.so.0
#8  0x00007f8a3eaa780d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8a11aba910 (LWP 13978)):
#0  0x00007f8a3cbd65a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a3f2d86fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f8a3b61a096 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f8a3b61c74b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f8a3b61c764 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f8a3b61c764 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f8a3b61abff in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f8a3b61b058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007f8a3f2d7745 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f8a3cbd1a04 in start_thread () from /lib/libpthread.so.0
#10 0x00007f8a3eaa780d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8a051ee910 (LWP 13998)):
#0  0x00007f8a3cbd65a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8a3ae87396 in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007f8a3ae873d9 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007f8a3cbd1a04 in start_thread () from /lib/libpthread.so.0
#4  0x00007f8a3eaa780d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8a41b64810 (LWP 13965)):
[KCrash Handler]
#5  PlaylistManager::getProviderForPlaylist (this=0x1414900, playlist=) at /build/buildd/amarok-2.2.2.90/src/playlistmanager/PlaylistManager.cpp:319
#6  0x00007f8a40cc888c in PlaylistManager::isWritable (this=0x0, playlist=<value optimized out>) at /build/buildd/amarok-2.2.2.90/src/playlistmanager/PlaylistManager.cpp:337
#7  0x00007f8a40c92269 in PlaylistBrowserNS::UserModel::actionsFor (this=0x16f46d0, indices=<value optimized out>)
    at /build/buildd/amarok-2.2.2.90/src/browsers/playlistbrowser/UserPlaylistModel.cpp:541
#8  0x00007f8a40c997fb in PlaylistBrowserNS::UserPlaylistTreeView::startDrag (this=0x1a0dee0, supportedActions=)
    at /build/buildd/amarok-2.2.2.90/src/browsers/playlistbrowser/UserPlaylistTreeView.cpp:109
#9  0x00007f8a4026ccae in QAbstractItemView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007f8a3fd9bfaf in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007f8a401420d6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007f8a4027143b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007f8a402ac1f3 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007f8a3f3cb357 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007f8a3fd45f7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007f8a3fd4cd7b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007f8a40d8dd0a in App::notify (this=0x0, receiver=0x7ffff5209270, event=0x1ebd450) at /build/buildd/amarok-2.2.2.90/src/App.cpp:963
#18 0x00007f8a3f3cbf3c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007f8a3fd4bf56 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#20 0x00007f8a3fdcb545 in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007f8a3fdca25a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007f8a3fdf5c02 in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007f8a381f4bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0x00007f8a381f8598 in ?? () from /lib/libglib-2.0.so.0
#25 0x00007f8a381f86c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x00007f8a3f3f5463 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007f8a3fdf57ee in ?? () from /usr/lib/libQtGui.so.4
#28 0x00007f8a3f3ca862 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x00007f8a3f3cac3c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007f8a3f3ce97b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#31 0x0000000000408752 in main (argc=1, argv=0x7ffff520d138) at /build/buildd/amarok-2.2.2.90/src/main.cpp:237

Possible duplicates by query: bug 206822, bug 206489.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-02-21 18:33:37 UTC
Looks identical to bug 206489. Bart?
Comment 2 Myriam Schweingruber 2010-03-02 15:21:20 UTC
It is, marking as duplicate.
Arthur, this is solved in current git already.

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