Re: [PATCH glibc-2.44] Fix __pthread_timedblock for hurd
Damien Zammit <[email protected]>
| Newsgroups | gmane.os.hurd.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, I can make available the source for this backtrace if needed. The backtrace of a hung javac looks like: demo@zamhurd64:/part4/git/icedtea$ sudo gdb --pid=`pidof javac` bootstrap/jdk1.6.0/bin/javac GNU gdb (Debian 17.2-1+b1) 17.2 Copyright (C) 2025 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later [<http://gnu.org/licenses/gpl.html>](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-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: [<https://www.gnu.org/software/gdb/bugs/>](https://www.gnu.org/software/gdb/bugs/) . Find the GDB manual and other documentation resources online at: [<http://www.gnu.org/software/gdb/documentation/>](http://www.gnu.org/software/gdb/documentation/) . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from bootstrap/jdk1.6.0/bin/javac... Attaching to program: /part4/git/icedtea/openjdk.build-boot/j2sdk-image/bin/javac, process 17420 [New Thread 17420.1] [New Thread 17420.2] [New Thread 17420.3] [New Thread 17420.4] [New Thread 17420.5] [New Thread 17420.6] [New Thread 17420.7] [New Thread 17420.8] [New Thread 17420.9] [New Thread 17420.10] [New Thread 17420.11] Reading symbols from /part4/git/icedtea/./bootstrap/jdk1.6.0/bin/../lib/amd64/jli/libjli.so... Reading symbols from /usr/lib/x86_64-gnu/libc.so.0.3... Reading symbols from /usr/lib/debug/.build-id/40/f3c2def1b19b203a9af053342b29d6a654cea4.debug... Reading symbols from /usr/lib/x86_64-gnu/libz.so.1... (No debugging symbols found in /usr/lib/x86_64-gnu/libz.so.1) Reading symbols from /lib/ld-x86-64.so.1... Reading symbols from /usr/lib/debug/.build-id/9c/c0e72bc6047e35eb6a0c29b3b32d98a0aeb7bb.debug... Reading symbols from /usr/lib/x86_64-gnu/libmachuser.so.1... Reading symbols from /usr/lib/debug/.build-id/8d/28677975f90577c086c8018a26783ade339190.debug... Reading symbols from /usr/lib/x86_64-gnu/libhurduser.so.0.3... Reading symbols from /usr/lib/debug/.build-id/33/f1cf73f25990c290d2c91b5bdbc73474fd9f05.debug... Reading symbols from /part4/git/icedtea/./bootstrap/jdk1.6.0/jre/lib/amd64/server/libjvm.so... Reading symbols from /usr/lib/x86_64-gnu/libstdc++.so.6... (No debugging symbols found in /usr/lib/x86_64-gnu/libstdc++.so.6) Reading symbols from /usr/lib/x86_64-gnu/libm.so.6... Reading symbols from /usr/lib/debug/.build-id/75/03ecb0ca26e697aa95fd72af1606d3ad3b8df5.debug... Reading symbols from /usr/lib/x86_64-gnu/libgcc_s.so.1... (No debugging symbols found in /usr/lib/x86_64-gnu/libgcc_s.so.1) Reading symbols from /usr/lib/x86_64-gnu/librt.so.1... Reading symbols from /usr/lib/debug/.build-id/68/20482e5bc954efd95acb086ca66d0a8efd7859.debug... Reading symbols from /part4/git/icedtea/openjdk.build-boot/j2sdk-image/jre/lib/amd64/libverify.so... Reading symbols from /part4/git/icedtea/openjdk.build-boot/j2sdk-image/jre/lib/amd64/libjava.so... Reading symbols from /part4/git/icedtea/openjdk.build-boot/j2sdk-image/jre/lib/amd64/libzip.so... Reading symbols from /part4/git/icedtea/openjdk.build-boot/j2sdk-image/jre/lib/amd64/libnio.so... Reading symbols from /part4/git/icedtea/openjdk.build-boot/j2sdk-image/jre/lib/amd64/libnet.so... Reading symbols from /usr/lib/x86_64-gnu/libgio-2.0.so.0... --Type <RET> for more, q to quit, c to continue without paging--c (No debugging symbols found in /usr/lib/x86_64-gnu/libgio-2.0.so.0) Reading symbols from /usr/lib/x86_64-gnu/libgobject-2.0.so.0... (No debugging symbols found in /usr/lib/x86_64-gnu/libgobject-2.0.so.0) Reading symbols from /usr/lib/x86_64-gnu/libglib-2.0.so.0... (No debugging symbols found in /usr/lib/x86_64-gnu/libglib-2.0.so.0) Reading symbols from /usr/lib/x86_64-gnu/libgmodule-2.0.so.0... (No debugging symbols found in /usr/lib/x86_64-gnu/libgmodule-2.0.so.0) Reading symbols from /usr/lib/x86_64-gnu/libffi.so.8... (No debugging symbols found in /usr/lib/x86_64-gnu/libffi.so.8) Reading symbols from /usr/lib/x86_64-gnu/libatomic.so.1... (No debugging symbols found in /usr/lib/x86_64-gnu/libatomic.so.1) Reading symbols from /usr/lib/x86_64-gnu/libpcre2-8.so.0... (No debugging symbols found in /usr/lib/x86_64-gnu/libpcre2-8.so.0) Reading symbols from /usr/lib/x86_64-gnu/libpthread.so.0.3... Reading symbols from /usr/lib/debug/.build-id/00/64479050c6a78de4aa12d8bdd8b64af3fba5f0.debug... (gdb) thread apply all bt Thread 11 (Thread 17420.11): #0 0x000000000108732c in __GI___mach_msg_trap () at /build/reproducible-path/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2 #1 0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x3fc2cc0, option=option@entry=258, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=50, timeout=50, notify=0) at ./mach/msg.c:111 #2 0x000000000114bc27 in __GI___pthread_timedblock (thread=thread@entry=0x40b8680, abstime=abstime@entry=0x3fc2db0, clock_id=clock_id@entry=1) at ../sysdeps/mach/htl/pt-timedblock.c:61 #3 0x0000000001145061 in __pthread_cond_timedwait_internal (cond=0x40b8348, mutex=<optimized out>, clockid=<optimized out>, abstime=<optimized out>) at ../sysdeps/htl/pt-cond-timedwait.c:164 #4 0x00000000023b3828 in os::Linux::safe_cond_timedwait (_cond=0x40b8348, _mutex=<optimized out>, _abstime=0x3fc2db0) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5321 #5 os::PlatformEvent::park (this=0x40b8300, millis=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:6040 #6 os::PlatformEvent::park (this=this@entry=0x40b8300, millis=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:6002 #7 0x0000000002377865 in ParkCommon (ev=<optimized out>, timo=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:430 #8 Monitor::IWait (this=this@entry=0x4008510, Self=Self@entry=0x40b7000, timo=timo@entry=50) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:806 #9 0x0000000002378332 in Monitor::wait (this=0x4008510, no_safepoint_check=no_safepoint_check@entry=true, timeout=timeout@entry=50, as_suspend_equivalent=as_suspend_equivalent@entry=false) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:1115 #10 0x00000000024efb02 in WatcherThread::sleep (this=this@entry=0x40b7000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/thread.cpp:1254 #11 0x00000000024efbef in WatcherThread::run (this=0x40b7000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/thread.cpp:1299 #12 0x00000000023ab972 in java_start (thread=0x40b7000) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:948 #13 0x0000000001145a88 in entry_point (self=0x40b8680, start_routine=0x23ab7c0 <java_start(Thread*)>, arg=0x40b7000) at ./htl/pt-create.c:74 #14 0x0000000000000000 in ??? () Thread 10 (Thread 17420.10): #0 0x000000000108732c in __GI___mach_msg_trap () at /build/reproducible-path/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2 #1 0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x3ec0ca0, option=option@entry=2, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=48, timeout=timeout@entry=0, notify=0) at ./mach/msg.c:111 #2 0x0000000001144106 in __GI___pthread_block (thread=thread@entry=0x40ace20) at ../sysdeps/mach/htl/pt-block.c:46 #3 0x00000000011454ab in __pthread_cond_timedwait_internal (cond=0x40ac848, mutex=<optimized out>, clockid=<optimized out>, abstime=<optimized out>) at ../sysdeps/htl/pt-cond-timedwait.c:168 #4 0x00000000023b365d in os::PlatformEvent::park (this=this@entry=0x40ac800) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5984 #5 0x0000000002377797 in ParkCommon (ev=<optimized out>, timo=0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:428 #6 Monitor::IWait (this=this@entry=0x40060a0, Self=Self@entry=0x40ab000, timo=timo@entry=0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:806 #7 0x0000000002378332 in Monitor::wait (this=0x40060a0, no_safepoint_check=no_safepoint_check@entry=true, timeout=timeout@entry=0, as_suspend_equivalent=as_suspend_equivalent@entry=false) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:1115 #8 0x000000000244f17b in ServiceThread::service_thread_entry (jt=0x40ab000, __the_thread__=0x40ab000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/serviceThread.cpp:104 #9 0x00000000024f4ef1 in JavaThread::thread_main_inner (this=0x40ab000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/thread.hpp:1019 --Type <RET> for more, q to quit, c to continue without paging--c #10 0x00000000023ab972 in java_start (thread=0x40ab000) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:948 #11 0x0000000001145a88 in entry_point (self=0x40ace20, start_routine=0x23ab7c0 <java_start(Thread*)>, arg=0x40ab000) at ./htl/pt-create.c:74 #12 0x0000000000000000 in ??? () Thread 9 (Thread 17420.9): #0 0x000000000108732c in __GI___mach_msg_trap () at /build/reproducible-path/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2 #1 0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x3dc0c40, option=option@entry=2, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=44, timeout=timeout@entry=0, notify=0) at ./mach/msg.c:111 #2 0x0000000001144106 in __GI___pthread_block (thread=thread@entry=0x40a9940) at ../sysdeps/mach/htl/pt-block.c:46 #3 0x00000000011454ab in __pthread_cond_timedwait_internal (cond=0x40a9448, mutex=<optimized out>, clockid=<optimized out>, abstime=<optimized out>) at ../sysdeps/htl/pt-cond-timedwait.c:168 #4 0x00000000023b365d in os::PlatformEvent::park (this=this@entry=0x40a9400) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5984 #5 0x0000000002377797 in ParkCommon (ev=<optimized out>, timo=0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:428 #6 Monitor::IWait (this=this@entry=0x4008310, Self=Self@entry=0x40a8000, timo=timo@entry=0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:806 #7 0x00000000023783de in Monitor::wait (this=0x4008310, no_safepoint_check=no_safepoint_check@entry=false, timeout=timeout@entry=0, as_suspend_equivalent=as_suspend_equivalent@entry=false) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:1130 #8 0x0000000001fe3864 in CompileQueue::get (this=this@entry=0x40a4dc0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/compiler/compileBroker.hpp:198 #9 0x0000000001fe8102 in CompileBroker::compiler_thread_loop () at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/compiler/compileBroker.cpp:1574 #10 0x00000000024f4ef1 in JavaThread::thread_main_inner (this=0x40a8000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/thread.hpp:1019 #11 0x00000000023ab972 in java_start (thread=0x40a8000) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:948 #12 0x0000000001145a88 in entry_point (self=0x40a9940, start_routine=0x23ab7c0 <java_start(Thread*)>, arg=0x40a8000) at ./htl/pt-create.c:74 #13 0x0000000000000000 in ??? () Thread 8 (Thread 17420.8): #0 0x000000000108732c in __GI___mach_msg_trap () at /build/reproducible-path/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2 #1 0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x3cbec40, option=option@entry=2, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=34, timeout=timeout@entry=0, notify=0) at ./mach/msg.c:111 #2 0x0000000001144106 in __GI___pthread_block (thread=thread@entry=0x40a6e70) at ../sysdeps/mach/htl/pt-block.c:46 #3 0x00000000011454ab in __pthread_cond_timedwait_internal (cond=0x40a6948, mutex=<optimized out>, clockid=<optimized out>, abstime=<optimized out>) at ../sysdeps/htl/pt-cond-timedwait.c:168 #4 0x00000000023b365d in os::PlatformEvent::park (this=this@entry=0x40a6900) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5984 #5 0x0000000002377797 in ParkCommon (ev=<optimized out>, timo=0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:428 #6 Monitor::IWait (this=this@entry=0x4008310, Self=Self@entry=0x40a5000, timo=timo@entry=0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:806 #7 0x00000000023783de in Monitor::wait (this=0x4008310, no_safepoint_check=no_safepoint_check@entry=false, timeout=timeout@entry=0, as_suspend_equivalent=as_suspend_equivalent@entry=false) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:1130 #8 0x0000000001fe3864 in CompileQueue::get (this=this@entry=0x40a4dc0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/compiler/compileBroker.hpp:198 #9 0x0000000001fe8102 in CompileBroker::compiler_thread_loop () at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/compiler/compileBroker.cpp:1574 #10 0x00000000024f4ef1 in JavaThread::thread_main_inner (this=0x40a5000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/thread.hpp:1019 #11 0x00000000023ab972 in java_start (thread=0x40a5000) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:948 #12 0x0000000001145a88 in entry_point (self=0x40a6e70, start_routine=0x23ab7c0 <java_start(Thread*)>, arg=0x40a5000) at ./htl/pt-create.c:74 #13 0x0000000000000000 in ??? () Thread 7 (Thread 17420.7): #0 0x00000000010a9d9b in __GI__hurd_intr_rpc_mach_msg (msg=msg@entry=0x3bbda20, option=option@entry=3, send_size=send_size@entry=112, rcv_size=rcv_size@entry=48, rcv_name=40, timeout=timeout@entry=0, notify=<optimized out>) at ./hurd/intr-msg.c:110 #1 0x0000000001370d02 in __gsync_wait_intr (task=<optimized out>, addr=addr@entry=41490048, val1=val1@entry=0, val2=val2@entry=0, msec=msec@entry=0, flags=flags@entry=0) at ./build-tree/hurd-amd64-libc/mach/RPC_gsync_wait.c:187 #2 0x000000000114c06c in __sem_timedwait_internal (sem=0x2791680 <sig_sem>, clock_id=0, timeout=0x0) at ../sysdeps/htl/sem-timedwait.c:79 #3 0x00000000023ab335 in check_pending_signals (wait=wait@entry=true) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:2735 #4 0x00000000023aebca in os::signal_wait () at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:2759 #5 0x00000000023a7285 in signal_thread_entry (thread=<optimized out>, __the_thread__=0x40a2800) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/os.cpp:241 #6 0x00000000024f4ef1 in JavaThread::thread_main_inner (this=0x40a2800) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/thread.hpp:1019 #7 0x00000000023ab972 in java_start (thread=0x40a2800) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:948 #8 0x0000000001145a88 in entry_point (self=0x40a40c0, start_routine=0x23ab7c0 <java_start(Thread*)>, arg=0x40a2800) at ./htl/pt-create.c:74 #9 0x0000000000000000 in ??? () Thread 6 (Thread 17420.6): #0 0x000000000108732c in __GI___mach_msg_trap () at /build/reproducible-path/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2 #1 0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x3abc730, option=option@entry=2, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=38, timeout=timeout@entry=0, notify=0) at ./mach/msg.c:111 #2 0x0000000001144106 in __GI___pthread_block (thread=thread@entry=0x4077560) at ../sysdeps/mach/htl/pt-block.c:46 #3 0x00000000011454ab in __pthread_cond_timedwait_internal (cond=0x4076c48, mutex=<optimized out>, clockid=<optimized out>, abstime=<optimized out>) at ../sysdeps/htl/pt-cond-timedwait.c:168 #4 0x00000000023b365d in os::PlatformEvent::park (this=0x4076c00) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5984 #5 0x00000000023a00f5 in ObjectMonitor::wait (this=0x10003658, millis=0, interruptible=true, __the_thread__=0x4075800) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/objectMonitor.cpp:1553 #6 0x00000000024bcc6f in ObjectSynchronizer::wait (obj=..., millis=0, __the_thread__=0x4075800) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/synchronizer.cpp:387 #7 0x000000000220bff5 in JVM_MonitorWait (env=0x40759d8, handle=<optimized out>, ms=0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/prims/jvm.cpp:562 #8 0x00000000080148d8 in ??? () #9 0x0000000003abca10 in ??? () #10 0x00000000024bd73a in ObjectSynchronizer::slow_enter (obj=..., lock=0x0, __the_thread__=0x7f5a02870) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/synchronizer.cpp:258 #11 ObjectSynchronizer::fast_enter (obj=..., lock=0x0, attempt_rebias=<optimized out>, __the_thread__=0x7f5a02870) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/synchronizer.cpp:180 #12 0x0000000008006170 in ??? () #13 0x0000000000000000 in ??? () Thread 5 (Thread 17420.5): #0 0x000000000108732c in __GI___mach_msg_trap () at /build/reproducible-path/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2 #1 0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x39bc7a0, option=option@entry=2, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=3, timeout=timeout@entry=0, notify=0) at ./mach/msg.c:111 #2 0x0000000001144106 in __GI___pthread_block (thread=thread@entry=0x40749c0) at ../sysdeps/mach/htl/pt-block.c:46 #3 0x00000000011454ab in __pthread_cond_timedwait_internal (cond=0x4074148, mutex=<optimized out>, clockid=<optimized out>, abstime=<optimized out>) at ../sysdeps/htl/pt-cond-timedwait.c:168 #4 0x00000000023b365d in os::PlatformEvent::park (this=0x4074100) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5984 #5 0x00000000023a00f5 in ObjectMonitor::wait (this=0x10002108, millis=0, interruptible=true, __the_thread__=0x4073000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/objectMonitor.cpp:1553 #6 0x00000000024bcc6f in ObjectSynchronizer::wait (obj=..., millis=0, __the_thread__=0x4073000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/synchronizer.cpp:387 #7 0x000000000220bff5 in JVM_MonitorWait (env=0x40731d8, handle=<optimized out>, ms=0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/prims/jvm.cpp:562 #8 0x00000000080148d8 in ??? () #9 0x00000000039bcb28 in ??? () #10 0x0000000004073000 in ??? () #11 0x00000000039bca80 in ??? () #12 0x00000000021b47b3 in InterpreterRuntime::monitorexit (thread=0x7f5a02878, elem=0x0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/basicLock.hpp:67 #13 0x0000000008006170 in ??? () #14 0x0000000000000000 in ??? () Thread 4 (Thread 17420.4): #0 0x000000000108732c in __GI___mach_msg_trap () at /build/reproducible-path/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2 #1 0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x38bbbb0, option=option@entry=258, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=6, timeout=999, notify=0) at ./mach/msg.c:111 #2 0x000000000114bc27 in __GI___pthread_timedblock (thread=thread@entry=0x406f2f0, abstime=abstime@entry=0x38bbca0, clock_id=clock_id@entry=1) at ../sysdeps/mach/htl/pt-timedblock.c:61 #3 0x0000000001145061 in __pthread_cond_timedwait_internal (cond=0x406ed48, mutex=<optimized out>, clockid=<optimized out>, abstime=<optimized out>) at ../sysdeps/htl/pt-cond-timedwait.c:164 #4 0x00000000023b3828 in os::Linux::safe_cond_timedwait (_cond=0x406ed48, _mutex=<optimized out>, _abstime=0x38bbca0) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5321 #5 os::PlatformEvent::park (this=0x406ed00, millis=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:6040 #6 os::PlatformEvent::park (this=this@entry=0x406ed00, millis=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:6002 #7 0x0000000002377865 in ParkCommon (ev=<optimized out>, timo=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:430 #8 Monitor::IWait (this=this@entry=0x4004b50, Self=Self@entry=0x406e000, timo=timo@entry=1000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:806 #9 0x0000000002378332 in Monitor::wait (this=0x4004b50, no_safepoint_check=no_safepoint_check@entry=true, timeout=1000, as_suspend_equivalent=as_suspend_equivalent@entry=false) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:1115 #10 0x0000000002551e95 in VMThread::loop (this=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/vmThread.cpp:454 #11 0x00000000025524bb in VMThread::run (this=0x406e000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/vmThread.cpp:288 #12 0x00000000023ab972 in java_start (thread=0x406e000) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:948 #13 0x0000000001145a88 in entry_point (self=0x406f2f0, start_routine=0x23ab7c0 <java_start(Thread*)>, arg=0x406e000) at ./htl/pt-create.c:74 #14 0x0000000000000000 in ??? () Thread 3 (Thread 17420.3): Python Exception <class 'gdb.error'>: Couldn't recognize signal trampoline. #0 <signal handler called> Thread 2 (Thread 17420.2): #0 0x000000000108732c in __GI___mach_msg_trap () at /build/reproducible-path/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2 #1 0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x1b7df40, option=option@entry=3, send_size=48, rcv_size=rcv_size@entry=4096, rcv_name=rcv_name@entry=28, timeout=timeout@entry=0, notify=0) at ./mach/msg.c:111 #2 0x0000000001087f51 in __mach_msg_server_timeout (demux=demux@entry=0x10cc550 <msgport_server>, max_size=4096, rcv_name=28, option=option@entry=0, timeout=timeout@entry=0) at ./mach/msgserver.c:146 #3 0x000000000108802a in __mach_msg_server (demux=demux@entry=0x10cc550 <msgport_server>, max_size=<optimized out>, rcv_name=<optimized out>) at ./mach/msgserver.c:191 #4 0x00000000010cc5d2 in _hurd_msgport_receive (arg=<optimized out>) at ./hurd/msgportdemux.c:50 #5 0x0000000001145a88 in entry_point (self=0x200000000f10, start_routine=0x10cc590 <_hurd_msgport_receive>, arg=0x0) at ./htl/pt-create.c:74 #6 0x0000000000000000 in ??? () Thread 1 (Thread 17420.1): #0 0x000000000108732c in __GI___mach_msg_trap () at /build/reproducible-path/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2 #1 0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x103d930, option=option@entry=2, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=29, timeout=timeout@entry=0, notify=0) at ./mach/msg.c:111 #2 0x0000000001144106 in __GI___pthread_block (thread=thread@entry=0x200000000010) at ../sysdeps/mach/htl/pt-block.c:46 #3 0x00000000011454ab in __pthread_cond_timedwait_internal (cond=cond@entry=0x200000018fd0, mutex=mutex@entry=0x200000018fb0, clockid=clockid@entry=0, abstime=abstime@entry=0x0) at ../sysdeps/htl/pt-cond-timedwait.c:168 #4 0x00000000011458d5 in __GI___pthread_cond_clockwait (cond=cond@entry=0x200000018fd0, mutex=mutex@entry=0x200000018fb0, clockid=clockid@entry=0, abstime=abstime@entry=0x0) at ../sysdeps/htl/pt-cond-timedwait.c:51 #5 0x0000000001147b49 in __pthread_join_common (thread=<optimized out>, status=status@entry=0x103da78, try=try@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0) at ./htl/pt-join.c:55 #6 0x0000000001147c7c in __GI___pthread_join (thread=<optimized out>, status=status@entry=0x103da78) at ./htl/pt-join.c:99 #7 0x000000000105258d in ContinueInNewThread0 (continuation=continuation@entry=0x104b800 <JavaMain>, stack_size=1048576, args=0x103db10) at ../../../src/solaris/bin/java_md_solinux.c:1060 #8 0x000000000104d149 in ContinueInNewThread (ifn=ifn@entry=0x0, threadStackSize=<optimized out>, threadStackSize@entry=0, argc=1, argc@entry=0, argv=argv@entry=0x0, mode=mode@entry=0, what=what@entry=0x0, ret=0) at ../../../src/share/bin/java.c:1870 #9 0x000000000105263c in JVMInit (ifn=0x0, ifn@entry=0x103dbf0, threadStackSize=0, argc=0, argv=0x0, mode=0, mode@entry=1, what=0x0, what@entry=0x200000018c70 "com.sun.tools.javac.Main", ret=<optimized out>) at ../../../src/solaris/bin/java_md_solinux.c:1096 #10 0x000000000104df03 in JLI_Launch (argc=<optimized out>, argv=<optimized out>, jargc=jargc@entry=2, jargv=jargv@entry=0x3030 <const_jargs>, appclassc=appclassc@entry=2, appclassv=appclassv@entry=0x3020 <const_appclasspath>, fullversion=0x18f1 "1.7.0_321-b01", dotversion=0x18ed "1.7", pname=0x18e8 "java", lname=0x18e8 "java", javaargs=1 '\001', cpwildcard=1 '\001', javaw=0 '\000', ergo=1) at ../../../src/share/bin/java.c:299 #11 0x00000000000017e3 in main (argc=<optimized out>, argv=<optimized out>) at ../../src/share/bin/main.c:125 (gdb) Damien On 19/8/26 7:56 am, Samuel Thibault wrote: > Hello, > > Damien Zammit, le mar. 18 août 2026 00:16:37 +0000, a ecrit: > > OK, maybe you are correct regarding the abstime parameter. > > That is just what posix says. > > However, the man page for pthread_cond_init(3) says: > > That manual page does not talk about pthread_cond_clockwait, so it most > probably does not know at all about any other clock than CLOCK_REALTIME, > thus the confusing text. > > This is not consistent with CLOCK_MONOTONIC on GNU/Hurd. > Could this be causing a misalignment in java? I am getting hangs on > pthread_cond_timedwait(). > > Please be more specific about the exact condition under which you get a > hang. > > Samuel