-
Notifications
You must be signed in to change notification settings - Fork 47
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
Attaching MantisBT bugs to reports does not work, hashes differ depending on FAF server #922
Comments
I saw that there is an action called Running I am preparing a stable and documented deployment for our infra, I could help adding documentation for this kind of things when done. |
Right, so the difference is that the “non-compat” hashing involves encoding the file name, whereas compat-hashing just takes the Unicode representation. If you observe how ['coreutils', "clock_nanosleep@@GLIBC_2.17 @ b'/lib64/libc.so.6'", "__nanosleep @ b'/lib64/libc.so.6'", "rpl_nanosleep @ b'/usr/bin/sleep'", "xnanosleep @ b'/usr/bin/sleep'", "main @ b'/usr/bin/sleep'"] If you think “hmm, those byte literals sure look odd”, then a winner is you, because those byte-literal-looking objects appear like that verbatim in the resulting string, Bs and quotes and all. |
Currently, when building a list of symbol strings, the file name ends up being converted to ASCII and added to a Unicode string, which somehow results in the byte-literal prefix being stored verbatim, which further results in inconsistent hashes for identical crash threads. This commit drops the encoding bit. Closes #922
Honestly, with my changes, I don’t see the point for compat-hashing. As usual, the commit that brought it on contains no information, so I guess we’ll never know. |
Currently, when building a list of symbol strings, the file name ends up being converted to ASCII and added to a Unicode string, which somehow results in the byte-literal prefix being stored verbatim, which further results in inconsistent hashes for identical crash threads. This commit drops the encoding bit. Closes #922
Currently, when building a list of symbol strings, the file name ends up being converted to ASCII and added to a Unicode string, which somehow results in the byte-literal prefix being stored verbatim, which further results in inconsistent hashes for identical crash threads. This commit drops the encoding bit. Closes #922
Currently, when building a list of symbol strings, the file name ends up being converted to ASCII and added to a Unicode string, which somehow results in the byte-literal prefix being stored verbatim, which further results in inconsistent hashes for identical crash threads. This commit drops the encoding bit. Closes #922
Currently, when building a list of symbol strings, the file name ends up being converted to ASCII and added to a Unicode string, which somehow results in the byte-literal prefix being stored verbatim, which further results in inconsistent hashes for identical crash threads. This commit drops the encoding bit. Closes #922
This issue is derived from #523 (comment)
faf attach-centos-bugs
links reports with already existing MantisBT bugs based on the hash that appears on theabrt_hash
field. The problem is that theabrt_hash
differs depending to to which server the ureport is being sent.Same error, reported to two different instances, creates a different
bthash
:This seems to make that command useless when deploying private instances.
How is such hash specifically determined? Cannot seem to find it for now.
EDIT: cd8d687#diff-f99db2d089007acb7880d0cb22908f75R47 this is what checks the corresponding hash to see if there is a match.
The text was updated successfully, but these errors were encountered: