pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/54795: rust pbulk build stalls with 2 idle cargo processes



The following reply was made to PR pkg/54795; it has been noted by GNATS.

From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/54795: rust pbulk build stalls with 2 idle cargo processes
Date: Tue, 14 Jan 2020 12:55:40 +0000

 On Tue, Jan 14, 2020 at 09:30:02AM +0000, Patrick Welche wrote:
 >  thread 'rustc' panicked at 'could not initialize thread_rng: No such file or directory', /cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.7.0/src/rngs/thread.rs:65:17                                                        
 
    Compiling proc-macro2 v0.4.30                                                
 thread 'rustc' panicked at 'could not initialize thread_rng: No such file or directory', /cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.7.0/src/rngs/thread.rs:65
 :17                                                                             
 stack backtrace:                                                                
    0:     0x705cd1a63674 - backtrace::backtrace::libunwind::trace::hda41dbcdfba36aa0
                                at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.37/src/backtrace/libunwind.rs:88
    1:     0x705cd1a63674 - backtrace::backtrace::trace_unsynchronized::h24db1eb743e32b7a
                                at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.37/src/backtrace/mod.rs:66
    2:     0x705cd1a63674 - std::sys_common::backtrace::_print_fmt::h0ecd5de0be695bc9
                                at src/libstd/sys_common/backtrace.rs:76         
    3:     0x705cd1a63674 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf24f776311cdf529
                                at src/libstd/sys_common/backtrace.rs:60         
    4:     0x705cd1a9655c - core::fmt::write::h01edf6dd68a42c9c                  
                                at src/libcore/fmt/mod.rs:1030                   
    5:     0x705cd1a57737 - std::io::Write::write_fmt::ha096f698ec4136ad         
                                at src/libstd/io/mod.rs:1412                     
    6:     0x705cd1a67785 - std::sys_common::backtrace::_print::h4b33c71a5db06ff0
                                at src/libstd/sys_common/backtrace.rs:64         
    7:     0x705cd1a67785 - std::sys_common::backtrace::print::h690a5e4a78826230 
                                at src/libstd/sys_common/backtrace.rs:49         
    8:     0x705cd1a67785 - std::panicking::default_hook::{{closure}}::h9252dff4eab26d22
                                at src/libstd/panicking.rs:196                   
    9:     0x705cd1a6744a - std::panicking::default_hook::hf5f567043bc78ff4      
                                at src/libstd/panicking.rs:210                   
   10:     0x705cd20aa923 - rustc_driver::report_ice::h029eb1c685133605          
   11:     0x705cd1a67f45 - std::panicking::rust_panic_with_hook::h9a662f58cf3f8ffe
                                at src/libstd/panicking.rs:477                   
   12:     0x705cd1a67a02 - std::panicking::continue_panic_fmt::h9fdc31ae90c76747
                                at src/libstd/panicking.rs:380                   
   13:     0x705cd1a6795c - std::panicking::begin_panic_fmt::hb07c3a07faf6b5b3   
                                at src/libstd/panicking.rs:335                   
   14:     0x705cd2f47815 - rand::rngs::thread::THREAD_RNG_KEY::__init::{{closure}}::ha4adcba90076ab9d
   15:     0x705cd2f477a5 - rand::rngs::thread::THREAD_RNG_KEY::__init::h7e39fdcb92ef8a2d
   16:     0x705cd2f47cfd - std::thread::local::os::Key<T>::get::h2ed2fe7c1e2b0261
   17:     0x705cd2f473d4 - rand::rngs::thread::thread_rng::h7984a0a450323364    
   18:     0x705cd2e9402b - tempfile::util::tmpname::h598b103962fed5e7           
   19:     0x705cd2e94231 - tempfile::util::create_helper::h52477625ed23b083     
   20:     0x705cd2e94e60 - tempfile::Builder::tempdir::ha28750b29f0d9a55        
   21:     0x705cc9e6aed4 - <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::join_codegen_and_link::{{closure}}::h4eae87c
 904bd3556                                 
   22:     0x705cc9e5f30e - rustc::util::common::time::h55592f1e733949b6             
   23:     0x705cc9f52c21 - <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::join_codegen_and_link::h9dc788bfa618867f
   24:     0x705cd213a2f6 - rustc_interface::queries::Query<T>::compute::hc3bb31139578310f
   25:     0x705cd221da14 - rustc_interface::queries::<impl rustc_interface::interface::Compiler>::link::habe102fd93336e56
   26:     0x705cd2077725 - rustc_interface::interface::run_compiler_in_existing_thread_pool::h3a72bbb61e04398e
   27:     0x705cd20ac652 - std::thread::local::LocalKey<T>::with::h45bd8a6d7bb8686d
   28:     0x705cd20b159e - scoped_tls::ScopedKey<T>::set::h8ddf7511ecdc5a8c         
   29:     0x705cd20d25a2 - syntax::with_globals::h9bcededffa9387ea                  
   30:     0x705cd203fc70 - std::sys_common::backtrace::__rust_begin_short_backtrace::h80c4b91e3979ec73
   31:     0x705cd1a778ea - __rust_maybe_catch_panic                                 
                                at src/libpanic_unwind/lib.rs:80                     
   32:     0x705cd2069759 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8fe50374e2f991a9
   33:     0x705cd1a4a71f - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h3879f66a40898a4c
                                at /rustc/4560ea788cb760f0a34127156c78e2552949f734/src/liballoc/boxed.rs:922
   34:     0x705cd1a763c0 - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h9dc0ea3d0bf5ea71
                                at /rustc/4560ea788cb760f0a34127156c78e2552949f734/src/liballoc/boxed.rs:922
   35:     0x705cd1a763c0 - std::sys_common::thread::start_thread::hc03f67963ee443cf
                                at src/libstd/sys_common/thread.rs:13                
   36:     0x705cd1a763c0 - std::sys::unix::thread::Thread::new::thread_start::ha181305a817feafa
                                at src/libstd/sys/unix/thread.rs:79                  
   37:     0x705cd0a0c038 - <unknown>      
   38:     0x705cd128fcd0 - <unknown>      
 
 error: internal compiler error: unexpected panic                                    
 
 note: the compiler unexpectedly panicked. this is a bug.                            
 
 note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
 
 note: rustc 1.39.0 (4560ea788 2019-11-04) running on x86_64-unknown-netbsd          
 
 note: compiler flags: -C debug-assertions=off -C overflow-checks=on -C opt-level=2 --crate-type bin
 ...
 (both before and after today's -current libpthread changes)
 


Home | Main Index | Thread Index | Old Index