Bug 319199 - Amarok crashes with ampache enabled [@ ServiceFactory::trackForUrl]
Summary: Amarok crashes with ampache enabled [@ ServiceFactory::trackForUrl]
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: Internet Services (show other bugs)
Version: 2.7.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.8
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-01 23:30 UTC by Alexander Varnin
Modified: 2013-07-21 23:48 UTC (History)
1 user (show)

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 Alexander Varnin 2013-05-01 23:30:55 UTC
Application: amarok (2.7.0)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-generic i686
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
Started application and waiting for it to open
- Custom settings of the application:
All possible plugins and collections are off, except of ampache. I use amarok only as ampache player.

It is also sometimes happen, when amarok opens correctly, but collection doesn't get load from ampache

The crash can be reproduced sometimes.

-- Backtrace:
Application: Amarok (amarok), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
__GI___pthread_mutex_lock (mutex=0x8e06840) at pthread_mutex_lock.c:135
[Current thread is 1 (Thread 0xb0886b00 (LWP 1949))]

Thread 6 (Thread 0xa851eb40 (LWP 1965)):
#0  0xb4416d10 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb43d3121 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb43d3662 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb43d3831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb59d5c3f in QEventDispatcherGlib::processEvents (this=0xa7c01228, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb59a23ec in QEventLoop::processEvents (this=this@entry=0xa851e228, flags=...) at kernel/qeventloop.cpp:149
#6  0xb59a26e1 in QEventLoop::exec (this=this@entry=0xa851e228, flags=...) at kernel/qeventloop.cpp:204
#7  0xb588dfec in QThread::exec (this=this@entry=0x9312690) at thread/qthread.cpp:542
#8  0xb5981f2d in QInotifyFileSystemWatcherEngine::run (this=0x9312690) at io/qfilesystemwatcher_inotify.cpp:256
#9  0xb5890b18 in QThreadPrivate::start (arg=0x9312690) at thread/qthread_unix.cpp:338
#10 0xb46cdd78 in start_thread (arg=0xa851eb40) at pthread_create.c:311
#11 0xb56603de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 5 (Thread 0xa5e35b40 (LWP 1966)):
[KCrash Handler]
#7  0xb77a8424 in __kernel_vsyscall ()
#8  0xb559db1f in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#9  0xb55a10b3 in __GI_abort () at abort.c:90
#10 0xb578b91d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#11 0xb5789563 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#12 0xb578959f in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#13 0xb578982e in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#14 0xb58852e2 in qBadAlloc () at global/qglobal.cpp:2013
#15 0xb58b1225 in QListData::detach_grow (this=this@entry=0x93503d4, idx=idx@entry=0xa5e35004, num=num@entry=1) at tools/qlist.cpp:86
#16 0xb6cc759f in QList<KSharedPtr<MetaProxy::Track> >::detach_helper_grow (this=this@entry=0x93503d4, i=i@entry=2147483647, c=c@entry=1) at /usr/include/qt4/QtCore/qlist.h:679
#17 0xb6cc781f in QList<KSharedPtr<MetaProxy::Track> >::append (this=0x93503d4, t=...) at /usr/include/qt4/QtCore/qlist.h:510
#18 0xb6cc6b98 in enqueue (t=..., this=<optimized out>) at /usr/include/qt4/QtCore/qqueue.h:60
#19 ServiceFactory::trackForUrl (this=0x93503b8, url=...) at ../../src/services/ServiceBase.cpp:64
#20 0xb6da98ac in CollectionManager::trackForUrl (this=0x927f5b0, url=...) at ../../src/core-impl/collections/support/CollectionManager.cpp:455
#21 0xb6d65244 in MetaProxy::Worker::run (this=0x945d968) at ../../src/core-impl/meta/proxy/MetaProxyWorker.cpp:44
#22 0xb4e2bd43 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0xa5e35208, th=th@entry=0x945c148, job=job@entry=0x945d968) at ../../../threadweaver/Weaver/Job.cpp:106
#23 0xb4e2bee3 in ThreadWeaver::Job::execute (this=0x945d968, th=0x945c148) at ../../../threadweaver/Weaver/Job.cpp:135
#24 0xb4e2b2f2 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0xa5e35284, parent=0x945bde0, th=th@entry=0x945c148) at ../../../threadweaver/Weaver/Thread.cpp:95
#25 0xb4e2b3da in ThreadWeaver::Thread::run (this=0x945c148) at ../../../threadweaver/Weaver/Thread.cpp:142
#26 0xb5890b18 in QThreadPrivate::start (arg=0x945c148) at thread/qthread_unix.cpp:338
#27 0xb46cdd78 in start_thread (arg=0xa5e35b40) at pthread_create.c:311
#28 0xb56603de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 4 (Thread 0xa5634b40 (LWP 1967)):
#0  0xb77a8424 in __kernel_vsyscall ()
#1  0xb46d184b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb566dd7c in __pthread_cond_wait (cond=0x945bec0, mutex=0x945bea8) at forward.c:149
#3  0xb58910f0 in wait (time=4294967295, this=0x945bea8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x945bdf8, mutex=0x9460b00, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb4e29a55 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x945bde0, th=th@entry=0x945ce98) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4e2c98b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9463950, th=0x945ce98) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4e2965a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x945bde0, th=th@entry=0x945ce98) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4e2cae4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9463950, th=0x945ce98) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4e29553 in ThreadWeaver::WeaverImpl::applyForWork (this=0x945bde0, th=0x945ce98, previous=0x946b750) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4e2b324 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0xa5634284, parent=0x945bde0, th=th@entry=0x945ce98) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb4e2b3da in ThreadWeaver::Thread::run (this=0x945ce98) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5890b18 in QThreadPrivate::start (arg=0x945ce98) at thread/qthread_unix.cpp:338
#13 0xb46cdd78 in start_thread (arg=0xa5634b40) at pthread_create.c:311
#14 0xb56603de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 3 (Thread 0xa4cffb40 (LWP 1968)):
#0  0xb77a8424 in __kernel_vsyscall ()
#1  0xb46d184b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb566dd7c in __pthread_cond_wait (cond=0x945bec0, mutex=0x945bea8) at forward.c:149
#3  0xb58910f0 in wait (time=4294967295, this=0x945bea8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x945bdf8, mutex=0x9460b00, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb4e29a55 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x945bde0, th=th@entry=0x945db10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4e2c98b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9463950, th=0x945db10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4e2965a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x945bde0, th=th@entry=0x945db10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4e2cae4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9463950, th=0x945db10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4e29553 in ThreadWeaver::WeaverImpl::applyForWork (this=0x945bde0, th=0x945db10, previous=0x946f058) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4e2b324 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0xa4cff284, parent=0x945bde0, th=th@entry=0x945db10) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb4e2b3da in ThreadWeaver::Thread::run (this=0x945db10) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5890b18 in QThreadPrivate::start (arg=0x945db10) at thread/qthread_unix.cpp:338
#13 0xb46cdd78 in start_thread (arg=0xa4cffb40) at pthread_create.c:311
#14 0xb56603de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xa44feb40 (LWP 1969)):
#0  0xb77a8424 in __kernel_vsyscall ()
#1  0xb46d184b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb566dd7c in __pthread_cond_wait (cond=0x945bec0, mutex=0x945bea8) at forward.c:149
#3  0xb58910f0 in wait (time=4294967295, this=0x945bea8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x945bdf8, mutex=0x9460b00, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb4e29a55 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x945bde0, th=th@entry=0x94698a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4e2c98b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9463950, th=0x94698a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4e2965a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x945bde0, th=th@entry=0x94698a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4e2cae4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9463950, th=0x94698a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4e29553 in ThreadWeaver::WeaverImpl::applyForWork (this=0x945bde0, th=0x94698a0, previous=0x946e620) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4e2b324 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0xa44fe284, parent=0x945bde0, th=th@entry=0x94698a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb4e2b3da in ThreadWeaver::Thread::run (this=0x94698a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5890b18 in QThreadPrivate::start (arg=0x94698a0) at thread/qthread_unix.cpp:338
#13 0xb46cdd78 in start_thread (arg=0xa44feb40) at pthread_create.c:311
#14 0xb56603de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb0886b00 (LWP 1949)):
#0  __GI___pthread_mutex_lock (mutex=0x8e06840) at pthread_mutex_lock.c:135
#1  0xb566df84 in pthread_mutex_lock (mutex=0x8e06840) at forward.c:192
#2  0xb41d62cb in ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
#3  0xb41c8ba8 in ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
#4  0xb41ae655 in ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
#5  0xb41cb3cb in ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
#6  0xb41c9df9 in ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
#7  0xb41b17f4 in ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
#8  0xb41b2e6f in ?? () from /lib/i386-linux-gnu/libdbus-1.so.3
#9  0xb41c31df in dbus_pending_call_block () from /lib/i386-linux-gnu/libdbus-1.so.3
#10 0xb41b1f71 in dbus_connection_send_with_reply_and_block () from /lib/i386-linux-gnu/libdbus-1.so.3
#11 0xb521bb3a in q_dbus_connection_send_with_reply_and_block (error=<optimized out>, timeout_milliseconds=<optimized out>, message=<optimized out>, connection=<optimized out>) at qdbus_symbols_p.h:135
#12 QDBusConnectionPrivate::sendWithReply (this=0x8df2ba8, message=..., sendMode=-1081713552, timeout=2147483647) at qdbusintegrator.cpp:1907
#13 0xb5207063 in QDBusConnection::call (this=0xbf865d78, message=..., mode=148924480, timeout=1) at qdbusconnection.cpp:597
#14 0xb5c49aa3 in KToolInvocation::startServiceInternal (this=0x8fa2ae0, _function=_function@entry=0xb5d51711 "start_service_by_desktop_path", _name=..., URLs=..., error=error@entry=0xbf865ec0, serviceName=serviceName@entry=0x0, pid=pid@entry=0x0, startup_id=..., noWait=noWait@entry=false, workdir=...) at ../../kdecore/kernel/ktoolinvocation.cpp:115
#15 0xb5c4b8d5 in KToolInvocation::startServiceByDesktopPath (_name=..., URLs=..., error=error@entry=0xbf865ec0, serviceName=serviceName@entry=0x0, pid=pid@entry=0x0, startup_id=..., noWait=noWait@entry=false) at ../../kdecore/kernel/ktoolinvocation.cpp:197
#16 0xb7582f82 in KGlobalAccelPrivate::KGlobalAccelPrivate (this=0x9465340, q=0x94682b8) at ../../kdeui/shortcuts/kglobalaccel.cpp:119
#17 0xb758322a in KGlobalAccel::KGlobalAccel (this=0x94682b8) at ../../kdeui/shortcuts/kglobalaccel.cpp:146
#18 0xb75833f7 in operator-> (this=<optimized out>) at ../../kdeui/shortcuts/kglobalaccel.cpp:233
#19 operator KGlobalAccel* (this=<optimized out>) at ../../kdeui/shortcuts/kglobalaccel.cpp:233
#20 KGlobalAccel::self () at ../../kdeui/shortcuts/kglobalaccel.cpp:234
#21 0xb743e678 in KAction::setGlobalShortcut (this=0x9460a48, shortcut=..., type=..., load=KAction::Autoloading) at ../../kdeui/actions/kaction.cpp:267
#22 0xb6f5caa1 in MainWindow::createActions (this=0x9280ad8) at ../../src/MainWindow.cpp:728
#23 0xb6f6c37d in MainWindow::MainWindow (this=0x9280ad8) at ../../src/MainWindow.cpp:145
#24 0xb6f444d6 in App::continueInit (this=0xbf866c8c) at ../../src/App.cpp:546
#25 0xb6f45cd8 in App::App (this=0xbf866c8c) at ../../src/App.cpp:180
#26 0x080500d0 in main (argc=1, argv=0xbf866d74) at ../../src/main.cpp:327

Possible duplicates by query: bug 277629.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2013-06-08 18:33:51 UTC
Please upgrade to Amarok 2.7.1 and try again, the package is available in the Kubuntu updates PPA.
Comment 2 Myriam Schweingruber 2013-07-21 23:48:59 UTC
Closing for lack of feedback. Please feel free to reopen if you can reproduce this with Amarok 2.8 beta or later.