-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Compile firefox 91.0.1esr on Openindiana (Illumos) with rustc 1.54 I get (signal: 11, SIGSEGV: invalid memory reference) #88181
Comments
Transferred to rust-lang/rust, as this was a crash in the compiler. That backtrace is for the main thread which ususally doesn't do much of anything. Can you perhaps show the backtrace for the other threads? |
(gdb) info thread
|
Thread 5 (Thread 2 (LWP 2)): |
Similar on thread 2: ..8<.. #699 0x00007fff981e1d7c in rustc_mir_build::thir::pattern::usefulness::is_useful () from /ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/lib/librustc_driver-59d606deb391e5dd.so |
@rustbot label +I-crash +T-compiler Are you still able to reproduce this? |
Not really, we work on ff113 and rustc 1.67.1+ now. |
Great to hear! Probably a stack overflow bug caught elsewhere. |
Problem
Build of firefox 91.0.1esr fails on Openindiana ( illumos-e31da75739 )
Steps
Caused by:
process didn't exit successfully:
CARGO=/ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/bin/cargo CARGO_CRATE_NAME=gleam CARGO_MANIFEST_DIR=/ws/grzemba/oi-userland/components/web/firefox/firefox-91.0.1/third_party/rust/gleam CARGO_PKG_AUTHORS='The Servo Project Developers' CARGO_PKG_DESCRIPTION='Generated OpenGL bindings and wrapper for Servo.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=Apache-2.0/MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=gleam CARGO_PKG_REPOSITORY='https://github.com/servo/gleam' CARGO_PKG_VERSION=0.13.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=13 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/ws/grzemba/oi-userland/components/web/firefox/build/amd64/release/deps:/ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/lib' OUT_DIR=/ws/grzemba/oi-userland/components/web/firefox/build/amd64/x86_64-unknown-illumos/release/build/gleam-6dfefb1476b81be1/out /ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/bin/rustc --crate-name gleam /ws/grzemba/oi-userland/components/web/firefox/firefox-91.0.1/third_party/rust/gleam/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C embed-bitcode=no -C metadata=b9aeb35a6beb714e -C extra-filename=-b9aeb35a6beb714e --out-dir /ws/grzemba/oi-userland/components/web/firefox/build/amd64/x86_64-unknown-illumos/release/deps --target x86_64-unknown-illumos -C linker=/ws/grzemba/oi-userland/components/web/firefox/firefox-91.0.1/build/cargo-linker -L dependency=/ws/grzemba/oi-userland/components/web/firefox/build/amd64/x86_64-unknown-illumos/release/deps -L dependency=/ws/grzemba/oi-userland/components/web/firefox/build/amd64/release/deps --cap-lints warn --cap-lints warn -Cembed-bitcode=yes -C codegen-units=1
(signal: 11, SIGSEGV: invalid memory reference)warning: build failed, waiting for other jobs to finish...
warning: 1 warning emitted
error: build failed
$ gdb /ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/bin/rustc core
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.11".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
https://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/bin/rustc...
(No debugging symbols found in /ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/bin/rustc)
[New LWP 1]
[New LWP 2]
[New LWP 3]
warning: Unexpected size of section
.reg2/1' in core file. [Thread debugging using libthread_db enabled] [New Thread 1 (LWP 1)] [New Thread 2 (LWP 2)] [New Thread 3 ] Core was generated by
/ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/bin/rustc --crate-'.Program terminated with signal SIGKILL, Killed.
warning: Unexpected size of section `.reg2/1' in core file.$u7b$ $u7b$closure$u7d$$u7d$::h39bb1db379497404 ()
#0 0x00007fffaee6d58a in __lwp_wait () from /lib/64/libc.so.1
[Current thread is 1 (LWP 1 )]
(gdb) bt
#0 0x00007fffaee6d58a in __lwp_wait () from /lib/64/libc.so.1
rust-lang/cargo#1 0x00007fffaee55b51 in lwp_wait () from /lib/64/libc.so.1
rust-lang/cargo#2 0x00007fffaee626c0 in thrp_join () from /lib/64/libc.so.1
rust-lang/cargo#3 0x00007fffaee62799 in pthread_join () from /lib/64/libc.so.1
rust-lang/cargo#4 0x00007fff9de9c840 in std::sys::unix::thread::Thread::join () at library/std/src/sys/unix/thread.rs:177
rust-lang/cargo#5 0x00007fff94512a26 in std::thread::JoinHandle::join ()
from /ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/lib/librustc_driver-59d606deb391e5dd.so
rust-lang/cargo#6 0x00007fff94535581 in rustc_interface::util::setup_callbacks_and_run_in_thread_pool_with_globals ()
from /ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/lib/librustc_driver-59d606deb391e5dd.so
rust-lang/cargo#7 0x00007fff94591275 in rustc_driver::RunCompiler::run ()
from /ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/lib/librustc_driver-59d606deb391e5dd.so
rust-lang/cargo#8 0x00007fff945077fb in <std::panic::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once ()
from /ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/lib/librustc_driver-59d606deb391e5dd.so
rust-lang/cargo#9 0x00007fff945994c3 in rustc_driver::main ()
from /ws/grzemba/.rustup/toolchains/stable-x86_64-unknown-illumos/lib/librustc_driver-59d606deb391e5dd.so
rust-lang/cargo#10 0x0000000000400c7e in rustc_main::main ()
rust-lang/cargo#11 0x0000000000400d1a in std::sys_common::backtrace::__rust_begin_short_backtrace ()
rust-lang/cargo#12 0x0000000000400cec in std::rt::lang_start::
rust-lang/cargo#13 0x00007fff9de9214b in core::ops::function::impls::{{impl}}::call_once<(),Fn<()>> ()
at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/ops/function.rs:259
rust-lang/cargo#14 std::panicking::try::do_call<&Fn<()>,i32> () at library/std/src/panicking.rs:401
rust-lang/cargo#15 std::panicking::try<i32,&Fn<()>> () at library/std/src/panicking.rs:365
rust-lang/cargo#16 std::panic::catch_unwind<&Fn<()>,i32> () at library/std/src/panic.rs:434
rust-lang/cargo#17 std::rt::lang_start_internal () at library/std/src/rt.rs:34
rust-lang/cargo#18 0x0000000000400ca9 in main ()
Possible Solution(s)
Notes
Output of
cargo version
:cargo 1.54.0 (5ae8d74b3 2021-06-22)
The text was updated successfully, but these errors were encountered: