NetBSD-Bugs archive

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

Re: kern/56414: cmake hang on kqueue (condvar waiter list issue) ?



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

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/56414: cmake hang on kqueue (condvar waiter list issue) ?
Date: Sun, 10 Jul 2022 01:56:07 +0000

 Not sent to gnats (use gnats-bugs@)
 
    ------
 
 From: Thomas Klausner <wiz%NetBSD.org@localhost>
 To: gnats%NetBSD.org@localhost
 Cc: Joerg Sonnenberger <joerg%bec.de@localhost>
 Subject: Re: kern/56414: cmake hang on kqueue (condvar waiter list issue) ?
 Date: Sun, 17 Apr 2022 20:52:38 +0200
 
 Just ran this on current.
 First 1000 runs were fine, run 1344 hung:
 
 (gdb) thread apply all bt
 
 Thread 2 (LWP 20616 of process 20616 ""):
 #0  0x00007e6a0be478ea in _lwp_wait () from /usr/lib/libc.so.12
 #1  0x00007e6a0c60d21b in pthread_join (thread=0x7e6a0c827c00, valptr=0x0) at /disk/6/archive/foreign/src/lib/libpthread/pthread.c:684
 #2  0x0000000000400b3e in main ()
 
 Thread 1 (LWP 15449 of process 20616 ""):
 #0  0x00007e6a0beb255a in ___lwp_park60 () from /usr/lib/libc.so.12
 #1  0x00007e6a0c609f4b in pthread__mutex_lock_slow (ptm=0x7e6a0c40c100 <je_arenas_lock+64>, ts=ts@entry=0x0) at /disk/6/archive/foreign/src/lib/libpthread/pthread_mutex.c:366
 #2  0x00007e6a0c60a1e9 in pthread_mutex_lock (ptm=ptm@entry=0x7e6a0c40c100 <je_arenas_lock+64>) at /disk/6/archive/foreign/src/lib/libpthread/pthread_mutex.c:218
 #3  0x00007e6a0bedf710 in malloc_mutex_lock_final (mutex=0x7e6a0c40c0c0 <je_arenas_lock>) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../include/jemalloc/internal/mutex.h:153
 #4  je_malloc_mutex_lock_slow (mutex=mutex@entry=0x7e6a0c40c0c0 <je_arenas_lock>) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../dist/src/mutex.c:84
 #5  0x00007e6a0bf1ae97 in malloc_mutex_lock (mutex=0x7e6a0c40c0c0 <je_arenas_lock>, tsdn=0x7e6a0c5f9040) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../include/jemalloc/internal/mutex.h:217
 #6  je_arena_choose_hard (tsd=tsd@entry=0x7e6a0c5f9040, internal=internal@entry=false) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../dist/src/jemalloc.c:553
 #7  0x00007e6a0bebf4be in arena_choose_impl (arena=0x0, internal=false, tsd=0x7e6a0c5f9040) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../include/jemalloc/internal/jemalloc_internal_inlines_b.h:22
 #8  arena_choose_impl (arena=0x0, internal=false, tsd=0x7e6a0c5f9040) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../include/jemalloc/internal/jemalloc_internal_inlines_b.h:8
 #9  arena_choose (arena=0x0, tsd=0x7e6a0c5f9040) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../include/jemalloc/internal/jemalloc_internal_inlines_b.h:63
 #10 je_tsd_tcache_data_init (tsd=tsd@entry=0x7e6a0c5f9040) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../dist/src/tcache.c:421
 #11 0x00007e6a0bebf725 in je_tsd_tcache_enabled_data_init (tsd=tsd@entry=0x7e6a0c5f9040) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../dist/src/tcache.c:350
 #12 0x00007e6a0bebbf19 in tsd_data_init (tsd=0x7e6a0c5f9040) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../dist/src/tsd.c:87
 #13 je_tsd_fetch_slow (tsd=tsd@entry=0x7e6a0c5f9040, minimal=minimal@entry=false) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../dist/src/tsd.c:147
 #14 0x00007e6a0bf1b280 in tsd_fetch_impl (minimal=false, init=true) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../include/jemalloc/internal/tsd.h:265
 #15 tsd_fetch () at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../include/jemalloc/internal/tsd.h:291
 #16 imalloc (dopts=<synthetic pointer>, sopts=<synthetic pointer>) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../dist/src/jemalloc.c:2036
 #17 malloc (size=12) at /disk/6/archive/foreign/src/external/bsd/jemalloc/lib/../dist/src/jemalloc.c:2075
 #18 0x0000000000400ab0 in start ()
 #19 0x00007e6a0c60c87f in pthread__create_tramp (cookie=0x7e6a0c827c00) at /disk/6/archive/foreign/src/lib/libpthread/pthread.c:564
 #20 0x00007e6a0be9b780 in ?? () from /usr/lib/libc.so.12
 #21 0x0000000000000000 in ?? ()
 
  Thomas
 


Home | Main Index | Thread Index | Old Index