-
-
Notifications
You must be signed in to change notification settings - Fork 206
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 issue in lz4, while using -a aggregation #431
Comments
Update: similar behavior is observed with LZO, so this really has nothing to do with compression code itself:
and BZ2:
|
Can you please specify the exact command line including valgrind. |
Something like this:
|
Thanks! - valgrind could at least be a bit more precise ... the output is a bit of limited value. |
Better this to track origin:
Just found a reference:
and this:
Most likely there is some corruption introduced in either |
Looks like there is really some out-of-bounds memory access, even without compression involved (only
I have to learn the code first to find it out, without understanding how it does things (supposed to do at least) it is hard - it could be anywhere but for sure somewhere in code related to aggregation. |
I will try to dive into that next week. I need a bit more time. |
The patch fixes the uninitialised memory reference. |
Just to add a comment oh this: It was not an out-of-bounds memory access. The |
There are many similar issues - and this only happens when I provide
-a
flag.Line numbers may be a bit off though as I am experimenting with my zstd support patch (it does not affect aggregation behavior anyway), but at least you know where to look :)
Originally posted by @aldem in #427 (comment)
The text was updated successfully, but these errors were encountered: