Amarok freezes everytime I scan my collection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
taglib (Ubuntu) |
Fix Released
|
Undecided
|
Harald Sitter | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: amarok
I'm using Ubuntu 10.4 since beta 2 until final release today. I installed amarok via repo. Made updates via repo twice a week.
I was never able to scan, or rescan my collection. It happens that:
- scan freezes after maybe 5 min, no error message, amarok is crashed, collection has 0 titels or
- it scans for instance 12% of the collection, then crashes
- rescan is all the same,
today I removed /purged amarok, apt-get clean, manually deleted ....kde/
installed amarok once again,
started via Terminal. > amarok -d
it freezes again
last messages from terminal:
-------
amarok: Skipping file with uniqueid "amarok-
TagLib: MPEG::Header:
TagLib: MPEG::Header:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
amarok: BEGIN: void ScanManager:
amarok: Error: 1
amarok: BEGIN: void ScanManager:
amarok: Collection scanner crashed, restart count is 1
amarok: END__: void ScanManager:
amarok: END__: void ScanManager:
amarok: BEGIN: void ScanManager:
amarok: Success. Committing result to database.
amarok: END__: void ScanManager:
amarok: BEGIN: void DatabaseUpdater
amarok: END__: void DatabaseUpdater
amarok: BEGIN: void ScanResultProce
amarok: obtained max_allowed_packet is "1048576"
amarok: urls key size is 985
amarok: tracks key size is 985
amarok: END__: void ScanResultProce
amarok: temp_tracks: ("985")
amarok: tracks before commit: ("0")
amarok: BEGIN: void DatabaseUpdater
amarok: END__: void DatabaseUpdater
amarok: tracks after commit: ("985")
amarok: BEGIN: void DatabaseUpdater
amarok: END__: void DatabaseUpdater
amarok: Sending changed signal
amarok: END__: virtual void XmlParseJob::run() - DELAY Took (quite long) 4.8e+02s
-------
collection_scan.log
has only one entry (Path and name of a mp3 file, no errors )
-------
rudi@ubuntu13:~$ lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
-------
rudi@ubuntu13:~$ apt-cache policy amarok
amarok:
Installiert: 2:2.3.0-0ubuntu4
Kandidat: 2:2.3.0-0ubuntu4
Versions-Tabelle:
*** 2:2.3.0-0ubuntu4 0
500 http://
100 /var/lib/
in:
usr/bin/amarok
-------
I wonder:
In >properties > collection - I sayed: scan " home/music/mp3 " only
because in home/music/books
are many audiobooks located.
But in "collection_
(from home/music/books)
What can I do, to be able to scan my files?
Related branches
Changed in taglib (Ubuntu Lucid): | |
milestone: | none → lucid-updates |
tags: |
added: verification-done removed: verification-needed |
I have the same problem (add this to the huge list of disappointments from Amarok 2 compared to 1.4). I had just become able to use it on 9.10...Sigh.
For what it's worth, here's what I get when I run amarok --debug and then rescan my whole collection.
... :parse( ) -- Invalid sample rate. :parse( ) -- Invalid sample rate. :parse( ) -- Invalid sample rate. :parse( ) -- Invalid sample rate. :parse( ) -- Invalid sample rate. :notify( ) and catch all exceptions there.
TagLib: MPEG::Header:
TagLib: MPEG::Header:
TagLib: MPEG::Header:
TagLib: MPEG::Header:
TagLib: MPEG::Header:
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication:
terminate called after throwing an instance of 'std::bad_alloc' :slotError( QProcess: :ProcessError) :handleRestart( ) :handleRestart( ) - Took 0.00013s :slotError( QProcess: :ProcessError) - Took 0.00027s :restartScanner () :restartScanner () - Took 0.0035s ::cleanPermanen tTables( ) ::cleanPermanen tTables( ) - Took 0.0017s ssor::copyHashe sToTempTables( ) ssor::copyHashe sToTempTables( ) - Took 0.22s ::copyToPermane ntTables( ) ::copyToPermane ntTables( ) - Took 0.12s ::removeTempora ryTables( ) ::removeTempora ryTables( ) - Took 0.0031s
what(): std::bad_alloc
amarok: BEGIN: void ScanManager:
amarok: Error: 1
amarok: BEGIN: void ScanManager:
amarok: Collection scanner crashed, restart count is 1
amarok: Success. Committing result to database.
amarok: END__: void ScanManager:
amarok: END__: void ScanManager:
amarok: BEGIN: void ScanManager:
amarok: END__: void ScanManager:
amarok: BEGIN: void DatabaseUpdater
amarok: END__: void DatabaseUpdater
amarok: BEGIN: void ScanResultProce
amarok: obtained max_allowed_packet is "16777216"
amarok: urls key size is 2734
amarok: tracks key size is 661
amarok: END__: void ScanResultProce
amarok: temp_tracks: ("661")
amarok: tracks before commit: ("0")
amarok: BEGIN: void DatabaseUpdater
amarok: END__: void DatabaseUpdater
amarok: tracks after commit: ("661")
amarok: BEGIN: void DatabaseUpdater
amarok: END__: void DatabaseUpdater
amarok: Sending changed signal
amarok: END__: virtual void XmlParseJob::run() - DELAY Took (quite long) 5.6s
After that I have to force-quit Amarok because it just freezes.
When I restart, it does show some tracks were added to my collection, but nowhere near all of it has been scanned. Since the debug output doesn't list the individual files it is scanning, I can't be sure if it's choking on a certain file or something like that, and am unable to try to eliminate such a problem.