Bug 169768 - Amarok (Windows) crashes or stop playing music when reading flac files
Summary: Amarok (Windows) crashes or stop playing music when reading flac files
Status: RESOLVED FIXED
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-25 13:08 UTC by Victor Cornet
Modified: 2009-11-30 13:35 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Cornet 2008-08-25 13:08:21 UTC
Version:           1.90 (using 4.1.00 (KDE 4.1.0), MS Visual Studio 2005 SP1)
Compiler:          cl.exe
OS:                Microsoft Windows (i686) release 6.0 (Vista Home Edition)

When reading a flac file (with official DirectShow filters (Xiph.org) installed), Amarok (Windows) skips the song and jumps to the next song, or crashes (mostly when numerous flac files are one after the other). No plugins have been installed.
Comment 1 Lydia Pintscher 2008-08-26 14:14:34 UTC
I am pretty sure this is a phonon issue.
Can someone confirm that?
Comment 2 Mark Kretschmann 2008-08-27 10:35:27 UTC
Yep, seems likely. I'm reassigning.
Comment 3 Matthias Kretz 2008-09-01 14:36:16 UTC
This report needs more information for a developer to be able to fix it (unless he can reproduce it - which I cannot, since I don't have a Windows system).
Comment 4 Jan-Philip Loos 2008-09-02 06:32:15 UTC
what specific kind of information?

I'm installed the necessary codec to play .flac files with other media player (wmp, foobar a.s.o.).

When I played .flac files, amarok 2 beta 1 reads the title and length correctly, but amarok overleap the tracks.

Need some debug log? How could I activate the amarok/phonon debug mode? Where can I read about it? Sry, I'm new here.
Comment 5 Matthias Kretz 2008-09-02 15:11:18 UTC
Like I said - I have no Windows experience, so I can't tell you how to gather information.

But any info you can find might be helpful: debug logs, debugger sessions (stepping through the code to see where it takes a wrong turn), whether other Phonon based apps have the problem (e.g. the mediaplayer example shipping with Qt), whether wmp plays flac properly...
Comment 6 Matthias Kretz 2008-11-25 14:41:51 UTC
Since I've looked at the Amarok code recently, I have a new idea: Apparently Amarok refuses to play all files that don't match the MIME types in Phonon::BackendCapabilities::availableMimeTypes().

Qt ships a Phonon example application called "capabilities". Please use this to check whether the FLAC mime type is listed.
Comment 7 Victor Cornet 2008-12-15 18:58:00 UTC
But how do we launch this app, "capabilities"?
The new versions of Amarok, even the 2.0 one, didn't change anything to the problem (I doubt Phonon has been updated)
Comment 8 Tobias Domhan 2009-01-17 23:55:52 UTC
I can confirm this bug on a Windows  Vista Business machine.
It never crashed, though it didn't play the file, but didn't proceed to the next song either.
Comment 9 Dario Andres 2009-05-15 17:18:18 UTC
Any news on this ? Thanks
Comment 10 Myriam Schweingruber 2009-11-08 18:20:44 UTC
Changing from crash to normal status.

Do you have the flac codec installed? Please try with that: http://downloads.sourceforge.net/flac/flac-1.2.1b.exe and report back.
Comment 11 Myriam Schweingruber 2009-11-30 13:35:52 UTC
Closing for lack of feedback.