BZ #110: pthread_mutex_destroy fails when exiting Swing applications.
Status fields:
creation_ts: | 2008-09-18 13:04 |
component: | locks |
version: | default branch |
rep_platform: | All |
op_sys: | All |
bug_status: | RESOLVED |
resolution: | INVALID |
reporter: | twisti@complang.tuwien.ac.at |
This happens with a number of applications, like JEdit and the SPECjvm2008 installer:
$ java -jar SPECjvm2008_1_00_setup.jar
LOG: [0x0000000040149950] Mutex::~Mutex(): pthread_mutex_destroy failedLOG:
[0x000000004018b950] : Device or resource busy
We received a SIGSEGV and tried to handle it, but we were
LOG: [0x000000004018b950] unable to find a Java method at:
LOG: [0x000000004018b950]
LOG: [0x000000004018b950] PC=0x00002b57d9994966
LOG: [0x000000004018b950]
LOG: [0x000000004018b950] Dumping the current stacktrace:
at java.lang.Thread.isInterrupted(Z)Z(Native Method)
at java.lang.Thread.interrupted()Z(Thread.java:890)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.checkIn
terruptWhileWaiting(Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$Node;)I(Abstr
actQueuedSynchronizer.java:1940)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await()
V(AbstractQueuedSynchronizer.java:1979)
at java.util.concurrent.DelayQueue.take()Ljava/util/concurrent/Delayed;(DelayQue
ue.java:189)
at javax.swing.TimerQueue.run()V(TimerQueue.java:170)
at java.lang.Thread.run()V(Thread.java:636)
LOG: [0x000000004018b950] Exiting...
LOG: [0x0000000040149950] Backtrace (8 stack frames):
LOG: [0x0000000040149950] /home/cthalinger/projects/openjdk/j2sdk-image-
cacao/jre/lib/amd64/server/libjvm.so [0x2b57d99adddb]
LOG: [0x000000004018b950] LOG: [0x0000000040149950] /home/cthalinger/projects/openjdk
/j2sdk-image-cacao/jre/lib/amd64/server/libjvm.so [0x2b57d99ad85e]
LOG: [0x0000000040149950] /home/cthalinger/projects/openjdk/j2sdk-image-
cacao/jre/lib/amd64/server/libjvm.so [0x2b57d99adac8]
LOG: [0x0000000040149950] /home/cthalinger/projects/openjdk/j2sdk-image-
cacao/jre/lib/amd64/server/libjvm.so [0x2b57d99918a4]
LOG: [0x0000000040149950] /lib/libc.so.6(exit+0x9d) [0x2b57d96339ed]
LOG: [0x0000000040149950] /home/cthalinger/projects/openjdk/j2sdk-image-
cacao/jre/lib/amd64/server/libjvm.so [0x2b57d99c04b0]
LOG: [0x0000000040149950] /home/cthalinger/projects/openjdk/j2sdk-image-
cacao/jre/lib/amd64/server/libjvm.so(JVM_Halt+0x41) [0x2b57d9990dfc]
LOG: [0x0000000040149950] [0x2aaab249bb09]
Attachment id=55
date: | 2008-12-28 16:26 |
desc: | Simple testcase to trigger the problem |
type: | text/plain |
download: | MutexCrash.java |