frequent chrashes of jvm when opening JDialog

Post any technical problems or questions you have while using or configuring Dexpot.
Bug-Tracker
MarcusO
Posts: 1
Joined: 11.11.2011 11:45:52

frequent chrashes of jvm when opening JDialog

Postby MarcusO » 11.11.2011 12:13:54

Hello,
I was always wondering why my Oracle SQLDeveloper silently closes everything without any message. Now I encountered a similar bahviour with other Java6 applications. Very often, when opening a JDialog the JVM crashes with an error in some Windows DLL. This bahaviour is reproducible, when closing Dexpot, every Java app works as expected. When running with Dexpot it crashes in 70% of JDialog opening attempts (Launching app via windows cmd, out of Eclipse oder WebStart). The Java 1.4 applications never crashed together with Dexpot.

I have serveral hs_err_pid*.logs now which I can provide. Example see here:

# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x773e1cc8, pid=2732, tid=2144
#
# JRE version: 6.0_27-b07
# Java VM: Java HotSpot(TM) Client VM (20.2-b06 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [COMCTL32.dll+0x11cc8]

I tried 1.6.0_14, Java4 with and without Dexpot -> Java6 JDialogs are causing crashes together with Dexpot (Windows XP SP3).

Regards

scb147
Posts: 3
Joined: 14.02.2013 14:51:53

Re: frequent crashes of jvm when opening JDialog

Postby scb147 » 14.02.2013 14:59:54

I am having this issue as well, and it makes it a major PITA since I do Java developing. I am using Windows XP SP3 as well.

If I have Dexpot running, I get this error a lot. When it's not running, never happens. I am using the latest Dexpot V1.6.6 Build 2227.

This is the error log from the JVM:

Code: Select all

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x773e1cc8, pid=14216, tid=10552
#
# JRE version: 7.0-b147
# Java VM: Java HotSpot(TM) Client VM (21.0-b17 mixed mode windows-x86 )
# Problematic frame:
# C  [COMCTL32.dll+0x11cc8]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

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

Current thread (0x273aa400):  JavaThread "AWT-Windows" daemon [_thread_in_native, id=10552, stack(0x277d0000,0x27820000)]

siginfo: ExceptionCode=0xc0000005, reading address 0xb9e71d90

Registers:
EAX=0xb9e71d90, EBX=0x6d1bf464, ECX=0x0000c01e, EDX=0x0000ff01
ESP=0x2781f5fc, EBP=0x2781f5fc, ESI=0xb9e71d90, EDI=0x6d17fc89
EIP=0x773e1cc8, EFLAGS=0x00010286

Top of Stack: (sp=0x2781f5fc)
0x2781f5fc:   2781f61c 773e2237 b9e71d90 6d1bf464
0x2781f60c:   6d17fc89 276c04d8 7c811752 00000000
0x2781f61c:   2781f658 6d1bf4e0 00340a00 00000000
0x2781f62c:   6d17fc89 00000000 276c04d8 6d17ff31
0x2781f63c:   00340a00 6d17fc89 273aa528 6d17fea3
0x2781f64c:   276c04d8 276c04d8 273aa528 2781f6a4
0x2781f65c:   6d1a59b4 273abf10 6d1cb99c 82c80000
0x2781f66c:   00000101 000002a3 00000181 000000fa

Instructions: (pc=0x773e1cc8)
0x773e1ca8:   e6 8b 06 83 f8 01 76 d0 40 50 56 57 e8 3a fe ff
0x773e1cb8:   ff eb ce cc cc cc cc cc 8b ff 55 8b ec 8b 45 08
0x773e1cc8:   8b 08 8d 14 49 8d 44 90 14 83 e8 0c 8b 10 49 3b
0x773e1cd8:   55 0c 75 08 8b 50 04 3b 55 10 74 07 83 f9 ff 75


Register to memory mapping:

EAX=0xb9e71d90 is an unknown value
EBX=0x6d1bf464 is an unknown value
ECX=0x0000c01e is an unknown value
EDX=0x0000ff01 is an unknown value
ESP=0x2781f5fc is pointing into the stack for thread: 0x273aa400
EBP=0x2781f5fc is pointing into the stack for thread: 0x273aa400
ESI=0xb9e71d90 is an unknown value
EDI=0x6d17fc89 is an unknown value


Stack: [0x277d0000,0x27820000],  sp=0x2781f5fc,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [COMCTL32.dll+0x11cc8]  Ordinal11+0x47e
C  [COMCTL32.dll+0x12237]  SetWindowSubclass+0x3d
C  [awt.dll+0xaf4e0]  Java_sun_awt_windows_ThemeReader_isGetThemeTransitionDurationDefined+0x118
C  [awt.dll+0x959b4]  Java_sun_awt_windows_WWindowPeer_createAwtWindow+0x6ff
C  [awt.dll+0x7703e]  Java_sun_awt_windows_WDialogPeer_pSetIMMOption+0x275
C  [awt.dll+0x9057d]  Java_sun_awt_windows_WToolkit_getNumberOfButtonsImpl+0x49d
C  [USER32.dll+0x8734]  GetDC+0x6d
C  [USER32.dll+0x8816]  GetDC+0x14f
C  [USER32.dll+0x18ea0]  DefWindowProcW+0x180
C  [USER32.dll+0x18eec]  DefWindowProcW+0x1cc
C  [ntdll.dll+0xe473]  KiUserCallbackDispatcher+0x13
C  [USER32.dll+0x9402]  PeekMessageW+0x167

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+49
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x26f83800 JavaThread "LoadOvationDataThread-1" [_thread_in_native, id=10728, stack(0x27f60000,0x27fb0000)]
  0x274f7c00 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=3792, stack(0x27ce0000,0x27d30000)]
  0x276abc00 JavaThread "TimerQueue" daemon [_thread_blocked, id=8076, stack(0x27c00000,0x27c50000)]
  0x276a4800 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=11912, stack(0x279e0000,0x27a30000)]
  0x003c8000 JavaThread "DestroyJavaVM" [_thread_blocked, id=13436, stack(0x00900000,0x00950000)]
  0x273ad800 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=13624, stack(0x27890000,0x278e0000)]
=>0x273aa400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=10552, stack(0x277d0000,0x27820000)]
  0x273a8800 JavaThread "AWT-Shutdown" [_thread_blocked, id=11740, stack(0x27780000,0x277d0000)]
  0x273a6c00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=13232, stack(0x27730000,0x27780000)]
  0x27079c00 JavaThread "BackgroundThread" daemon [_thread_blocked, id=11960, stack(0x272e0000,0x27330000)]
  0x26ce5000 JavaThread "Service Thread" daemon [_thread_blocked, id=8408, stack(0x27240000,0x27290000)]
  0x26ce2000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=10276, stack(0x271f0000,0x27240000)]
  0x26cda800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=3992, stack(0x271a0000,0x271f0000)]
  0x26cd8c00 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=13516, stack(0x27150000,0x271a0000)]
  0x26cd6000 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=6992, stack(0x27100000,0x27150000)]
  0x26cca000 JavaThread "Attach Listener" daemon [_thread_blocked, id=12468, stack(0x26e40000,0x26e90000)]
  0x26cc8800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=13200, stack(0x26df0000,0x26e40000)]
  0x26c72800 JavaThread "Finalizer" daemon [_thread_blocked, id=14056, stack(0x26da0000,0x26df0000)]
  0x26c6d800 JavaThread "Reference Handler" daemon [_thread_blocked, id=13792, stack(0x26d50000,0x26da0000)]

Other Threads:
  0x26c67c00 VMThread [stack: 0x26d00000,0x26d50000] [id=13152]
  0x26cf9000 WatcherThread [stack: 0x27290000,0x272e0000] [id=5208]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 4928K, used 3233K [0x029f0000, 0x02f40000, 0x0d490000)
  eden space 4416K,  61% used [0x029f0000, 0x02c98750, 0x02e40000)
  from space 512K, 100% used [0x02e40000, 0x02ec0000, 0x02ec0000)
  to   space 512K,   0% used [0x02ec0000, 0x02ec0000, 0x02f40000)
 tenured generation   total 10944K, used 7101K [0x0d490000, 0x0df40000, 0x229f0000)
   the space 10944K,  64% used [0x0d490000, 0x0db7f5b0, 0x0db7f600, 0x0df40000)
 compacting perm gen  total 12288K, used 11788K [0x229f0000, 0x235f0000, 0x269f0000)
   the space 12288K,  95% used [0x229f0000, 0x23573160, 0x23573200, 0x235f0000)
No shared spaces configured.

Code Cache  [0x00970000, 0x00b98000, 0x02970000)
 total_blobs=1407 nmethods=1160 adapters=187 free_code_cache=30572Kb largest_free_block=31305728

Dynamic libraries:
0x00400000 - 0x0042f000    C:\Program Files\Java\jdk1.7.0\bin\javaw.exe
0x7c900000 - 0x7c9b2000    C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f6000    C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000    C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f03000    C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000    C:\WINDOWS\system32\Secur32.dll
0x7e410000 - 0x7e4a1000    C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f59000    C:\WINDOWS\system32\GDI32.dll
0x773d0000 - 0x774d3000    C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\COMCTL32.dll
0x77c10000 - 0x77c68000    C:\WINDOWS\system32\msvcrt.dll
0x77f60000 - 0x77fd6000    C:\WINDOWS\system32\SHLWAPI.dll
0x76390000 - 0x763ad000    C:\WINDOWS\system32\IMM32.DLL
0x78aa0000 - 0x78b5e000    C:\Program Files\Java\jdk1.7.0\jre\bin\msvcr100.dll
0x6da80000 - 0x6dda1000    C:\Program Files\Java\jdk1.7.0\jre\bin\client\jvm.dll
0x71ad0000 - 0x71ad9000    C:\WINDOWS\system32\WSOCK32.dll
0x71ab0000 - 0x71ac7000    C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000    C:\WINDOWS\system32\WS2HELP.dll
0x76b40000 - 0x76b6d000    C:\WINDOWS\system32\WINMM.dll
0x76bf0000 - 0x76bfb000    C:\WINDOWS\system32\PSAPI.DLL
0x6da10000 - 0x6da1c000    C:\Program Files\Java\jdk1.7.0\jre\bin\verify.dll
0x6d480000 - 0x6d4a0000    C:\Program Files\Java\jdk1.7.0\jre\bin\java.dll
0x6d4d0000 - 0x6d4fa000    C:\Program Files\Java\jdk1.7.0\jre\bin\jdwp.dll
0x6d8a0000 - 0x6d8a7000    C:\Program Files\Java\jdk1.7.0\jre\bin\npt.dll
0x6da60000 - 0x6da73000    C:\Program Files\Java\jdk1.7.0\jre\bin\zip.dll
0x6d3a0000 - 0x6d3a8000    C:\Program Files\Java\jdk1.7.0\jre\bin\dt_socket.dll
0x71a50000 - 0x71a8f000    C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000    C:\WINDOWS\system32\DNSAPI.dll
0x76d60000 - 0x76d79000    C:\WINDOWS\system32\iphlpapi.dll
0x76fb0000 - 0x76fb8000    C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000    C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000    C:\WINDOWS\system32\rasadhlp.dll
0x662b0000 - 0x66308000    C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000    C:\WINDOWS\System32\wshtcpip.dll
0x6d770000 - 0x6d784000    C:\Program Files\Java\jdk1.7.0\jre\bin\net.dll
0x6d790000 - 0x6d79f000    C:\Program Files\Java\jdk1.7.0\jre\bin\nio.dll
0x6d110000 - 0x6d252000    C:\Program Files\Java\jdk1.7.0\jre\bin\awt.dll
0x77120000 - 0x771ab000    C:\WINDOWS\system32\OLEAUT32.dll
0x774e0000 - 0x7761e000    C:\WINDOWS\system32\ole32.dll
0x26eb0000 - 0x26ebe000    C:\Program Files\Dexpot\hooxpot.dll
0x74720000 - 0x7476c000    C:\WINDOWS\system32\MSCTF.dll
0x755c0000 - 0x755ee000    C:\WINDOWS\system32\msctfime.ime
0x4fdd0000 - 0x4ff76000    C:\WINDOWS\system32\d3d9.dll
0x6d990000 - 0x6d996000    C:\WINDOWS\system32\d3d8thk.dll
0x77c00000 - 0x77c08000    C:\WINDOWS\system32\VERSION.dll
0x7c9c0000 - 0x7d1d7000    C:\WINDOWS\system32\SHELL32.dll
0x6d3d0000 - 0x6d3fa000    C:\Program Files\Java\jdk1.7.0\jre\bin\fontmanager.dll
0x6d9b0000 - 0x6d9e1000    C:\Program Files\Java\jdk1.7.0\jre\bin\t2k.dll
0x76fd0000 - 0x7704f000    C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000    C:\WINDOWS\system32\COMRes.dll
0x68000000 - 0x68036000    C:\WINDOWS\system32\rsaenh.dll
0x769c0000 - 0x76a74000    C:\WINDOWS\system32\USERENV.dll
0x5b860000 - 0x5b8b5000    C:\WINDOWS\system32\netapi32.dll
0x6d580000 - 0x6d5a5000    C:\Program Files\Java\jdk1.7.0\jre\bin\jpeg.dll

VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:1662 -Xmx512m -Dmigration.config=../limerick.migration.config.properties -Dfile.encoding=Cp1252 -Xbootclasspath:C:\Program Files\Java\jdk1.7.0\lib\tools.jar;C:\Program Files\Java\jdk1.7.0\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0\jre\lib\charsets.jar
java_command: com.wec.sim.migration.SwingUI
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.7.0
PATH=C:\Program Files\Java\jdk1.7.0\jre\bin;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;N:\bat;N:\Loadsets\Batch\Wesecomp\Exe;C:\Program Files\ZANTAZ\EAS Client\;C:\Program Files\Windows Imaging\;C:\Program Files\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files\Smart Projects\IsoBuster;C:\WINDOWS\system32\WindowsPowerShell\v1.0;"C:\Program Files\PKWARE\pkzipc";c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\eclipse\plugins\org.apache.ant_1.8.3.v20120321-1730\bin;C:\Program Files\Java\jdk1.7.0\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\eclipse;
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 37 Stepping 5, GenuineIntel



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

OS: Windows XP Build 2600 Service Pack 3

CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht

Memory: 4k page, physical 3129704k(1271168k free), swap 7160052k(4818928k free)

vm_info: Java HotSpot(TM) Client VM (21.0-b17) for windows-x86 JRE (1.7.0-b147), built on Jun 27 2011 02:25:52 by "java_re" with unknown MS VC++:1600

time: Thu Feb 14 08:47:54 2013
elapsed time: 32 seconds

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: frequent chrashes of jvm when opening JDialog

Postby Patrick » 14.02.2013 18:27:03

:dex:

Try disabling the option "Settings > Appearance > Add Dexpot entries to the system menus of all windows".

scb147
Posts: 3
Joined: 14.02.2013 14:51:53

Re: frequent chrashes of jvm when opening JDialog

Postby scb147 » 14.02.2013 21:57:13

That may have done the trick. I've had that option disabled for the last couple hours and I haven't had a single JVM error.

Thanks!

scb147
Posts: 3
Joined: 14.02.2013 14:51:53

Re: frequent chrashes of jvm when opening JDialog

Postby scb147 » 19.02.2013 21:23:10

Spoke too soon. I've been experiencing the same exception, even with the option disabled.

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: frequent chrashes of jvm when opening JDialog

Postby Patrick » 25.02.2013 14:30:27

Do you a minimal Java application that I could use to try to reproduce this?

GUEST

Re: frequent crashes of jvm when opening JDialog

Postby GUEST » 21.06.2013 17:12:45

Has there been any updates on this?? I recently started using Dexpot because I use a JWalk program the print size changes based on screen resolution & my native resolution makes the print so small it can't be read.

User avatar
Patrick
Developer
Posts: 7380
Joined: 04.03.2003 14:51:26

Re: frequent chrashes of jvm when opening JDialog

Postby Patrick » 22.06.2013 00:53:12

No, we still haven't been able to reproduce the problem. Do you have any more information?


Return to “Support”

Who is online

Users browsing this forum: Baidu [Spider] and 151 guests