Skip to content
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

valgrind uninitialized warning in delta generator #533

Open
alexlarsson opened this issue Oct 19, 2016 · 0 comments
Open

valgrind uninitialized warning in delta generator #533

alexlarsson opened this issue Oct 19, 2016 · 0 comments
Labels

Comments

@alexlarsson
Copy link
Member

If i run:
valgrind --track-origins=yes ostree static-delta generate --repo=repo --empty master

Then I get:

==8968== Conditional jump or move depends on uninitialised value(s)
==8968==    at 0x52F681D: ??? (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x52F6F22: ??? (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x52ECC03: ??? (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x52F05C5: ??? (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x52F06F5: ??? (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x52F07D2: lzma_stream_encoder (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x52EF24D: lzma_easy_encoder (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x4E5181D: _ostree_lzma_compressor_convert (ostree-lzma-compressor.c:185)
==8968==    by 0x5825EE9: write_internal (gconverteroutputstream.c:450)
==8968==    by 0x585851B: g_output_stream_real_splice (goutputstream.c:581)
==8968==    by 0x585A9BB: g_output_stream_splice (goutputstream.c:533)
==8968==    by 0x4E855C6: ostree_repo_static_delta_generate (ostree-repo-static-delta-compilation.c:1436)
==8968==  Uninitialised value was created by a heap allocation
==8968==    at 0x4C2BBAD: malloc (vg_replace_malloc.c:299)
==8968==    by 0x52F6FD9: ??? (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x52ECC03: ??? (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x52F05C5: ??? (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x52F06F5: ??? (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x52F07D2: lzma_stream_encoder (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x52EF24D: lzma_easy_encoder (in /usr/lib64/liblzma.so.5.2.2)
==8968==    by 0x4E5181D: _ostree_lzma_compressor_convert (ostree-lzma-compressor.c:185)
==8968==    by 0x5825EE9: write_internal (gconverteroutputstream.c:450)
==8968==    by 0x585851B: g_output_stream_real_splice (goutputstream.c:581)
==8968==    by 0x585A9BB: g_output_stream_splice (goutputstream.c:533)
==8968==    by 0x4E855C6: ostree_repo_static_delta_generate (ostree-repo-static-delta-compilation.c:1436)

This seems repeatable and happens for all repos/branches i tried. Clearly it still works, but it would be nice to have the build valgrind warning free, and the deltas repeatable.

alexlarsson added a commit to flatpak/flatpak that referenced this issue Oct 19, 2016
I filed this upstream as:
 ostreedev/ostree#533

Lets ignore it for now so we can use valgrind tests for the flatpak
parts.
@cgwalters cgwalters added the bug label Oct 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants