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
double free or corruption (out) #1233
Comments
@dkm it seems compiler explorer is missing debug symbols does it make sense for us to compile with -g on compiler explorer? |
Investigated a little more and the crash seems to originate from deallocating the |
CohenArthur
added a commit
to CohenArthur/gccrs
that referenced
this issue
May 18, 2022
This testcase uncovered a very interesting bug requiring a refactor of our `AST::Block` class (Rust-GCC#1253), but should still be fixed/adapted in the meantime so that the BE builds on our buildbot do not fail.
bors bot
added a commit
that referenced
this issue
May 18, 2022
1252: privacy: Handle calls to functions defined in previous ancestors r=CohenArthur a=CohenArthur Previously, we would only check if `current_module` was a direct descendant of the item's module. However, we also need to visit each of this item's module's children recursively. 1254: issue #1233: Do not rely on the endianness for testing r=CohenArthur a=CohenArthur This testcase uncovered a very interesting bug requiring a refactor of our `AST::Block` class (#1253), but should still be fixed/adapted in the meantime so that the BE builds on our buildbot do not fail. I've tested this newtestcase with a compiler from 74e8365, which was the commit pointed out in #1233. The same ICE would still trigger, so I can safely say that this is a different exemple showing the same underlying issue. I'll work on fixing #1253 but it is a refactor we need to think about a little. This should make all the architectures on buildbot happy again! Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
CohenArthur
added a commit
to CohenArthur/gccrs
that referenced
this issue
May 20, 2022
This testcase uncovered a very interesting bug requiring a refactor of our `AST::Block` class (Rust-GCC#1253), but should still be fixed/adapted in the meantime so that the BE builds on our buildbot do not fail.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code
Meta
Error output
Backtrace
The text was updated successfully, but these errors were encountered: