public inbox for gcc-rust@gcc.gnu.org
 help / color / mirror / Atom feed
* [Bug rust/108124] New: UBSAN issues when tests are run
@ 2022-12-15  9:47 marxin at gcc dot gnu.org
  2022-12-15  9:47 ` [Bug rust/108124] Rust: " marxin at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-12-15  9:47 UTC (permalink / raw)
  To: gcc-rust

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108124

            Bug ID: 108124
           Summary: UBSAN issues when tests are run
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rust
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: dkm at gcc dot gnu.org, gcc-rust at gcc dot gnu.org
  Target Milestone: ---

I built GCC compiler with ASAN & UBSAN enabled:
F="-fsanitize=address,undefined -g -O2" ; make -j32 all-host -k CFLAGS="$F"
CXXFLAGS="$F"  LDFLAGS="$F"

and I see a couple of issues:

./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/rust/compile/torture/must_use2.rs -c
/usr/include/c++/12/bits/stl_iterator.h:1096:17: runtime error: reference
binding to null pointer of type 'struct SubstitutionParamMapping'
    #0 0x3be00ae in
__gnu_cxx::__normal_iterator<Rust::TyTy::SubstitutionParamMapping*,
std::vector<Rust::TyTy::SubstitutionParamMapping,
std::allocator<Rust::TyTy::SubstitutionParamMapping> > >::operator*() const
/usr/include/c++/12/bits/stl_iterator.h:1096
    #1 0x3be00ae in std::vector<Rust::TyTy::SubstitutionParamMapping,
std::allocator<Rust::TyTy::SubstitutionParamMapping> >::front()
/usr/include/c++/12/bits/stl_vector.h:1207
    #2 0x3be00ae in
Rust::TyTy::TypeBoundPredicate::TypeBoundPredicate(Rust::DefId,
std::vector<Rust::TyTy::SubstitutionParamMapping,
std::allocator<Rust::TyTy::SubstitutionParamMapping> >, Location)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-tyty-bounds.cc:129
    #3 0x3be0ea3 in Rust::TyTy::TypeBoundPredicate::error()
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-tyty-bounds.cc:207
    #4 0x3cc9cb8 in Rust::Resolver::TypeCheckItem::visit(Rust::HIR::ImplBlock&)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-hir-type-check-item.cc:74
    #5 0x3cc72e7 in Rust::Resolver::TypeCheckItem::Resolve(Rust::HIR::Item&)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-hir-type-check-item.cc:39
    #6 0x39c3724 in Rust::Resolver::TypeResolution::Resolve(Rust::HIR::Crate&)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-hir-type-check.cc:48
    #7 0x2aff5ff in Rust::Session::compile_crate(char const*)
/home/marxin/Programming/gcc/gcc/rust/rust-session-manager.cc:565
    #8 0x2b0420e in Rust::Session::handle_input_files(int, char const**)
/home/marxin/Programming/gcc/gcc/rust/rust-session-manager.cc:362
    #9 0x212ce46 in grs_langhook_parse_file
/home/marxin/Programming/gcc/gcc/rust/rust-lang.cc:184
    #10 0xcf3b22e in compile_file
/home/marxin/Programming/gcc/gcc/toplev.cc:444
    #11 0xcf4f14d in do_compile /home/marxin/Programming/gcc/gcc/toplev.cc:2125
    #12 0xcf4f14d in toplev::main(int, char**)
/home/marxin/Programming/gcc/gcc/toplev.cc:2277
    #13 0x10409e86 in main /home/marxin/Programming/gcc/gcc/main.cc:39
    #14 0x7ffff6a2c5af in __libc_start_call_main (/lib64/libc.so.6+0x275af)
    #15 0x7ffff6a2c678 in __libc_start_main_impl (/lib64/libc.so.6+0x27678)
    #16 0x212cbd4 in _start ../sysdeps/x86_64/start.S:115

/usr/include/c++/12/bits/stl_vector.h:1207:16: runtime error: reference binding
to null pointer of type 'struct value_type'
    #0 0x3be00e8 in std::vector<Rust::TyTy::SubstitutionParamMapping,
std::allocator<Rust::TyTy::SubstitutionParamMapping> >::front()
/usr/include/c++/12/bits/stl_vector.h:1207
    #1 0x3be00e8 in
Rust::TyTy::TypeBoundPredicate::TypeBoundPredicate(Rust::DefId,
std::vector<Rust::TyTy::SubstitutionParamMapping,
std::allocator<Rust::TyTy::SubstitutionParamMapping> >, Location)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-tyty-bounds.cc:129
    #2 0x3be0ea3 in Rust::TyTy::TypeBoundPredicate::error()
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-tyty-bounds.cc:207
    #3 0x3cc9cb8 in Rust::Resolver::TypeCheckItem::visit(Rust::HIR::ImplBlock&)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-hir-type-check-item.cc:74
    #4 0x3cc72e7 in Rust::Resolver::TypeCheckItem::Resolve(Rust::HIR::Item&)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-hir-type-check-item.cc:39
    #5 0x39c3724 in Rust::Resolver::TypeResolution::Resolve(Rust::HIR::Crate&)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-hir-type-check.cc:48
    #6 0x2aff5ff in Rust::Session::compile_crate(char const*)
/home/marxin/Programming/gcc/gcc/rust/rust-session-manager.cc:565
    #7 0x2b0420e in Rust::Session::handle_input_files(int, char const**)
/home/marxin/Programming/gcc/gcc/rust/rust-session-manager.cc:362
    #8 0x212ce46 in grs_langhook_parse_file
/home/marxin/Programming/gcc/gcc/rust/rust-lang.cc:184
    #9 0xcf3b22e in compile_file /home/marxin/Programming/gcc/gcc/toplev.cc:444
    #10 0xcf4f14d in do_compile /home/marxin/Programming/gcc/gcc/toplev.cc:2125
    #11 0xcf4f14d in toplev::main(int, char**)
/home/marxin/Programming/gcc/gcc/toplev.cc:2277
    #12 0x10409e86 in main /home/marxin/Programming/gcc/gcc/main.cc:39
    #13 0x7ffff6a2c5af in __libc_start_call_main (/lib64/libc.so.6+0x275af)
    #14 0x7ffff6a2c678 in __libc_start_main_impl (/lib64/libc.so.6+0x27678)
    #15 0x212cbd4 in _start ../sysdeps/x86_64/start.S:115

/home/marxin/Programming/gcc/gcc/rust/util/fnv-hash.h:73:15: runtime error:
shift exponent 6685089673273576526 is too large for 64-bit type 'long unsigned
int'
    #0 0x2b84979 in Rust::Hash::FNV128::write(unsigned char const*, unsigned
long) /home/marxin/Programming/gcc/gcc/rust/util/fnv-hash.h:73
    #1 0x2b84979 in legacy_hash
/home/marxin/Programming/gcc/gcc/rust/backend/rust-mangle.cc:105
    #2 0x2b84979 in legacy_mangle_item
/home/marxin/Programming/gcc/gcc/rust/backend/rust-mangle.cc:266
    #3 0x2b812ec in
Rust::Compile::Mangler::mangle_item[abi:cxx11](Rust::TyTy::BaseType const*,
Rust::Resolver::CanonicalPath const&) const
/home/marxin/Programming/gcc/gcc/rust/backend/rust-mangle.cc:298
    #4 0x421452f in
Rust::Compile::Context::mangle_item[abi:cxx11](Rust::TyTy::BaseType const*,
Rust::Resolver::CanonicalPath const&) const
/home/marxin/Programming/gcc/gcc/rust/backend/rust-compile-context.h:297
    #5 0x421452f in
Rust::Compile::HIRCompileBase::compile_function(Rust::Compile::Context*,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&, Rust::HIR::SelfParam&, std::vector<Rust::HIR::FunctionParam,
std::allocator<Rust::HIR::FunctionParam> >&, Rust::HIR::FunctionQualifiers
const&, Rust::HIR::Visibility&, std::vector<Rust::AST::Attribute,
std::allocator<Rust::AST::Attribute> >&, Location, Rust::HIR::BlockExpr*,
Rust::Resolver::CanonicalPath const*, Rust::TyTy::FnType*, bool)
/home/marxin/Programming/gcc/gcc/rust/backend/rust-compile-base.cc:537
    #6 0x40b4f0e in Rust::Compile::CompileItem::visit(Rust::HIR::Function&)
/home/marxin/Programming/gcc/gcc/rust/backend/rust-compile-item.cc:164
    #7 0x40a0319 in
Rust::Compile::CompileInherentImplItem::Compile(Rust::HIR::ImplItem*,
Rust::Compile::Context*, Rust::TyTy::BaseType*, bool, Location)
/home/marxin/Programming/gcc/gcc/rust/backend/rust-compile-implitem.h:39
    #8 0x40a0319 in Rust::Compile::CompileItem::visit(Rust::HIR::ImplBlock&)
/home/marxin/Programming/gcc/gcc/rust/backend/rust-compile-item.cc:186
    #9 0x2b64718 in Rust::Compile::CompileItem::compile(Rust::HIR::Item*,
Rust::Compile::Context*, Rust::TyTy::BaseType*, bool, Location)
/home/marxin/Programming/gcc/gcc/rust/backend/rust-compile-item.h:37
    #10 0x2b64718 in Rust::Compile::CompileCrate::go()
/home/marxin/Programming/gcc/gcc/rust/backend/rust-compile.cc:51
    #11 0x2b64eb1 in Rust::Compile::CompileCrate::Compile(Rust::HIR::Crate&,
Rust::Compile::Context*)
/home/marxin/Programming/gcc/gcc/rust/backend/rust-compile.cc:44
    #12 0x2aff8d5 in Rust::Session::compile_crate(char const*)
/home/marxin/Programming/gcc/gcc/rust/rust-session-manager.cc:587
    #13 0x2b0420e in Rust::Session::handle_input_files(int, char const**)
/home/marxin/Programming/gcc/gcc/rust/rust-session-manager.cc:362
    #14 0x212ce46 in grs_langhook_parse_file
/home/marxin/Programming/gcc/gcc/rust/rust-lang.cc:184
    #15 0xcf3b22e in compile_file
/home/marxin/Programming/gcc/gcc/toplev.cc:444
    #16 0xcf4f14d in do_compile /home/marxin/Programming/gcc/gcc/toplev.cc:2125
    #17 0xcf4f14d in toplev::main(int, char**)
/home/marxin/Programming/gcc/gcc/toplev.cc:2277
    #18 0x10409e86 in main /home/marxin/Programming/gcc/gcc/main.cc:39
    #19 0x7ffff6a2c5af in __libc_start_call_main (/lib64/libc.so.6+0x275af)
    #20 0x7ffff6a2c678 in __libc_start_main_impl (/lib64/libc.so.6+0x27678)
    #21 0x212cbd4 in _start ../sysdeps/x86_64/start.S:115

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug rust/108124] Rust: UBSAN issues when tests are run
  2022-12-15  9:47 [Bug rust/108124] New: UBSAN issues when tests are run marxin at gcc dot gnu.org
@ 2022-12-15  9:47 ` marxin at gcc dot gnu.org
  2022-12-15  9:51 ` marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-12-15  9:47 UTC (permalink / raw)
  To: gcc-rust

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108124

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.0
   Last reconfirmed|                            |2022-12-15
     Ever confirmed|0                           |1
            Summary|UBSAN issues when tests are |Rust: UBSAN issues when
                   |run                         |tests are run
                 CC|                            |cohenarthur at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug rust/108124] Rust: UBSAN issues when tests are run
  2022-12-15  9:47 [Bug rust/108124] New: UBSAN issues when tests are run marxin at gcc dot gnu.org
  2022-12-15  9:47 ` [Bug rust/108124] Rust: " marxin at gcc dot gnu.org
@ 2022-12-15  9:51 ` marxin at gcc dot gnu.org
  2022-12-15  9:57 ` [Bug rust/108124] Rust: ASAN&UBSAN " marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-12-15  9:51 UTC (permalink / raw)
  To: gcc-rust

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108124

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/rust/compile/macro19.rs
-w
/home/marxin/Programming/gcc/gcc/rust/ast/rust-stmt.h:342:48: runtime error:
load of value 190, which is not a valid value for type 'bool'
    #0 0x3546c7e in Rust::AST::ExprStmtWithBlock::is_semicolon_followed() const
/home/marxin/Programming/gcc/gcc/rust/ast/rust-stmt.h:342
    #1 0x3546c7e in
Rust::HIR::ASTLoweringStmt::visit(Rust::AST::ExprStmtWithBlock&)
/home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower-stmt.h:78
    #2 0x35510cd in Rust::HIR::ASTLoweringStmt::translate(Rust::AST::Stmt*,
bool*) /home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower-stmt.h:42
    #3 0x3521208 in Rust::HIR::ASTLoweringBlock::visit(Rust::AST::BlockExpr&)
/home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower.cc:113
    #4 0x354de9e in
Rust::HIR::ASTLoweringBlock::translate(Rust::AST::BlockExpr*, bool*)
/home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower-block.h:36
    #5 0x36ef7fa in Rust::HIR::ASTLoweringItem::visit(Rust::AST::Function&)
/home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower-item.cc:428
    #6 0x36b8646 in Rust::HIR::ASTLoweringItem::translate(Rust::AST::Item*)
/home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower-item.cc:28
    #7 0x351caeb in Rust::HIR::ASTLowering::go()
/home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower.cc:75
    #8 0x351f7d9 in Rust::HIR::ASTLowering::Resolve(Rust::AST::Crate&)
/home/marxin/Programming/gcc/gcc/rust/hir/rust-ast-lower.cc:65
    #9 0x2afebf5 in Rust::Session::compile_crate(char const*)
/home/marxin/Programming/gcc/gcc/rust/rust-session-manager.cc:549
    #10 0x2b0420e in Rust::Session::handle_input_files(int, char const**)
/home/marxin/Programming/gcc/gcc/rust/rust-session-manager.cc:362
    #11 0x212ce46 in grs_langhook_parse_file
/home/marxin/Programming/gcc/gcc/rust/rust-lang.cc:184
    #12 0xcf3b22e in compile_file
/home/marxin/Programming/gcc/gcc/toplev.cc:444
    #13 0xcf4f14d in do_compile /home/marxin/Programming/gcc/gcc/toplev.cc:2125
    #14 0xcf4f14d in toplev::main(int, char**)
/home/marxin/Programming/gcc/gcc/toplev.cc:2277
    #15 0x10409e86 in main /home/marxin/Programming/gcc/gcc/main.cc:39
    #16 0x7ffff6a2c5af in __libc_start_call_main (/lib64/libc.so.6+0x275af)
    #17 0x7ffff6a2c678 in __libc_start_main_impl (/lib64/libc.so.6+0x27678)
    #18 0x212cbd4 in _start ../sysdeps/x86_64/start.S:115

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug rust/108124] Rust: ASAN&UBSAN issues when tests are run
  2022-12-15  9:47 [Bug rust/108124] New: UBSAN issues when tests are run marxin at gcc dot gnu.org
  2022-12-15  9:47 ` [Bug rust/108124] Rust: " marxin at gcc dot gnu.org
  2022-12-15  9:51 ` marxin at gcc dot gnu.org
@ 2022-12-15  9:57 ` marxin at gcc dot gnu.org
  2023-04-26  6:57 ` rguenth at gcc dot gnu.org
  2023-07-27  9:24 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-12-15  9:57 UTC (permalink / raw)
  To: gcc-rust

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108124

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Rust: UBSAN issues when     |Rust: ASAN&UBSAN issues
                   |tests are run               |when tests are run

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
One more example of ASAN issue:

/dev/shm/objdir2/gcc/testsuite/rust10/../../gccrs
-B/dev/shm/objdir2/gcc/testsuite/rust10/../../
/home/marxin/Programming/gcc/gcc/testsuite/rust/compile/torture/generics16.rs
-fdiagnostics-plain-output
-frust-incomplete-and-experimental-compiler-do-not-use -O0 -S -o generics16.s
/usr/include/c++/12/bits/stl_iterator.h:1096:17: runtime error: reference
binding to null pointer of type 'struct SubstitutionParamMapping'
/usr/include/c++/12/bits/stl_vector.h:1207:16: runtime error: reference binding
to null pointer of type 'struct value_type'
=================================================================
==13693==ERROR: AddressSanitizer: heap-use-after-free on address 0x60e000005700
at pc 0x000003b57bfe bp 0x7fffffff9a10 sp 0x7fffffff9a08
READ of size 4 at 0x60e000005700 thread T0
    #0 0x3b57bfd in Rust::TyTy::BaseType::get_kind() const
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-tyty.h:206
    #1 0x3b57bfd in Rust::TyTy::BaseRules::unify(Rust::TyTy::BaseType*)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-tyty-rules.h:113
    #2 0x3a87ea1 in Rust::TyTy::IntType::unify(Rust::TyTy::BaseType*)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-tyty.cc:1880
    #3 0x3b77be0 in Rust::TyTy::ADTRules::visit(Rust::TyTy::ADTType&)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-tyty-rules.h:1125
    #4 0x3b54d25 in Rust::TyTy::BaseRules::unify(Rust::TyTy::BaseType*)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-tyty-rules.h:81
    #5 0x3a87121 in Rust::TyTy::ADTType::unify(Rust::TyTy::BaseType*)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-tyty.cc:980
    #6 0x3ece21f in
Rust::Resolver::TypeCheckImplItem::visit(Rust::HIR::Function&)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-hir-type-check-implitem.cc:369
    #7 0x3ed2071 in
Rust::Resolver::TypeCheckImplItem::Resolve(Rust::HIR::ImplBlock*,
Rust::HIR::ImplItem*, Rust::TyTy::BaseType*)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-hir-type-check-implitem.cc:338
    #8 0x3ccdd4b in Rust::Resolver::TypeCheckItem::visit(Rust::HIR::ImplBlock&)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-hir-type-check-item.cc:118
    #9 0x3cc72e7 in Rust::Resolver::TypeCheckItem::Resolve(Rust::HIR::Item&)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-hir-type-check-item.cc:39
    #10 0x39c3724 in Rust::Resolver::TypeResolution::Resolve(Rust::HIR::Crate&)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-hir-type-check.cc:48
    #11 0x2aff5ff in Rust::Session::compile_crate(char const*)
/home/marxin/Programming/gcc/gcc/rust/rust-session-manager.cc:565
    #12 0x2b0420e in Rust::Session::handle_input_files(int, char const**)
/home/marxin/Programming/gcc/gcc/rust/rust-session-manager.cc:362
    #13 0x212ce46 in grs_langhook_parse_file
/home/marxin/Programming/gcc/gcc/rust/rust-lang.cc:184
    #14 0xcf3b22e in compile_file
/home/marxin/Programming/gcc/gcc/toplev.cc:444
    #15 0xcf4f14d in do_compile /home/marxin/Programming/gcc/gcc/toplev.cc:2125
    #16 0xcf4f14d in toplev::main(int, char**)
/home/marxin/Programming/gcc/gcc/toplev.cc:2277
    #17 0x10409e86 in main /home/marxin/Programming/gcc/gcc/main.cc:39
    #18 0x7ffff6a2c5af in __libc_start_call_main (/lib64/libc.so.6+0x275af)
    #19 0x7ffff6a2c678 in __libc_start_main_impl (/lib64/libc.so.6+0x27678)
    #20 0x212cbd4 in _start ../sysdeps/x86_64/start.S:115

0x60e000005700 is located 32 bytes inside of 152-byte region
[0x60e0000056e0,0x60e000005778)
freed by thread T0 here:
    #0 0x7ffff78bb0e8  (/lib64/libasan.so.8+0xbb0e8)
    #1 0x3b8f222 in Rust::TyTy::TypeCheckCallExpr::visit(Rust::TyTy::ADTType&)
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-tyty-call.cc:69

previously allocated by thread T0 here:
    #0 0x7ffff78bc40f in __interceptor_malloc (/lib64/libasan.so.8+0xbc40f)
    #1 0x109248eb in operator new(unsigned long)
../../../../libstdc++-v3/libsupc++/new_op.cc:50

SUMMARY: AddressSanitizer: heap-use-after-free
/home/marxin/Programming/gcc/gcc/rust/typecheck/rust-tyty.h:206 in
Rust::TyTy::BaseType::get_kind() const
Shadow bytes around the buggy address:
  0x0c1c7fff8a90: 00 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa
  0x0c1c7fff8aa0: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c1c7fff8ab0: 00 00 00 00 00 00 00 fa fa fa fa fa fa fa fa fa
  0x0c1c7fff8ac0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c1c7fff8ad0: 00 00 00 fa fa fa fa fa fa fa fa fa fd fd fd fd
=>0x0c1c7fff8ae0:[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa
  0x0c1c7fff8af0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
  0x0c1c7fff8b00: 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa
  0x0c1c7fff8b10: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c1c7fff8b20: 00 00 00 00 00 00 00 fa fa fa fa fa fa fa fa fa
  0x0c1c7fff8b30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==13693==ABORTING

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug rust/108124] Rust: ASAN&UBSAN issues when tests are run
  2022-12-15  9:47 [Bug rust/108124] New: UBSAN issues when tests are run marxin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-12-15  9:57 ` [Bug rust/108124] Rust: ASAN&UBSAN " marxin at gcc dot gnu.org
@ 2023-04-26  6:57 ` rguenth at gcc dot gnu.org
  2023-07-27  9:24 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-04-26  6:57 UTC (permalink / raw)
  To: gcc-rust

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108124

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|13.0                        |13.2

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 13.1 is being released, retargeting bugs to GCC 13.2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug rust/108124] Rust: ASAN&UBSAN issues when tests are run
  2022-12-15  9:47 [Bug rust/108124] New: UBSAN issues when tests are run marxin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2023-04-26  6:57 ` rguenth at gcc dot gnu.org
@ 2023-07-27  9:24 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-27  9:24 UTC (permalink / raw)
  To: gcc-rust

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108124

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|13.2                        |13.3

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 13.2 is being released, retargeting bugs to GCC 13.3.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-27  9:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15  9:47 [Bug rust/108124] New: UBSAN issues when tests are run marxin at gcc dot gnu.org
2022-12-15  9:47 ` [Bug rust/108124] Rust: " marxin at gcc dot gnu.org
2022-12-15  9:51 ` marxin at gcc dot gnu.org
2022-12-15  9:57 ` [Bug rust/108124] Rust: ASAN&UBSAN " marxin at gcc dot gnu.org
2023-04-26  6:57 ` rguenth at gcc dot gnu.org
2023-07-27  9:24 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).