Git Product home page Git Product logo

Comments (2)

lqd avatar lqd commented on July 19, 2024

Is there code available online so we can try to reproduce the issue? (But it's probably a duplicate of #125474 or of #125484.)

from rust.

ssrlive avatar ssrlive commented on July 19, 2024

Not fixed yet.

Compiling wintun v0.4.0 (D:\a\wintun\wintun)
thread 'rustc' panicked at compiler\rustc_codegen_ssa\src\back\link.rs:2700:27:
index out of bounds: the len is 28 but the index is 28
stack backtrace:
   0:     0x7ff9c71d3b9d - std::backtrace_rs::backtrace::dbghelp64::trace
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\..\..\backtrace\src\backtrace\dbghelp64.rs:91
   1:     0x7ff9c71d3b9d - std::backtrace_rs::backtrace::trace_unsynchronized
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\..\..\backtrace\src\backtrace\mod.rs:66
   2:     0x7ff9c71d3b9d - std::sys_common::backtrace::_print_fmt
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\sys_common\backtrace.rs:68
   3:     0x7ff9c71d3b9d - std::sys_common::backtrace::_print::impl$0::fmt
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\sys_common\backtrace.rs:44
   4:     0x7ff9c72047d9 - core::fmt::rt::Argument::fmt
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\core\src\fmt\rt.rs:165
   5:     0x7ff9c72047d9 - core::fmt::write
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\core\src\fmt\mod.rs:1168
   6:     0x7ff9c71ca3f1 - std::io::Write::write_fmt<std::sys::pal::windows::stdio::Stderr>
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\io\mod.rs:1835
   7:     0x7ff9c71d3976 - std::sys_common::backtrace::print
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\sys_common\backtrace.rs:34
   8:     0x7ff9c71d6b58 - std::panicking::default_hook::closure$1
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\panicking.rs:271
   9:     0x7ff9c71d6806 - std::panicking::default_hook
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\panicking.rs:298
  10:     0x7ff9bbc260fc - memchr
  11:     0x7ff9c71d7187 - alloc::boxed::impl$50::call
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\alloc\src\boxed.rs:2077
  12:     0x7ff9c71d7187 - std::panicking::rust_panic_with_hook
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\panicking.rs:799
  13:     0x7ff9c71d7017 - std::panicking::begin_panic_handler::closure$0
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\panicking.rs:664
  14:     0x7ff9c71d450f - std::sys_common::backtrace::__rust_end_short_backtrace<std::panicking::begin_panic_handler::closure_env$0,never$>
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\sys_common\backtrace.rs:171
  15:     0x7ff9c71d6cc8 - std::panicking::begin_panic_handler
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\panicking.rs:652
  16:     0x7ff9c722e054 - core::panicking::panic_fmt
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\core\src\panicking.rs:72
  17:     0x7ff9c722e28e - core::panicking::panic_bounds_check
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\core\src\panicking.rs:274
  18:     0x7ff9ba572796 - rustc_codegen_ssa[17375fc6d9732a23]::back::link::linker_and_flavor
  19:     0x7ff9ba566d70 - rustc_codegen_ssa[17375fc6d9732a23]::back::link::each_linked_rlib
  20:     0x7ff9ba56[167](https://github.com/ssrlive/wintun/actions/runs/9400447158/job/25890084673#step:3:168)e - rustc_codegen_ssa[17375fc6d9732a23]::back::link::link_binary
  21:     0x7ff9b7b34ca6 - <rustc_codegen_llvm[3d446f3b6ccd7211]::LlvmCodegenBackend as rustc_codegen_ssa[17375fc6d9732a23]::traits::backend::CodegenBackend>::link
  22:     0x7ff9b7a874e9 - <rustc_interface[b17a26a17ab0bfc1]::queries::Linker>::link
  23:     0x7ff9b7a358f2 - _wpgmptr
  24:     0x7ff9b7a3256f - _wpgmptr
  25:     0x7ff9b7a3a269 - _wpgmptr
  26:     0x7ff9c71e838d - alloc::boxed::impl$48::call_once
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\alloc\src\boxed.rs:2063
  27:     0x7ff9c71e838d - alloc::boxed::impl$48::call_once
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\alloc\src\boxed.rs:2063
  28:     0x7ff9c71e838d - std::sys::pal::windows::thread::impl$0::new::thread_start
                               at /rustc/72fdf913c53dd0e75313ba83e4aa80df3f6e2871/library\std\src\sys\pal\windows\thread.rs:52
  29:     0x7ff9fc684cb0 - BaseThreadInitThunk
  30:     0x7ff9fdb7e8ab - RtlUserThreadStart
error: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: please make sure that you have updated to the latest nightly
note: please attach the file at `D:\a\wintun\wintun\rustc-ice-2024-06-06T12_02_11-6840.txt` to your bug report
note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental=[REDACTED]
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
end of query stack
error: could not compile `wintun` (lib test)
warning: build failed, waiting for other jobs to finish...

from rust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.