FLAC Support Bugs

Bug #191515 reported by Yorick Henning
8
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Undecided
Albert Santoni

Bug Description

I've set up my Mixxx to load songs from my rather extensive FLAC collection (a one line diff...), and initially a file played fine (Aphex Twin/Acrid Avid Jam Shred), then when playing the exact clone in MP3 synchronised, they were fine... And indeed juggling the fader produced no noticeable difference between the two. However when loading a deck with the other deck playing, I got a libsndfile seek error. This was using JACK as the sound API and the added song was I Heart Hiroshima/Candy Cut.

Debug: Found new track: "I Heart Hiroshima - 1 - Candy Cut.flac"
Debug: file length 8952888
Debug: BPM detection successful for "I Heart Hiroshima - 1 - Candy Cut.flac"
Debug: ramp in
Debug: libsndfile: Seek ERR.
Debug: WaveSummary generation successful for "I Heart Hiroshima - 1 - Candy Cut.flac"
Warning: X Error: BadRequest (invalid request code or no such operation) 1
  Extension: 255 (Uknown extension)
  Minor opcode: 0 (Unknown request)
  Resource id: 0x0
Warning: X Error: BadLength (poly request too large or internal Xlib length error) 16
  Major opcode: 23 (X_GetSelectionOwner)
  Resource id: 0x0
Killed

Subsequently this couldn't be reproduced, but for a bit, adding *any* FLAC caused a crash. Now it works just fine.

Revision history for this message
Albert Santoni (gamegod) wrote :

I fixed some dangerous code in the libsndfile backend we have, which might help mitigate these crashes. I have the feeling any further crashes you see are not related to the FLAC code, and instead probably due to memory corruption elsewhere.

If you can reproduce a crash like this, run Mixxx under gdb and generate/post a backtrace using the instructions here:
http://mixxx.org/wiki/doku.php/creating_backtraces

Thanks Yorick!

Revision history for this message
Albert Santoni (gamegod) wrote :

Either fixed in trunk or not a FLAC issue.

Changed in mixxx:
assignee: nobody → gamegod
status: New → Fix Committed
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
NaKroTeK (alexandrepierre) wrote :

Hi!!
I get trouble too with flac support...
I can play some flac files but not everything.
When I can't mixxx say :
Debug: libsndfile: ERR opening file.
Debug: Could not parse "01 - + - Genesis.flac"
(track coming from justice album cd)

We will get a perfect mixxx soon I think
Enjoy dudes !!!!
Cya

Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issue/4915

lock status: Metadata changes locked and limited to project staff
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/4915

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.