|
Hi,
I use amaroK 1.2.3 in Gentoo Linux and since yesterday it has been crashing every time I launch it. I kept having \'Segmentation Faults\' Using \'strace -f\' on amarokapp, I finally understood what was happening. amaroK (for some obscure reason) reads all files in the home directory when it is launched. Out of memory, amaroK does (for each file) : (1) open (2) fstat (3) mmap (4) madvise and for most files, that was ok (though I still don\'t see the need to read those files as my music collection is not in my home directory) But, one specific file (my current Gnucash financial data !!!) makes amaroK crash when it does the madvise. Why does amaroK reads all files in the home directory at startup??? :huh: And why does it crash only with my financial data? Am I too poor? :evil: |
KDE Developer
|
http://amarok.kde.org/wiki/index.php/AotM_Interview#.22we_learn_latest_feature_is_hang_on_bad_stream._how_do_you_respond_against_this.3F.22
yes you\'re too poor, says our database but it shouldn\'t read all files (only the important) take a look at $HOME/.kde/share/config/amarokrc your home is maybe at Collection Folders= defined if it is, delete it
Annoyed with bbcode since 1999.
|
KDE Developer
|
Probably the file browser is open to your ~/, that is why. As to the crash, please get a backtrace.
Amarok Developer
|
KDE Developer
|
Avinash Meetoo wrote:
It\'s for the FileBrowser, which lists only files that amaroK can actually play. So it must read the files on startup (current folder only) and determine their status.
--
Mark Kretschmann - Amarok Developer |
|
Ok guys,
I\'ve checked my amarokrc. In fact, I have: [code:1] [Filebrowser] Dir History= Location=$HOME/ [/code:1] So I understand why amaroK reads my home directory at every startup... but I still don\'t understand why it crashes with a specific file. I\'ve done a test by compressing the file (gzip) and amaroK starts. So, my only guess is that the contents of the (uncompressed) file is causing amaroK to crash. I\'ll try to have a look in the sources... :evil: |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar