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: Fri, 18 Oct 2019 11:50:48 +0000

 I attempted to build the related libraries with more debug information.
 
 $ 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 7409]
 0x00007f7f5520808a in ___lwp_park60 () from /usr/libexec/ld.elf_so
 
 Thread 1 (LWP 3 of process 7409):		<------------------ CHILD OF 8345
 #0  0x00007f7f5520808a in ___lwp_park60 () from /usr/libexec/ld.elf_so
 #1  0x00007f7f55201463 in _rtld_shared_enter () at rtld.c:1687
 #2  0x00007f7f55200be5 in _rtld_bind (obj=0x7f1ab8434000, reloff=<optimized out>) at /cvs/src/libexec/ld.elf_so/arch/x86_64/mdreloc.c:359
 #3  0x00007f7f5520088d in _rtld_bind_start () from /usr/libexec/ld.elf_so
 #4  0x0000000000000206 in ?? ()
 #5  0x00007f1ab669242a in dup2 () from /usr/lib/libc.so.12
 #6  0x00007f1ab69f82a0 in ?? () from /usr/lib/libc.so.12
 #7  0x0000000000000000 in ?? ()
 
 
 ------------------------------------------------------------------- PARENT BACKTRACES
 [New LWP 2 of process 8345]
 [New LWP 1 of process 8345]
 [Switching to LWP 3 of process 8345]
 0x00007f1ab6642bea in read () from /usr/lib/libc.so.12
 
 Thread 3 (LWP 1 of process 8345):
 #0  0x00007f1ab66b39ba in ___lwp_park60 () from /usr/lib/libc.so.12
 #1  0x00007f1ab720adfb in pthread_cond_timedwait (cond=0x7f1ab8406030, mutex=0x7f1ab8406000, abstime=abstime@entry=0x0) at pthread_cond.c:169
 #2  0x00007f1ab720ae8f in pthread_cond_wait (cond=<optimized out>, mutex=<optimized out>) at pthread_cond.c:218
 #3  0x00000000469bb3b3 in std::thread::park ()
 #4  0x00000000469b4942 in std::sync::mpsc::blocking::WaitToken::wait ()
 #5  0x00000000465110ce in std::sync::mpsc::shared::Packet<T>::recv ()
 #6  0x000000004633ed64 in std::sync::mpsc::Receiver<T>::recv ()
 #7  0x00000000465a0436 in cargo::core::compiler::job_queue::JobQueue::drain_the_queue ()
 #8  0x00000000465857a5 in std::panicking::try::do_call ()
 #9  0x00000000469d229a in __rust_maybe_catch_panic ()
 #10 0x00000000462ebfb0 in crossbeam_utils::thread::scope ()
 #11 0x000000004659e6d2 in cargo::core::compiler::job_queue::JobQueue::execute ()
 #12 0x00000000466681c9 in cargo::core::compiler::context::Context::compile ()
 #13 0x00000000463aedfb in cargo::ops::cargo_compile::compile_ws ()
 #14 0x00000000463ad927 in cargo::ops::cargo_compile::compile ()
 #15 0x0000000046276c24 in cargo::commands::build::exec ()
 #16 0x000000004628a5fc in cargo::cli::main ()
 #17 0x00000000462d42fb in cargo::main ()
 #18 0x00000000462ae2c3 in std::rt::lang_start::{{closure}} ()
 #19 0x00000000469cbf73 in std::panicking::try::do_call ()
 #20 0x00000000469d229a in __rust_maybe_catch_panic ()
 #21 0x00000000469b584b in std::rt::lang_start_internal ()
 #22 0x00000000462d6632 in main ()
 
 Thread 2 (LWP 2 of process 8345):
 #0  0x00007f1ab66b39ba in ___lwp_park60 () from /usr/lib/libc.so.12
 #1  0x00007f1ab720adfb in pthread_cond_timedwait (cond=0x7f1ab7998030, mutex=0x7f1ab7998000, abstime=abstime@entry=0x0) at pthread_cond.c:169
 #2  0x00007f1ab720ae8f in pthread_cond_wait (cond=<optimized out>, mutex=<optimized out>) at pthread_cond.c:218
 #3  0x00000000469bb3b3 in std::thread::park ()
 #4  0x00000000469b4942 in std::sync::mpsc::blocking::WaitToken::wait ()
 #5  0x00000000469961e9 in std::sync::mpsc::stream::Packet<T>::recv ()
 #6  0x0000000046990d59 in std::sync::mpsc::Receiver<T>::recv ()
 #7  0x000000004699564a in std::sys_common::backtrace::__rust_begin_short_backtrace ()
 #8  0x00000000469942de in std::panicking::try::do_call ()
 #9  0x00000000469d229a in __rust_maybe_catch_panic ()
 #10 0x0000000046994914 in core::ops::function::FnOnce::call_once{{vtable-shim}} ()
 #11 0x00000000469c949f in <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once ()
 #12 0x00000000469b5110 in std::sys_common::thread::start_thread ()
 #13 0x00000000469ca9d6 in std::sys::unix::thread::Thread::new::thread_start ()
 #14 0x00007f1ab720c119 in pthread__create_tramp (cookie=0x7f1ab83a7c00) at pthread.c:593
 #15 0x00007f1ab66921c0 in ?? () from /usr/lib/libc.so.12
 #16 0x0000000000400000 in ?? ()
 #17 0x00007f1ab5c00000 in ?? ()
 #18 0x0000001003a0efff in ?? ()
 #19 0x00007f1ab5a000c0 in ?? ()
 #20 0x00000000001fff40 in ?? ()
 #21 0x0000000000000000 in ?? ()
 
 Thread 1 (LWP 3 of process 8345):
 #0  0x00007f1ab6642bea in read () from /usr/lib/libc.so.12
 #1  0x00007f1ab72080ef in read (d=<optimized out>, buf=<optimized out>, nbytes=<optimized out>) at pthread_cancelstub.c:485
 #2  0x00000000469c6b4d in std::sys::unix::process::process_inner::<impl std::sys::unix::process::process_common::Command>::spawn ()
 #3  0x00000000469cf92b in std::process::Command::spawn ()
 #4  0x00000000464fd6d4 in cargo::util::process_builder::ProcessBuilder::exec_with_streaming ()
 #5  0x00000000465a5eaa in <cargo::core::compiler::DefaultExecutor as cargo::core::compiler::Executor>::exec ()
 #6  0x000000004659b359 in <F as cargo::core::compiler::job::FnBox<A,R>>::call_box ()
 #7  0x000000004659d04f in <F as cargo::core::compiler::job::FnBox<A,R>>::call_box ()
 #8  0x000000004659d04f in <F as cargo::core::compiler::job::FnBox<A,R>>::call_box ()
 #9  0x00000000462eb6e0 in crossbeam_utils::thread::ScopedThreadBuilder::spawn::{{closure}} ()
 #10 0x000000004633cf9b in std::sys_common::backtrace::__rust_begin_short_backtrace ()
 #11 0x00000000469d229a in __rust_maybe_catch_panic ()
 #12 0x0000000046405769 in core::ops::function::FnOnce::call_once{{vtable-shim}} ()
 #13 0x00000000469c949f in <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once ()
 #14 0x00000000469b5110 in std::sys_common::thread::start_thread ()
 #15 0x00000000469ca9d6 in std::sys::unix::thread::Thread::new::thread_start ()
 #16 0x00007f1ab720c119 in pthread__create_tramp (cookie=0x7f1ab83a9800) at pthread.c:593
 #17 0x00007f1ab66921c0 in ?? () from /usr/lib/libc.so.12
 #18 0x0000000000000000 in ?? ()
 


Home | Main Index | Thread Index | Old Index