Skip to content

valgrind reports "Conditional jump or move depends on uninitialised value(s)" #1211

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

Closed
radkum opened this issue Jul 15, 2024 · 2 comments
Closed

Comments

@radkum
Copy link

radkum commented Jul 15, 2024

Hello guys,
When running a simple single line program I get a valgrind error:

let _ = Regex::new(r"(\}\})|\{(\{|[^{}}]+\})");

screenshot-4

I saw very similar issue here, but I'm not sure it's the same case: #274

Can you look at it?

Crate version: Latest (1.10.5)

@BurntSushi
Copy link
Member

I don't see anything suspicious there. As mentioned in #274, valgrind is known for giving false positives in Rust programs. That doesn't mean it's always wrong, but please do more investigation first. Consider, for example, that the regex crate is tested with Miri.

@BurntSushi BurntSushi closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2024
@BurntSushi
Copy link
Member

Also, please provide textual reproductions in the future. When you provide a screenshot, you're asking others to re-type everything shown in the image.......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants