[Bug 273219] math/openblas: update to 0.3.24

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Nov 2023 11:28:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273219

--- Comment #36 from Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> ---
(In reply to Thierry Thomas from comment #35)
Thank you! I confirmed the process which gets stuck is not mix conflicting
OpenMP runtime. According to discussion in the upstream the "cause" of this
issue is suspected to be OpenMP runtime related. I will continue investigation
of this issue.

The following is the process gets stuck:
nobody     21250  100.0  0.9   442632 317184  1  RJ   19:55     6:02.15
/wrkdirs/usr/ports/lang/julia/work/julia-1.9.3/usr/bin/julia -Cgeneric
-J/wrkdirs/usr/ports/lang/julia/work/julia-1.9.3/usr/lib/julia/sys.ji -O0 -g1
--startup-file=no -O0 --output-o /tmp/jl_K8F51k/compiled/v1.9/jl_XaSJdn
--output-ji /tmp/jl_K8F51k/compiled/v1.9/jl_CT6DXq --output-incremental=yes
--startup-file=no --history-file=no --warn-overwrite=yes --color=auto
--trace-compile=/tmp/jl_K8F51k/jl_I9yfatyhCt -

I did not found libgomp in the backtrace of that process:
GNU gdb (GDB) 13.2 [GDB v13.2 for FreeBSD]
Copyright (C) 2023 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-portbld-freebsd13.2".
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".
(gdb) attach 21250
Attaching to process 21250
Reading symbols from
/poudriere/data/.m/132amd64-local-workstation/01/wrkdirs/usr/ports/lang/julia/work/julia-1.9.3/usr/bin/julia...
[New LWP 107526 of process 21250]
warning: Could not load shared library symbols for 11 libraries, e.g. [vdso].
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Reading symbols from /usr/lib/libdl.so.1...
(No debugging symbols found in /usr/lib/libdl.so.1)
Reading symbols from /lib/libthr.so.3...
(No debugging symbols found in /lib/libthr.so.3)
Reading symbols from /lib/libc.so.7...
(No debugging symbols found in /lib/libc.so.7)
Reading symbols from /usr/local/lib/libunwind.so.8...
(No debugging symbols found in /usr/local/lib/libunwind.so.8)
Reading symbols from /usr/lib/librt.so.1...
(No debugging symbols found in /usr/lib/librt.so.1)
Reading symbols from /usr/lib/libexecinfo.so.1...
(No debugging symbols found in /usr/lib/libexecinfo.so.1)
Reading symbols from /lib/libm.so.5...
(No debugging symbols found in /lib/libm.so.5)
Reading symbols from /lib/libelf.so.2...
(No debugging symbols found in /lib/libelf.so.2)
Reading symbols from /lib/libkvm.so.7...
(No debugging symbols found in /lib/libkvm.so.7)
Reading symbols from /usr/local/lib/gcc12/libatomic.so.1...
(No debugging symbols found in /usr/local/lib/gcc12/libatomic.so.1)
Reading symbols from /usr/lib/libc++.so.1...
(No debugging symbols found in /usr/lib/libc++.so.1)
Reading symbols from /lib/libcxxrt.so.1...
(No debugging symbols found in /lib/libcxxrt.so.1)
Reading symbols from /usr/lib/liblzma.so.5...
(No debugging symbols found in /usr/lib/liblzma.so.5)
Reading symbols from /lib/libz.so.6...
(No debugging symbols found in /lib/libz.so.6)
Reading symbols from /lib/libmd.so.6...
(No debugging symbols found in /lib/libmd.so.6)
Reading symbols from /usr/local/lib/libgmp.so.10...
(No debugging symbols found in /usr/local/lib/libgmp.so.10)
Reading symbols from /usr/local/lib/libmpfr.so.6...
(No debugging symbols found in /usr/local/lib/libmpfr.so.6)
Reading symbols from /usr/local/lib/gcc12/libquadmath.so.0...
(No debugging symbols found in /usr/local/lib/gcc12/libquadmath.so.0)
Reading symbols from /usr/lib/libomp.so...
(No debugging symbols found in /usr/lib/libomp.so)
Reading symbols from /libexec/ld-elf.so.1...
(No debugging symbols found in /libexec/ld-elf.so.1)
[Switching to LWP 100735 of process 21250]
0x000000085d00f452 in ?? () from /usr/lib/libomp.so
(gdb) info threads
  Id   Target Id                   Frame 
* 1    LWP 100735 of process 21250 0x000000085d00f452 in ?? () from
/usr/lib/libomp.so
  2    LWP 107526 of process 21250 0x00000008237cf15a in _sigwait () from
/lib/libc.so.7
(gdb) t a a bt

Thread 2 (LWP 107526 of process 21250):
#0  0x00000008237cf15a in _sigwait () from /lib/libc.so.7
#1  0x000000082292395b in ?? () from /lib/libthr.so.3
#2  0x0000000828405dd2 in ?? ()
#3  0x0000000014004026 in ?? ()
#4  0x0000000000000000 in ?? ()

Thread 1 (LWP 100735 of process 21250):
#0  0x000000085d00f452 in ?? () from /usr/lib/libomp.so
#1  0x000000085d0287c8 in __kmp_acquire_ticket_lock () from /usr/lib/libomp.so
#2  0x000000085d02e564 in ?? () from /usr/lib/libomp.so
#3  0x000000085cfee91e in kmpc_malloc () from /usr/lib/libomp.so
#4  0x000000085d0691b7 in ?? () from /usr/lib/libomp.so
#5  0x000000085d038925 in ?? () from /usr/lib/libomp.so
#6  0x000000085d02e5c4 in ?? () from /usr/lib/libomp.so
#7  0x000000085d038ccc in ?? () from /usr/lib/libomp.so
#8  0x000000085d038c94 in ?? () from /usr/lib/libomp.so
#9  0x000000085d017d08 in omp_get_max_threads () from /usr/lib/libomp.so
#10 0x00000008621774fb in ?? ()
#11 0x00000008638036f0 in ?? ()
#12 0x0000000000000010 in ?? ()
#13 0x000000086380097c in ?? ()
#14 0x0000000863800980 in ?? ()
#15 0x0000000820923c80 in ?? ()
#16 0x0000000862176ec7 in ?? ()
#17 0x0000000862176de0 in ?? ()
#18 0x0000000000000004 in ?? ()
#19 0x0000000300000006 in ?? ()
#20 0x5a23ef1d46289d3e in ?? ()
#21 0x00000008637de0d8 in ?? ()
#22 0x0000000831c7dc08 in ?? ()
#23 0x0000000831c7c588 in ?? ()
#24 0x0000000820924540 in ?? ()
#25 0x0000000820924100 in ?? ()
#26 0x00003399022fa0ad in ?? () from /libexec/ld-elf.so.1
#27 0x00000008211c8008 in ?? ()
#28 0x0000000000000000 in ?? ()
(gdb) detach
Detaching from program:
/poudriere/data/.m/132amd64-local-workstation/01/wrkdirs/usr/ports/lang/julia/work/julia-1.9.3/usr/bin/julia,
process 21250
[Inferior 1 (process 21250) detached]
(gdb) quit

-- 
You are receiving this mail because:
You are the assignee for the bug.