Version: 2.0-SVN (using KDE 4.1.0) Installed from: Fedora RPMs Amarok will not detect its collection. ~/.kde/share/apps/amarok/mysqle/ exists and is 21MB. So, upon startup, it starts the collection scanner. However, once it is started, the scan progress bar disappears from the bottom and Amarok does not use the collection (even upon restarting Amarok). CLI output before scan: amarok: BEGIN: void CurrentEngine::setupTracksData() amarok: END__: void CurrentEngine::setupTracksData() - Took 0.00041s amarok: BEGIN: virtual int App::newInstance() amarok: BEGIN: static void App::handleCliArgs() amarok: END__: static void App::handleCliArgs() - Took 0.00074s amarok: END__: virtual int App::newInstance() - Took 0.0014s QGArray::find: Index 0 out of range QDom: saving invalid character �, the document will not be well-formed QDom: saving invalid character �, the document will not be well-formed TagLib: ID3v2.4 no longer supports the frame type TDAT. It will be discarded from the tag. TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: ID3v2.4 no longer supports the frame type RVAD. It will be discarded from the tag. QDom: saving invalid character , the document will not be well-formed TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: MPEG::Header::parse() -- Invalid sample rate. amarok: BEGIN: void DatabaseUpdater::createTemporaryTables() amarok: Initialized thread, count== 4 amarok: [ERROR!] GREPME MySQLe query failed! Specified key was too long; max key length is 1000 bytes on "CREATE UNIQUE INDEX urls_id_rpath_temp ON urls_temp(deviceid, rpath);" amarok: BEGIN: void CurrentTrack::dataUpdated(const QString&, const QHash<QString, QVariant>&) amarok(1700) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated amarok: END__: void CurrentTrack::dataUpdated(const QString&, const QHash<QString, QVariant>&) - Took 0.00082s QDBusConnection received a message of type 3 that it shouldn't have error: "org.freedesktop.DBus.Error.ServiceUnknown" "The name :1.2645 was not provided by any .service files" TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: MPEG::Header::parse() -- Invalid sample rate. amarok: END__: void DatabaseUpdater::createTemporaryTables() - Took 0.3s amarok: do-while done with error amarok: BEGIN: void DatabaseUpdater::removeTemporaryTables() amarok: END__: void DatabaseUpdater::removeTemporaryTables() - Took 0.0014s amarok: BEGIN: virtual ScanResultProcessor::~ScanResultProcessor() amarok: END__: virtual ScanResultProcessor::~ScanResultProcessor() - Took 6e-05s amarok: END__: virtual void XmlParseJob::run() - Took 50s amarok: BEGIN: virtual XmlParseJob::~XmlParseJob() amarok: BEGIN: void CompoundProgressBar::childBarComplete(ProgressBarNG*) amarok: p before: QPoint(2,-9) amarok: p after: QPoint(4,914) amarok: BEGIN: void ProgressBarNG::setDescription(const QString&) amarok: END__: void ProgressBarNG::setDescription(const QString&) - Took 0.00016s amarok: BEGIN: void StatusBar::hideProgress() amarok: END__: void StatusBar::hideProgress() - Took 6.8s amarok: END__: void CompoundProgressBar::childBarComplete(ProgressBarNG*) - Took 6.8s amarok: END__: virtual XmlParseJob::~XmlParseJob() - Took 6.8s TagLib: MPEG::Properties::read() -- Could not find a valid last MPEG frame in the stream. TagLib: ID3v2.4 no longer supports the frame type TDAT. It will be discarded from the tag. TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: MPEG::Properties::read() -- Page headers were invalid. TagLib: MPEG::Header::parse() -- Invalid sample rate. TagLib: MPEG::Header::parse() -- Invalid sample rate.
I can't see anything here that would point to a cause of the problem. the index error is safely ignorable.
If that does not point to the cause of the problem, well that sucks. But this is still a huge problem, so I am reopening this bug.
Please run amarok with amarok --nofork, see if you can ascertain what the problem is. Also, using the script console with the script manager, please report the terminal output when running the following command: Amarok.Collection.query( "SHOW TABLES" );
I tried running with --nofork, and I got the same crash as bug 174762.
Try manually run the amarokcollectionscanner application and see if there is a particular file which is causing the scanner to crash.
Running amarokcollectionscanner manually works fine (exit status 0).
Did you run it with your collection path? amarokcollectionscanner -R /path/to/music
Yes.
I can confirm this. Had similar issues with scanning yesterday. Looking into it.
Changed severity to "crash". I hope to have selected only the right bugs (>100) :-)
This has been fixed, but bug 174761 still leaves Amarok without a collection.
Nevermind, Amarok actually does still crash with signal 6.
Ok, then please provide a valid backtrace.
So, any new information on this? Without it it's gonna be a hard to fix.
No because I have had an issue with CMake since installing Fedora 10 and no one has had a clue on IRC. I just filed bug 176843 for this.
It works now. :D
Thanks for confirming. Closing report then :)