作者 主題: [問題]請教一個 Java 的怪問題~~~~  (閱讀 3192 次)

0 會員 與 1 訪客 正在閱讀本文。

Lost-Angel

  • 懷疑的國中生
  • **
  • 文章數: 66
    • 檢視個人資料
[問題]請教一個 Java 的怪問題~~~~
« 於: 2004-08-26 11:35 »
請教一下各位前輩們,小生的系統是 RedHat Linux 9.0 使用 KDE 為桌面環境,並使用 Java 2 SDK 1.4.2 版開發了一支 Java 程式,但是很奇怪的問題是,當小生執行該程式的時候,有時候很正常,但是有時候卻會出現一個不知名的 exception 被直譯器捕捉到,該訊息有備存成一個 log 檔案,以下是其內容但是小生實在不懂這是什麼意思,可否煩請各位前輩指點一下不才的小生好嗎??? 非常的感謝各位~~~

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4D3E0660
Function=_XimProcSyncReply+0x20
Library=/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2

Current Java thread:
   at sun.awt.motif.MToolkit.run(Native Method)
   at java.lang.Thread.run(Thread.java:534)

Dynamic libraries:
08048000-0804e000 r-xp 00000000 03:08 2109973    /usr/java/j2sdk1.4.2/bin/java
0804e000-0804f000 rw-p 00005000 03:08 2109973    /usr/java/j2sdk1.4.2/bin/java
40000000-40015000 r-xp 00000000 03:06 30644      /lib/ld-2.3.2.so
40015000-40016000 rw-p 00015000 03:06 30644      /lib/ld-2.3.2.so
40016000-4001e000 r-xp 00000000 03:08 1308688    /usr/java/j2sdk1.4.2/jre/lib/i386/native_threads/libhpi.so
4001e000-4001f000 rw-p 00007000 03:08 1308688    /usr/java/j2sdk1.4.2/jre/lib/i386/native_threads/libhpi.so
4001f000-40023000 rw-s 00000000 03:06 30188      /tmp/hsperfdata_losang/1339
40023000-40026000 r--s 00000000 03:08 589260     /usr/java/j2sdk1.4.2/jre/lib/ext/dnsns.jar
4002a000-40035000 r-xp 00000000 03:06 73136      /lib/tls/libpthread-0.34.so
40035000-40036000 rw-p 0000a000 03:06 73136      /lib/tls/libpthread-0.34.so
40038000-4003b000 r-xp 00000000 03:06 29272      /lib/libdl-2.3.2.so
4003b000-4003c000 rw-p 00002000 03:06 29272      /lib/libdl-2.3.2.so
4003d000-40434000 r-xp 00000000 03:08 163827     /usr/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
40434000-4044f000 rw-p 003f6000 03:08 163827     /usr/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
40462000-40474000 r-xp 00000000 03:06 29276      /lib/libnsl-2.3.2.so
40474000-40475000 rw-p 00011000 03:06 29276      /lib/libnsl-2.3.2.so
40477000-40498000 r-xp 00000000 03:06 73134      /lib/tls/libm-2.3.2.so
40498000-40499000 rw-p 00020000 03:06 73134      /lib/tls/libm-2.3.2.so
40499000-404a9000 r-xp 00000000 03:08 1079692    /usr/java/j2sdk1.4.2/jre/lib/i386/libverify.so
404a9000-404ab000 rw-p 0000f000 03:08 1079692    /usr/java/j2sdk1.4.2/jre/lib/i386/libverify.so
404ac000-404b7000 r-xp 00000000 03:06 29282      /lib/libnss_files-2.3.2.so
404b7000-404b8000 rw-p 0000a000 03:06 29282      /lib/libnss_files-2.3.2.so
404b8000-404d8000 r-xp 00000000 03:08 1079678    /usr/java/j2sdk1.4.2/jre/lib/i386/libjava.so
404d8000-404da000 rw-p 0001f000 03:08 1079678    /usr/java/j2sdk1.4.2/jre/lib/i386/libjava.so
404da000-404ee000 r-xp 00000000 03:08 1079693    /usr/java/j2sdk1.4.2/jre/lib/i386/libzip.so
404ee000-404f1000 rw-p 00013000 03:08 1079693    /usr/java/j2sdk1.4.2/jre/lib/i386/libzip.so
404f1000-41e7c000 r--s 00000000 03:08 2894921    /usr/java/j2sdk1.4.2/jre/lib/rt.jar
41ec6000-41edc000 r--s 00000000 03:08 2894920    /usr/java/j2sdk1.4.2/jre/lib/sunrsasign.jar
41edc000-41fb7000 r--s 00000000 03:08 2894919    /usr/java/j2sdk1.4.2/jre/lib/jsse.jar
41fb7000-41fc8000 r--s 00000000 03:08 2894911    /usr/java/j2sdk1.4.2/jre/lib/jce.jar
41ff0000-41ffd000 r--s 00000000 03:08 589261     /usr/java/j2sdk1.4.2/jre/lib/ext/ldapsec.jar
42000000-42130000 r-xp 00000000 03:06 77774      /lib/tls/libc-2.3.2.so
42130000-42133000 rw-p 00130000 03:06 77774      /lib/tls/libc-2.3.2.so
42136000-4268f000 r--s 00000000 03:08 2894912    /usr/java/j2sdk1.4.2/jre/lib/charsets.jar
4c913000-4cb13000 r--p 00000000 03:08 196908     /usr/lib/locale/locale-archive
4cd17000-4cdd3000 r--s 00000000 03:08 589264     /usr/java/j2sdk1.4.2/jre/lib/ext/localedata.jar
4cdd3000-4cdef000 r--s 00000000 03:08 589263     /usr/java/j2sdk1.4.2/jre/lib/ext/sunjce_provider.jar
4cdef000-4d0ba000 r-xp 00000000 03:08 1079670    /usr/java/j2sdk1.4.2/jre/lib/i386/libawt.so
4d0ba000-4d0cf000 rw-p 002ca000 03:08 1079670    /usr/java/j2sdk1.4.2/jre/lib/i386/libawt.so
4d0f5000-4d148000 r-xp 00000000 03:08 1079687    /usr/java/j2sdk1.4.2/jre/lib/i386/libmlib_image.so
4d148000-4d149000 rw-p 00052000 03:08 1079687    /usr/java/j2sdk1.4.2/jre/lib/i386/libmlib_image.so
4d149000-4d14f000 r--s 00000000 03:08 3123430    /usr/lib/gconv/gconv-modules.cache
4d14f000-4d154000 r-xp 00000000 03:08 3499380    /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2
4d154000-4d155000 rw-p 00004000 03:08 3499380    /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2
4d15c000-4d163000 r-xp 00000000 03:08 2763617    /usr/X11R6/lib/libXp.so.6.2
4d163000-4d164000 rw-p 00006000 03:08 2763617    /usr/X11R6/lib/libXp.so.6.2
4d164000-4d1b2000 r-xp 00000000 03:08 2763625    /usr/X11R6/lib/libXt.so.6.0
4d1b2000-4d1b6000 rw-p 0004d000 03:08 2763625    /usr/X11R6/lib/libXt.so.6.0
4d1b6000-4d1c3000 r-xp 00000000 03:08 2763603    /usr/X11R6/lib/libXext.so.6.4
4d1c3000-4d1c4000 rw-p 0000c000 03:08 2763603    /usr/X11R6/lib/libXext.so.6.4
4d1c4000-4d1c8000 r-xp 00000000 03:08 2763627    /usr/X11R6/lib/libXtst.so.6.1
4d1c8000-4d1c9000 rw-p 00004000 03:08 2763627    /usr/X11R6/lib/libXtst.so.6.1
4d1c9000-4d2a5000 r-xp 00000000 03:08 2763593    /usr/X11R6/lib/libX11.so.6.2
4d2a5000-4d2a8000 rw-p 000db000 03:08 2763593    /usr/X11R6/lib/libX11.so.6.2
4d2a8000-4d2b0000 r-xp 00000000 03:08 2763591    /usr/X11R6/lib/libSM.so.6.0
4d2b0000-4d2b1000 rw-p 00007000 03:08 2763591    /usr/X11R6/lib/libSM.so.6.0
4d2b1000-4d2c5000 r-xp 00000000 03:08 2763587    /usr/X11R6/lib/libICE.so.6.3
4d2c5000-4d2c6000 rw-p 00013000 03:08 2763587    /usr/X11R6/lib/libICE.so.6.3
4d2c8000-4d382000 r-xp 00000000 03:08 1079674    /usr/java/j2sdk1.4.2/jre/lib/i386/libfontmanager.so
4d382000-4d39c000 rw-p 000b9000 03:08 1079674    /usr/java/j2sdk1.4.2/jre/lib/i386/libfontmanager.so
4d39d000-4d3b1000 r-xp 00000000 03:08 3123244    /usr/lib/gconv/BIG5.so
4d3b1000-4d3b2000 rw-p 00013000 03:08 3123244    /usr/lib/gconv/BIG5.so
4d3b2000-4d3bb000 r-xp 00000000 03:08 3499382    /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
4d3bb000-4d3bc000 rw-p 00008000 03:08 3499382    /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
4d3c5000-4d3cd000 r-xp 00000000 03:08 2763601    /usr/X11R6/lib/libXcursor.so.1.0
4d3cd000-4d3ce000 rw-p 00007000 03:08 2763601    /usr/X11R6/lib/libXcursor.so.1.0
4d3ce000-4d3d5000 r-xp 00000000 03:08 2763623    /usr/X11R6/lib/libXrender.so.1.2.2
4d3d5000-4d3d6000 rw-p 00006000 03:08 2763623    /usr/X11R6/lib/libXrender.so.1.2.2
4d3d6000-4d3f2000 r-xp 00000000 03:08 3499352    /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
4d3f2000-4d3f4000 rw-p 0001c000 03:08 3499352    /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2

Heap at VM Abort:
Heap
 def new generation   total 576K, used 319K [0x44710000, 0x447b0000, 0x44bf0000)
  eden space 512K,  58% used [0x44710000, 0x4475b510, 0x44790000)
  from space 64K,  28% used [0x447a0000, 0x447a4840, 0x447b0000)
  to   space 64K,   0% used [0x44790000, 0x44790000, 0x447a0000)
 tenured generation   total 1408K, used 535K [0x44bf0000, 0x44d50000, 0x48710000)
   the space 1408K,  38% used [0x44bf0000, 0x44c75da8, 0x44c75e00, 0x44d50000)
 compacting perm gen  total 4608K, used 4419K [0x48710000, 0x48b90000, 0x4c710000)
   the space 4608K,  95% used [0x48710000, 0x48b60fa0, 0x48b61000, 0x48b90000)

Local Time = Tue Aug 24 12:47:39 2004
Elapsed Time = 48
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode)
#
he most beautiful thing we can experience is mysterious.
It is the source of all true art and science.

--- Albert Einstein, 1930