-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I tested 2 CPUs Loongson 3C6000/D with total 128 threads, and got errors on whetstonemp and mpmflops:
Fatal glibc error: pthread_mutex_lock.c:172 (___pthread_mutex_lock): assertion failed: PTHREAD_MUTEX_TYPE (mutex) == PTHREAD_MUTEX_ERRORCHECK_NP
Thread 34 "whetstonemp_loo" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff7c8f180 (LWP 420663)]
Downloading source file /var/cache/acbs/build/acbs.mb7q8ls3/glibc-2.42/nptl/pthread_kill.c
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=0) at pthread_kill.c:44
warning: 44 pthread_kill.c: No such file or directory
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=0) at pthread_kill.c:44
#1 0x00007ffff7d25454 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#2 0x00007ffff7cc70d0 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007ffff7cad240 in __GI_abort () at abort.c:77
#4 0x00007ffff7d14e3c in __libc_message_impl (fmt=fmt@entry=0x7ffff7e14b20 "Fatal glibc error: %s:%s (%s): assertion failed: %s\n") at ../sysdeps/posix/libc_fatal.c:138
#5 0x00007ffff7cbe228 in __libc_assert_fail (assertion=assertion@entry=0x7ffff7e176a8 "PTHREAD_MUTEX_TYPE (mutex) == PTHREAD_MUTEX_ERRORCHECK_NP",
file=file@entry=0x7ffff7e175c8 "pthread_mutex_lock.c", line=line@entry=172, function=function@entry=0x7ffff7e17810 <__PRETTY_FUNCTION__.0> "___pthread_mutex_lock")
at __libc_assert_fail.c:31
#6 0x00007ffff7d273c4 in ___pthread_mutex_lock (mutex=<optimized out>) at pthread_mutex_lock.c:172
#7 0x0000555555551e04 in whetstones ()
#8 0x00007ffff7d22bdc in start_thread (arg=<optimized out>) at pthread_create.c:448
#9 0x00007ffff7d9f1c4 in __thread_start3 () at ../sysdeps/unix/sysv/linux/loongarch/clone3.S:74
Thread 1 "mpmflops_loonga" received signal SIGSEGV, Segmentation fault.
allocate_stack (stacksize=<synthetic pointer>, stack=<synthetic pointer>, pdp=<synthetic pointer>, attr=0x7fffc5af31a0) at /usr/src/debug/glibc-2.38-14.an23.loongarch64/nptl/allocatestack.c:228
228 if (attr->stacksize != 0)
(gdb) bt
#0 allocate_stack (stacksize=<synthetic pointer>, stack=<synthetic pointer>, pdp=<synthetic pointer>, attr=0x7fffc5af31a0) at /usr/src/debug/glibc-2.38-14.an23.loongarch64/nptl/allocatestack.c:228
#1 __pthread_create_2_1 (newthread=0x1200081a0 <tid>, attr=0x7fffc5af31a0, start_routine=0x120001560 <runTests>, arg=0x0) at pthread_create.c:652
#2 0x0000000120000ce4 in main ()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels