Skip to main content

Mustang b76 crashes IntelliJ IDEA "Demetra" EAP b5181

3 replies [Last post]
bmesserer
Offline
Joined: 2004-11-26
Points: 0

The new b76 crashes IntelliJ IDEA "Demetra" EAP b5181 very ofte - mostly when trying to create anything "new" (Class, Package Doc, File etc.) via Package-node context menu, but also occasionally in other situations, never had this combination of Demetra/Mustang running longer than three minutes (only when doing nothing).
Not sure whether this is an IntelliJ or Mustang bug, but since the VM crashes with "Access Violation" (exact output below) and because it works with JDK5 I suspect the fault in Mustang.

VM-Command line output:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1c0a12e0, pid=2288, tid=3772
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-beta2-b76 mixed mode)
# Problematic frame:
# C 0x1c0a12e0
#
# An error report file with more information is saved as hs_err_pid2288.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

Where can I upload the hs_err_pid?.log (have several of them ;-)

regards,

Messi

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alanb
Offline
Joined: 2005-08-08
Points: 0

The line after "Problematic frame" reports the frame type and if possible the library name and offset. In this case it is "C" which means a native C frame. The complete fatal error log might have a stack trace with more information. Given that there might be native code involved in this then it might be worth running with -Xcheck:jni to see if any fatal errors or warnings are printed.

If this does look like a mustang bug then submit a bug via this page:
http://bugs.sun.com/services/bugreport/index.jsp
You can paste the error log into the description.

bmesserer
Offline
Joined: 2004-11-26
Points: 0

Because I'm not sure, I'm copying a log file here, the problematic native code seems to be in AWT (???)
Others have reported that they run IntelliJ "Demetra" b5181 with Mustang b76 fine, so could anyone help me here?

BEGIN_OF_HS_ERR_PID_LOG
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1c0e12e0, pid=3376, tid=3364
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-beta2-b76 mixed mode)
# Problematic frame:
# C 0x1c0e12e0
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

--------------- T H R E A D ---------------

Current thread (0x1b01b400): JavaThread "AWT-Windows" daemon [_thread_in_native, id=3364]

siginfo: ExceptionCode=0xc0000005, reading address 0x1c0e12e0

Registers:
EAX=0x7ffac000, EBX=0x00000000, ECX=0x00000000, EDX=0x00000010
ESP=0x1b29f6c0, EBP=0x1b29f6e8, ESI=0x1c0e12e0, EDI=0x1b29f724
EIP=0x1c0e12e0, EFLAGS=0x00010202

Top of Stack: (sp=0x1b29f6c0)
0x1b29f6c0: 77d18734 001f0536 00000084 00000000
0x1b29f6d0: 019d0243 1c0e12e0 dcbaabcd 00000000
0x1b29f6e0: 1b29f724 1c0e12e0 1b29f750 77d18816
0x1b29f6f0: 1c0e12e0 001f0536 00000084 00000000
0x1b29f700: 019d0243 00000000 001f0536 1b01b4e4
0x1b29f710: 00000014 00000001 00000000 00000000
0x1b29f720: 00000010 00000000 03d87a70 00000001
0x1b29f730: 00000000 00000000 1b29f704 1b29f2e4

Instructions: (pc=0x1c0e12e0)
0x1c0e12d0:
[error occurred during error reporting, step 100, id 0xc0000005]

Stack: [0x1b250000,0x1b2a0000), sp=0x1b29f6c0, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x1c0e12e0
C [USER32.dll+0x8816]
C [USER32.dll+0xb4c0]
C [USER32.dll+0xb50c]
C [ntdll.dll+0xeae3]
C [USER32.dll+0x8734]
C [USER32.dll+0x8816]
C [USER32.dll+0xb4c0]
C [USER32.dll+0xb50c]
C [ntdll.dll+0xeae3]
C [USER32.dll+0x9402]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.windows.WToolkit.eventLoop()V+0
j sun.awt.windows.WToolkit.run()V+69
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x1c4a2800 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=4076]
0x1c558400 JavaThread "pool-1-thread-1" [_thread_blocked, id=1112]
0x1b550800 JavaThread "AlarmThread" [_thread_blocked, id=972]
0x1af13400 JavaThread "AlarmThread" [_thread_blocked, id=3300]
0x1ab46800 JavaThread "Error Icon Blinker" [_thread_blocked, id=2856]
0x1aedc400 JavaThread "Fatal Errors Grouper" [_thread_blocked, id=2196]
0x1c2e5400 JavaThread "TimerQueue" daemon [_thread_blocked, id=2276]
0x1c534400 JavaThread "StoreRefreshStatusThread" daemon [_thread_blocked, id=2096]
0x1c547800 JavaThread "WatchForChangesThread" [_thread_in_native, id=2120]
0x1c55f400 JavaThread "Progress Cancel Checker" [_thread_blocked, id=440]
0x1c274000 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=3436]
0x1b7e0800 JavaThread "Image Fetcher 2" daemon [_thread_blocked, id=3908]
0x1b7f2400 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=892]
0x1b7f2c00 JavaThread "XML-RPC Weblistener" [_thread_in_native, id=2668]
0x1b799000 JavaThread "AWT-EventQueue-1" [_thread_in_native, id=1524]
0x1b800800 JavaThread "AWT-Shutdown" [_thread_blocked, id=1232]
0x1afa1400 JavaThread "AlarmThread" [_thread_blocked, id=3976]
0x1b68d800 JavaThread "AlarmThread" [_thread_blocked, id=508]
0x1b6b8800 JavaThread "SocketListenerThread" [_thread_in_native, id=588]
0x1b6b7800 JavaThread "SocketListenerThread" [_thread_in_native, id=3632]
0x1b463400 JavaThread "MessageDeliveryThread" [_thread_blocked, id=3684]
0x1b031000 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=700]
=>0x1b01b400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3364]
0x1b009400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1056]
0x1af1a800 JavaThread "Lock thread" [_thread_in_native, id=3080]
0x00296800 JavaThread "DestroyJavaVM" [_thread_blocked, id=3828]
0x1ac2b800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2108]
0x1ac29000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3744]
0x1ac27c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3572]
0x1ac26c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2836]
0x1ac19400 JavaThread "Finalizer" daemon [_thread_blocked, id=2396]
0x1ac15000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3876]

