Version: r882489 (using Devel) Compiler: gcc 4.1.2 OS: Linux Installed from: Compiled sources The collection scanner crashes on a few (corrupted) .wav files in my collection because header.num_avg_bytes_per_sec is 0. This generates a division-by-zero in the following line in metadata/wav/wavproperties.cpp: m_length = ntohl(swap32(header.num_data_bytes))/ntohl(swap32(header.num_avg_bytes_per_sec)); I'm attaching a possible workaround. Ideally such failures should be reported to the user, like in amarok 1.4, but afaik there is no way to do this at present.
Created attachment 28480 [details] Possible patch
SVN commit 883131 by markey: Fixed possible crash with reading wav files. Patch by Peter van Fessem <peter@f-is.eu>. BUG: 174819 M +2 -0 ChangeLog M +8 -1 src/metadata/wav/wavproperties.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=883131