Version: 2.2.1-0ubuntu1~karmic1~ppa1 (using KDE 4.3.4) OS: Linux Installed from: Ubuntu Packages It inevitably happens whenever I start switching tracks really quickly. Like, starting another track before the first even started to play. With amarok --debug it says in the end: KCrash: Application 'amarok' crashing... sock_file=/home/victor/.kde/socket-victor-laptop/kdeinit4__0 Assertion 'pa_close(fds[0]) == 0' failed at pulsecore/core-util.c:2165, function pa_close_pipe(). Aborting.
First of all, if you are not using Ubuntu, but Kubuntu, you should not be using Pulseaudio. Then we need a proper backtrace. If you can reproduce this bug, please check here on how to get a valid backtrace: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports Please also try starting Amarok from a konsole with the following options: amarok -d --nofork it can sometimes get better results once the debugging packages are installed. Since you are using Kubuntu, you will need amarok-dbg and phonon-dbg at least, ideally you should also have kdelibs5-dbg, libqt4-dbg and libglib2.0-0-dbg. That should cover most of the crashes.
Created attachment 39210 [details] backtrace
Hi! First of all, I'm not sure if I'm using Ubuntu or Kubuntu. It was originally installed as Ubuntu, but later I installed the kubuntu-desktop package and am now using KDE. Second, I think you should know I'm using this PPA: https://launchpad.net/~kubuntu-ppa/+archive/ppa Finally, I'm attaching the backtrace (with all the above packages installed :) )
Reassigning to phonon. [KCrash Handler] #6 0xb7722430 in __kernel_vsyscall () #7 0xb5acf4d1 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb5ad2932 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb5d3ef8c in qt_message_output (msgType=QtFatalMsg, buf=0xb151910 "ASSERT: \"m_state == BufferingState\" in file ../../xine/mediaobject.cpp, line 234") at global/qglobal.cpp:2042 #10 0xb5d3f06e in qFatal (msg=0xb5e891d8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2241 #11 0xb5d3f165 in qt_assert (assertion=0xb167835e "m_state == BufferingState", file=0xb1678343 "../../xine/mediaobject.cpp", line=234) at global/qglobal.cpp:1811 #12 0xb1653841 in Phonon::Xine::MediaObject::handleStateChange (this=0x8a6eac0, newstate=Phonon::BufferingState, oldstate=Phonon::PlayingState) at ../../xine/mediaobject.cpp:234 #13 0xb1654203 in Phonon::Xine::MediaObject::qt_metacall (this=0x8a6eac0, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x94a020c0) at ./mediaobject.moc:158 #14 0xb5e46f0b in QMetaCallEvent::placeMetaCall (this=0x94a43d70, object=0x8a6eac0) at kernel/qobject.cpp:477 #15 0xb5e485fe in QObject::event (this=0x8a6eac0, e=0x94a43d70) at kernel/qobject.cpp:1111 #16 0xb6299f54 in QApplicationPrivate::notify_helper (this=0x8a723c0, receiver=0x8a6eac0, e=0x94a43d70) at kernel/qapplication.cpp:4056 #17 0xb62a167c in QApplication::notify (this=0xbf8cb3f0, receiver=0x8a6eac0, e=0x94a43d70) at kernel/qapplication.cpp:3603 #18 0xb75431aa in KApplication::notify (this=0xbf8cb3f0, receiver=0x8a6eac0, event=0x94a43d70) at ../../kdeui/kernel/kapplication.cpp:302 #19 0xb5e386cb in QCoreApplication::notifyInternal (this=0xbf8cb3f0, receiver=0x8a6eac0, event=0x94a43d70) at kernel/qcoreapplication.cpp:610 #20 0xb5e392b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x89b4a18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x89b4a18) at kernel/qcoreapplication.cpp:1247 #22 0xb5e3947d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140 #23 0xb5e633ff in QCoreApplication::sendPostedEvents (s=0x8a73d10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #24 postEventSourceDispatch (s=0x8a73d10) at kernel/qeventdispatcher_glib.cpp:210 #25 0xb3663e78 in g_main_dispatch (context=0x8a73c90) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960 #26 IA__g_main_context_dispatch (context=0x8a73c90) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513 #27 0xb3667720 in g_main_context_iterate (context=0x8a73c90, block=<value optimized out>, dispatch=1, self=0x8a82198) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591 #28 0xb3667853 in IA__g_main_context_iteration (context=0x8a73c90, may_block=0) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654 #29 0xb5e6302c in QEventDispatcherGlib::processEvents (this=0x89b4bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:327 #30 0xb633abe5 in QGuiEventDispatcherGlib::processEvents (this=0x89b4bf0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202 #31 0xb5e396e1 in QCoreApplication::processEvents (flags=) at kernel/qcoreapplication.cpp:803 #32 0xb4b64267 in QScriptEnginePrivate::processEvents (this=0xa744a68) at qscriptengine_p.cpp:2198 #33 0xb4b51038 in QScriptContextPrivate::execute (this=0xac795f0, code=0xabb88b8) at qscriptcontext_p.cpp:1003 #34 0xb4b7fcfc in QScript::EvalFunction::evaluate(QScriptContextPrivate*, QString const&, int, QString const&, bool) () from /usr/lib/libQtScript.so.4 #35 0xb4b74b0b in QScriptEnginePrivate::evaluate (this=0xa744a68, context=0xac795f0, contents=..., lineNumber=1, fileName=...) at qscriptengine_p.cpp:938 #36 0xb4b6101d in QScriptEngine::evaluate (this=0x99f0eb8, program=..., fileName=..., lineNumber=1) at qscriptengine.cpp:944 #37 0xb70cd74b in ScriptManager::slotRunScript (this=0xa11caa8, name=) at /build/buildd/amarok-2.2.1/src/dialogs/ScriptManager.cpp:434 #38 0xb70cee8c in ScriptManager::slotConfigChanged (this=0xa11caa8, changed=true) at /build/buildd/amarok-2.2.1/src/dialogs/ScriptManager.cpp:512 #39 0xb70cf259 in ScriptManager::findScripts (this=0xa11caa8) at /build/buildd/amarok-2.2.1/src/dialogs/ScriptManager.cpp:632 #40 0xb70cf945 in ScriptManager::updaterFinished (this=0xa11caa8, scriptPath=...) at /build/buildd/amarok-2.2.1/src/dialogs/ScriptManager.cpp:265 #41 0xb70d0feb in ScriptManager::qt_metacall (this=0xa11caa8, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf8ca238) at /build/buildd/amarok-2.2.1/obj-i486-linux-gnu/src/ScriptManager.moc:110 #42 0xb5e4e263 in QMetaObject::activate (sender=0xa79ef7c, from_signal_index=4, to_signal_index=4, argv=0xbf8ca238) at kernel/qobject.cpp:3113 #43 0xb5e4eec2 in QMetaObject::activate (sender=0xa79ef7c, m=0xb734f5a0, local_signal_index=0, argv=0xbf8ca238) at kernel/qobject.cpp:3187 #44 0xb6be28e3 in ScriptUpdater::finished (this=0xa79ef7c, _t1=...) at /build/buildd/amarok-2.2.1/obj-i486-linux-gnu/src/moc_ScriptUpdater.cpp:90 #45 0xb70d515c in ScriptUpdater::phase2 (this=0xa79ef7c, job=0x96fcf70) at /build/buildd/amarok-2.2.1/src/dialogs/ScriptUpdater.cpp:104 #46 0xb6be4647 in ScriptUpdater::qt_metacall (this=0xa79ef7c, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf8ca418) at /build/buildd/amarok-2.2.1/obj-i486-linux-gnu/src/moc_ScriptUpdater.cpp:76 #47 0xb5e4e263 in QMetaObject::activate (sender=0x96fcf70, from_signal_index=7, to_signal_index=7, argv=0xbf8ca418) at kernel/qobject.cpp:3113 #48 0xb5e4eec2 in QMetaObject::activate (sender=0x96fcf70, m=0xb6170d68, local_signal_index=3, argv=0xbf8ca418) at kernel/qobject.cpp:3187 #49 0xb6006353 in KJob::result (this=0x96fcf70, _t1=0x96fcf70) at ./kjob.moc:188 #50 0xb60067d9 in KJob::emitResult (this=0x96fcf70) at ../../kdecore/jobs/kjob.cpp:304 #51 0xb38c8dea in KIO::FileCopyJob::slotResult (this=0x96fcf70, job=0x9af58f8) at ../../kio/kio/job.cpp:2137 #52 0xb38c8082 in KIO::FileCopyJob::qt_metacall (this=0x96fcf70, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0xbf8ca598) at ./jobclasses.moc:673 #53 0xb5e4e263 in QMetaObject::activate (sender=0x9af58f8, from_signal_index=7, to_signal_index=7, argv=0xbf8ca598) at kernel/qobject.cpp:3113 #54 0xb5e4eec2 in QMetaObject::activate (sender=0x9af58f8, m=0xb6170d68, local_signal_index=3, argv=0xbf8ca598) at kernel/qobject.cpp:3187 #55 0xb6006353 in KJob::result (this=0x9af58f8, _t1=0x9af58f8) at ./kjob.moc:188 #56 0xb60067d9 in KJob::emitResult (this=0x9af58f8) at ../../kdecore/jobs/kjob.cpp:304 #57 0xb38c0690 in KIO::SimpleJob::slotFinished (this=0x9af58f8) at ../../kio/kio/job.cpp:477 #58 0xb38c0baa in KIO::TransferJob::slotFinished (this=0x9af58f8) at ../../kio/kio/job.cpp:948 #59 0xb38be433 in KIO::SimpleJob::slotError (this=0x9af58f8, err=111, errorText=...) at ../../kio/kio/job.cpp:489 #60 0xb38be57e in KIO::SimpleJob::qt_metacall (this=0x9af58f8, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbf8ca8d4) at ./jobclasses.moc:158 #61 0xb38be73a in KIO::TransferJob::qt_metacall (this=0x9af58f8, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbf8ca8d4) at ./jobclasses.moc:331 #62 0xb5e4e263 in QMetaObject::activate (sender=0x9af4568, from_signal_index=6, to_signal_index=6, argv=0xbf8ca8d4) at kernel/qobject.cpp:3113 #63 0xb5e4eec2 in QMetaObject::activate (sender=0x9af4568, m=0xb3a71f64, local_signal_index=2, argv=0xbf8ca8d4) at kernel/qobject.cpp:3187 #64 0xb398a619 in KIO::SlaveInterface::error (this=0x9af4568, _t1=111, _t2=...) at ./slaveinterface.moc:153 #65 0xb398e5cc in KIO::SlaveInterface::dispatch (this=0x9af4568, _cmd=102, rawdata=...) at ../../kio/kio/slaveinterface.cpp:208 #66 0xb398aa43 in KIO::SlaveInterface::dispatch (this=0x9af4568) at ../../kio/kio/slaveinterface.cpp:91 #67 0xb397cb1a in KIO::Slave::gotInput (this=0x9af4568) at ../../kio/kio/slave.cpp:322 #68 0xb397ef13 in KIO::Slave::qt_metacall (this=0x9af4568, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf8cab6c) at ./slave.moc:76 #69 0xb5e4e263 in QMetaObject::activate (sender=0x9ae6ce8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113 #70 0xb5e4eec2 in QMetaObject::activate (sender=0x9ae6ce8, m=0xb3a6e8a0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187 #71 0xb3886f37 in KIO::Connection::readyRead (this=0x9ae6ce8) at ./connection.moc:86 #72 0xb3888cfe in KIO::ConnectionPrivate::dequeue (this=0xabdca40) at ../../kio/kio/connection.cpp:82 #73 0xb3888e2e in KIO::Connection::qt_metacall (this=0x9ae6ce8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x9e7b7b0) at ./connection.moc:73 #74 0xb5e46f0b in QMetaCallEvent::placeMetaCall (this=0xac7e658, object=0x9ae6ce8) at kernel/qobject.cpp:477 #75 0xb5e485fe in QObject::event (this=0x9ae6ce8, e=0xac7e658) at kernel/qobject.cpp:1111 #76 0xb6299f54 in QApplicationPrivate::notify_helper (this=0x8a723c0, receiver=0x9ae6ce8, e=0xac7e658) at kernel/qapplication.cpp:4056 #77 0xb62a167c in QApplication::notify (this=0xbf8cb3f0, receiver=0x9ae6ce8, e=0xac7e658) at kernel/qapplication.cpp:3603 #78 0xb75431aa in KApplication::notify (this=0xbf8cb3f0, receiver=0x9ae6ce8, event=0xac7e658) at ../../kdeui/kernel/kapplication.cpp:302 #79 0xb5e386cb in QCoreApplication::notifyInternal (this=0xbf8cb3f0, receiver=0x9ae6ce8, event=0xac7e658) at kernel/qcoreapplication.cpp:610 #80 0xb5e392b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x89b4a18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #81 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x89b4a18) at kernel/qcoreapplication.cpp:1247 #82 0xb5e3947d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140 #83 0xb5e633ff in QCoreApplication::sendPostedEvents (s=0x8a73d10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #84 postEventSourceDispatch (s=0x8a73d10) at kernel/qeventdispatcher_glib.cpp:210 #85 0xb3663e78 in g_main_dispatch (context=0x8a73c90) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960 #86 IA__g_main_context_dispatch (context=0x8a73c90) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513 #87 0xb3667720 in g_main_context_iterate (context=0x8a73c90, block=<value optimized out>, dispatch=1, self=0x8a82198) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591 #88 0xb3667853 in IA__g_main_context_iteration (context=0x8a73c90, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654 #89 0xb5e6302c in QEventDispatcherGlib::processEvents (this=0x89b4bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:327 #90 0xb633abe5 in QGuiEventDispatcherGlib::processEvents (this=0x89b4bf0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202 #91 0xb5e36c79 in QEventLoop::processEvents (this=0xbf8cb364, flags=) at kernel/qeventloop.cpp:149 #92 0xb5e370ca in QEventLoop::exec (this=0xbf8cb364, flags=...) at kernel/qeventloop.cpp:201 #93 0xb5e3953f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #94 0xb6299dd7 in QApplication::exec () at kernel/qapplication.cpp:3525 #95 0x08051cdb in main (argc=3, argv=0xbf8cbc14) at /build/buildd/amarok-2.2.1/src/main.cpp:227
Merging with bug 219241. Thanks *** This bug has been marked as a duplicate of bug 219241 ***