Other Threads:
0x1ac11c00 VMThread [id=2704]
0x1ae78400 WatcherThread [id=1248]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 4736K, used 3084K [0x02990000, 0x02eb0000, 0x03d40000)
eden space 4224K, 61% used [0x02990000, 0x02c1ac40, 0x02db0000)
from space 512K, 93% used [0x02db0000, 0x02e28500, 0x02e30000)
to space 512K, 0% used [0x02e30000, 0x02e30000, 0x02eb0000)
tenured generation total 61660K, used 36994K [0x03d40000, 0x07977000, 0x12990000)
the space 61660K, 59% used [0x03d40000, 0x06160a60, 0x06160c00, 0x07977000)
compacting perm gen total 38144K, used 37988K [0x12990000, 0x14ed0000, 0x1a990000)
the space 38144K, 99% used [0x12990000, 0x14ea9330, 0x14ea9400, 0x14ed0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00423000 C:\devtools\jdk6\jre\bin\java.exe
0x7c910000 - 0x7c9c7000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c906000 C:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e4a000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e50000 - 0x77ee1000 C:\WINDOWS\system32\RPCRT4.dll
0x7c340000 - 0x7c396000 C:\devtools\jdk6\jre\bin\msvcr71.dll
0x6d7a0000 - 0x6d9d7000 C:\devtools\jdk6\jre\bin\client\jvm.dll
0x77d10000 - 0x77da0000 C:\WINDOWS\system32\USER32.dll
0x77ef0000 - 0x77f37000 C:\WINDOWS\system32\GDI32.dll
0x76af0000 - 0x76b1e000 C:\WINDOWS\system32\WINMM.dll
0x6d300000 - 0x6d308000 C:\devtools\jdk6\jre\bin\hpi.dll
0x76bb0000 - 0x76bbb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d750000 - 0x6d75c000 C:\devtools\jdk6\jre\bin\verify.dll
0x6d390000 - 0x6d3af000 C:\devtools\jdk6\jre\bin\java.dll
0x6d790000 - 0x6d79f000 C:\devtools\jdk6\jre\bin\zip.dll
0x6d550000 - 0x6d563000 C:\devtools\jdk6\jre\bin\net.dll
0x71a10000 - 0x71a27000 C:\WINDOWS\system32\WS2_32.dll
0x77be0000 - 0x77c38000 C:\WINDOWS\system32\msvcrt.dll
0x71a00000 - 0x71a08000 C:\WINDOWS\system32\WS2HELP.dll
0x719b0000 - 0x719f0000 C:\WINDOWS\system32\mswsock.dll
0x66710000 - 0x66769000 C:\WINDOWS\system32\hnetcfg.dll
0x719f0000 - 0x719f8000 C:\WINDOWS\System32\wshtcpip.dll
0x6d000000 - 0x6d1bf000 C:\devtools\jdk6\jre\bin\awt.dll
0x72f70000 - 0x72f96000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76330000 - 0x7634d000 C:\WINDOWS\system32\IMM32.dll
0x774b0000 - 0x775ed000 C:\WINDOWS\system32\ole32.dll
0x5b0f0000 - 0x5b128000 C:\WINDOWS\system32\uxtheme.dll
0x6d2a0000 - 0x6d2f2000 C:\devtools\jdk6\jre\bin\fontmanager.dll
0x746a0000 - 0x746eb000 C:\WINDOWS\system32\MSCTF.dll
0x1b340000 - 0x1b349000 C:\devtools\idea5181\bin\focuskiller.dll
0x76ee0000 - 0x76f07000 C:\WINDOWS\system32\DNSAPI.dll
0x76f70000 - 0x76f78000 C:\WINDOWS\System32\winrnr.dll
0x76f20000 - 0x76f4d000 C:\WINDOWS\system32\WLDAP32.dll
0x76f80000 - 0x76f86000 C:\WINDOWS\system32\rasadhlp.dll
0x76d20000 - 0x76d39000 C:\WINDOWS\system32\iphlpapi.dll
0x76d00000 - 0x76d18000 C:\WINDOWS\system32\MPRAPI.dll
0x77c90000 - 0x77cc3000 C:\WINDOWS\system32\ACTIVEDS.dll
0x76dd0000 - 0x76df5000 C:\WINDOWS\system32\adsldpc.dll
0x597d0000 - 0x59824000 C:\WINDOWS\system32\NETAPI32.dll
0x76ad0000 - 0x76ae1000 C:\WINDOWS\system32\ATL.DLL
0x770f0000 - 0x7717c000 C:\WINDOWS\system32\OLEAUT32.dll
0x76e40000 - 0x76e4e000 C:\WINDOWS\system32\rtutils.dll
0x71b70000 - 0x71b83000 C:\WINDOWS\system32\SAMLIB.dll
0x778f0000 - 0x779e4000 C:\WINDOWS\system32\SETUPAPI.dll
0x7c9d0000 - 0x7d1ef000 C:\WINDOWS\system32\shell32.dll
0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll
0x773a0000 - 0x774a2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x5d450000 - 0x5d4e7000 C:\WINDOWS\system32\comctl32.dll
0x6d3c0000 - 0x6d3c6000 C:\devtools\jdk6\jre\bin\jawt.dll
0x1b9e0000 - 0x1b9ec000 C:\devtools\idea5181\bin\transparency.dll
0x1b0b0000 - 0x1b0c5000 C:\WINDOWS\system32\SSSensor.dll
0x6d570000 - 0x6d579000 C:\devtools\jdk6\jre\bin\nio.dll
0x1bc30000 - 0x1bc4f000 C:\devtools\idea5181\bin\FileWatcher2K.dll
0x71a80000 - 0x71a92000 C:\WINDOWS\system32\MPR.dll
0x77b10000 - 0x77b32000 C:\WINDOWS\system32\Apphelp.dll
0x6d1e0000 - 0x6d20f000 C:\devtools\jdk6\jre\bin\cmm.dll
0x6d430000 - 0x6d454000 C:\devtools\jdk6\jre\bin\jpeg.dll
0x6d210000 - 0x6d233000 C:\devtools\jdk6\jre\bin\dcpr.dll

VM Arguments:
jvm_args: -Xcheck:jni -Xms64m -Xmx256m -XX:MaxPermSize=128m -Xverify:none -ea -dsa -Didea.no.jdk.check=true -Dswing.aatext=true -Xbootclasspath/p:../lib/boot.jar
java_command: com.intellij.idea.Main
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=..\bin;c:\devtools\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\ATI Technologies\ATI Control Panel;C:\PROGRA~1\GEMEIN~1\SONICS~1\;C:\tools\textpad4;C:\tools\gtk2\bin
USERNAME=messi
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel

--------------- S Y S T E M ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 1047932k(218096k free), swap 2519036k(1861040k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0-beta2-b76) for windows-x86, built on Mar 16 2006 00:30:02 by "java_re" with unknown MS VC++:1310

END_OF_HS_ERR_PID_LOG

alanb
Offline
Joined: 2005-08-08
Points: 0

The -Xverify:none and -Xbootclasspath/p:../lib/boot.jar options look scary. Assuming that boot.jar doesn't contain any platform classes then it would be good to submit a bug with instructions on how to setup and duplicate this crash.