Bug 215750 - Searching Ampache displays only unknown entries when session expires.
Summary: Searching Ampache displays only unknown entries when session expires.
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Services/Ampache (show other bugs)
Version: 2.3.2
Platform: Unlisted Binaries Linux
: NOR major
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords: release_blocker
: 224891 234197 235825 238966 249890 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-22 22:11 UTC by Stefan Gründel
Modified: 2011-04-27 22:18 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.4.1


Attachments
New crash information added by DrKonqi (19.43 KB, text/plain)
2010-02-21 23:46 UTC, powertothepenguins
Details
unknown entities in browser tree and also in playlist (171.23 KB, image/png)
2010-11-30 17:01 UTC, Bernd Helm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gründel 2009-11-22 22:11:16 UTC
Application that crashed: amarok
Version of the application: 2.2.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
While searching my Ampache music for "cracker" amarok crashed.  On the next try it worked just fine.

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

Thread 11 (Thread 0xb60fdb70 (LWP 4565)):
#0  0x003fa422 in __kernel_vsyscall ()
#1  0x07549142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x008467e4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02add9ff in ?? () from /usr/lib/libxine.so.1
#4  0x0754480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x008397ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xb58fcb70 (LWP 4566)):
#0  0x046c90f7 in ?? () from /lib/libglib-2.0.so.0
#1  0x046f3720 in ?? () from /lib/libglib-2.0.so.0
#2  0x046f3853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00565067 in QEventDispatcherGlib::processEvents (this=0x92bc588, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00538c79 in QEventLoop::processEvents (this=0xb58fc2a4, flags=) at kernel/qeventloop.cpp:149
#5  0x005390ca in QEventLoop::exec (this=0xb58fc2a4, flags=...) at kernel/qeventloop.cpp:201
#6  0x00446b73 in QThread::exec (this=0x92ffe50) at thread/qthread.cpp:487
#7  0x0647620a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00449e32 in QThreadPrivate::start (arg=0x92ffe50) at thread/qthread_unix.cpp:188
#9  0x0754480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x008397ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb50fbb70 (LWP 4569)):
#0  0x003fa422 in __kernel_vsyscall ()
#1  0x00829ecb in read () from /lib/tls/i686/cmov/libc.so.6
#2  0x02a3a932 in ?? () from /usr/lib/libasound.so.2
#3  0x02a3771d in snd_ctl_read () from /usr/lib/libasound.so.2
#4  0x02a33aff in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#5  0x02a3f911 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#6  0x085cdc89 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#7  0x0754480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x008397ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb48fab70 (LWP 4570)):
#0  0x003fa422 in __kernel_vsyscall ()
#1  0x07548e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0084678d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02aee5ee in ?? () from /usr/lib/libxine.so.1
#4  0x0754480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x008397ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb40f9b70 (LWP 4571)):
#0  0x003fa422 in __kernel_vsyscall ()
#1  0x07548e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0084678d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02aee5ee in ?? () from /usr/lib/libxine.so.1
#4  0x0754480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x008397ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb34ffb70 (LWP 4572)):
#0  0x003fa422 in __kernel_vsyscall ()
#1  0x07548e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0084678d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02aee5ee in ?? () from /usr/lib/libxine.so.1
#4  0x0754480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x008397ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb2608b70 (LWP 4574)):
#0  0x003fa422 in __kernel_vsyscall ()
#1  0x07548e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0084678d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0044ae67 in QWaitConditionPrivate::wait (this=0x97feca8, mutex=0x99a0b98, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x97feca8, mutex=0x99a0b98, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x008fcb30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x97fec90, th=0x9914368) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x008ff19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99a2ba8, th=0x9914368) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x008fb1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x97fec90, th=0x9914368) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x008ff292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99a2ba8, th=0x9914368) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x008fcdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97fec90, th=0x9914368, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x008ff2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99a2ba8, th=0x9914368) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x008fcdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97fec90, th=0x9914368, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x008ff2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99a2ba8, th=0x9914368) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x008fcdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97fec90, th=0x9914368, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x008ff2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99a2ba8, th=0x9914368) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0x008fcdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97fec90, th=0x9914368, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0x008fd3be in ThreadWeaver::ThreadRunHelper::run (this=0xb26082f4, parent=0x97fec90, th=0x9914368) at ../../../threadweaver/Weaver/Thread.cpp:87
#17 0x008fd9db in ThreadWeaver::Thread::run (this=0x9914368) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0x00449e32 in QThreadPrivate::start (arg=0x9914368) at thread/qthread_unix.cpp:188
#19 0x0754480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#20 0x008397ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb1664b70 (LWP 4575)):
#0  0x003fa422 in __kernel_vsyscall ()
#1  0x07548e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0084678d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0044ae67 in QWaitConditionPrivate::wait (this=0x97feca8, mutex=0x99a0b98, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x97feca8, mutex=0x99a0b98, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x008fcb30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x97fec90, th=0x99cba60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x008ff19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99a2ba8, th=0x99cba60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x008fb1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x97fec90, th=0x99cba60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x008ff292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99a2ba8, th=0x99cba60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x008fcdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97fec90, th=0x99cba60, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x008ff2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99a2ba8, th=0x99cba60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x008fcdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97fec90, th=0x99cba60, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x008ff2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99a2ba8, th=0x99cba60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x008fcdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97fec90, th=0x99cba60, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x008ff2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99a2ba8, th=0x99cba60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0x008fcdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97fec90, th=0x99cba60, previous=0x9bc3050) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0x008fd3be in ThreadWeaver::ThreadRunHelper::run (this=0xb16642f4, parent=0x97fec90, th=0x99cba60) at ../../../threadweaver/Weaver/Thread.cpp:87
#17 0x008fd9db in ThreadWeaver::Thread::run (this=0x99cba60) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0x00449e32 in QThreadPrivate::start (arg=0x99cba60) at thread/qthread_unix.cpp:188
#19 0x0754480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#20 0x008397ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb0e63b70 (LWP 4576)):
#0  0x003fa422 in __kernel_vsyscall ()
#1  0x07548e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0084678d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0044ae67 in QWaitConditionPrivate::wait (this=0x97feca8, mutex=0x99a0b98, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x97feca8, mutex=0x99a0b98, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x008fcb30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x97fec90, th=0x9916518) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x008ff19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99a2ba8, th=0x9916518) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x008fb1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x97fec90, th=0x9916518) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x008ff292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99a2ba8, th=0x9916518) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x008fcdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97fec90, th=0x9916518, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x008ff2b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99a2ba8, th=0x9916518) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x008fcdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97fec90, th=0x9916518, previous=0x99ac970) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x008fd3be in ThreadWeaver::ThreadRunHelper::run (this=0xb0e632f4, parent=0x97fec90, th=0x9916518) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x008fd9db in ThreadWeaver::Thread::run (this=0x9916518) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00449e32 in QThreadPrivate::start (arg=0x9916518) at thread/qthread_unix.cpp:188
#15 0x0754480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x008397ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xafe61b70 (LWP 4579)):
#0  0x003fa422 in __kernel_vsyscall ()
#1  0x07548e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0084678d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0044ae67 in QWaitConditionPrivate::wait (this=0x97feca8, mutex=0x99a0b98, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x97feca8, mutex=0x99a0b98, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x008fcb30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x97fec90, th=0x9bec478) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x008ff19c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x99a2ba8, th=0x9bec478) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x008fb1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x97fec90, th=0x9bec478) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x008ff292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x99a2ba8, th=0x9bec478) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x008fcdb3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x97fec90, th=0x9bec478, previous=0xa0ba548) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x008fd3be in ThreadWeaver::ThreadRunHelper::run (this=0xafe612f4, parent=0x97fec90, th=0x9bec478) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x008fd9db in ThreadWeaver::Thread::run (this=0x9bec478) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00449e32 in QThreadPrivate::start (arg=0x9bec478) at thread/qthread_unix.cpp:188
#13 0x0754480e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x008397ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb789f710 (LWP 4564)):
[KCrash Handler]
#6  0x014a1f8c in QByteArray (this=0xc5a78a0) at /usr/include/qt4/QtCore/qbytearray.h:413
#7  KIO::StoredTransferJob::data (this=0xc5a78a0) at ../../kio/kio/job.cpp:1481
#8  0x071c5b6b in ?? () from /usr/lib/kde4/amarok_service_ampache.so
#9  0x071c6392 in ?? () from /usr/lib/kde4/amarok_service_ampache.so
#10 0x071c7799 in ?? () from /usr/lib/kde4/amarok_service_ampache.so
#11 0x00550263 in QMetaObject::activate (sender=0xa13e6d8, from_signal_index=7, to_signal_index=7, argv=0xbfebb7b8) at kernel/qobject.cpp:3113
#12 0x00550ec2 in QMetaObject::activate (sender=0xa13e6d8, m=0x34fd68, local_signal_index=3, argv=0xbfebb7b8) at kernel/qobject.cpp:3187
#13 0x001e9fe3 in KJob::result (this=0xa13e6d8, _t1=0xa13e6d8) at ./kjob.moc:188
#14 0x001ea469 in KJob::emitResult (this=0xa13e6d8) at ../../kdecore/jobs/kjob.cpp:304
#15 0x014aa660 in KIO::SimpleJob::slotFinished (this=0xa13e6d8) at ../../kio/kio/job.cpp:477
#16 0x014aab7a in KIO::TransferJob::slotFinished (this=0xa13e6d8) at ../../kio/kio/job.cpp:948
#17 0x014a88a3 in KIO::TransferJob::qt_metacall (this=0xa13e6d8, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfebba5c) at ./jobclasses.moc:343
#18 0x014a8baa in KIO::StoredTransferJob::qt_metacall (this=0xa13e6d8, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfebba5c) at ./jobclasses.moc:447
#19 0x00550263 in QMetaObject::activate (sender=0x9af31b0, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3113
#20 0x00550ec2 in QMetaObject::activate (sender=0x9af31b0, m=0x165cf64, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3187
#21 0x01574557 in KIO::SlaveInterface::finished (this=0x9af31b0) at ./slaveinterface.moc:165
#22 0x0157844d in KIO::SlaveInterface::dispatch (this=0x9af31b0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#23 0x01574a13 in KIO::SlaveInterface::dispatch (this=0x9af31b0) at ../../kio/kio/slaveinterface.cpp:91
#24 0x01566aea in KIO::Slave::gotInput (this=0x9af31b0) at ../../kio/kio/slave.cpp:322
#25 0x01568ee3 in KIO::Slave::qt_metacall (this=0x9af31b0, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfebbd3c) at ./slave.moc:76
#26 0x00550263 in QMetaObject::activate (sender=0xa2586a0, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#27 0x00550ec2 in QMetaObject::activate (sender=0xa2586a0, m=0x16598a0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#28 0x01470f97 in KIO::Connection::readyRead (this=0xa2586a0) at ./connection.moc:86
#29 0x01472d5e in KIO::ConnectionPrivate::dequeue (this=0x9a2c878) at ../../kio/kio/connection.cpp:82
#30 0x01472e8e in KIO::Connection::qt_metacall (this=0xa2586a0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xc5587e0) at ./connection.moc:73
#31 0x00548f0b in QMetaCallEvent::placeMetaCall (this=0xa0bf560, object=0xa2586a0) at kernel/qobject.cpp:477
#32 0x0054a5fe in QObject::event (this=0xa2586a0, e=0xa0bf560) at kernel/qobject.cpp:1111
#33 0x019c0f54 in QApplicationPrivate::notify_helper (this=0x921e648, receiver=0xa2586a0, e=0xa0bf560) at kernel/qapplication.cpp:4056
#34 0x019c867c in QApplication::notify (this=0xbfebc5cc, receiver=0xa2586a0, e=0xa0bf560) at kernel/qapplication.cpp:3603
#35 0x00b0fbfa in KApplication::notify (this=0xbfebc5cc, receiver=0xa2586a0, event=0xa0bf560) at ../../kdeui/kernel/kapplication.cpp:302
#36 0x0053a6cb in QCoreApplication::notifyInternal (this=0xbfebc5cc, receiver=0xa2586a0, event=0xa0bf560) at kernel/qcoreapplication.cpp:610
#37 0x0053b2b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9169a18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9169a18) at kernel/qcoreapplication.cpp:1247
#39 0x0053b47d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#40 0x005653ff in QCoreApplication::sendPostedEvents (s=0x9228b10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#41 postEventSourceDispatch (s=0x9228b10) at kernel/qeventdispatcher_glib.cpp:210
#42 0x046efe78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x046f3720 in ?? () from /lib/libglib-2.0.so.0
#44 0x046f3853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0x0056502c in QEventDispatcherGlib::processEvents (this=0x9169bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#46 0x01a61be5 in QGuiEventDispatcherGlib::processEvents (this=0x9169bf0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#47 0x00538c79 in QEventLoop::processEvents (this=0xbfebc534, flags=) at kernel/qeventloop.cpp:149
#48 0x005390ca in QEventLoop::exec (this=0xbfebc534, flags=...) at kernel/qeventloop.cpp:201
#49 0x0053b53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#50 0x019c0dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#51 0x08051e49 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-23 14:06:34 UTC
Unfortunatelly the important information about the Ampache service is missing.
- If you can reproduce the crash at will (or you experience this regularly), can you install the "amarok-dbg" package and post a complete backtrace here? Thanks
Comment 2 Myriam Schweingruber 2009-11-23 19:36:41 UTC
Stefan, this is probably already fixed in Amarok 2.2.1 and might also depend on your Ampache version, there were some changes lately.
Comment 3 Stefan Gründel 2009-11-24 07:35:17 UTC
I've installed amarok-dbg now and tried to reproduce the bug, but it didn't occur again.  Regarding Ampache, I've installed this from debian Lenny repositories, so this probably isn't the latest released version.
Comment 4 Myriam Schweingruber 2009-11-24 22:33:52 UTC
Thank you for the feedback. I am closing this bug for now, feel free to reopen it if you can reproduce it with a valid backtrace.
Comment 5 Myriam Schweingruber 2010-01-31 11:19:22 UTC
*** Bug 224891 has been marked as a duplicate of this bug. ***
Comment 6 powertothepenguins 2010-02-21 23:46:52 UTC
Created attachment 40993 [details]
New crash information added by DrKonqi

Typing into the search field when browsing my Ampache collection sometimes causes Amarok to crash.
Comment 7 Myriam Schweingruber 2010-02-21 23:55:46 UTC
Pasting the backtrace from comment #6:

Application: amarok (2.2.2)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.31-16-generic i686
Distribution: Linux Mint 8 Helena - Main Edition

-- Information about the crash:
Typing into the search field when browsing my Ampache collection sometimes causes Amarok to crash.

The crash can be reproduced some of the time.

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

Thread 14 (Thread 0xaf222b70 (LWP 4307)):
#0  0xb7813422 in __kernel_vsyscall ()
#1  0xb55fe142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5ab88d4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xafe779ff in ?? () from /usr/lib/libxine.so.1
#4  0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 13 (Thread 0xae8b7b70 (LWP 4310)):
#0  0xb55fbd4b in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0xb5ab8a46 in pthread_mutex_lock () from /lib/tls/i686/cmov/libc.so.6
#2  0xb38f0d0c in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0xb38f147c in ?? () from /lib/libglib-2.0.so.0
#4  0xb38f1863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb5dc891f in QEventDispatcherGlib::processEvents (this=0x9c92998, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0xb5d9b319 in QEventLoop::processEvents (this=0xae8b7230, flags=) at kernel/qeventloop.cpp:149
#7  0xb5d9b76a in QEventLoop::exec (this=0xae8b7230, flags=...) at kernel/qeventloop.cpp:201
#8  0xb5c975a8 in QThread::exec (this=0x9c326b8) at thread/qthread.cpp:487
#9  0xafed7a5a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0xb5c9a32e in QThreadPrivate::start (arg=0x9c326b8) at thread/qthread_unix.cpp:248
#11 0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 12 (Thread 0xae0b6b70 (LWP 4311)):
#0  0xb7813422 in __kernel_vsyscall ()
#1  0xb5a9dc96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xae9f5cc2 in ?? () from /usr/lib/libpulse.so.0
#3  0xae9e2e09 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xae9e4c23 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xae9e4cf4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xae9f5bc3 in ?? () from /usr/lib/libpulse.so.0
#7  0xae9b8ac2 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#8  0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xa98b4b70 (LWP 4312)):
#0  0xb7813422 in __kernel_vsyscall ()
#1  0xb55fde15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5ab887d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xafe885ee in ?? () from /usr/lib/libxine.so.1
#4  0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xa8effb70 (LWP 4313)):
#0  0xb7813422 in __kernel_vsyscall ()
#1  0xb55fde15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5ab887d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xafe885ee in ?? () from /usr/lib/libxine.so.1
#4  0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xa86feb70 (LWP 4314)):
#0  0xb7813422 in __kernel_vsyscall ()
#1  0xb55fde15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5ab887d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xafe885ee in ?? () from /usr/lib/libxine.so.1
#4  0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xa7efdb70 (LWP 4315)):
#0  0xb7813422 in __kernel_vsyscall ()
#1  0xb55fde15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5ab887d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xafe885ee in ?? () from /usr/lib/libxine.so.1
#4  0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xa6f46b70 (LWP 4378)):
#0  0xb7813422 in __kernel_vsyscall ()
#1  0xb55fde15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5ab887d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb402b4e7 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb402b531 in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xa5312b70 (LWP 4382)):
#0  0xb7813422 in __kernel_vsyscall ()
#1  0xb55fde15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5ab887d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5c9b287 in QWaitConditionPrivate::wait (this=0xa7f3180, mutex=0xa7f3420, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa7f3180, mutex=0xa7f3420, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb54df8a0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa7f3168, th=0xa7f3780) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb54e241c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa7f3500, th=0xa7f3780) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb54de26b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa7f3168, th=0xa7f3780) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb54e2512 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7f3500, th=0xa7f3780) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb54dfb23 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa7f3168, th=0xa7f3780, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb54e2531 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7f3500, th=0xa7f3780) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb54dfb23 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa7f3168, th=0xa7f3780, previous=0xb7b19b8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb54e04fe in ThreadWeaver::ThreadRunHelper::run (this=0xa53122a4, parent=0xa7f3168, th=0xa7f3780) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb54e0b1b in ThreadWeaver::Thread::run (this=0xa7f3780) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb5c9a32e in QThreadPrivate::start (arg=0xa7f3780) at thread/qthread_unix.cpp:248
#15 0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xa230cb70 (LWP 4389)):
#0  0xb7813422 in __kernel_vsyscall ()
#1  0xb55fde15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5ab887d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5c9b287 in QWaitConditionPrivate::wait (this=0xa7f3180, mutex=0xa7f3420, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa7f3180, mutex=0xa7f3420, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb54df8a0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa7f3168, th=0xa2f9dc8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb54e241c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa7f3500, th=0xa2f9dc8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb54de26b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa7f3168, th=0xa2f9dc8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb54e2512 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7f3500, th=0xa2f9dc8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb54dfb23 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa7f3168, th=0xa2f9dc8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb54e2531 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7f3500, th=0xa2f9dc8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb54dfb23 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa7f3168, th=0xa2f9dc8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb54e2531 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7f3500, th=0xa2f9dc8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb54dfb23 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa7f3168, th=0xa2f9dc8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb54e2531 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7f3500, th=0xa2f9dc8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0xb54dfb23 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa7f3168, th=0xa2f9dc8, previous=0xa72a938) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0xb54e04fe in ThreadWeaver::ThreadRunHelper::run (this=0xa230c2a4, parent=0xa7f3168, th=0xa2f9dc8) at ../../../threadweaver/Weaver/Thread.cpp:87
#17 0xb54e0b1b in ThreadWeaver::Thread::run (this=0xa2f9dc8) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0xb5c9a32e in QThreadPrivate::start (arg=0xa2f9dc8) at thread/qthread_unix.cpp:248
#19 0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#20 0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa1b0bb70 (LWP 4390)):
#0  0xb7813422 in __kernel_vsyscall ()
#1  0xb55fde15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5ab887d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5c9b287 in QWaitConditionPrivate::wait (this=0xa7f3180, mutex=0xa7f3420, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa7f3180, mutex=0xa7f3420, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb54df8a0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa7f3168, th=0xa8f81ef8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb54e241c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa7f3500, th=0xa8f81ef8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb54de26b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa7f3168, th=0xa8f81ef8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb54e2512 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7f3500, th=0xa8f81ef8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb54dfb23 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa7f3168, th=0xa8f81ef8, previous=0xa31cf60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb54e04fe in ThreadWeaver::ThreadRunHelper::run (this=0xa1b0b2a4, parent=0xa7f3168, th=0xa8f81ef8) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb54e0b1b in ThreadWeaver::Thread::run (this=0xa8f81ef8) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5c9a32e in QThreadPrivate::start (arg=0xa8f81ef8) at thread/qthread_unix.cpp:248
#13 0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa1232b70 (LWP 4398)):
#0  0xb7813422 in __kernel_vsyscall ()
#1  0xb55fde15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5ab887d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5c9b287 in QWaitConditionPrivate::wait (this=0xa7f3180, mutex=0xa7f3420, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa7f3180, mutex=0xa7f3420, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb54df8a0 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa7f3168, th=0xa74c120) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb54e241c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa7f3500, th=0xa74c120) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb54de26b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa7f3168, th=0xa74c120) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb54e2512 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7f3500, th=0xa74c120) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb54dfb23 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa7f3168, th=0xa74c120, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb54e2531 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7f3500, th=0xa74c120) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb54dfb23 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa7f3168, th=0xa74c120, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb54e2531 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa7f3500, th=0xa74c120) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb54dfb23 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa7f3168, th=0xa74c120, previous=0xa2d4720) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb54e04fe in ThreadWeaver::ThreadRunHelper::run (this=0xa12322a4, parent=0xa7f3168, th=0xa74c120) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0xb54e0b1b in ThreadWeaver::Thread::run (this=0xa74c120) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0xb5c9a32e in QThreadPrivate::start (arg=0xa74c120) at thread/qthread_unix.cpp:248
#17 0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0x9d241b70 (LWP 4425)):
#0  0xb7813422 in __kernel_vsyscall ()
#1  0xb55fde15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5ab887d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb4fb0887 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb50891a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#4  0xb4fb08d1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb50891a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#5  0xb55f980e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb5aab8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb2d18760 (LWP 4294)):
[KCrash Handler]
#6  0xb3a7538c in QByteArray (this=0xa26d9f8) at /usr/include/qt4/QtCore/qbytearray.h:429
#7  KIO::StoredTransferJob::data (this=0xa26d9f8) at ../../kio/kio/job.cpp:1546
#8  0xa5dd43eb in AmpacheService::versionVerify (this=0xa36dc18, job=0x9b93920) at /build/buildd/amarok-2.2.2/src/services/ampache/AmpacheService.cpp:342
#9  0xa5dd61a2 in AmpacheService::authenticate (this=0xa36dc18, job=0x9b93920) at /build/buildd/amarok-2.2.2/src/services/ampache/AmpacheService.cpp:206
#10 0xa5dd75a9 in AmpacheService::qt_metacall (this=0xa36dc18, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0xbfee0058)
    at /build/buildd/amarok-2.2.2/obj-i486-linux-gnu/src/services/ampache/AmpacheService.moc:113
#11 0xb5da1f6a in QMetaObject::metacall (object=0xa36dc18, cl=3045212993, idx=40, argv=0xbfee0058) at kernel/qmetaobject.cpp:237
#12 0xb5db0705 in QMetaObject::activate (sender=0x9b93920, m=0xb610bc48, local_signal_index=3, argv=0xbfee0058) at kernel/qobject.cpp:3275
#13 0xb5f98d03 in KJob::result (this=0x9b93920, _t1=0x9b93920) at ./kjob.moc:194
#14 0xb5f99068 in KJob::emitResult (this=0x9b93920) at ../../kdecore/jobs/kjob.cpp:312
#15 0xb3a7e2a0 in KIO::SimpleJob::slotFinished (this=0x9b93920) at ../../kio/kio/job.cpp:486
#16 0xb3a7e7cd in KIO::TransferJob::slotFinished (this=0x9b93920) at ../../kio/kio/job.cpp:1058
#17 0xb3a7c953 in KIO::TransferJob::qt_metacall (this=0x9b93920, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfee032c) at ./jobclasses.moc:367
#18 0xb3a7cc5a in KIO::StoredTransferJob::qt_metacall (this=0x9b93920, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfee032c) at ./jobclasses.moc:477
#19 0xb5da1f6a in QMetaObject::metacall (object=0x9b93920, cl=3045212993, idx=47, argv=0xbfee032c) at kernel/qmetaobject.cpp:237
#20 0xb5db0705 in QMetaObject::activate (sender=0xb7d4b90, m=0xb3c2cf44, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3275
#21 0xb3b487f7 in KIO::SlaveInterface::finished (this=0xb7d4b90) at ./slaveinterface.moc:171
#22 0xb3b4bb1d in KIO::SlaveInterface::dispatch (this=0xb7d4b90, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#23 0xb3b48cb3 in KIO::SlaveInterface::dispatch (this=0xb7d4b90) at ../../kio/kio/slaveinterface.cpp:91
#24 0xb3b3c058 in KIO::Slave::gotInput (this=0xb7d4b90) at ../../kio/kio/slave.cpp:324
#25 0xb3b3c263 in KIO::Slave::qt_metacall (this=0xb7d4b90, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfee063c) at ./slave.moc:82
#26 0xb5da1f6a in QMetaObject::metacall (object=0xb7d4b90, cl=3045212993, idx=30, argv=0xbfee063c) at kernel/qmetaobject.cpp:237
#27 0xb5db0705 in QMetaObject::activate (sender=0xa763fe0, m=0xb3c29820, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3275
#28 0xb3a46cb7 in KIO::Connection::readyRead (this=0xa763fe0) at ./connection.moc:92
#29 0xb3a4905e in KIO::ConnectionPrivate::dequeue (this=0xab249e0) at ../../kio/kio/connection.cpp:82
#30 0xb3a4918e in KIO::Connection::qt_metacall (this=0xa763fe0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xb494d30) at ./connection.moc:79
#31 0xb5da1f6a in QMetaObject::metacall (object=0xa763fe0, cl=3045212993, idx=5, argv=0xb494d30) at kernel/qmetaobject.cpp:237
#32 0xb5dac626 in QMetaCallEvent::placeMetaCall (this=0xaacdef8, object=0xa763fe0) at kernel/qobject.cpp:561
#33 0xb5dad74e in QObject::event (this=0xa763fe0, e=0xaacdef8) at kernel/qobject.cpp:1248
#34 0xb624927c in QApplicationPrivate::notify_helper (this=0x9acdfb0, receiver=0xa763fe0, e=0xaacdef8) at kernel/qapplication.cpp:4298
#35 0xb624fede in QApplication::notify (this=0xbfee0fcc, receiver=0xa763fe0, e=0xaacdef8) at kernel/qapplication.cpp:3702
#36 0xb70d0dd6 in App::notify (this=0xbfee0fcc, receiver=0xa763fe0, event=0xaacdef8) at /build/buildd/amarok-2.2.2/src/App.cpp:856
#37 0xb5d9ccfb in QCoreApplication::notifyInternal (this=0xbfee0fcc, receiver=0xa763fe0, event=0xaacdef8) at kernel/qcoreapplication.cpp:704
#38 0xb5d9f733 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9a04fb8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9a04fb8) at kernel/qcoreapplication.cpp:1345
#40 0xb5d9f89d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#41 0xb5dc8def in QCoreApplication::sendPostedEvents (s=0x9ad3510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#42 postEventSourceDispatch (s=0x9ad3510) at kernel/qeventdispatcher_glib.cpp:276
#43 0xb38ede88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0xb38f1730 in ?? () from /lib/libglib-2.0.so.0
#45 0xb38f1863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0xb5dc88e5 in QEventDispatcherGlib::processEvents (this=0x9a04b50, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#47 0xb6308485 in QGuiEventDispatcherGlib::processEvents (this=0x9a04b50, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0xb5d9b319 in QEventLoop::processEvents (this=0xbfee0f34, flags=) at kernel/qeventloop.cpp:149
#49 0xb5d9b76a in QEventLoop::exec (this=0xbfee0f34, flags=...) at kernel/qeventloop.cpp:201
#50 0xb5d9f95f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0xb6249317 in QApplication::exec () at kernel/qapplication.cpp:3577
#52 0x0805218b in main (argc=1, argv=0xbfee1834) at /build/buildd/amarok-2.2.2/src/main.cpp:235

