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
Enable AddressSanitizer for the tests #4262
Conversation
Of course the tests will fail because there are open memory address bugs in current code. |
I enabled only "make installdebug" since it is already calling "make debug". By not calling "make debug" twice we get ~5 min of compilation time. |
I updated also PR #4001 |
As #4278 got merged, maybe this PR can also be applied? |
It now reports a memory access error for mtest/libmscore/clef_courtesy/tst_clef_courtesy.cpp at line 141 [inside clef_courtesy02()]. I cannot obtain the same report (i.e. everything is fine) when performing the actions of the test via MuseScore GUI, so it could be a problem of dropdata or clef initialization inside the test. |
And indeed, here:
there is a typo: dropData.element = clef; should read instead dropData.dropElement = clef;
|
I'd add the fix from #4334 here (too), just to prove that it plugs a memory hole? |
Ok. If everything went ok, I should have rebased this PR onto #4334 |
You may want to join us on Telegram |
No description provided.