Summary: | Amarok crash at opening after request of password | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Marco <The_MAxtro> |
Component: | Tools/Script Manager | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 2.2.0 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Marco
2009-11-18 23:19:33 UTC
Either a problem with the Script manager or Javascript. Could you please try if this is also happening in Amarok 2.2.1, it should be available by now for your dsitribution. I've installed it, hope correctly: sudo dpkg -l | grep amarok ii amarok 2.2.1-1 easy to use media player based on the KDE 4 ii amarok-common 2.2.1-1 architecture independent files for Amarok ii amarok-utils When I type amarok --debug It says: [***] 58484492 amarok: BEGIN: void ScanResultProcessor::setupDatabase() amarok: END__: void ScanResultProcessor::setupDatabase() - Took 2.9e-05s amarok: END__: void ScanResultProcessor::addDirectory(const QString&, uint) - Took 0.0019s amarok: END__: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) - Took 0.016s amarok: BEGIN: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) amarok: END__: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) - Took 0.047s amarok: BEGIN: void ScriptManager::slotConfigChanged(bool) amarok: BEGIN: void ScriptManager::slotConfigChanged(bool) amarok: END__: void ScriptManager::slotConfigChanged(bool) - Took 0.00013s amarok: BEGIN: bool ScriptManager::slotRunScript(QString, bool) amarok: BEGIN: void ScriptManager::startScriptEngine(QString) amarok: BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) amarok: END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 0.00036s amarok: BEGIN: Downloader::Downloader(QScriptEngine*) amarok: END__: Downloader::Downloader(QScriptEngine*) - Took 0.00013s amarok: END__: void ScriptManager::startScriptEngine(QString) - Took 0.002s amarok: BEGIN: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) amarok: BEGIN: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) amarok: initializing scripted service: "Cool Streams" amarok: BEGIN: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) amarok: END__: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) - Took 0.0035s amarok: BEGIN: ScriptableService::ScriptableService(const QString&) amarok: creating ScriptableService "Cool Streams" amarok: END__: ScriptableService::ScriptableService(const QString&) - Took 8.8e-05s amarok: BEGIN: void ScriptableService::init(int, const QString&, bool) amarok: BEGIN: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) amarok: END__: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) - Took 5.1e-05s amarok: END__: void ScriptableService::init(int, const QString&, bool) - Took 0.0002s amarok: emitting scripted service "Cool Streams" amarok: BEGIN: void ServiceBrowser::addService(ServiceBase*) amarok: END__: void ServiceBrowser::addService(ServiceBase*) - Took 0.00022s amarok: END__: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) - Took 0.0045s amarok: END__: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) - Took 0.0049s amarok: BEGIN: void ScriptableServiceScript::slotCustomize(const QString&) amarok: END__: void ScriptableServiceScript::slotCustomize(const QString&) - Took 4.6e-05s amarok: END__: bool ScriptManager::slotRunScript(QString, bool) - Took 0.011s amarok: BEGIN: bool ScriptManager::slotRunScript(QString, bool) amarok: BEGIN: void ScriptManager::startScriptEngine(QString) amarok: BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) amarok: END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 7.7e-05s amarok: BEGIN: Downloader::Downloader(QScriptEngine*) amarok: END__: Downloader::Downloader(QScriptEngine*) - Took 6.5e-05s amarok: END__: void ScriptManager::startScriptEngine(QString) - Took 0.00078s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.core" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.16s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.gui" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 1.1s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.uitools" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.14s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.network" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.017s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.xml" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.065s amarok: BEGIN: bool AmarokScript::AmarokWindowScript::addToolsMenu(QString, QString, QString) amarok: END__: bool AmarokScript::AmarokWindowScript::addToolsMenu(QString, QString, QString) - Took 0.00054s amarok: END__: bool ScriptManager::slotRunScript(QString, bool) - Took 1.4s amarok: BEGIN: bool ScriptManager::slotRunScript(QString, bool) amarok: BEGIN: void ScriptManager::startScriptEngine(QString) amarok: BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) amarok: END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 0.00015s amarok: BEGIN: Downloader::Downloader(QScriptEngine*) amarok: END__: Downloader::Downloader(QScriptEngine*) - Took 0.00013s amarok: END__: void ScriptManager::startScriptEngine(QString) - Took 0.0025s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.core" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.014s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.xml" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.012s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.network" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.0082s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.gui" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.037s amarok: SCRIPT "Librivox.org" : "creating service..." amarok: BEGIN: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) amarok: BEGIN: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) amarok: initializing scripted service: "Librivox.org" amarok: BEGIN: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) amarok: END__: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) - Took 0.0041s amarok: BEGIN: ScriptableService::ScriptableService(const QString&) amarok: creating ScriptableService "Librivox.org" amarok: END__: ScriptableService::ScriptableService(const QString&) - Took 6.2e-05s amarok: BEGIN: void ScriptableService::init(int, const QString&, bool) amarok: BEGIN: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) amarok: END__: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) - Took 4.5e-05s amarok: END__: void ScriptableService::init(int, const QString&, bool) - Took 0.00015s amarok: emitting scripted service "Librivox.org" amarok: BEGIN: void ServiceBrowser::addService(ServiceBase*) amarok: END__: void ServiceBrowser::addService(ServiceBase*) - Took 9e-05s amarok: END__: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) - Took 0.0049s amarok: END__: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) - Took 0.005s amarok: SCRIPT "Librivox.org" : "done creating service!" amarok: BEGIN: void ScriptableServiceScript::slotCustomize(const QString&) amarok: SCRIPT "Librivox.org" : "customizing Librivox service" amarok: SCRIPT "Librivox.org" : "loading icon: /usr/share/kde4/apps/amarok/scripts/librivox_service/LibrivoxIcon.png" amarok: BEGIN: void ScriptableServiceManager::setIcon(const QString&, const QPixmap&) amarok: service: "Librivox.org" amarok: END__: void ScriptableServiceManager::setIcon(const QString&, const QPixmap&) - Took 0.00021s amarok: END__: void ScriptableServiceScript::slotCustomize(const QString&) - Took 0.0039s amarok: END__: bool ScriptManager::slotRunScript(QString, bool) - Took 0.098s amarok: BEGIN: bool ScriptManager::slotRunScript(QString, bool) amarok: BEGIN: void ScriptManager::startScriptEngine(QString) amarok: BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) amarok: END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 0.00013s amarok: BEGIN: Downloader::Downloader(QScriptEngine*) amarok: END__: Downloader::Downloader(QScriptEngine*) - Took 0.00011s amarok: END__: void ScriptManager::startScriptEngine(QString) - Took 0.0026s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.core" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.013s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.xml" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.012s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.network" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.0086s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.gui" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.037s amarok: BEGIN: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) amarok: BEGIN: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) amarok: initializing scripted service: "Play OGG Streams" amarok: BEGIN: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) amarok: END__: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) - Took 0.003s amarok: BEGIN: ScriptableService::ScriptableService(const QString&) amarok: creating ScriptableService "Play OGG Streams" amarok: END__: ScriptableService::ScriptableService(const QString&) - Took 7.5e-05s amarok: BEGIN: void ScriptableService::init(int, const QString&, bool) amarok: BEGIN: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) amarok: END__: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) - Took 5e-05s amarok: END__: void ScriptableService::init(int, const QString&, bool) - Took 0.0002s amarok: emitting scripted service "Play OGG Streams" amarok: BEGIN: void ServiceBrowser::addService(ServiceBase*) amarok: END__: void ServiceBrowser::addService(ServiceBase*) - Took 9.8e-05s amarok: END__: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) - Took 0.0039s amarok: END__: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) - Took 0.0041s amarok: BEGIN: void ScriptableServiceScript::slotCustomize(const QString&) amarok: SCRIPT "Play OGG Streams" : "Perzonalizando servicio" amarok: SCRIPT "Play OGG Streams" : "Cargando icono: /home/maxtro/.kde/share/apps/amarok/scripts/playogg/iconoPlayogg.png" amarok: BEGIN: void ScriptableServiceManager::setIcon(const QString&, const QPixmap&) amarok: service: "Play OGG Streams" amarok: END__: void ScriptableServiceManager::setIcon(const QString&, const QPixmap&) - Took 0.00018s amarok: END__: void ScriptableServiceScript::slotCustomize(const QString&) - Took 0.0028s amarok: END__: bool ScriptManager::slotRunScript(QString, bool) - Took 0.091s amarok: BEGIN: bool ScriptManager::slotRunScript(QString, bool) amarok: BEGIN: void ScriptManager::startScriptEngine(QString) amarok: BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) amarok: END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 0.00014s amarok: BEGIN: Downloader::Downloader(QScriptEngine*) amarok: END__: Downloader::Downloader(QScriptEngine*) - Took 9.8e-05s amarok: END__: void ScriptManager::startScriptEngine(QString) - Took 0.0025s amarok: BEGIN: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) amarok: BEGIN: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) amarok: initializing scripted service: "Radio Italiane" amarok: BEGIN: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) amarok: END__: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) - Took 0.0033s amarok: BEGIN: ScriptableService::ScriptableService(const QString&) amarok: creating ScriptableService "Radio Italiane" amarok: END__: ScriptableService::ScriptableService(const QString&) - Took 9.5e-05s amarok: BEGIN: void ScriptableService::init(int, const QString&, bool) amarok: BEGIN: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) amarok: END__: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) - Took 4.6e-05s amarok: END__: void ScriptableService::init(int, const QString&, bool) - Took 0.00017s amarok: emitting scripted service "Radio Italiane" amarok: BEGIN: void ServiceBrowser::addService(ServiceBase*) amarok: END__: void ServiceBrowser::addService(ServiceBase*) - Took 9.5e-05s amarok: END__: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) - Took 0.0041s amarok: END__: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) - Took 0.0043s amarok: BEGIN: void ScriptableServiceScript::slotCustomize(const QString&) amarok: END__: void ScriptableServiceScript::slotCustomize(const QString&) - Took 5.2e-05s amarok: END__: bool ScriptManager::slotRunScript(QString, bool) - Took 0.0088s amarok: BEGIN: bool ScriptManager::slotRunScript(QString, bool) amarok: BEGIN: void ScriptManager::startScriptEngine(QString) amarok: BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) amarok: END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 0.00012s amarok: BEGIN: Downloader::Downloader(QScriptEngine*) amarok: END__: Downloader::Downloader(QScriptEngine*) - Took 0.00015s amarok: END__: void ScriptManager::startScriptEngine(QString) - Took 0.0028s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.network" amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.0093s amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.core" KCrash: Application 'amarok' crashing... sock_file=/home/maxtro/.kde/socket-maxtro/kdeinit4__0 appear the icon on the tray and crashes; Thanks for the efforts Sorry, I didn't see in your backtrace that you are using a 3rd party script apparently, this could well be the culprit. Since we do no support for 3rd party scripts, you should get in touch with the script author. Also you should be aware that you are using a pre-released version of Qt 4.6 which seems to cause quite some problems with Amarok. Do you think I shold try disabling the scripts? If so can you tell me if I could disable it from outside Amarok? Because I don't know how to do this...in the while i'll try changing the Qt's version... You can prevent the loading of the scripts by removing the entries in the settings: in the file $HOME/.kde/share/config/amarokrc, check in the Plugin and Script Manager section. Many thanks, now it works again. I'm sorry I made you losing time. |