Possible duplicates by query: bug 225920, bug 224891.

Reported using DrKonqi
Comment 8 Myriam Schweingruber 2010-02-21 23:58:16 UTC
Subscribing Karl: could this be a version problem?
Comment 9 Karl Vollmer 2010-02-23 13:00:38 UTC
Doesn't look like it considering that the problem comes and goes. As a precaution can you please make sure that you are using the current stable of Ampache (3.5.4). And also please enable logging in ampache http://ampache.org/wiki/support and provide us with the logs (ampache side) to match the Amarok crash. 

It might also be nice to have the Apache logs as well. I have a hunch.
Comment 10 Sven Krohlas 2010-05-01 09:23:10 UTC
*** Bug 234197 has been marked as a duplicate of this bug. ***
Comment 11 Sven Krohlas 2010-05-01 09:23:17 UTC
*** Bug 235825 has been marked as a duplicate of this bug. ***
Comment 12 Berend Dekens 2010-05-01 13:36:07 UTC
On a side note: #234197 has a step by step how-to-crash-Amarok guide (so there is a reproducable crash).

The crash I am describing there has to do with typing in the search field after the session expires.
Comment 13 Myriam Schweingruber 2010-05-27 11:51:34 UTC
Confirmed by duplicates.
Comment 14 Myriam Schweingruber 2010-05-27 11:52:07 UTC
*** Bug 238966 has been marked as a duplicate of this bug. ***
Comment 15 Berend Dekens 2010-06-29 12:59:07 UTC
Any progress on this? I use Ampache daily and it is highly annoying that it crashes 10 times a day...
Comment 16 Myriam Schweingruber 2010-08-09 13:07:38 UTC
Is this still valid with Amarok 2.3.1 or later?
Comment 17 Matteo Agostinelli 2010-08-09 15:46:33 UTC
(In reply to comment #16)
> Is this still valid with Amarok 2.3.1 or later?
Yes, I am still experiencing this bug with 2.3.1
Comment 18 Berend Dekens 2010-08-12 15:32:39 UTC
The latest GIT as of 15 minutes ago does no longer crash (yay) when following my steps as I posted before.

However, now the Ampache pane shows this (no matter what query is entered or cleared altogether):
+Unknown
|-+Unknown
| |-Unknown
+Various Artists
|-+Unknown
  |-Unknown

Closing the Ampache view does not improve anything and the dummy entries are unplayable (ofc).

The only way to get Amarok to work again with Ampache is to restart the entire program.
Comment 19 Myriam Schweingruber 2010-08-12 17:13:46 UTC
Thank you for the feedback, Changing severity and title accordingly.

Please all, see comment #9 for any additional information needed for this report.
Comment 20 Myriam Schweingruber 2010-09-02 15:35:05 UTC
*** Bug 249890 has been marked as a duplicate of this bug. ***
Comment 21 Matteo Agostinelli 2010-09-02 16:24:56 UTC
*** Bug 249890 has been marked as a duplicate of this bug. ***
Comment 22 Matteo Agostinelli 2010-09-02 16:27:29 UTC
Copying a comment from another bug report that is probably a duplicate of this one:

I think I found the issue here: after the session times out, Amarok is issuing
a ping (/server/xml.server.php?action=ping), but for some reason the server
replies with an ACL error instead of the expected version information. (I don't
know why I get an ACL error since the service is working properly apart from
this glitch and the Ampache ACL configuration is correct).

Looking at the Amarok code, it is assumed that if no version information is
returned then the Ampache version is set to '100000' (line 357,
AmpacheService.cpp). This causes the next authentications to fail due to wrong
version. Then I get an "Unknown" in the album fields and the only solution is to restart Amarok.
Comment 23 Matteo Agostinelli 2010-09-03 13:16:25 UTC
So after playing around a little a bit, I found a solution to this bug (at least on my box). In my case, the problem was that the server replied to a ping with an ACL error. The solution was to change the ACL entry in the Ampache configuration and grant access to 'All' users and not only to the "main" user.

You can check if you have the same problem by starting amarok with the '-d' flag in a terminal, browse your ampache collection, idle for approx. 30 minutes and then browse again. If you see some authentication errors in the amarok debug output, then try the steps I described and see if that solves the problem.
Comment 24 Berend Dekens 2010-09-03 16:24:01 UTC
Unfortunately I already have the following in my ACL configuration:

Name  	Start Address  	End Address  	Level  	User  	Type  	Action
...
Amarok RPC 	x.x.1.1 x.x.254.254 	All 	All 	API/RPC

But that sounds like a work around, in general, is authentication required before the ping action can be performed? If so, the authentication should be performed before the ping instead of after it.
Comment 25 Berend Dekens 2010-09-16 11:22:28 UTC
Because I keep restarting Amarok the entire day I ran Wireshark to verify what is going on. The following transcript is from the point where the session expires.

All calls are made to /server/xml.server.php

1.  Amarok calls action=artists
2.  Amarok calls action=artist_albums
3.  Server replies to 1 with 401: session expired
4.  Amarok calls action=album_songs
5.  Amarok calls action=ping
6.  Amarok calls action=artist_albums
7.  Server replies to 4 with 401: session expired
8.  Server replies to 2 with 401: session expired
9.  Server replies to 6 with 401: session expired
10. Amarok calls action=album_songs
11. Server replies to 10 with 401: session expired
12. Server replies to 5 with: 200 followed by an XML file with version info
*repeat for each search*

So unlike #22 mentioned, the ping command returns the version info just fine. Amarok does not seem to do anything with the 401 errors and defaults to some fail-back behavior rather than reauthenticating (or deferring the results until authentication worked).

Since Amarok never reauthenticates itself, the only solution is to restart the entire program.
Comment 26 Berend Dekens 2010-09-16 13:41:14 UTC
And finally, some debug output from Amarok when everything goes sour:
amarok: BEGIN: virtual void Collections::AmpacheServiceQueryMaker::run() 
amarok:   BEGIN: void Collections::AmpacheServiceQueryMaker::fetchTracks() 
amarok:     [AmpacheServiceQueryMaker] request url:  "http://myserver/server/xml.server.php?auth=my_session_hash&action=album_songs&filter=0" 
amarok:   END__: void Collections::AmpacheServiceQueryMaker::fetchTracks() - Took 0.00085s 
amarok: END__: virtual void Collections::AmpacheServiceQueryMaker::run() - Took 0.001s 
amarok: BEGIN: virtual Collections::QueryMaker* Collections::AmpacheServiceQueryMaker::setQueryType(Collections::QueryMaker::QueryType) 
amarok: END__: virtual Collections::QueryMaker* Collections::AmpacheServiceQueryMaker::setQueryType(Collections::QueryMaker::QueryType) - Took 0.0001s 
amarok: BEGIN: virtual Collections::QueryMaker* Collections::DynamicServiceQueryMaker::addMatch(const Meta::DataPtr&) 
amarok:   BEGIN: virtual Collections::QueryMaker* Collections::AmpacheServiceQueryMaker::addMatch(const Meta::AlbumPtr&) 
amarok:   END__: virtual Collections::QueryMaker* Collections::AmpacheServiceQueryMaker::addMatch(const Meta::AlbumPtr&) - Took 0.00014s 
amarok: END__: virtual Collections::QueryMaker* Collections::DynamicServiceQueryMaker::addMatch(const Meta::DataPtr&) - Took 0.00031s 
amarok: BEGIN: virtual Collections::QueryMaker* Collections::DynamicServiceQueryMaker::addMatch(const Meta::DataPtr&) 
amarok:   BEGIN: virtual Collections::QueryMaker* Collections::AmpacheServiceQueryMaker::addMatch(const Meta::ArtistPtr&) 
amarok:   END__: virtual Collections::QueryMaker* Collections::AmpacheServiceQueryMaker::addMatch(const Meta::ArtistPtr&) - Took 9.1e-05s 
amarok: END__: virtual Collections::QueryMaker* Collections::DynamicServiceQueryMaker::addMatch(const Meta::DataPtr&) - Took 0.00026s 
amarok: BEGIN: virtual void Collections::AmpacheServiceQueryMaker::run() 
amarok:   BEGIN: void Collections::AmpacheServiceQueryMaker::fetchTracks() 
amarok:     [AmpacheServiceQueryMaker] request url:  "http://myserver/server/xml.server.php?auth=my_session_hash&action=album_songs&filter=0" 
amarok:   END__: void Collections::AmpacheServiceQueryMaker::fetchTracks() - Took 0.00042s 
amarok: END__: virtual void Collections::AmpacheServiceQueryMaker::run() - Took 0.00059s 
amarok: [NetworkAccessManagerProxy] "Failed to invoke method authenticate(KUrl,QByteArray,QNetworkReply::NetworkError) of AmpacheService" 
amarok: [NetworkAccessManagerProxy] "Failed to invoke method authenticate(KUrl,QByteArray,QNetworkReply::NetworkError) of AmpacheService" 
amarok: [NetworkAccessManagerProxy] "Failed to invoke method authenticate(KUrl,QByteArray,QNetworkReply::NetworkError) of AmpacheService" 
amarok: [AmpacheServiceQueryMaker] Error getting Track Download  "Session Expired" 
amarok: BEGIN: void AmpacheService::reauthenticate() 
amarok:   [AmpacheService]  I am trying to re-authenticate 
amarok:   [AmpacheService] Verifying Ampache Version Using:  "http://myserver/server/xml.server.php?action=ping" 
amarok: END__: void AmpacheService::reauthenticate() - Took 0.00023s 
amarok: BEGIN: void Collections::AmpacheServiceQueryMaker::handleResult(const Meta::TrackList&) 
amarok: END__: void Collections::AmpacheServiceQueryMaker::handleResult(const Meta::TrackList&) - Took 5e-05s 
amarok: [AmpacheServiceQueryMaker] Error getting Track Download  "Session Expired" 
amarok: BEGIN: void AmpacheService::reauthenticate() 
amarok:   [AmpacheService]  I am trying to re-authenticate 
amarok:   [AmpacheService] Verifying Ampache Version Using:  "http://myserver/server/xml.server.php?action=ping" 
amarok: END__: void AmpacheService::reauthenticate() - Took 0.00028s 
amarok: BEGIN: void Collections::AmpacheServiceQueryMaker::handleResult(const Meta::TrackList&) 
amarok: END__: void Collections::AmpacheServiceQueryMaker::handleResult(const Meta::TrackList&) - Took 4.5e-05s 
amarok: [NetworkAccessManagerProxy] "Failed to invoke method authenticate(KUrl,QByteArray,QNetworkReply::NetworkError) of AmpacheService" 
amarok: [NetworkAccessManagerProxy] "Failed to invoke method authenticate(KUrl,QByteArray,QNetworkReply::NetworkError) of AmpacheService" 
amarok:  Download Cover:  "http://myserver/image.php?id=1116&auth=my_session_hash"  to:  "/tmp/kde-cyberwizzard/amarokb5oiq6/image.php" 
amarok:  Download Cover:  "http://myserver/image.php?id=1094&auth=my_session_hash"  to:  "/tmp/kde-cyberwizzard/amaroku2Y6LF/image.php" 
amarok:  Download Cover:  "http://myserver/image.php?id=1107&auth=my_session_hash"  to:  "/tmp/kde-cyberwizzard/amarokzLo1af/image.php" 
amarok:  file not a valid image 
amarok:  file not a valid image 
amarok:  file not a valid image

So Amarok is indeed detecting the failure when requesting data and the reauthenticate() method is called. Since it returns I assume the version was received (perhaps something goes wrong when storing the version?) but the call to authenticate() fails.
Comment 27 Bernd Helm 2010-10-15 12:18:25 UTC
I also expirience the problem every day, very annoying with time!

the session times out and browsing the collection results in "Unknown" entries.

I work around this not by restarting amarok but by going to settings -> internet sevices, unchecking ampache, pressing apply, rechecking it and pressing ok.

would realy like to see that solved cause i use ampache every day.
Comment 28 Bernd Helm 2010-10-15 12:21:40 UTC
iam currently using Amarok 2.3.2
Comment 29 Matteo Agostinelli 2010-10-15 13:13:18 UTC
Just to add further elements to the discussion, the workaround I proposed in comment #23 does no longer work with Amarok 2.3.2

I also need to disable and re-enable the Ampache service to browse the collection (which is quite annoying)
Comment 30 Berend Dekens 2010-10-28 14:56:17 UTC
Any progress on this? Last weeks GIT build does still have this problem...
Comment 31 Bernd Helm 2010-11-30 16:59:57 UTC
i confirm, lastes GIT still have this problem.
Comment 32 Bernd Helm 2010-11-30 17:01:05 UTC
Created attachment 53895 [details]
unknown entities in browser tree and also in playlist
Comment 33 Berend Dekens 2010-12-14 12:12:16 UTC
As I proposed in irc, I increased the session timeout to 24 hours and the problem disappears. When I suspend my laptop and Amarok attempts to resume playback the next day, I get the same problem again.

Ergo: the re-authentication detection or the re-authentication itself is broken.
Comment 34 Berend Dekens 2011-04-04 13:45:08 UTC
Any news on this problem?

Addendum to my previous info post: when playback is suspended, the session remains valid for the search (when using the ridiculously long life span with the cookie) but playback breaks after a while: amarok skips over each and every song when you attempt to resume.

A restart of the player is the only solution to fix this.

Can we get an ETA for this?
Comment 35 Myriam Schweingruber 2011-04-27 22:18:50 UTC
Fixed by this commit:

Git commit a98c7e0a8b77f4c6a9ced3608a49f49a65d54be6 by Ralf Engels.
Committed on 27/04/2011 at 21:17.
Pushed by rengels into branch 'master'.

Obvious typo in re-authenticate of Ampache account login.
Fix needs to be verified.

BUG: 215750

FIXED-IN: 2.4.1