NetBSD-Bugs archive

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

Re: pkg/54192: lang/rust build error



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

From: coypu%sdf.org@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/54192: lang/rust build error
Date: Wed, 16 Oct 2019 15:48:08 +0000

 I ran the patch and had it continuously build cbindgen. It eventually
 got stuck.
 
 $ for cargopid in `pgrep cargo`; do gdb -q -p $cargopid -ex "thread apply all bt" -ex q -batch; done
 [Switching to LWP 3 of process 5283]
 0x00007f7e2300c3ba in ___lwp_park60 () from /usr/libexec/ld.elf_so
 
 Thread 1 (LWP 3 of process 5283):
 #0  0x00007f7e2300c3ba in ___lwp_park60 () from /usr/libexec/ld.elf_so
 #1  0x00007f7e23001595 in _rtld_shared_enter () from /usr/libexec/ld.elf_so
 #2  0x00007f7e23000b91 in _rtld_bind () from /usr/libexec/ld.elf_so
 #3  0x00007f7e230007fd in _rtld_bind_start () from /usr/libexec/ld.elf_so
 #4  0x0000000000000206 in ?? ()
 #5  0x000075ac8529043a in dup2 () from /usr/lib/libc.so.12
 #6  0x000075ac85318592 in je_jemalloc_prefork () from /usr/lib/libc.so.12
 #7  0x000075ac86088400 in ?? ()
 #8  0x000000000000009c in ?? ()
 #9  0x000075ac85e0a0ee in pthread_sigmask () from /usr/lib/libpthread.so.1
 #10 0x00000001e24e8d8c in do_exec () at src/libstd/sys/unix/process/process_unix.rs:230
 #11 0x00000001e24e88c0 in spawn () at src/libstd/sys/unix/process/process_unix.rs:50
 #12 0x00000001e24da4ea in spawn () at src/libstd/process.rs:742
 #13 0x00000001e1f01d97 in cargo::util::process_builder::ProcessBuilder::exec_with_streaming ()
 #14 0x00000001e2122685 in <cargo::core::compiler::DefaultExecutor as cargo::core::compiler::Executor>::exec_and_capture_output ()
 #15 0x00000001e212019f in <F as cargo::core::compiler::job::FnBox<A,R>>::call_box ()
 #16 0x00000001e1f8946f in <F as cargo::core::compiler::job::FnBox<A,R>>::call_box ()
 #17 0x00000001e1f8946f in <F as cargo::core::compiler::job::FnBox<A,R>>::call_box ()
 #18 0x00000001e1f8953c in cargo::core::compiler::job::Job::run ()
 #19 0x00000001e1daf3bd in crossbeam_utils::thread::ScopedThreadBuilder::spawn::{{closure}} ()
 #20 0x00000001e1e283bb in std::sys_common::backtrace::__rust_begin_short_backtrace ()
 #21 0x00000001e24ea82a in __rust_maybe_catch_panic () at src/libpanic_unwind/lib.rs:87
 #22 0x00000001e1ded2a9 in core::ops::function::FnOnce::call_once{{vtable-shim}} ()
 #23 0x00000001e24cd25f in call_once<(),FnBox<()>> () at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/liballoc/boxed.rs:702
 #24 0x00000001e24e9a50 in call_once<(),alloc::boxed::Box<FnBox<()>>> () at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/liballoc/boxed.rs:702
 #25 start_thread () at src/libstd/sys_common/thread.rs:14
 #26 thread_start () at src/libstd/sys/unix/thread.rs:80
 #27 0x000075ac85e0c1e8 in ?? () from /usr/lib/libpthread.so.1
 #28 0x000075ac852901d0 in ?? () from /usr/lib/libc.so.12
 #29 0x0000000000000000 in ?? ()
 A debugging session is active.
 
 	Inferior 1 [process 5283] will be detached.
 
 Quit anyway? (y or n) [answered Y; input not from terminal]
 [Inferior 1 (process 5283) detached]
 [New LWP 2 of process 1551]
 [New LWP 1 of process 1551]
 [Switching to LWP 3 of process 1551]
 0x000075ac85242baa in read () from /usr/lib/libc.so.12
 
 Thread 3 (LWP 1 of process 1551):
 #0  0x000075ac852afb2a in ___lwp_park60 () from /usr/lib/libc.so.12
 #1  0x000075ac85e0a84e in pthread_cond_timedwait () from /usr/lib/libpthread.so.1
 #2  0x00000001e24cdd34 in wait () at src/libstd/sys/unix/condvar.rs:69
 #3  wait () at src/libstd/sys_common/condvar.rs:41
 #4  wait<()> () at src/libstd/sync/condvar.rs:204
 #5  park () at src/libstd/thread/mod.rs:909
 #6  0x00000001e24db5a2 in wait () at src/libstd/sync/mpsc/blocking.rs:71
 #7  0x00000001e1db2599 in std::sync::mpsc::shared::Packet<T>::recv ()
 #8  0x00000001e1fc7d97 in cargo::core::compiler::job_queue::JobQueue::drain_the_queue ()
 #9  0x00000001e207e805 in std::panicking::try::do_call ()
 #10 0x00000001e24ea82a in __rust_maybe_catch_panic () at src/libpanic_unwind/lib.rs:87
 #11 0x00000001e1dafd25 in crossbeam_utils::thread::scope ()
 #12 0x00000001e1fc662e in cargo::core::compiler::job_queue::JobQueue::execute ()
 #13 0x00000001e2037207 in cargo::core::compiler::context::Context::compile ()
 #14 0x00000001e1e08a51 in cargo::ops::cargo_compile::compile_ws ()
 #15 0x00000001e1e04aa9 in cargo::ops::cargo_compile::compile ()
 #16 0x00000001e1d96835 in cargo::commands::build::exec ()
 #17 0x00000001e1d53550 in cargo::cli::main ()
 #18 0x00000001e1d80c10 in cargo::main ()
 #19 0x00000001e1d77203 in std::rt::lang_start::{{closure}} ()
 #20 0x00000001e24dfd53 in {{closure}} () at src/libstd/rt.rs:49
 #21 do_call<closure,i32> () at src/libstd/panicking.rs:293
 #22 0x00000001e24ea82a in __rust_maybe_catch_panic () at src/libpanic_unwind/lib.rs:87
 #23 0x00000001e24e08e0 in try<i32,closure> () at src/libstd/panicking.rs:272
 #24 catch_unwind<closure,i32> () at src/libstd/panic.rs:388
 #25 lang_start_internal () at src/libstd/rt.rs:48
 #26 0x00000001e1d83132 in main ()
 
 Thread 2 (LWP 2 of process 1551):
 #0  0x000075ac852afb2a in ___lwp_park60 () from /usr/lib/libc.so.12
 #1  0x000075ac85e0a84e in pthread_cond_timedwait () from /usr/lib/libpthread.so.1
 #2  0x00000001e24cdd34 in wait () at src/libstd/sys/unix/condvar.rs:69
 #3  wait () at src/libstd/sys_common/condvar.rs:41
 #4  wait<()> () at src/libstd/sync/condvar.rs:204
 #5  park () at src/libstd/thread/mod.rs:909
 #6  0x00000001e24db5a2 in wait () at src/libstd/sync/mpsc/blocking.rs:71
 #7  0x00000001e24b0a26 in std::sync::mpsc::stream::Packet<T>::recv ()
 #8  0x00000001e24ad5c9 in std::sync::mpsc::Receiver<T>::recv ()
 #9  0x00000001e24b29da in std::sys_common::backtrace::__rust_begin_short_backtrace ()
 #10 0x00000001e24b16ee in std::panicking::try::do_call ()
 #11 0x00000001e24ea82a in __rust_maybe_catch_panic () at src/libpanic_unwind/lib.rs:87
 #12 0x00000001e24b1c14 in core::ops::function::FnOnce::call_once{{vtable-shim}} ()
 #13 0x00000001e24cd25f in call_once<(),FnBox<()>> () at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/liballoc/boxed.rs:702
 #14 0x00000001e24e9a50 in call_once<(),alloc::boxed::Box<FnBox<()>>> () at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/liballoc/boxed.rs:702
 #15 start_thread () at src/libstd/sys_common/thread.rs:14
 #16 thread_start () at src/libstd/sys/unix/thread.rs:80
 #17 0x000075ac85e0c1e8 in ?? () from /usr/lib/libpthread.so.1
 #18 0x000075ac852901d0 in ?? () from /usr/lib/libc.so.12
 #19 0x0000000000400000 in ?? ()
 #20 0x000075ac84c00000 in ?? ()
 #21 0x0000001003a0efff in ?? ()
 #22 0x000075ac84a000c0 in ?? ()
 #23 0x00000000001fff40 in ?? ()
 #24 0x0000000000000000 in ?? ()
 
 Thread 1 (LWP 3 of process 1551):
 #0  0x000075ac85242baa in read () from /usr/lib/libc.so.12
 #1  0x000075ac85e07f1f in read () from /usr/lib/libpthread.so.1
 #2  0x00000001e24e85ba in read () at src/libstd/sys/unix/fd.rs:49
 #3  read () at src/libstd/sys/unix/pipe.rs:60
 #4  spawn () at src/libstd/sys/unix/process/process_unix.rs:76
 #5  0x00000001e24da4ea in spawn () at src/libstd/process.rs:742
 #6  0x00000001e1f01d97 in cargo::util::process_builder::ProcessBuilder::exec_with_streaming ()
 #7  0x00000001e2122685 in <cargo::core::compiler::DefaultExecutor as cargo::core::compiler::Executor>::exec_and_capture_output ()
 #8  0x00000001e212019f in <F as cargo::core::compiler::job::FnBox<A,R>>::call_box ()
 #9  0x00000001e1f8946f in <F as cargo::core::compiler::job::FnBox<A,R>>::call_box ()
 #10 0x00000001e1f8946f in <F as cargo::core::compiler::job::FnBox<A,R>>::call_box ()
 #11 0x00000001e1f8953c in cargo::core::compiler::job::Job::run ()
 #12 0x00000001e1daf3bd in crossbeam_utils::thread::ScopedThreadBuilder::spawn::{{closure}} ()
 #13 0x00000001e1e283bb in std::sys_common::backtrace::__rust_begin_short_backtrace ()
 #14 0x00000001e24ea82a in __rust_maybe_catch_panic () at src/libpanic_unwind/lib.rs:87
 #15 0x00000001e1ded2a9 in core::ops::function::FnOnce::call_once{{vtable-shim}} ()
 #16 0x00000001e24cd25f in call_once<(),FnBox<()>> () at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/liballoc/boxed.rs:702
 #17 0x00000001e24e9a50 in call_once<(),alloc::boxed::Box<FnBox<()>>> () at /rustc/3c235d5600393dfe6c36eeed34042efad8d4f26e/src/liballoc/boxed.rs:702
 #18 start_thread () at src/libstd/sys_common/thread.rs:14
 #19 thread_start () at src/libstd/sys/unix/thread.rs:80
 #20 0x000075ac85e0c1e8 in ?? () from /usr/lib/libpthread.so.1
 #21 0x000075ac852901d0 in ?? () from /usr/lib/libc.so.12
 #22 0x0000000000000000 in ?? ()
 A debugging session is active.
 
 	Inferior 1 [process 1551] will be detached.
 
 Quit anyway? (y or n) [answered Y; input not from terminal]
 [Inferior 1 (process 1551) detached]
 


Home | Main Index | Thread Index | Old Index