Current-Users archive

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

cmake hang ... again



Hi,

It may or may not be linked to the recent rather enthralling
discussion about the entropy; I don't know. I've asked for ideas in
the past, but couldn't figure out what to do if it hits me again.

Usually I run -current on amd64, updating the systems on average 2-3
times a week; I also use pkgsrc-head and again, 2-3 times a month I
cvs update my pkgsrc tree, together with a ' git pull' in wip, and I
run 'pkg_rolling-replace'.

Each and every run of pkg_rolling-replace gets me to a seemingly
identical hang in cmake in a single package - misc/kdepim4 , in
apparently the same spot. with similar trace. Attaching to the process
with gdb and quitting gets cmake to complete without any other action.
I've posted earlier the trace; here is another one, if it may be of
use:

GNU gdb (GDB) 11.0.50.20200914-git
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 "x86_64--netbsd".
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".
Attaching to process 7852
Reading symbols from /usr/pkg/bin/cmake...
(No debugging symbols found in /usr/pkg/bin/cmake)
[New LWP 10070 of process 7852]
[New LWP 2296 of process 7852]
[New LWP 23501 of process 7852]
[New LWP 27321 of process 7852]
[New LWP 7527 of process 7852]
[New LWP 13098 of process 7852]
[New LWP 29281 of process 7852]
[New LWP 7852 of process 7852]
Reading symbols from /usr/lib/libexecinfo.so.0...
(No debugging symbols found in /usr/lib/libexecinfo.so.0)
Reading symbols from /usr/lib/libexpat.so.2...
(No debugging symbols found in /usr/lib/libexpat.so.2)
Reading symbols from /usr/lib/libz.so.1...
(No debugging symbols found in /usr/lib/libz.so.1)
Reading symbols from /usr/lib/libarchive.so.4...
(No debugging symbols found in /usr/lib/libarchive.so.4)
Reading symbols from /usr/pkg/lib/libcurl.so.4...
(No debugging symbols found in /usr/pkg/lib/libcurl.so.4)
Reading symbols from /usr/pkg/lib/libuv.so.1...
Reading symbols from /usr/lib/libcrypto.so.14...
(No debugging symbols found in /usr/lib/libcrypto.so.14)
Reading symbols from /usr/lib/libstdc++.so.9...
(No debugging symbols found in /usr/lib/libstdc++.so.9)
Reading symbols from /usr/lib/libm.so.0...
(No debugging symbols found in /usr/lib/libm.so.0)
Reading symbols from /usr/lib/libgcc_s.so.1...
(No debugging symbols found in /usr/lib/libgcc_s.so.1)
Reading symbols from /usr/lib/libpthread.so.1...
(No debugging symbols found in /usr/lib/libpthread.so.1)
Reading symbols from /usr/lib/libc.so.12...
(No debugging symbols found in /usr/lib/libc.so.12)
Reading symbols from /usr/lib/libelf.so.2...
(No debugging symbols found in /usr/lib/libelf.so.2)
Reading symbols from /usr/lib/libbz2.so.1...
(No debugging symbols found in /usr/lib/libbz2.so.1)
Reading symbols from /usr/lib/liblzma.so.2...
(No debugging symbols found in /usr/lib/liblzma.so.2)
Reading symbols from /usr/pkg/lib/libnghttp2.so.14...
(No debugging symbols found in /usr/pkg/lib/libnghttp2.so.14)
Reading symbols from /usr/pkg/lib/libidn2.so.0...
(No debugging symbols found in /usr/pkg/lib/libidn2.so.0)
Reading symbols from /usr/pkg/lib/librtmp.so.0...
(No debugging symbols found in /usr/pkg/lib/librtmp.so.0)
Reading symbols from /usr/pkg/lib/libgnutls.so.30...
(No debugging symbols found in /usr/pkg/lib/libgnutls.so.30)
Reading symbols from /usr/pkg/lib/libp11-kit.so.0...
Reading symbols from /usr/pkg/lib/libffi.so.7...
(No debugging symbols found in /usr/pkg/lib/libffi.so.7)
Reading symbols from /usr/pkg/lib/libunistring.so.2...
(No debugging symbols found in /usr/pkg/lib/libunistring.so.2)
Reading symbols from /usr/pkg/lib/libtasn1.so.6...
(No debugging symbols found in /usr/pkg/lib/libtasn1.so.6)
Reading symbols from /usr/lib/libintl.so.1...
(No debugging symbols found in /usr/lib/libintl.so.1)
Reading symbols from /usr/pkg/lib/libhogweed.so.6...
Reading symbols from /usr/pkg/lib/libgmp.so.10...
(No debugging symbols found in /usr/pkg/lib/libgmp.so.10)
Reading symbols from /usr/pkg/lib/libnettle.so.8...
Reading symbols from /usr/pkg/lib/libssh2.so.1...
(No debugging symbols found in /usr/pkg/lib/libssh2.so.1)
Reading symbols from /usr/lib/libssl.so.14...
(No debugging symbols found in /usr/lib/libssl.so.14)
Reading symbols from /usr/lib/libgssapi.so.11...
(No debugging symbols found in /usr/lib/libgssapi.so.11)
Reading symbols from /usr/lib/libkvm.so.6...
(No debugging symbols found in /usr/lib/libkvm.so.6)
Reading symbols from /lib/libcrypt.so.1...
(No debugging symbols found in /lib/libcrypt.so.1)
Reading symbols from /usr/lib/libkrb5.so.27...
(No debugging symbols found in /usr/lib/libkrb5.so.27)
Reading symbols from /usr/lib/libasn1.so.10...
(No debugging symbols found in /usr/lib/libasn1.so.10)
Reading symbols from /usr/lib/libcom_err.so.8...
(No debugging symbols found in /usr/lib/libcom_err.so.8)
Reading symbols from /usr/lib/libroken.so.20...
(No debugging symbols found in /usr/lib/libroken.so.20)
Reading symbols from /usr/lib/libheimbase.so.2...
(No debugging symbols found in /usr/lib/libheimbase.so.2)
Reading symbols from /usr/lib/libheimntlm.so.5...
(No debugging symbols found in /usr/lib/libheimntlm.so.5)
Reading symbols from /usr/lib/libhx509.so.6...
(No debugging symbols found in /usr/lib/libhx509.so.6)
Reading symbols from /usr/lib/libwind.so.1...
(No debugging symbols found in /usr/lib/libwind.so.1)
Reading symbols from /usr/lib/libsqlite3.so.1...
(No debugging symbols found in /usr/lib/libsqlite3.so.1)
Reading symbols from /usr/lib/libutil.so.7...
(No debugging symbols found in /usr/lib/libutil.so.7)
Reading symbols from /usr/libexec/ld.elf_so...
(No debugging symbols found in /usr/libexec/ld.elf_so)
[Switching to LWP 10120 of process 7852]
0x0000714da0cab12a in ___lwp_park60 () from /usr/lib/libc.so.12
(gdb) thread apply all bt

Thread 9 (LWP 7852 of process 7852 ""):
#0  0x0000714da0c44bba in _sys___kevent50 () from /usr/lib/libc.so.12
#1  0x0000714da1207a2f in __kevent50 () from /usr/lib/libpthread.so.1
#2  0x0000714da281d21f in uv__io_poll (loop=loop@entry=0x714da3e55680,
timeout=<optimized out>) at src/unix/kqueue.c:230
#3  0x0000714da280f58a in uv_run (loop=0x714da3e55680,
mode=UV_RUN_DEFAULT) at src/unix/core.c:385
#4  0x00000000004caa1e in cmWorkerPoolInternal::Process() ()
#5  0x00000000004caa64 in cmWorkerPool::Process(void*) ()
#6  0x000000000048a156 in (anonymous namespace)::cmQtAutoMocUicT::Process() ()
#7  0x000000000071d1cb in
cmQtAutoGenerator::Run(std::basic_string_view<char,
std::char_traits<char> >, std::basic_string_view<char,
std::char_traits<char> >) ()
#8  0x00000000004776e9 in cmQtAutoMocUic(std::basic_string_view<char,
std::char_traits<char> >, std::basic_string_view<char,
std::char_traits<char> >) ()
#9  0x000000000041e2c4 in
cmcmd::ExecuteCMakeCommand(std::vector<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > const&,
std::unique_ptr<cmConsoleBuf, std::default_delete<cmConsoleBuf> >) ()
#10 0x000000000081e0cb in main ()

Thread 8 (LWP 29281 of process 7852 ""):
#0  0x0000714da0cab12a in ___lwp_park60 () from /usr/lib/libc.so.12
#1  0x0000714da120aa43 in pthread_cond_timedwait () from
/usr/lib/libpthread.so.1
#2  0x0000714da1eafdca in
std::condition_variable::wait(std::unique_lock<std::mutex>&) () from
/usr/lib/libstdc++.so.9
#3  0x00000000004c91f4 in cmWorkerPoolInternal::Work(unsigned int) ()
#4  0x0000714da1eae82b in ?? () from /usr/lib/libstdc++.so.9
#5  0x0000714da120bf7e in ?? () from /usr/lib/libpthread.so.1
#6  0x0000714da0c95510 in ?? () from /usr/lib/libc.so.12
#7  0x0000000000400000 in ?? ()
#8  0x0000714d99200000 in ?? ()
#9  0x0000001003a0efff in ?? ()
#10 0x0000714d990000c0 in ?? ()
#11 0x00000000001fff40 in ?? ()
#12 0x0000000000000000 in ?? ()

Thread 7 (LWP 13098 of process 7852 ""):
#0  0x0000714da0cab12a in ___lwp_park60 () from /usr/lib/libc.so.12
#1  0x0000714da120979e in ?? () from /usr/lib/libpthread.so.1
#2  0x0000714da0cd90e6 in je_malloc_mutex_lock_slow () from /usr/lib/libc.so.12
#3  0x0000714da0cfd3d6 in je_arena_choose_hard () from /usr/lib/libc.so.12
#4  0x0000714da0cb6e0d in je_tsd_tcache_data_init () from /usr/lib/libc.so.12
#5  0x0000714da0cb704e in je_tsd_tcache_enabled_data_init () from
/usr/lib/libc.so.12
#6  0x0000714da0cb41c9 in je_tsd_fetch_slow () from /usr/lib/libc.so.12
#7  0x0000714da0cfd71c in malloc () from /usr/lib/libc.so.12
#8  0x0000714da1ee6565 in operator new(unsigned long) () from
/usr/lib/libstdc++.so.9
#9  0x0000714da1f460a6 in std::basic_filebuf<char,
std::char_traits<char> >::_M_allocate_internal_buffer() () from
/usr/lib/libstdc++.so.9
#10 0x0000714da1f4bf31 in std::basic_filebuf<char,
std::char_traits<char> >::open(char const*, std::_Ios_Openmode) ()
from /usr/lib/libstdc++.so.9
--Type <RET> for more, q to quit, c to continue without paging--c
#11 0x000000000071d91d in
cmQtAutoGenerator::FileRead(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >*) ()
#12 0x0000000000473e1c in (anonymous
namespace)::cmQtAutoMocUicT::JobParseT::ReadFile() ()
#13 0x000000000047b3fb in (anonymous
namespace)::cmQtAutoMocUicT::JobParseHeaderT::Process() ()
#14 0x00000000004c915e in cmWorkerPoolInternal::Work(unsigned int) ()
#15 0x0000714da1eae82b in ?? () from /usr/lib/libstdc++.so.9
#16 0x0000714da120bf7e in ?? () from /usr/lib/libpthread.so.1
#17 0x0000714da0c95510 in ?? () from /usr/lib/libc.so.12
#18 0x0000000000000000 in ?? ()

Thread 6 (LWP 7527 of process 7852 ""):
#0  0x0000714da0cab12a in ___lwp_park60 () from /usr/lib/libc.so.12
#1  0x0000714da120aa43 in pthread_cond_timedwait () from
/usr/lib/libpthread.so.1
#2  0x0000714da1eafdca in
std::condition_variable::wait(std::unique_lock<std::mutex>&) () from
/usr/lib/libstdc++.so.9
#3  0x00000000004c91f4 in cmWorkerPoolInternal::Work(unsigned int) ()
#4  0x0000714da1eae82b in ?? () from /usr/lib/libstdc++.so.9
#5  0x0000714da120bf7e in ?? () from /usr/lib/libpthread.so.1
#6  0x0000714da0c95510 in ?? () from /usr/lib/libc.so.12
#7  0x0000000000000000 in ?? ()

Thread 5 (LWP 27321 of process 7852 ""):
#0  0x0000714da0cab12a in ___lwp_park60 () from /usr/lib/libc.so.12
#1  0x0000714da120aa43 in pthread_cond_timedwait () from
/usr/lib/libpthread.so.1
#2  0x0000714da1eafdca in
std::condition_variable::wait(std::unique_lock<std::mutex>&) () from
/usr/lib/libstdc++.so.9
#3  0x00000000004c91f4 in cmWorkerPoolInternal::Work(unsigned int) ()
#4  0x0000714da1eae82b in ?? () from /usr/lib/libstdc++.so.9
#5  0x0000714da120bf7e in ?? () from /usr/lib/libpthread.so.1
#6  0x0000714da0c95510 in ?? () from /usr/lib/libc.so.12
#7  0x0000000000000000 in ?? ()

Thread 4 (LWP 23501 of process 7852 ""):
#0  0x0000714da0cab12a in ___lwp_park60 () from /usr/lib/libc.so.12
#1  0x0000714da120aa43 in pthread_cond_timedwait () from
/usr/lib/libpthread.so.1
#2  0x0000714da1eafdca in
std::condition_variable::wait(std::unique_lock<std::mutex>&) () from
/usr/lib/libstdc++.so.9
#3  0x00000000004c91f4 in cmWorkerPoolInternal::Work(unsigned int) ()
#4  0x0000714da1eae82b in ?? () from /usr/lib/libstdc++.so.9
#5  0x0000714da120bf7e in ?? () from /usr/lib/libpthread.so.1
#6  0x0000714da0c95510 in ?? () from /usr/lib/libc.so.12
#7  0x0000000000000000 in ?? ()

Thread 3 (LWP 2296 of process 7852 ""):
#0  0x0000714da0cab12a in ___lwp_park60 () from /usr/lib/libc.so.12
#1  0x0000714da120aa43 in pthread_cond_timedwait () from
/usr/lib/libpthread.so.1
#2  0x0000714da1eafdca in
std::condition_variable::wait(std::unique_lock<std::mutex>&) () from
/usr/lib/libstdc++.so.9
#3  0x00000000004c91f4 in cmWorkerPoolInternal::Work(unsigned int) ()
#4  0x0000714da1eae82b in ?? () from /usr/lib/libstdc++.so.9
#5  0x0000714da120bf7e in ?? () from /usr/lib/libpthread.so.1
#6  0x0000714da0c95510 in ?? () from /usr/lib/libc.so.12
#7  0x0000000000200000 in ?? ()
#8  0x0000000000000000 in ?? ()

Thread 2 (LWP 10070 of process 7852 ""):
#0  0x0000714da0cab12a in ___lwp_park60 () from /usr/lib/libc.so.12
#1  0x0000714da120aa43 in pthread_cond_timedwait () from
/usr/lib/libpthread.so.1
#2  0x0000714da1eafdca in
std::condition_variable::wait(std::unique_lock<std::mutex>&) () from
/usr/lib/libstdc++.so.9
#3  0x00000000004c9259 in cmWorkerPoolInternal::Work(unsigned int) ()
#4  0x0000714da1eae82b in ?? () from /usr/lib/libstdc++.so.9
#5  0x0000714da120bf7e in ?? () from /usr/lib/libpthread.so.1
#6  0x0000714da0c95510 in ?? () from /usr/lib/libc.so.12
#7  0x0000000000200000 in ?? ()
#8  0x0000000000000000 in ?? ()

Thread 1 (LWP 10120 of process 7852 ""):
#0  0x0000714da0cab12a in ___lwp_park60 () from /usr/lib/libc.so.12
#1  0x0000714da120aa43 in pthread_cond_timedwait () from
/usr/lib/libpthread.so.1
#2  0x0000714da1eafdca in
std::condition_variable::wait(std::unique_lock<std::mutex>&) () from
/usr/lib/libstdc++.so.9
#3  0x00000000004c91f4 in cmWorkerPoolInternal::Work(unsigned int) ()
#4  0x0000714da1eae82b in ?? () from /usr/lib/libstdc++.so.9
#5  0x0000714da120bf7e in ?? () from /usr/lib/libpthread.so.1
#6  0x0000714da0c95510 in ?? () from /usr/lib/libc.so.12
#7  0x0000000000200000 in ?? ()
#8  0x0000000000000000 in ?? ()
(gdb) quit

...
Chavdar

-- 
----


Home | Main Index | Thread Index | Old Index