Application: amarok (2.2-GIT) KDE Platform Version: 4.4.00 (KDE 4.4.0) Qt Version: 4.6.1 Operating System: Linux 2.6.32-ARCH x86_64 -- Information about the crash: 1. Open the music folder in Dolphin. 2. Open Amarok. 3. Drop the file into playlist. The crash can be reproduced every time. -- Backtrace: Application: Amarok (amarok), signal: Segmentation fault [Current thread is 1 (Thread 0x7fb3d122f7a0 (LWP 10891))] Thread 10 (Thread 0x7fb3ba7ba710 (LWP 10896)): #0 0x00007fb3cc63507c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fb3cf76414b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007fb3cb076796 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #3 0x00007fb3cb078dab in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #4 0x00007fb3cb078dc4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #5 0x00007fb3cb078dc4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #6 0x00007fb3cb0772ff in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #7 0x00007fb3cb077868 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #8 0x00007fb3cf763185 in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007fb3cc63081a in start_thread () from /lib/libpthread.so.0 #10 0x00007fb3ce2c3c7d in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 9 (Thread 0x7fb3b1ff6710 (LWP 10897)): #0 0x00007fb3cc63507c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fb3cf76414b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007fb3cb076796 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #3 0x00007fb3cb078dab in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #4 0x00007fb3cb078dc4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #5 0x00007fb3cb078dc4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #6 0x00007fb3cb078dc4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #7 0x00007fb3cb078dc4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #8 0x00007fb3cb078dc4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #9 0x00007fb3cb0772ff in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #10 0x00007fb3cb077868 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #11 0x00007fb3cf763185 in ?? () from /usr/lib/libQtCore.so.4 #12 0x00007fb3cc63081a in start_thread () from /lib/libpthread.so.0 #13 0x00007fb3ce2c3c7d in clone () from /lib/libc.so.6 #14 0x0000000000000000 in ?? () Thread 8 (Thread 0x7fb3b17f5710 (LWP 10900)): #0 0x00007fb3cc63507c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fb3cf76414b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007fb3cb076796 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #3 0x00007fb3cb078dab in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #4 0x00007fb3cb0772ff in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #5 0x00007fb3cb077868 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #6 0x00007fb3cf763185 in ?? () from /usr/lib/libQtCore.so.4 #7 0x00007fb3cc63081a in start_thread () from /lib/libpthread.so.0 #8 0x00007fb3ce2c3c7d in clone () from /lib/libc.so.6 #9 0x0000000000000000 in ?? () Thread 7 (Thread 0x7fb3a6f5d710 (LWP 10909)): #0 0x00007fb3cc63507c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fb3cf76414b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007fb3cb076796 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #3 0x00007fb3cb078dab in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #4 0x00007fb3cb078dc4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4 #5 0x00007fb3cb0772ff in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4 #6 0x00007fb3cb077868 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #7 0x00007fb3cf763185 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007fb3cc63081a in start_thread () from /lib/libpthread.so.0 #9 0x00007fb3ce2c3c7d in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 6 (Thread 0x7fb3a5d29710 (LWP 10929)): #0 0x00007fb3cc63507c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fb3ca8d17a6 in ?? () from /usr/lib/libQtScript.so.4 #2 0x00007fb3ca8d17e9 in ?? () from /usr/lib/libQtScript.so.4 #3 0x00007fb3cc63081a in start_thread () from /lib/libpthread.so.0 #4 0x00007fb3ce2c3c7d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 5 (Thread 0x7fb398d02710 (LWP 7723)): #0 0x00007fb3cc63507c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fb3bda29dd0 in gst_task_func () from /usr/lib/libgstreamer-0.10.so.0 #2 0x00007fb3c7060532 in g_thread_pool_thread_proxy () from /usr/lib/libglib-2.0.so.0 #3 0x00007fb3c705ef34 in g_thread_create_proxy () from /usr/lib/libglib-2.0.so.0 #4 0x00007fb3cc63081a in start_thread () from /lib/libpthread.so.0 #5 0x00007fb3ce2c3c7d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 4 (Thread 0x7fb3a6754710 (LWP 7725)): #0 0x00007fb3cc63507c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fb3bda29dd0 in gst_task_func () from /usr/lib/libgstreamer-0.10.so.0 #2 0x00007fb3c7060532 in g_thread_pool_thread_proxy () from /usr/lib/libglib-2.0.so.0 #3 0x00007fb3c705ef34 in g_thread_create_proxy () from /usr/lib/libglib-2.0.so.0 #4 0x00007fb3cc63081a in start_thread () from /lib/libpthread.so.0 #5 0x00007fb3ce2c3c7d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fb399503710 (LWP 7726)): #0 0x00007fb3cc63507c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007fb3bda29dd0 in gst_task_func () from /usr/lib/libgstreamer-0.10.so.0 #2 0x00007fb3c7060532 in g_thread_pool_thread_proxy () from /usr/lib/libglib-2.0.so.0 #3 0x00007fb3c705ef34 in g_thread_create_proxy () from /usr/lib/libglib-2.0.so.0 #4 0x00007fb3cc63081a in start_thread () from /lib/libpthread.so.0 #5 0x00007fb3ce2c3c7d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fb398501710 (LWP 7734)): #0 0x00007fb3be081802 in snd_pcm_rate_avail_update () from /usr/lib/libasound.so.2 #1 0x00007fb3be069610 in snd1_pcm_write_areas () from /usr/lib/libasound.so.2 #2 0x00007fb3be07453b in snd_pcm_mmap_writei () from /usr/lib/libasound.so.2 #3 0x00007fb3bcd1e65a in gst_alsasink_write () from /usr/lib/gstreamer-0.10/libgstalsa.so #4 0x00007fb3bd14f018 in audioringbuffer_thread_func () from /usr/lib/libgstaudio-0.10.so.0 #5 0x00007fb3c705ef34 in g_thread_create_proxy () from /usr/lib/libglib-2.0.so.0 #6 0x00007fb3cc63081a in start_thread () from /lib/libpthread.so.0 #7 0x00007fb3ce2c3c7d in clone () from /lib/libc.so.6 #8 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fb3d122f7a0 (LWP 10891)): [KCrash Handler] #5 0x00007fb3d029810d in Playlist::ViewCommon::trackActionsFor(QWidget*, QModelIndex const*) () from /usr/lib/libamaroklib.so.1 #6 0x00007fb3d0298e1a in Playlist::ViewCommon::actionsFor(QWidget*, QModelIndex const*, bool) () from /usr/lib/libamaroklib.so.1 #7 0x00007fb3d02b3620 in Playlist::PrettyListView::startDrag(QFlags<Qt::DropAction>) () from /usr/lib/libamaroklib.so.1 #8 0x00007fb3cf1417be in QAbstractItemView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #9 0x00007fb3cf159161 in QListView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #10 0x00007fb3cec723ef in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #11 0x00007fb3cf0167e6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #12 0x00007fb3cf145fbb in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #13 0x00007fb3cf8561e7 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #14 0x00007fb3cec1c44c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #15 0x00007fb3cec2324b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #16 0x00007fb3d05754ca in App::notify(QObject*, QEvent*) () from /usr/lib/libamaroklib.so.1 #17 0x00007fb3cf856dcc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #18 0x00007fb3cec2241e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #19 0x00007fb3ceca184b in ?? () from /usr/lib/libQtGui.so.4 #20 0x00007fb3ceca055a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #21 0x00007fb3ceccaa12 in ?? () from /usr/lib/libQtGui.so.4 #22 0x00007fb3c703626e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #23 0x00007fb3c7039c28 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #24 0x00007fb3c7039d50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #25 0x00007fb3cf880243 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #26 0x00007fb3cecca60e in ?? () from /usr/lib/libQtGui.so.4 #27 0x00007fb3cf8556f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #28 0x00007fb3cf855acc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #29 0x00007fb3cf85980b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #30 0x0000000000408592 in _start () Reported using DrKonqi
And you do use a build of today, don't you?
Adapting title
*** Bug 226336 has been marked as a duplicate of this bug. ***
> And you do use a build of today, don't you? Yep, and today build crashes too :)
*** Bug 226841 has been marked as a duplicate of this bug. ***
Confirmed by duplicate
*** Bug 226922 has been marked as a duplicate of this bug. ***
Created attachment 40796 [details] New crash information added by DrKonqi Can reproduce. Also KDE SC 4.4 with amarok 2.2-git. This in on arch linux using kdemod.
Created attachment 40820 [details] New crash information added by DrKonqi In my case, I drag from the Amarok colleciton itself, into the playlist.
Created attachment 40860 [details] New crash information added by DrKonqi I can also confirm this. Dragging files from dolphin to amarok causes crash.
*** Bug 227283 has been marked as a duplicate of this bug. ***
*** Bug 227286 has been marked as a duplicate of this bug. ***
*** Bug 227441 has been marked as a duplicate of this bug. ***
commit b1377ce5f642b3440e6485988d991eeeee98f0e5 Author: Kevin Funk <krf@electrostorm.net> Date: Thu Feb 18 16:56:19 2010 +0100 Fix crash when dragging files into Amarok. BUG: 226167 diff --git a/ChangeLog b/ChangeLog index 2742f2d..4f89efa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,8 @@ VERSION 2.3 last check. BUGFIXES: + * Fixed a bug when trying to drag files from some app into Amarok. + (BR 226167) * Fixed a bug in podcast parsing that broke all feeds that do not include a guid and possible overwrited data from other podcasts. Introduced in 2.3 beta. (BR 227515) diff --git a/src/playlist/view/listview/PrettyListView.cpp b/src/playlist/view/listview/PrettyListView.cpp index ab2fa9f..f36b3a1 100644 --- a/src/playlist/view/listview/PrettyListView.cpp +++ b/src/playlist/view/listview/PrettyListView.cpp @@ -553,6 +553,10 @@ Playlist::PrettyListView::startDrag( Qt::DropActions supportedActions ) { DEBUG_BLOCK + QModelIndexList indices = selectedIndexes(); + if( indices.isEmpty() ) + return; // no items selected in the view, abort. See bug 226167 + //Waah? when a parent item is dragged, startDrag is called a bunch of times static bool ongoingDrags = false; if( ongoingDrags ) @@ -564,15 +568,12 @@ Playlist::PrettyListView::startDrag( Qt::DropActions supportedActions ) if( m_pd && m_pd->isHidden() ) { - m_pd->setSvgRenderer( The::svgHandler()->getRenderer( "amarok/images/pud_items.svg" ) ); qDebug() << "svgHandler SVG renderer is " << (QObject*)(The::svgHandler()->getRenderer( "amarok/images/pud_items.svg" )); qDebug() << "m_pd SVG renderer is " << (QObject*)(m_pd->svgRenderer()); qDebug() << "does play exist in renderer? " << ( The::svgHandler()->getRenderer( "amarok/images/pud_items.svg" )->elementExists( "load" ) ); - QModelIndexList indices = selectedIndexes(); QList<QAction*> actions = actionsFor( this, &indices.first(), true ); - foreach( QAction * action, actions ) m_pd->addItem( The::popupDropperFactory()->createItem( action ), true );
*** Bug 228263 has been marked as a duplicate of this bug. ***
*** Bug 228257 has been marked as a duplicate of this bug. ***
*** Bug 228602 has been marked as a duplicate of this bug. ***
*** Bug 228610 has been marked as a duplicate of this bug. ***
*** Bug 228938 has been marked as a duplicate of this bug. ***
*** Bug 229027 has been marked as a duplicate of this bug. ***
Created attachment 41331 [details] New crash information added by DrKonqi Dragged folder from dolphin to amarok's "drop area". Folder was located in mounted NTFS partition.
(In reply to comment #21) > Created an attachment (id=41331) [details] > New crash information added by DrKonqi > > Dragged folder from dolphin to amarok's "drop area". Folder was located in > mounted NTFS partition. You have seen that this is already fixed in the git version since February 18th, didn't you? This was after the 2.2.90 release, so unless you are using the git version there is not much use to comment on this.
*** Bug 229707 has been marked as a duplicate of this bug. ***
*** Bug 230205 has been marked as a duplicate of this bug. ***
*** Bug 230269 has been marked as a duplicate of this bug. ***
*** Bug 230255 has been marked as a duplicate of this bug. ***
*** Bug 230463 has been marked as a duplicate of this bug. ***
*** Bug 237563 has been marked as a duplicate of this bug. ***
*** Bug 244840 has been marked as a duplicate of this bug. ***