Kustaa Nyholm
unread,May 14, 2012, 4:10:11 AM5/14/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jna-...@googlegroups.com
Hi,
we've been trying to port my PureJavaComm to FreeBSD.
We've got it running on i32 Intel but if fails on AMD64.
On i32 we tested with three JVMs:
java -version
java version "1.6.0_07"
Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02)
Diablo Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
java -versionjava version "1.6.0_03-p4"
Java(TM) SE Runtime Environment (build
1.6.0_03-p4-root_20_mar_2012_23_51-b00)
Java HotSpot(TM) Client VM (build
1.6.0_03-p4-root_20_mar_2012_23_51-b00, mixed mode)
java -versionopenjdk version "1.6.0_30"
OpenJDK Runtime Environment (build 1.6.0_30-b24)
OpenJDK Client VM (build 20.0-b12, mixed mode)
The first two works always but with the OpenJDK we get random
crashes. I'm not much worried about that, must be a bug in OpenJDK, right?
Or is there something we could be doing wrong with JNA so that
it works with one JVM but not with another in the same architecure?
However, we have not been able to get this to work with FreeBSD on AMD64.
The code is too long to show here (though it is available from github if
someone wants to have a look), but basically it makes a series of tests
that open and close a serial port, configure it differently and sends/
receives
bytes using one or two threads to do the job.
Depending on the order of test we can run all test successfully.
However one test, if not run as the last test, will cause the next test
to hang.
The hang always happens in a call to the OS'tcgetattr()' function. Now
how can 'tcgetattr() hang?
We also get frequent JVM crashes.
Any thoughts appreciated as we really do not know how to proceed with
the debugging....
We did manage to grab a gdb stack trace of the hang situation
but don't know what to make of it, I'll include it here.
Oh, ah, this is with JNA 3.2.7 and java -version
openjdk version "1.6.0_30-debug"
OpenJDK Runtime Environment (build 1.6.0_30-debug-b24)
OpenJDK 64-Bit Server VM (build 20.0-b12-jvmg, mixed mode)
br Kusti
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Attaching to program: /usr/local/openjdk6/bin/java, process 48832
Reading symbols from /lib/libz.so.5...done.
Loaded symbols for /lib/libz.so.5
Reading symbols from /lib/libthr.so.3...done.
[New Thread 802465ac0 (LWP 101008/java)]
[New Thread 802464e80 (LWP 100999/java)]
[New Thread 802465040 (LWP 100984/java)]
[New Thread 802465200 (LWP 100936/java)]
[New Thread 8024653c0 (LWP 100882/java)]
[New Thread 802465580 (LWP 100842/java)]
[New Thread 802465740 (LWP 100837/java)]
[New Thread 802465900 (LWP 100588/java)]
[New Thread 800c0ae40 (LWP 100410/java)]
[New Thread 800c041c0 (LWP 100634/initial thread)]
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from
/usr/local/openjdk6/jre/lib/amd64/server/libjvm.so...done.
Loaded symbols for /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /usr/local/openjdk6/jre/lib/amd64/libverify.so...done.
Loaded symbols for /usr/local/openjdk6/jre/lib/amd64/libverify.so
Reading symbols from /usr/local/openjdk6/jre/lib/amd64/libjava.so...done.
Loaded symbols for /usr/local/openjdk6/jre/lib/amd64/libjava.so
Reading symbols from /usr/local/openjdk6/jre/lib/amd64/libzip.so...done.
Loaded symbols for /usr/local/openjdk6/jre/lib/amd64/libzip.so
Reading symbols from /var/tmp/jna7175363690046903331.tmp...done.
Loaded symbols for /var/tmp/jna7175363690046903331.tmp
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
[Switching to Thread 802465ac0 (LWP 101008/java)]
0x00000008007792fc in __error () from /lib/libthr.so.3
(gdb) thread apply all bt
Thread 10 (Thread 800c041c0 (LWP 100634/initial thread)):
#0 0x00000008007792fc in __error () from /lib/libthr.so.3
#1 0x000000080077617a in pthread_kill () from /lib/libthr.so.3
#2 0x000000000040a245 in ContinueInNewThread0 (continuation=0x404d50
<JavaMain>,
stack_size=1048576, args=0x7fffffffdd90) at
../../../../src/solaris/bin/java_md.c:1816
#3 0x00000000004085b6 in ContinueInNewThread (ifn=0x7fffffffe630, argc=1,
argv=0x800c0b0e8,
jarfile=0x0, classname=0x7fffffffeab7
"purejavacomm.testsuite.TestSuite", ret=0)
at ../../../../src/share/bin/java.c:2000
#4 0x0000000000404d44 in main (argc=1, argv=0x800c0b0e8) at
../../../../src/share/bin/java.c:353
Thread 9 (Thread 800c0ae40 (LWP 100410/java)):
#0 0x000000082165ba30 in throwByName () from
/var/tmp/jna7175363690046903331.tmp
#1 0x000000082165ee80 in dispatch () from
/var/tmp/jna7175363690046903331.tmp
#2 0x000000081c65a920 in ?? ()
#3 0x00007fffffbfe228 in ?? ()
#4 0x00007fffffbfe2c8 in ?? ()
#5 0x00007fffffbfe318 in ?? ()
#6 0x0000000802843b53 in ?? ()
#7 0x0000000000000000 in ?? ()
#8 0x0000000000000000 in ?? ()
#9 0x0000000000000000 in ?? ()
#10 0x000000081c274718 in ?? ()
#11 0x0000000000000000 in ?? ()
#12 0x0000000805a30db0 in ?? ()
#13 0x0000000805a2fe88 in ?? ()
#14 0x00007fffffbfe2d8 in ?? ()
#15 0x000000081c65a172 in ?? ()
#16 0x00007fffffbfe338 in ?? ()
#17 0x000000081c669648 in ?? ()
#18 0x000000081c786410 in ?? ()
#19 0x000000081c65a200 in ?? ()
#20 0x00007fffffbfe2c8 in ?? ()
#21 0x00007fffffbfe338 in ?? ()
#22 0x00007fffffbfe380 in ?? ()
#23 0x00000008028439fa in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x0000000805a31130 in ?? ()
#26 0x0000000805a2fe88 in ?? ()
#27 0x00007fffffbfe340 in ?? ()
#28 0x000000081c65dcc8 in ?? ()
#29 0x00007fffffbfe398 in ?? ()
#30 0x000000081c669648 in ?? ()
#31 0x0000000000000000 in ?? ()
#32 0x000000081c65dd18 in ?? ()
#33 0x00007fffffbfe338 in ?? ()
#34 0x00007fffffbfe398 in ?? ()
#35 0x00007fffffbfe3e0 in ?? ()
#36 0x00000008028439fa in ?? ()
#37 0x0000000000000000 in ?? ()
#38 0x0000000805a2fe88 in ?? ()
#39 0x00007fffffbfe3a0 in ?? ()
#40 0x000000081c70c7c0 in ?? ()
#41 0x00007fffffbfe478 in ?? ()
#42 0x000000081c714138 in ?? ()
#43 0x000000081c76a780 in ?? ()
#44 0x000000081c70c9e0 in ?? ()
#45 0x00007fffffbfe398 in ?? ()
#46 0x00007fffffbfe460 in ?? ()
#47 0x00007fffffbfe4e0 in ?? ()
#48 0x0000000802843b53 in ?? ()
#49 0x0000000000000000 in ?? ()
#50 0x0000000000000000 in ?? ()
#51 0x0000000000000000 in ?? ()
#52 0x0000000000000000 in ?? ()
#53 0x0000000000000000 in ?? ()
#54 0x0000000000000000 in ?? ()
#55 0xdeaddeaf00000001 in ?? ()
#56 0x0000000805a31110 in ?? ()
#57 0x0000000000000000 in ?? ()
#58 0x0000000000000000 in ?? ()
#59 0x0000000000000000 in ?? ()
#60 0x0000000000000000 in ?? ()
#61 0x0000000000000000 in ?? ()
#62 0x0000000805a30a80 in ?? ()
#63 0x0000000000000000 in ?? ()
#64 0x0000000805a30a68 in ?? ()
#65 0x0000000000000000 in ?? ()
#66 0x0000000000000000 in ?? ()
#67 0x000000081c274718 in ?? ()
#68 0x000000080d1218a8 in ?? ()
#69 0x0000000000000079 in ?? ()
#70 0x0000000000000000 in ?? ()
#71 0x00007fffffbfe490 in ?? ()
#72 0x000000081c6b406d in ?? ()
#73 0x00007fffffbfe528 in ?? ()
#74 0x000000081c6b4ad0 in ?? ()
#75 0x000000081c782c88 in ?? ()
#76 0x000000081c6b40f0 in ?? ()
#77 0x00007fffffbfe470 in ?? ()
#78 0x00007fffffbfe510 in ?? ()
#79 0x00007fffffbfe570 in ?? ()
#80 0x000000080284402d in ?? ()
#81 0x0000000000000000 in ?? ()
#82 0x0000000000000000 in ?? ()
#83 0x000000080d0f0228 in ?? ()
#84 0x000000080d117788 in ?? ()
#85 0x0000000805a30a68 in ?? ()
#86 0x000000080d0f4338 in ?? ()
#87 0x000000080d0f01a0 in ?? ()
#88 0x000000080d0f0178 in ?? ()
#89 0x00007fffffbfe530 in ?? ()
#90 0x000000081c6e6d37 in ?? ()
#91 0x00007fffffbfe598 in ?? ()
#92 0x000000081c6e85c0 in ?? ()
#93 0x0000000000000000 in ?? ()
#94 0x000000081c6e6d50 in ?? ()
#95 0x00007fffffbfe510 in ?? ()
#96 0x00007fffffbfe588 in ?? ()
#97 0x00007fffffbfe5e0 in ?? ()
#98 0x0000000802843fe8 in ?? ()
#99 0x0000000000000000 in ?? ()
#100 0x0000000805a2fe88 in ?? ()
#101 0x0000000000000009 in ?? ()
#102 0x000000080d0f01a0 in ?? ()
#103 0x00007fffffbfe5a0 in ?? ()
#104 0x000000081c6ad52d in ?? ()
#105 0x00007fffffbfe610 in ?? ()
#106 0x000000081c6af6b0 in ?? ()
#107 0x0000000000000000 in ?? ()
#108 0x000000081c6ad548 in ?? ()
#109 0x00007fffffbfe588 in ?? ()
#110 0x00007fffffbfe600 in ?? ()
#111 0x00007fffffbfe658 in ?? ()
#112 0x0000000802843fe8 in ?? ()
#113 0x0000000000000000 in ?? ()
#114 0x0000000805a2fe88 in ?? ()
#115 0x0000000805a2a6a8 in ?? ()
#116 0x0000000000000009 in ?? ()
#117 0x000000080d0f02a8 in ?? ()
#118 0x00007fffffbfe618 in ?? ()
#119 0x000000081c6a3ef3 in ?? ()
#120 0x00007fffffbfe678 in ?? ()
#121 0x000000081c6a7758 in ?? ()
#122 0x0000000000000000 in ?? ()
#123 0x000000081c6a3f38 in ?? ()
#124 0x00007fffffbfe600 in ?? ()
#125 0x00007fffffbfe670 in ?? ()
#126 0x00007fffffbfe6c8 in ?? ()
#127 0x0000000802843b0e in ?? ()
#128 0x0000000000000000 in ?? ()
#129 0x0000000805a2a6a8 in ?? ()
#130 0x0000000000000009 in ?? ()
#131 0x0000000805a2a640 in ?? ()
#132 0x00007fffffbfe688 in ?? ()
#133 0x000000081c68d877 in ?? ()
#134 0x00007fffffbfe710 in ?? ()
#135 0x000000081c71e228 in ?? ()
#136 0x0000000000000000 in ?? ()
#137 0x000000081c68d990 in ?? ()
#138 0x00007fffffbfe670 in ?? ()
#139 0x00007fffffbfe700 in ?? ()
#140 0x00007fffffbfe770 in ?? ()
#141 0x00000008028439fa in ?? ()
#142 0x0000000000000000 in ?? ()
#143 0x0000000000000002 in ?? ()
#144 0x00000137421176c2 in ?? ()
#145 0x0000000000000000 in ?? ()
#146 0x0000000000000064 in ?? ()
#147 0x00000000000003e8 in ?? ()
#148 0x000000080d0f4960 in ?? ()
#149 0x0000000805a2a640 in ?? ()
#150 0x0000000805a2a640 in ?? ()
#151 0x0000000000000079 in ?? ()
#152 0x000000080d0f48c0 in ?? ()
#153 0x00007fffffbfe720 in ?? ()
#154 0x000000081c6831bf in ?? ()
#155 0x00007fffffbfe7c8 in ?? ()
#156 0x000000081c691d10 in ?? ()
#157 0x0000000000000000 in ?? ()
#158 0x000000081c683210 in ?? ()
#159 0x00007fffffbfe700 in ?? ()
#160 0x00007fffffbfe7b8 in ?? ()
#161 0x00007fffffbfe810 in ?? ()
#162 0x0000000802843b53 in ?? ()
#163 0x0000000000000000 in ?? ()
#164 0x0000000000000000 in ?? ()
#165 0x0000000000000000 in ?? ()
#166 0x0000000000000000 in ?? ()
#167 0x00000137421176c2 in ?? ()
#168 0x0000000000000000 in ?? ()
#169 0x000000080d0f48c0 in ?? ()
#170 0x00000000000003e8 in ?? ()
#171 0x000000081c71c110 in ?? ()
#172 0x0000000805a2a5b0 in ?? ()
#173 0x00007fffffbfe7d0 in ?? ()
#174 0x000000081c67fed5 in ?? ()
#175 0x00007fffffbfe820 in ?? ()
#176 0x000000081c681220 in ?? ()
#177 0x0000000000000000 in ?? ()
#178 0x000000081c67ff20 in ?? ()
#179 0x00007fffffbfe7b8 in ?? ()
#180 0x00007fffffbfe828 in ?? ()
#181 0x00007fffffbfe868 in ?? ()
#182 0x00000008028439fa in ?? ()
#183 0x0000000805a2a5b0 in ?? ()
#184 0x00007fffffbfe828 in ?? ()
#185 0x000000081c793c05 in ?? ()
#186 0x00007fffffbfe898 in ?? ()
#187 0x000000081c794008 in ?? ()
#188 0x0000000000000000 in ?? ()
#189 0x000000081c793cd0 in ?? ()
#190 0x00007fffffbfe828 in ?? ()
#191 0x00007fffffbfe8a0 in ?? ()
#192 0x00007fffffbfe8e0 in ?? ()
#193 0x00000008028439fa in ?? ()
#194 0x0000000000000000 in ?? ()
#195 0x0000000000000000 in ?? ()
#196 0x0000000000000000 in ?? ()
#197 0x0000000000000000 in ?? ()
#198 0x0000000000000000 in ?? ()
#199 0x00007fffffbfe8a0 in ?? ()
#200 0x000000081c4d7d96 in ?? ()
#201 0x00007fffffbfe8f8 in ?? ()
#202 0x000000081c4d86d0 in ?? ()
#203 0x0000000000000000 in ?? ()
#204 0x000000081c4d7dd0 in ?? ()
#205 0x00007fffffbfe8a0 in ?? ()
#206 0x00007fffffbfe8f8 in ?? ()
#207 0x00007fffffbfe960 in ?? ()
#208 0x000000080283e5c2 in ?? ()
#209 0x0000000000000000 in ?? ()
#210 0x000000080d0f06d8 in ?? ()
#211 0x00007fff00001fa0 in ?? ()
#212 0x0000000000000000 in ?? ()
#213 0x00007fffffffdd90 in ?? ()
#214 0x00007fffffbfeb80 in ?? ()
#215 0x0000000000000001 in ?? ()
#216 0x000000080283e4b4 in ?? ()
#217 0x00007fffffbfe9b0 in ?? ()
#218 0x00007fffffbfed88 in ?? ()
#219 0x00007fff0000000a in ?? ()
#220 0x000000081c4d7dd0 in ?? ()
#221 0x000000080285b560 in ?? ()
#222 0x00007fffffbfeb80 in ?? ()
#223 0x00007fffffbfeab0 in ?? ()
#224 0x00000008014db061 in JavaCalls::call_helper (result=)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/javaCalls.cpp:41
5
Thread 8 (Thread 802465900 (LWP 100588/java)):
#0 0x00000008007792fc in __error () from /lib/libthr.so.3
#1 0x0000000800777461 in pthread_cond_signal () from /lib/libthr.so.3
#2 0x00000008016fc505 in os::Bsd::safe_cond_timedwait (_cond=0x802509d38,
_mutex=0x802509d30,
_abstime=0x7fffffafd920) at
/usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:4444
#3 0x00000008016fcaa1 in os::PlatformEvent::park (this=0x802509d00,
millis=1000)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:5212
#4 0x00000008016c1f94 in ParkCommon (ev=0x802509d00, timo=1000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/mutex.cpp:426
#5 0x00000008016c2a13 in Monitor::IWait (this=0x80240d518,
Self=0x82187e000, timo=1000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/mutex.cpp:788
#6 0x00000008016c2f3b in Monitor::wait (this=0x80240d518,
no_safepoint_check=true, timeout=1000,
as_suspend_equivalent=false)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/mutex.cpp:1097
#7 0x00000008018b9c96 in VMThread::loop (this=0x82187e000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/vmThread.cpp:411
#8 0x00000008018ba3db in VMThread::run (this=0x82187e000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/vmThread.cpp:276
#9 0x0000000801701a67 in java_start (thread=0x82187e000)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:938
#10 0x000000080076f4f1 in pthread_getprio () from /lib/libthr.so.3
#11 0x0000000000000000 in ?? ()
Thread 7 (Thread 802465740 (LWP 100837/java)):
#0 0x00000008007792fc in __error () from /lib/libthr.so.3
#1 0x0000000800777461 in pthread_cond_signal () from /lib/libthr.so.3
#2 0x00000008016fa7d7 in os::PlatformEvent::park (this=0x802509900)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:5157
#3 0x00000008016eda8a in ObjectMonitor::wait (this=0x821a1d310, millis=0,
interruptible=true,
__the_thread__=0x802504000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/objectMonitor.cp
p:1477
#4 0x000000080180bb91 in ObjectSynchronizer::wait (obj={_handle =
0x802456768}, millis=0,
__the_thread__=0x802504000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/synchronizer.cpp
:364
#5 0x00000008015689b7 in JVM_MonitorWait (env=0x802504200,
handle=0x7fffff9fc8f8, ms=0)
at /usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims/jvm.cpp:522
#6 0x000000080285f95b in ?? ()
#7 0x00007fffff9fc948 in ?? ()
#8 0x00007fffff9fc908 in ?? ()
#9 0x0000000802456768 in ?? ()
#10 0x00007fffff9fc888 in ?? ()
#11 0x0000000000000000 in ?? ()
#12 0x00007fffff9fc8f8 in ?? ()
#13 0x000000081c2ff3d8 in ?? ()
#14 0x0000000000000000 in ?? ()
#15 0x000000081c258898 in ?? ()
#16 0x0000000000000000 in ?? ()
#17 0x00007fffff9fc8e8 in ?? ()
#18 0x00007fffff9fc940 in ?? ()
#19 0x00000008028439fa in ?? ()
#20 0x0000000000000000 in ?? ()
#21 0x0000000802857138 in ?? ()
#22 0x0000000000000000 in ?? ()
#23 0x0000000802504000 in ?? ()
#24 0x000000080d0f0100 in ?? ()
#25 0x00007fffff9fc900 in ?? ()
#26 0x000000081c258aa2 in ?? ()
#27 0x00007fffff9fc950 in ?? ()
#28 0x000000081c2ff3d8 in ?? ()
#29 0x0000000000000000 in ?? ()
#30 0x000000081c258ac0 in ?? ()
#31 0x00007fffff9fc8e8 in ?? ()
#32 0x00007fffff9fc950 in ?? ()
#33 0x00007fffff9fc9a8 in ?? ()
#34 0x00000008028439fa in ?? ()
#35 0x000000080d0f0100 in ?? ()
#36 0x0000000000000003 in ?? ()
#37 0x000000080d0f0100 in ?? ()
#38 0x00007fffff9fc958 in ?? ()
#39 0x000000081c34ddbe in ?? ()
#40 0x00007fffff9fc9d8 in ?? ()
#41 0x000000081c34e298 in ?? ()
#42 0x000000081c786e70 in ?? ()
#43 0x000000081c34de60 in ?? ()
#44 0x00007fffff9fc950 in ?? ()
#45 0x00007fffff9fc9d8 in ?? ()
#46 0x00007fffff9fca40 in ?? ()
#47 0x000000080283e5c2 in ?? ()
#48 0x0000000000000000 in ?? ()
#49 0x0000000805f10080 in ?? ()
#50 0x000000080d0f0100 in ?? ()
#51 0x0000000805f10080 in ?? ()
#52 0x000000080d0f0650 in ?? ()
#53 0x00007fff00001fa0 in ?? ()
#54 0x0000000000000000 in ?? ()
#55 0x0000000802504000 in ?? ()
#56 0x00007fffff9fcd30 in ?? ()
#57 0x0000000000000001 in ?? ()
#58 0x000000080283e4b4 in ?? ()
#59 0x00007fffff9fca90 in ?? ()
#60 0x00007fffff9fce08 in ?? ()
#61 0x00007fff0000000a in ?? ()
#62 0x000000081c34de60 in ?? ()
#63 0x000000080285b560 in ?? ()
#64 0x00007fffff9fcd30 in ?? ()
#65 0x00007fffff9fcb90 in ?? ()
#66 0x00000008014db061 in JavaCalls::call_helper (result=0x7fffff9fc8f8,
m=0x0, args=0x800000400,
__the_thread__=0x8006b1e7a)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/javaCalls.cpp:41
5
Thread 6 (Thread 802465580 (LWP 100842/java)):
#0 0x00000008007792fc in __error () from /lib/libthr.so.3
#1 0x0000000800777461 in pthread_cond_signal () from /lib/libthr.so.3
#2 0x00000008016fa7d7 in os::PlatformEvent::park (this=0x802509100)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:5157
#3 0x00000008016eda8a in ObjectMonitor::wait (this=0x821a1de38, millis=0,
interruptible=true,
__the_thread__=0x802503000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/objectMonitor.cp
p:1477
#4 0x000000080180bb91 in ObjectSynchronizer::wait (obj={_handle =
0x802455d68}, millis=0,
__the_thread__=0x802503000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/synchronizer.cpp
:364
#5 0x00000008015689b7 in JVM_MonitorWait (env=0x802503200,
handle=0x7fffff8fb810, ms=0)
at /usr/ports/java/openjdk6/work/hotspot/src/share/vm/prims/jvm.cpp:522
#6 0x000000080285f95b in ?? ()
#7 0x00007fffff8fb818 in ?? ()
#8 0x0000000802879c8c in ?? ()
#9 0x0000000802842dd0 in ?? ()
#10 0x0000000800000000 in ?? ()
#11 0x00007fffff8fb7a0 in ?? ()
#12 0x0000000000000000 in ?? ()
#13 0x00007fffff8fb810 in ?? ()
#14 0x000000081c2ff3d8 in ?? ()
#15 0x0000000000000000 in ?? ()
#16 0x000000081c258898 in ?? ()
#17 0x0000000000000000 in ?? ()
#18 0x00007fffff8fb800 in ?? ()
#19 0x00007fffff8fb868 in ?? ()
#20 0x00000008028439fa in ?? ()
#21 0x0000000000000000 in ?? ()
#22 0x0000000802857138 in ?? ()
#23 0x0000000000000000 in ?? ()
#24 0x00000000000000c6 in ?? ()
#25 0x000000080d0f0620 in ?? ()
#26 0x0000000000000003 in ?? ()
#27 0x000000080d0f0620 in ?? ()
#28 0x00007fffff8fb818 in ?? ()
#29 0x000000081c312bb4 in ?? ()
#30 0x00007fffff8fb8a0 in ?? ()
#31 0x000000081c313178 in ?? ()
#32 0x000000081c787540 in ?? ()
#33 0x000000081c312c18 in ?? ()
#34 0x00007fffff8fb800 in ?? ()
#35 0x00007fffff8fb890 in ?? ()
#36 0x00007fffff8fb8e8 in ?? ()
#37 0x0000000802843b53 in ?? ()
#38 0x0000000000000000 in ?? ()
#39 0x0000000000000000 in ?? ()
#40 0x000000080d0f0620 in ?? ()
#41 0x0000000000000000 in ?? ()
#42 0x0000000000000000 in ?? ()
#43 0x000000080d0f0630 in ?? ()
#44 0x00007fffff8fb8a8 in ?? ()
#45 0x000000081c312cda in ?? ()
#46 0x00007fffff8fb8f8 in ?? ()
#47 0x000000081c313178 in ?? ()
#48 0x000000081c787418 in ?? ()
#49 0x000000081c312cf8 in ?? ()
#50 0x00007fffff8fb890 in ?? ()
#51 0x00007fffff8fb8f8 in ?? ()
#52 0x00007fffff8fb940 in ?? ()
#53 0x0000000802843b53 in ?? ()
#54 0x000000080d0f0630 in ?? ()
#55 0x00007fffff8fb900 in ?? ()
#56 0x000000081c34edd3 in ?? ()
#57 0x00007fffff8fb958 in ?? ()
#58 0x000000081c34f248 in ?? ()
#59 0x000000081c787250 in ?? ()
#60 0x000000081c34ee18 in ?? ()
#61 0x00007fffff8fb8f8 in ?? ()
#62 0x00007fffff8fb958 in ?? ()
#63 0x00007fffff8fb9c0 in ?? ()
#64 0x000000080283e5c2 in ?? ()
#65 0x0000000805f141d8 in ?? ()
#66 0x000000080d0f05b0 in ?? ()
#67 0x00007fff00001fa0 in ?? ()
#68 0x0000000000000000 in ?? ()
#69 0x0000000802503000 in ?? ()
#70 0x00007fffff8fbcb0 in ?? ()
#71 0x0000000000000001 in ?? ()
#72 0x000000080283e4b4 in ?? ()
#73 0x00007fffff8fba10 in ?? ()
#74 0x00007fffff8fbd88 in ?? ()
#75 0x00007fff0000000a in ?? ()
#76 0x000000081c34ee18 in ?? ()
#77 0x000000080285b560 in ?? ()
#78 0x00007fffff8fbcb0 in ?? ()
#79 0x00007fffff8fbb10 in ?? ()
#80 0x00000008014db061 in JavaCalls::call_helper (result=0x802503200,
m=0x7fffff8fb810, args=0x0,
__the_thread__=0x600000008)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/javaCalls.cpp:41
5
Thread 5 (Thread 8024653c0 (LWP 100882/java)):
#0 0x00000008007792fc in __error () from /lib/libthr.so.3
#1 0x000000080076eeb9 in sem_wait () from /lib/libthr.so.3
#2 0x00000008016fb0a5 in check_pending_signals (wait=true)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:2607
#3 0x00000008016fb0fe in os::signal_wait ()
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:2631
#4 0x00000008016f8ad0 in signal_thread_entry (thread=0x802502000,
__the_thread__=0x802502000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/os.cpp:228
#5 0x0000000801842c87 in JavaThread::thread_main_inner (this=0x802502000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/thread.cpp:1523
#6 0x0000000801845d5f in JavaThread::run (this=0x802502000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/thread.cpp:1507
#7 0x0000000801701a67 in java_start (thread=0x802502000)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:938
#8 0x000000080076f4f1 in pthread_getprio () from /lib/libthr.so.3
#9 0x0000000000000000 in ?? ()
Thread 4 (Thread 802465200 (LWP 100936/java)):
#0 0x00000008007792fc in __error () from /lib/libthr.so.3
#1 0x0000000800777461 in pthread_cond_signal () from /lib/libthr.so.3
#2 0x00000008016fa7d7 in os::PlatformEvent::park (this=0x80240bb00)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:5157
#3 0x00000008016c1f85 in ParkCommon (ev=0x80240bb00, timo=0)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/mutex.cpp:424
#4 0x00000008016c2a13 in Monitor::IWait (this=0x80240c558,
Self=0x82194c000, timo=0)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/mutex.cpp:788
#5 0x00000008016c2fd7 in Monitor::wait (this=0x80240c558,
no_safepoint_check=false, timeout=0,
as_suspend_equivalent=false)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/mutex.cpp:1112
#6 0x000000080130b3f1 in CompileQueue::get (this=0x8218560b8)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/compiler/compileBroker.c
pp:468
#7 0x000000080130c9be in CompileBroker::compiler_thread_loop ()
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/compiler/compileBroker.c
pp:1363
#8 0x000000080183f314 in compiler_thread_entry (thread=0x82194c000,
__the_thread__=0x82194c000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/thread.cpp:2933
#9 0x0000000801842c87 in JavaThread::thread_main_inner (this=0x82194c000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/thread.cpp:1523
#10 0x0000000801845d5f in JavaThread::run (this=0x82194c000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/thread.cpp:1507
#11 0x0000000801701a67 in java_start (thread=0x82194c000)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:938
#12 0x000000080076f4f1 in pthread_getprio () from /lib/libthr.so.3
#13 0x0000000000000000 in ?? ()
Thread 3 (Thread 802465040 (LWP 100984/java)):
#0 0x00000008007792fc in __error () from /lib/libthr.so.3
#1 0x0000000800777461 in pthread_cond_signal () from /lib/libthr.so.3
#2 0x00000008016fa7d7 in os::PlatformEvent::park (this=0x80240b300)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:5157
#3 0x00000008016c1f85 in ParkCommon (ev=0x80240b300, timo=0)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/mutex.cpp:424
#4 0x00000008016c2a13 in Monitor::IWait (this=0x80240c558,
Self=0x82194b000, timo=0)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/mutex.cpp:788
#5 0x00000008016c2fd7 in Monitor::wait (this=0x80240c558,
no_safepoint_check=false, timeout=0,
as_suspend_equivalent=false)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/mutex.cpp:1112
#6 0x000000080130b3f1 in CompileQueue::get (this=0x8218560b8)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/compiler/compileBroker.c
pp:468
#7 0x000000080130c9be in CompileBroker::compiler_thread_loop ()
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/compiler/compileBroker.c
pp:1363
#8 0x000000080183f314 in compiler_thread_entry (thread=0x82194b000,
__the_thread__=0x82194b000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/thread.cpp:2933
#9 0x0000000801842c87 in JavaThread::thread_main_inner (this=0x82194b000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/thread.cpp:1523
#10 0x0000000801845d5f in JavaThread::run (this=0x82194b000)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/thread.cpp:1507
#11 0x0000000801701a67 in java_start (thread=0x82194b000)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:938
#12 0x000000080076f4f1 in pthread_getprio () from /lib/libthr.so.3
#13 0x0000000000000000 in ?? ()
Thread 2 (Thread 802464e80 (LWP 100999/java)):
#0 0x00000008007792fc in __error () from /lib/libthr.so.3
#1 0x0000000800777461 in pthread_cond_signal () from /lib/libthr.so.3
#2 0x00000008016fa7d7 in os::PlatformEvent::park (this=0x80240ab00)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:5157
#3 0x00000008016c1f85 in ParkCommon (ev=0x80240ab00, timo=0)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/mutex.cpp:424
#4 0x00000008016c2a13 in Monitor::IWait (this=0x80240e4d8,
Self=0x802501800, timo=0)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/mutex.cpp:788
#5 0x00000008016c2f3b in Monitor::wait (this=0x80240e4d8,
no_safepoint_check=true, timeout=0,
as_suspend_equivalent=false)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/mutex.cpp:1097
#6 0x000000080164df45 in
LowMemoryDetector::low_memory_detector_thread_entry (jt=0x802501800,
__the_thread__=0x802501800)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/services/lowMemoryDetect
or.cpp:123
#7 0x0000000801842c87 in JavaThread::thread_main_inner (this=0x802501800)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/thread.cpp:1523
#8 0x0000000801845d5f in JavaThread::run (this=0x802501800)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/thread.cpp:1507
#9 0x0000000801701a67 in java_start (thread=0x802501800)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:938
#10 0x000000080076f4f1 in pthread_getprio () from /lib/libthr.so.3
#11 0x0000000000000000 in ?? ()
Thread 1 (Thread 802465ac0 (LWP 101008/java)):
#0 0x00000008007792fc in __error () from /lib/libthr.so.3
#1 0x0000000800777461 in pthread_cond_signal () from /lib/libthr.so.3
#2 0x00000008016fc505 in os::Bsd::safe_cond_timedwait (_cond=0x80240a538,
_mutex=0x80240a530,
_abstime=0x7fffff3f67d0) at
/usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:4444
#3 0x00000008016fcaa1 in os::PlatformEvent::park (this=0x80240a500,
millis=50)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:5212
#4 0x0000000801845eab in WatcherThread::run (this=0x82187d800)
at
/usr/ports/java/openjdk6/work/hotspot/src/share/vm/runtime/thread.cpp:1157
#5 0x0000000801701a67 in java_start (thread=0x82187d800)
at /usr/ports/java/openjdk6/work/hotspot/src/os/bsd/vm/os_bsd.cpp:938
#6 0x000000080076f4f1 in pthread_getprio () from /lib/libthr.so.3
#7 0x0000000000000000 in ?? ()
(gdb) q
The program is running. Quit anyway (and detach it)? (y or n) Detaching
from program: /usr/local/openjdk6/bin/java, process 48832