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
navtree js output varies from ASLR #8584
Comments
The reproducibility issues are very inconvenient. I haven't looked at this problem specific, but recently we fixed an issue in respect so problem in the sorting in the master version.
|
I just tried the 1.9.1 on Cygwin and here the problem does not occur. I get the always
I see that ASLR means: Address space layout randomization. I don't know whether or not Cygwin is using this (I don't think so), is there a way that I can enable it on (any) system? |
https://cygwin.com/pipermail/cygwin/2020-March/244107.html suggests to compile with To experiment, you can also try the samples at https://github.com/bmwiedemann/theunreproduciblepackage/tree/master/aslr |
With master I only got order variations in the |
I think the fix is in doxygen.cpp (bottom of function
as part of commit e965e5d for the issue #8560 (see comments #8560 (comment) and #8560 (comment)). |
Could you publish the difference in the |
|
https://rb.zq1.de/temp/libzypp-17.25.10-build.tar.xz (21MB) has the two versions as along with the sources. |
Thanks for the information! Looking at the both directories I see differences in the following files:
@doxygen might this be a sorting problem where only the file name is taken into consideration and not the full path? |
Using the full path can have its own downsides when people want to be able to get identical output from building in |
I didn't mean using full paths but using internally for the sorting not only the name but as a second level the path. |
Please verify if the commit I just pushed fixes the unpredictable ordering issue. |
My tests still show differences in the .doxytag file using master (commit 251e18b7). Also that issue is no more about ASLR, but related to filesystem-order. Maybe we should open another issue to make that clearer? |
Commit 251e18b7? I don't see this in the doxygen tree (I searched the complete git log for 251e18b7), so it is unclear, to me, which version you are using. |
Ah, indeed it was 6fc45ba ; was just looking at a file hash in the diff. |
@doxygen |
Looks like it has to do with:
and
@bmwiedemann any chance for the console output? |
Describe the bug
doxygen produces nondeterministic navtreedata/index.js output from certain input (see attached libzypp-min.tar.gz) unless ASLR is disabled.
Expected behavior
Output shoud be deterministic using the same doxygen binary, input and environment.
To Reproduce
in Linux with doxygen-1.9.1, do
Version
doxygen-1.9.1 in openSUSE-Tumbleweed 20210525 x86_64
Additional context
similar to #8158 and #7474
The text was updated successfully, but these errors were encountered: