Crash/Freeze while analyzing tracks

Bug #1793387 reported by Sven Rahn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Critical
Unassigned

Bug Description

When analyzing the file "Komik -Achmet - PC Probleme.mp3" (will be sent via PM), Mixxx freezes when it is loaded into a deck. Mixxx crashes when it tries to analyze it with the "Analyze all" features.

The same is for the file "Anti-Flag - Fuck Police Brutality.mp3".

The last bits of the mixxx.log for the first track is: https://gist.github.com/randombyte-developer/dd40e3b049c80fa3ac8ca2ab01c8e45d

The backtrace with gdb for the first file is this: https://gist.github.com/randombyte-developer/a3c961e380186848ac0f0701ebcb2271

Backtrace for the second track: https://gist.github.com/randombyte-developer/e35d77a17e7c158b5d8f74c072f6ae5d
I had to suspend the Mixxx process for the second file, to enter any commands into gdb.

Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

This file is really corrupt, please exclude it from your library:

Critical [AnalyzerThread 0 #1]: DEBUG ASSERT: "madSynthChannelCount <= channelCount()" in function virtual mixxx::ReadableSampleFrames mixxx::SoundSourceMp3::readSampleFramesClamped(mixxx::WritableSampleFrames) at src/sources/soundsourcemp3.cpp:664

The number of channels for the decoded MP3 frames seems to switch between 1 and 2.

Changed in mixxx:
assignee: nobody → Uwe Klotz (uklotzde)
milestone: none → 2.1.5
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: bad main_data_begin pointer
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: bad big_values count
Debug [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: lost synchronization
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: forbidden bitrate value
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: forbidden bitrate value
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: forbidden bitrate value
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: forbidden bitrate value
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: forbidden bitrate value
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: bad main_data_begin pointer
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: bad main_data_begin pointer
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: bad main_data_begin pointer
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: Huffman data overrun
Debug [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: lost synchronization
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: bad main_data_begin pointer
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: bad main_data_begin pointer
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: bad main_data_begin pointer
Debug [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: lost synchronization
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: bad main_data_begin pointer
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: bad main_data_begin pointer
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: bad main_data_begin pointer
Debug [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: lost synchronization
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: forbidden bitrate value
Info [AnalyzerThread 0 #1]: SoundSourceMP3 - Recoverable MP3 frame decoding error: reserved sample frequency value
Warning [AnalyzerThread 0 #1]: SoundSourceMP3 - MP3 frame header with mismatching number of channels 2 <> 1
Warning [AnalyzerThread 0 #1]: SoundSourceMP3 - Reading MP3 data with different sample rate 22050 <> 44100

Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

We should stop decoding when encountering the very first inconsistency, no matter how serious it is.

Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :
Revision history for this message
Daniel Schürmann (daschuer) wrote :

I can confirm the crash with "Komik -Achmet - PC Probleme.mp3"
Anti-Flag - Fuck Police Brutality.mp3 works, but has loud audio artefacts.

Both files are playing with Totem but also have artefacts.

"die VGDEA.exe kopiert sich selbst in die config.sys" zum schieflachen. :-)

Changed in mixxx:
status: Confirmed → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
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/9443

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.