-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Scanner duplicate MAME entries bug. #6699
Comments
Funny enough this can be reproduced with just two roms on a test directory:
Delete the mame playlist or even the whole system directory, update the databases from RA and try out directory scan. BTW: ./libretrodb_tool MAME.rdb list | grep -i "1ec4856d" This also makes me think that any file could have been classified as 'ddcrew' even if it was not a game (or empty. In fact lets test that). Lets test that. The scanner really needs unit tests. |
fixed by #8333 |
First and foremost consider this:
Description
This happens on a recent mame split set, but it doesn't seem to be caused by the set being split.
What happened is that after scanning several bogus entries with 'interesting' playlist entries appear:
etc.This repeats for quite a while but it does eventually stop (with the actual right game, isn't that interesting?)
Different files being attributed the same, wrong CRC.
Since i have a copy of the libretro-database repository for my hack commits i did a grep of it using
grep -Ric "3C566638" . | grep -v ":0"
. This is 'from a recursive, case insensitive search of crc that shows the number of matches, only show the lines that don't have zero matches'.It had this result:
My rdb runtime database also says there is only one entry with the crc:
Obvious i know, but i wanted to show that it isn't a libretro-database bug.
There seems to be yet another bug on the scanner where it keeps a stale match 'from the future' somehow and keeps giving it to files which it shouldn't.
Expected behavior
Whatever freaky algorithm bug this is wouldn't happen.
Actual behavior
Weirdness already shown.
Steps to reproduce the bug
Bisect Results
[Try to bisect and tell us when this started happening]
Version/Commit
You can find this information under Information/System Information
Environment information
The text was updated successfully, but these errors were encountered: