Re: [PATCH glibc-2.44] Fix __pthread_timedblock for hurd

Damien Zammit <[email protected]>
Newsgroups gmane.os.hurd.bugs
Message-ID <[email protected]>
On 23/8/26 11:34 pm, Samuel Thibault wrote:

> Yes, sure, it works for me too, but what about your java testcase?

(btw, libpthread is empty nowadays, it's all moved to libc)

Noted.

Javac still hung with your change:

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 817
[New Thread 817.1]
[New Thread 817.2]
[New Thread 817.3]
[New Thread 817.4]
[New Thread 817.5]
[New Thread 817.6]
[New Thread 817.7]
[New Thread 817.8]
[New Thread 817.9]
[New Thread 817.10]
[New Thread 817.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/e5/fdcc51032c732e7646b32b7f4efeec2543330d.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/db/3207fd1905b9779f73f337c83bb96b46c85453.debug...
Reading symbols from /usr/lib/x86_64-gnu/libmachuser.so.1...
Reading symbols from /usr/lib/debug/.build-id/d3/10b145ce066b293284e3efbc2bdff66d7abf55.debug...
Reading symbols from /usr/lib/x86_64-gnu/libhurduser.so.0.3...
Reading symbols from /usr/lib/debug/.build-id/6b/47c7029bdfc69865a53ef435aeb36dcdcebb42.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/f0/c485ada819422cdb9a55ae1fac7569fbefd304.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/84/e822322d71ce02322b783dea0fa51633028655.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/7f/bbdc7532ac5bdbbc64bce3da60d77650e1814b.debug...
(gdb) thread apply all bt

Thread 11 (Thread 817.11):
#0  0x000000000108732c in __GI___mach_msg_trap () at /part4/debian/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2
#1  0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x3ffcca0, option=option@entry=1282, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=51, timeout=50, notify=0) at ./mach/msg.c:111
#2  0x000000000114bc0b in __GI___pthread_timedblock (thread=thread@entry=0x40b8680, abstime=abstime@entry=0x3ffcdb0, clock_id=clock_id@entry=1) at ../sysdeps/mach/htl/pt-timedblock.c:62
#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  0x00000000023b37a8 in os::Linux::safe_cond_timedwait (_cond=0x40b8348, _mutex=<optimized out>, _abstime=0x3ffcdb0) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5321
#5  os::PlatformEvent::park (this=this@entry=0x40b8300, millis=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:6050
#6  0x0000000002377835 in ParkCommon (ev=<optimized out>, timo=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:430
#7  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
#8  0x0000000002378302 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
#9  0x00000000024efb02 in WatcherThread::sleep (this=this@entry=0x40b7000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/thread.cpp:1254
#10 0x00000000024efbef in WatcherThread::run (this=0x40b7000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/thread.cpp:1299
#11 0x00000000023ab8f2 in java_start (thread=0x40b7000) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:948
#12 0x0000000001145a88 in entry_point (self=0x40b8680, start_routine=0x23ab740 <java_start(Thread*)>, arg=0x40b7000) at ./htl/pt-create.c:74
#13 0x0000000000000000 in ??? ()

Thread 10 (Thread 817.10):
#0  0x000000000108732c in __GI___mach_msg_trap () at /part4/debian/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2
#1  0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x3efac30, option=option@entry=1282, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=48, timeout=100, notify=0) at ./mach/msg.c:111
#2  0x000000000114bc0b in __GI___pthread_timedblock (thread=thread@entry=0x40ace20, abstime=abstime@entry=0x3efad40, clock_id=clock_id@entry=1) at ../sysdeps/mach/htl/pt-timedblock.c:62
#3  0x0000000001145061 in __pthread_cond_timedwait_internal (cond=0x40ac848, mutex=<optimized out>, clockid=<optimized out>, abstime=<optimized out>) at ../sysdeps/htl/pt-cond-timedwait.c:164
#4  0x00000000023b37a8 in os::Linux::safe_cond_timedwait (_cond=0x40ac848, _mutex=<optimized out>, _abstime=0x3efad40) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5321
#5  os::PlatformEvent::park (this=this@entry=0x40ac800, millis=millis@entry=100) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:6050
#6  0x000000000237777f in ParkCommon (timo=0, ev=0x40ac800) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:428
#7  ParkCommon (ev=<optimized out>, timo=0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:420
#8  Monitor::IWait (this=this@entry=0x40060a0, Self=Self@entry=0x40ab800, timo=timo@entry=0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:806
#9  0x0000000002378302 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
#10 0x000000000244f17b in ServiceThread::service_thread_entry (jt=0x40ab800, __the_thread__=0x40ab800) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/serviceThread.cpp:104
#11 0x00000000024f4ef1 in JavaThread::thread_main_inner (this=0x40ab800) 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
#12 0x00000000023ab8f2 in java_start (thread=0x40ab800) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:948
#13 0x0000000001145a88 in entry_point (self=0x40ace20, start_routine=0x23ab740 <java_start(Thread*)>, arg=0x40ab800) at ./htl/pt-create.c:74
#14 0x0000000000000000 in ??? ()

Thread 9 (Thread 817.9):
#0  0x000000000108732c in __GI___mach_msg_trap () at /part4/debian/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2
#1  0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x3dfaba0, option=option@entry=1282, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=44, timeout=100, notify=0) at ./mach/msg.c:111
#2  0x000000000114bc0b in __GI___pthread_timedblock (thread=thread@entry=0x40a9d30, abstime=abstime@entry=0x3dfacb0, clock_id=clock_id@entry=1) at ../sysdeps/mach/htl/pt-timedblock.c:62
#3  0x0000000001145061 in __pthread_cond_timedwait_internal (cond=0x40a9748, mutex=<optimized out>, clockid=<optimized out>, abstime=<optimized out>) at ../sysdeps/htl/pt-cond-timedwait.c:164
#4  0x00000000023b37a8 in os::Linux::safe_cond_timedwait (_cond=0x40a9748, _mutex=<optimized out>, _abstime=0x3dfacb0) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5321
#5  os::PlatformEvent::park (this=this@entry=0x40a9700, millis=millis@entry=100) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:6050
#6  0x0000000002377427 in ParkCommon (timo=0, ev=0x40a9700) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:428
#7  ParkCommon (timo=0, ev=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:420
#8  Monitor::ILock (this=this@entry=0x4008310, Self=Self@entry=0x40a8000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:495
#9  0x0000000002377921 in 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:850
#10 0x00000000023783ae 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
#11 0x0000000001fe3864 in CompileQueue::get (this=this@entry=0x40a4dc0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/compiler/compileBroker.hpp:198
#12 0x0000000001fe8102 in CompileBroker::compiler_thread_loop () at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/compiler/compileBroker.cpp:1574
#13 0x00000000024f4ef1 in JavaThread::thread_main_inner (this=0x40a8000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/thread.hpp:1019
#14 0x00000000023ab8f2 in java_start (thread=0x40a8000) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:948
#15 0x0000000001145a88 in entry_point (self=0x40a9d30, start_routine=0x23ab740 <java_start(Thread*)>, arg=0x40a8000) at ./htl/pt-create.c:74
#16 0x0000000000000000 in ??? ()

Thread 8 (Thread 817.8):
#0  0x000000000108732c in __GI___mach_msg_trap () at /part4/debian/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2
#1  0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x3cf8aa0, option=option@entry=1282, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=34, timeout=100, notify=0) at ./mach/msg.c:111
#2  0x000000000114bc0b in __GI___pthread_timedblock (thread=thread@entry=0x40a6e70, abstime=abstime@entry=0x3cf8bb0, clock_id=clock_id@entry=1) at ../sysdeps/mach/htl/pt-timedblock.c:62
#3  0x0000000001145061 in __pthread_cond_timedwait_internal (cond=0x40a6948, mutex=<optimized out>, clockid=<optimized out>, abstime=<optimized out>) at ../sysdeps/htl/pt-cond-timedwait.c:164
#4  0x00000000023b37a8 in os::Linux::safe_cond_timedwait (_cond=0x40a6948, _mutex=<optimized out>, _abstime=0x3cf8bb0) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5321
#5  os::PlatformEvent::park (this=this@entry=0x40a6900, millis=millis@entry=100) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:6050
#6  0x0000000002377427 in ParkCommon (timo=0, ev=0x40a6900) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:428
#7  ParkCommon (timo=0, ev=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:420
#8  Monitor::ILock (this=this@entry=0x4004ad0, Self=Self@entry=0x40a5000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:495
#9  0x0000000002377c16 in Monitor::lock_without_safepoint_check (this=0x4004ad0, Self=0x40a5000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:963
#10 Monitor::lock_without_safepoint_check (this=0x4004ad0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:969
#11 0x000000000244cc87 in SafepointSynchronize::block (thread=0x40a5000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/safepoint.cpp:715
#12 0x000000000237844d in ThreadStateTransition::transition_and_fence (thread=0x40a5000, from=_thread_blocked, to=_thread_in_vm) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/interfaceSupport.hpp:198
#13 ThreadStateTransition::trans_and_fence (this=<synthetic pointer>, from=_thread_blocked, to=_thread_in_vm) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/interfaceSupport.hpp:246
#14 ThreadBlockInVM::~ThreadBlockInVM (this=<synthetic pointer>) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/interfaceSupport.hpp:328
#15 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:1144
#16 0x0000000001fe3864 in CompileQueue::get (this=this@entry=0x40a4dc0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/compiler/compileBroker.hpp:198
#17 0x0000000001fe8102 in CompileBroker::compiler_thread_loop () at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/compiler/compileBroker.cpp:1574
#18 0x00000000024f4ef1 in JavaThread::thread_main_inner (this=0x40a5000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/thread.hpp:1019
#19 0x00000000023ab8f2 in java_start (thread=0x40a5000) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:948
#20 0x0000000001145a88 in entry_point (self=0x40a6e70, start_routine=0x23ab740 <java_start(Thread*)>, arg=0x40a5000) at ./htl/pt-create.c:74
#21 0x0000000000000000 in ??? ()

Thread 7 (Thread 817.7):
#0  0x00000000010a9d9b in __GI__hurd_intr_rpc_mach_msg (msg=msg@entry=0x3bf7a20, 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  0x000000000114c08c in __sem_timedwait_internal (sem=0x2791680 <sig_sem>, clock_id=0, timeout=0x0) at ../sysdeps/htl/sem-timedwait.c:79
#3  0x00000000023ab2b5 in check_pending_signals (wait=wait@entry=true) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:2735
#4  0x00000000023aeb4a in os::signal_wait () at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:2759
#5  0x00000000023a7205 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  0x00000000023ab8f2 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=0x23ab740 <java_start(Thread*)>, arg=0x40a2800) at ./htl/pt-create.c:74
#9  0x0000000000000000 in ??? ()

Thread 6 (Thread 817.6):
#0  0x000000000108732c in __GI___mach_msg_trap () at /part4/debian/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2
#1  0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x3af6540, option=option@entry=1282, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=38, timeout=100, notify=0) at ./mach/msg.c:111
#2  0x000000000114bc0b in __GI___pthread_timedblock (thread=thread@entry=0x4077560, abstime=abstime@entry=0x3af6650, clock_id=clock_id@entry=1) at ../sysdeps/mach/htl/pt-timedblock.c:62
#3  0x0000000001145061 in __pthread_cond_timedwait_internal (cond=0x4077048, mutex=<optimized out>, clockid=<optimized out>, abstime=<optimized out>) at ../sysdeps/htl/pt-cond-timedwait.c:164
#4  0x00000000023b37a8 in os::Linux::safe_cond_timedwait (_cond=0x4077048, _mutex=<optimized out>, _abstime=0x3af6650) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5321
#5  os::PlatformEvent::park (this=this@entry=0x4077000, millis=millis@entry=100) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:6050
#6  0x0000000002377427 in ParkCommon (timo=0, ev=0x4077000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:428
#7  ParkCommon (timo=0, ev=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:420
#8  Monitor::ILock (this=this@entry=0x4004ad0, Self=Self@entry=0x4075800) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:495
#9  0x0000000002377c16 in Monitor::lock_without_safepoint_check (this=0x4004ad0, Self=0x4075800) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:963
#10 Monitor::lock_without_safepoint_check (this=0x4004ad0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:969
#11 0x000000000244cc87 in SafepointSynchronize::block (thread=0x4075800) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/safepoint.cpp:715
#12 0x000000000239ff29 in ThreadStateTransition::transition_and_fence (from=_thread_blocked, to=_thread_in_vm, thread=0x4075800) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/interfaceSupport.hpp:198
#13 ThreadStateTransition::trans_and_fence (this=<synthetic pointer>, from=_thread_blocked, to=_thread_in_vm) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/interfaceSupport.hpp:246
#14 ThreadBlockInVM::~ThreadBlockInVM (this=<synthetic pointer>) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/interfaceSupport.hpp:328
#15 ObjectMonitor::wait (this=0x10003658, millis=0, interruptible=true, __the_thread__=0x4075800) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/objectMonitor.cpp:1561
#16 0x00000000024bcc6f in ObjectSynchronizer::wait (obj=..., millis=0, __the_thread__=0x4075800) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/synchronizer.cpp:387
#17 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
#18 0x00000000080148d8 in ??? ()
#19 0x0000000003af6a10 in ??? ()
#20 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
#21 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
#22 0x0000000008006170 in ??? ()
#23 0x0000000000000000 in ??? ()

Thread 5 (Thread 817.5):
#0  0x000000000108732c in __GI___mach_msg_trap () at /part4/debian/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2
#1  0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x39f65b0, option=option@entry=1282, send_size=send_size@entry=0, rcv_size=rcv_size@entry=32, rcv_name=3, timeout=100, notify=0) at ./mach/msg.c:111
#2  0x000000000114bc0b in __GI___pthread_timedblock (thread=thread@entry=0x40749c0, abstime=abstime@entry=0x39f66c0, clock_id=clock_id@entry=1) at ../sysdeps/mach/htl/pt-timedblock.c:62
#3  0x0000000001145061 in __pthread_cond_timedwait_internal (cond=0x4074548, mutex=<optimized out>, clockid=<optimized out>, abstime=<optimized out>) at ../sysdeps/htl/pt-cond-timedwait.c:164
#4  0x00000000023b37a8 in os::Linux::safe_cond_timedwait (_cond=0x4074548, _mutex=<optimized out>, _abstime=0x39f66c0) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:5321
#5  os::PlatformEvent::park (this=this@entry=0x4074500, millis=millis@entry=100) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:6050
#6  0x0000000002377427 in ParkCommon (timo=0, ev=0x4074500) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:428
#7  ParkCommon (timo=0, ev=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:420
#8  Monitor::ILock (this=this@entry=0x4004ad0, Self=Self@entry=0x4073000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:495
#9  0x0000000002377c16 in Monitor::lock_without_safepoint_check (this=0x4004ad0, Self=0x4073000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:963
#10 Monitor::lock_without_safepoint_check (this=0x4004ad0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/mutex.cpp:969
#11 0x000000000244cc87 in SafepointSynchronize::block (thread=0x4073000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/safepoint.cpp:715
#12 0x000000000239ff29 in ThreadStateTransition::transition_and_fence (from=_thread_blocked, to=_thread_in_vm, thread=0x4073000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/interfaceSupport.hpp:198
#13 ThreadStateTransition::trans_and_fence (this=<synthetic pointer>, from=_thread_blocked, to=_thread_in_vm) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/interfaceSupport.hpp:246
#14 ThreadBlockInVM::~ThreadBlockInVM (this=<synthetic pointer>) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/interfaceSupport.hpp:328
#15 ObjectMonitor::wait (this=0x10002108, millis=0, interruptible=true, __the_thread__=0x4073000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/objectMonitor.cpp:1561
#16 0x00000000024bcc6f in ObjectSynchronizer::wait (obj=..., millis=0, __the_thread__=0x4073000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/synchronizer.cpp:387
#17 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
#18 0x00000000080148d8 in ??? ()
#19 0x00000000039f6b28 in ??? ()
#20 0x0000000004073000 in ??? ()
#21 0x00000000039f6a80 in ??? ()
#22 0x00000000021b47b3 in InterpreterRuntime::monitorexit (thread=0x7f5a02878, elem=0x0) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/basicLock.hpp:67
#23 0x0000000008006170 in ??? ()
#24 0x0000000000000000 in ??? ()

Thread 4 (Thread 817.4):
#0  0x000000000108739c in __GI___swtch () at /part4/debian/glibc-2.43/build-tree/hurd-amd64-libc/mach/swtch.S:2
#1  0x00000000011bdb59 in __GI___sched_yield () at ../sysdeps/mach/sched_yield.c:27
#2  0x000000000244b97f in SafepointSynchronize::begin () at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/safepoint.cpp:339
#3  0x0000000002552210 in VMThread::loop (this=<optimized out>) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/vmThread.cpp:513
#4  0x00000000025524bb in VMThread::run (this=0x406e000) at /part4/git/icedtea/openjdk-boot/hotspot/src/share/vm/runtime/vmThread.cpp:288
#5  0x00000000023ab8f2 in java_start (thread=0x406e000) at /part4/git/icedtea/openjdk-boot/hotspot/src/os/linux/vm/os_linux.cpp:948
#6  0x0000000001145a88 in entry_point (self=0x406f2f0, start_routine=0x23ab740 <java_start(Thread*)>, arg=0x406e000) at ./htl/pt-create.c:74
#7  0x0000000000000000 in ??? ()

Thread 3 (Thread 817.3):
Python Exception <class 'gdb.error'>: Couldn't recognize signal trampoline.
#0  <signal handler called>

Thread 2 (Thread 817.2):
#0  0x000000000108732c in __GI___mach_msg_trap () at /part4/debian/glibc-2.43/build-tree/hurd-amd64-libc/mach/mach_msg_trap.S:2
#1  0x0000000001087a0d in __GI___mach_msg (msg=msg@entry=0x1b7cf30, 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 817.1):
#0  0x000000000108732c in __GI___mach_msg_trap () at /part4/debian/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=0x200000019020, mutex=mutex@entry=0x200000019000, 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=0x200000019020, mutex=mutex@entry=0x200000019000, 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=0x200000005020 "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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.