-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEBUG ASSERT: "pMadStream->error == MAD_ERROR_NONE" #11521
Comments
I just built #11513 and have the same issue with this local 2.3 build. |
Reverting the changes from #11168 fixes this! |
I am looking into that. |
That is strange. I am not able to reproduce the issue with Ubuntu Focal and the current 2.4 and 2.3 branch and Mixxx git 2.3.4-49-g29c1ed0080 is also working on my Windows 10 virtual machine. Did you actually test local builds of the 2.3 branch? What could be the difference between your setup and the GitHub workflow runner? Are Debug and Release builds affected? The issue looks like as if mad_header_decode() returns 0, but sets also an error to MAD_ERROR_LOSTSYNC. So it might be a build/linker issue with libmad itself. Can it be a cached object file form #4866? |
No, I deleted my whole Mixxx directory. But let me try, if a clang-cl build is also affected. |
The compiler makes no difference, here are some details (of the assertion with the clang-cl build):
|
Strange the libmad build has not be changed recently. Do you use the same vcpkg build environment as the GitHub workflow? |
When I open the MP3 file, the assertion happens in the second execution of this function. In the 2nd execution mad_header_decode returns false and it steps straight to the assert. 1.) Execution <title>Document</title>
2.) Execution: <title>Document</title>
|
tagsize is 25604 during the first call. |
I was able to reporduce the issue with a local build of libmad. |
Bug Description
With local 2.4 (d2d685c) builds I get thefollowing assertion for every MP3 file I load while simple .wav files can be loaded.
If I download the Github CI build artifact from 2.4 (d2d685c), MP3 files can be loaded whith this build - no assertion in developer mode.
DEBUG ASSERT: "pMadStream->error == MAD_ERROR_NONE" in function bool __cdecl mixxx::`anonymous-namespace'::decodeFrameHeader(struct mad_header *,struct mad_stream *,bool)
Local CTests also fail:
Currently, I don't understand what happens
Version
2.3 & 2.4
OS
Windows 11
The text was updated successfully, but these errors were encountered: