-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 warning on LLVM 3.6 and 3.7 #10806
Comments
Can you try with llvm svn? I have been doing a bunch of runs with memory sanitizer lately and this seems like the kind of thing it should have flagged, so I'd be interested to see if it's present in llvm-svn. |
Valgrind (version 3.10.0) itself keeps crashing for me on llvm-svn, with the error
|
Even nulgrind is failing. Here's a longer error report.
|
Same thing on the latest Valgrind, version 3.10.1. I may file this as a bug against valgrind if others can reproduce. |
I modified the assertion in |
Yes, that's possible, though I seem to remember LLVM crashing when passed a line number < 0. Worth checking though. |
In any event, I am able to reproduce the warning with LLVM-svn under a modified valgrind, so I updated the issue accordingly. |
I am able to reproduce with LLVM 3.6.1. |
@garrison is this still a problem? Please comment and I'll reopen. |
Still an issue on LLVM 3.6.2. (Did you have a reason to believe it had been fixed?) |
Also an issue on latest LLVM-svn (3.8). The negative |
Latest valgrind just prints a warning here. |
@Keno indeed the line number issue should be fixed, as I got my patch applied to valgrind upstream. But the original warning I reported above is still there, last I checked. |
Just ran into this. |
Recent Julia code seems to be triggering another |
Still relevant? |
These days I get a valgrind crash before it gets far enough to reproduce the above bug on julia master (I'm using commit d52a247):
|
I get the same valgrind crash on the release-0.5 branch. |
The crash happens under nulgrind too:
and it continues to print that line repeatedly. It's unclear to me whether this represents a julia bug. Probably worth bisecting to figure out where it started though. |
OK, I managed to get valgrind and julia to work together on a different computer (not sure what was making it crash on my other machine). The original bug (valgrind warning in |
Closing as we are now on LLVM 3.9. |
I put the following in
Make.user
then build and run under valgrind
It reports the following memory error:
I have only been able to reproduce this with LLVM 3.6 and svn/3.7 (not 3.3 or 3.5).
I have not tested with LLVM-svn.The text was updated successfully, but these errors were encountered: