Re: [問題] eclipse開啟時立即自動關閉
※ 引述《camel521 (Camel)》之銘言:
: 各位板友好 : )
: 想請問目前最新版本的eclipse能否在win xp系統正常執行呢?
: 因早上按照google官方的流程下載了eclipse之後,執行後就會馬上跳出,
: 跑出如下面附的錯誤訊息...
: 想說不知道是不是jdk版本太舊的關係,跑去下載最新的jdk8之後,
: 發現它已經不支援win xp 囧 於是又換回jdk7...
: 不知道是不是哪邊設定出錯或跑掉,還是xp太舊必須換台新電腦呢...
: 有請高手幫忙解惑,感激不盡感激不盡 <(_ _)> 謝謝大家~~~
: #
: # A fatal error has been detected by the Java Runtime Environment:
: #
: # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5771f75b, pid=3184,
: tid=2520
: #
: # JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build
: 1.7.0_51-b13)
: # Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode windows-x86 )
: # Problematic frame:
: # C [gdiplus.dll+0xf75b]
: #
: # Failed to write core dump. Minidumps are not enabled by default on client
: versions of Windows
: #
錯訊息過長沒關係,但你也貼得太短了 orz
這 log 是在 Java VM 死掉時會產生的檔案,它會記錄死亡前最後的狀態。
以目前來看,死因是 EXCEPTION_ACCESS_VIOLATION (通常是指標非法存取)
死亡現場在 gdiplus.dll+0xf75b,只要它不是死在 jvm.dll
那就不太會推論是 Java VM 本身的實作有問題,而是它用到的 library 出了問題。
那麼問題可能是:
1. jvm 對 library 的不當操作
(未滿足 library 使用的「前提」,程式上寫法有問題,間接造成 crash)
2. library 本身有 bug,而經由特定的操作環境、模式可以被觸發
3. .... 還有其他可能 ...
不過使用 keyword: eclipse crash gdiplus.dll+0xf75b 去 google
可以查到它跟 gdi+ 有相關(如同它 .dll 的檔名所示)
例如:他想要開某類檔案時,就會掛在 gdiplus.dll+0xf75b
http://forums.instantiations.com/topic-7-5535.html
下面有人回覆:
Thanks Brian, it worked around the issue.
I also tried patching the MSFT GDI+ DLL using WindowsXP-KB972483-x86-ENU.exe,
then updated my intel G41 graphics card drivers
using http://www.intel.com/support/detect.htm.
After the latter, the crash finally disappeared,
so happy days as the problem also affected opening mylyn JIRA tasks.
再對照查一下 KB972483 是什麼東西,
http://support.microsoft.com/kb/972483/zh-tw
在執行 Windows XP 電腦上執行使用 GDI 物件的多執行緒應用程式時,
會變得遺漏 GDI 物件控點
On a computer that is running Windows XP,
GDI object handles become leaked when you run a multithreaded application
that uses a GDI object
加上你提到它跟硬體加速有沒有開有關,也許可以考慮上這個 patch
或是依 google 結果,繼續試下一個可能的解法。
PS. 淘寶分享的 Java Crash 分析,有空可以看看
http://www.slideshare.net/RednaxelaFX/java-crash
PS. Android NDK 開發時也會遇到 Crash Log,這裡有稍為提到一點點
http://www.javaworld.com.tw/jute/post/view?bid=11&id=298481&sty=3
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.231.233.133
※ 文章網址: http://www.ptt.cc/bbs/AndroidDev/M.1396911039.A.AAA.html
推
04/09 07:54, , 1F
04/09 07:54, 1F
→
04/09 07:54, , 2F
04/09 07:54, 2F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):