Wrong offset in hs_err_*.log

Mikael Gerdin mikael.gerdin at oracle.com
Fri Jun 14 09:17:36 PDT 2013


Artem,

On 2013-06-14 16:43, Artem Ananiev wrote:
>
> Please, keep me in CC, as I'm not a member of this OpenJDK mailing list.
> I also don't know if attachments are stripped by OpenJDK mailman, so the
> crash log is below.
>
> Thanks,
>
> Artem
>
>> #
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000733626a0,
>> pid=3348, tid=2312
>> #
>> # JRE version: 7.0_13-b20
>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.7-b01 mixed mode
>> windows-amd64 compressed oops)
>> # Problematic frame:
>> # C  [glass.dll+0x126a0]
>> Java_com_sun_glass_events_KeyEvent__1getKeyCodeForChar+0x1630
>> #
>> # 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 (0x00000000065ed000):  JavaThread "JavaFX Application
>> Thread" [_thread_in_native, id=2312,
>> stack(0x00000000078f0000,0x00000000079f0000)]
>>
>> siginfo: ExceptionCode=0xc0000005, reading address 0x00000019000000c7
>>
>> Registers:
>> RAX=0x000000001db00001, RBX=0x0000000008bfefc8,
>> RCX=0x00000019000000c7, RDX=0x000007fffffdd000
>> RSP=0x00000000079eccf0, RBP=0x0000000000000401,
>> RSI=0x00000000079ecfa0, RDI=0x0000000000000000
>> R8 =0x00008443088402ac, R9 =0x000084440f3b02ad,
>> R10=0x0000000000000000, R11=0x0000000000000206
>> R12=0x0000000000000000, R13=0x0000000000000401,
>> R14=0x0000000000000000, R15=0x000000000008036a
>> RIP=0x00000000733626a0, EFLAGS=0x0000000000010202
>>
>> Top of Stack: (sp=0x00000000079eccf0)
>> 0x00000000079eccf0:   0000000001c9a500 0000000000180001
>> 0x00000000079ecd00:   000000007336c065 00000000079ecd70
>> 0x00000000079ecd10:   00000000065d74d0 0000000073354f3a
>> 0x00000000079ecd20:   00000000079ecfa0 00000000079ecfa0
>> 0x00000000079ecd30:   0000000000000000 0000000000000000
>> 0x00000000079ecd40:   0000000000000401 0000000073351f83
>> 0x00000000079ecd50:   0000000006548a00 000000007258c001
>> 0x00000000079ecd60:   000003d5756cc065 00000000065ed000
>> 0x00000000079ecd70:   00000000079ecfa0 0000000073351268
>> 0x00000000079ecd80:   0000000000000401 00000000065d74d0
>> 0x00000000079ecd90:   0000000000000000 000000000008036a
>> 0x00000000079ecda0:   0000000000000000 00000000778dc3c1
>> 0x00000000079ecdb0:   0000000000000401 000000000008036a
>> 0x00000000079ecdc0:   0000000000000001 0000000000000000
>> 0x00000000079ecdd0:   0000000006548a38 000000000000000b
>> 0x00000000079ecde0:   0000000000000001 0000000000000000
>>
>> Instructions: (pc=0x00000000733626a0)
>> 0x0000000073362680:   48 89 7b 30 48 8b 4b 38 48 85 c9 74 0a 48 8b 01
>> 0x0000000073362690:   ff 50 10 48 89 7b 38 48 8b 4b 40 48 85 c9 74 0a
>> 0x00000000733626a0:   48 8b 01 ff 50 10 48 89 7b 40 48 39 7b 48 74 1a
>> 0x00000000733626b0:   e8 5b e9 fe ff 48 8b 53 48 4c 8b 00 48 8b c8 41
>>
>>
>> Register to memory mapping:
>>
>> RAX=0x000000001db00001 is an unknown value
>> RBX=0x0000000008bfefc8 is an unknown value
>> RCX=0x00000019000000c7 is an unknown value
>> RDX=0x000007fffffdd000 is an unknown value
>> RSP=0x00000000079eccf0 is pointing into the stack for thread:
>> 0x00000000065ed000
>> RBP=0x0000000000000401 is an unknown value
>> RSI=0x00000000079ecfa0 is pointing into the stack for thread:
>> 0x00000000065ed000
>> RDI=0x0000000000000000 is an unknown value
>> R8 =0x00008443088402ac is an unknown value
>> R9 =0x000084440f3b02ad is an unknown value
>> R10=0x0000000000000000 is an unknown value
>> R11=0x0000000000000206 is an unknown value
>> R12=0x0000000000000000 is an unknown value
>> R13=0x0000000000000401 is an unknown value
>> R14=0x0000000000000000 is an unknown value
>> R15=0x000000000008036a is an unknown value
>>
>>
>> Stack: [0x00000000078f0000,0x00000000079f0000],
>> sp=0x00000000079eccf0,  free space=1011k
>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
>> C=native code)
>> C  [glass.dll+0x126a0]
>> Java_com_sun_glass_events_KeyEvent__1getKeyCodeForChar+0x1630
>>
>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>> j  com.sun.glass.ui.win.WinWindow._close(J)Z+0
>> j  com.sun.glass.ui.Window.close()V+51
>> j  com.sun.javafx.tk.quantum.WindowStage.close()V+15
>> j  com.sun.javafx.tk.quantum.PopupStage.close()V+1
>> j  javafx.stage.Window$10.invalidated()V+567
>> j  javafx.beans.property.BooleanPropertyBase.markInvalid()V+13
>> j  javafx.beans.property.BooleanPropertyBase.set(Z)V+31
>> j  javafx.stage.Window.setShowing(Z)V+11
>> j  javafx.stage.Window.hide()V+2
>> j  javafx.stage.PopupWindow.hide()V+53
>> j  javafx.scene.control.ContextMenu.hide()V+23
>> j  javafx.stage.PopupWindow.doAutoHide()V+1
>> j
>> javafx.stage.PopupWindow$PopupEventRedirector.handleMousePressedEvent(Ljava/lang/Object;Ljavafx/event/Event;)V+48
>>
>> j
>> javafx.stage.PopupWindow$PopupEventRedirector.handleRedirectedEvent(Ljava/lang/Object;Ljavafx/event/Event;)V+31
>>
>> j
>> com.sun.javafx.event.EventRedirector.dispatchCapturingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+47
>>
>> j
>> com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+11
>>
>> j
>> com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+2
>>
>> j
>> com.sun.javafx.event.EventRedirector.redirectEvent(Ljavafx/event/Event;)V+87
>>
>> j
>> com.sun.javafx.event.EventRedirector.dispatchCapturingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+25
>>
>> j
>> com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+11
>>
>> j
>> com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;+2
>>
>> j
>> com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;+69
>>
>> j
>> com.sun.javafx.event.EventUtil.fireEventImpl(Ljavafx/event/EventDispatchChain;Ljavafx/event/EventTarget;Ljavafx/event/Event;)Ljavafx/event/Event;+10
>>
>> j
>> com.sun.javafx.event.EventUtil.fireEvent(Ljavafx/event/EventTarget;Ljavafx/event/Event;)Ljavafx/event/Event;+46
>>
>> j
>> javafx.event.Event.fireEvent(Ljavafx/event/EventTarget;Ljavafx/event/Event;)V+30
>>
>> j
>> javafx.scene.Scene$MouseHandler.process(Ljavafx/scene/input/MouseEvent;Z)V+405
>>
>> j
>> javafx.scene.Scene$MouseHandler.process(Ljavafx/scene/input/MouseEvent;)V+3
>>
>> j
>> javafx.scene.Scene$MouseHandler.access$1900(Ljavafx/scene/Scene$MouseHandler;Ljavafx/scene/input/MouseEvent;)V+2
>>
>> j
>> javafx.scene.Scene.impl_processMouseEvent(Ljavafx/scene/input/MouseEvent;)V+16
>>
>> j
>> javafx.scene.Scene$ScenePeerListener.mouseEvent(Ljava/lang/Object;)V+11
>> j
>> com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run()Ljava/lang/Void;+329
>>
>> j
>> com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run()Ljava/lang/Object;+1
>>
>> v  ~StubRoutines::call_stub
>> j
>> java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
>>
>> j
>> com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Lcom/sun/glass/ui/View;JIIIIIIIIZZ)V+117
>>
>> j  com.sun.glass.ui.View.handleMouseEvent(JIIIIIIIIZZ)V+38
>> j  com.sun.glass.ui.View.notifyMouse(IIIIIIIZZ)V+184
>> v  ~StubRoutines::call_stub
>> j
>> com.sun.glass.ui.win.WinApplication._runLoop([Ljava/lang/String;Lcom/sun/glass/ui/Launchable;)V+0
>>
>> j
>> com.sun.glass.ui.win.WinApplication.access$100(Lcom/sun/glass/ui/win/WinApplication;[Ljava/lang/String;Lcom/sun/glass/ui/Launchable;)V+3
>>
>> j  com.sun.glass.ui.win.WinApplication$3$1.run()V+32
>> j  java.lang.Thread.run()V+11
>> v  ~StubRoutines::call_stub
>>
>> ---------------  P R O C E S S  ---------------
>>
>> Java Threads: ( => current thread )
>>   0x0000000006a14000 JavaThread "URL-Loader-21" daemon
>> [_thread_blocked, id=2384, stack(0x000000000a620000,0x000000000a720000)]
>>   0x0000000006a22800 JavaThread "Prism Font Disposer" daemon
>> [_thread_blocked, id=3648, stack(0x000000000bfb0000,0x000000000c0b0000)]
>>   0x0000000006d02000 JavaThread "Java2D Disposer" daemon
>> [_thread_blocked, id=940, stack(0x000000000a440000,0x000000000a540000)]
>>   0x0000000006625800 JavaThread "Disposer" daemon [_thread_blocked,
>> id=1940, stack(0x0000000007ef0000,0x0000000007ff0000)]
>>   0x0000000006606000 JavaThread "Thread-7" daemon [_thread_in_native,
>> id=1576, stack(0x0000000007cf0000,0x0000000007df0000)]
>> =>0x00000000065ed000 JavaThread "JavaFX Application Thread"
>> [_thread_in_native, id=2312,
>> stack(0x00000000078f0000,0x00000000079f0000)]
>>   0x00000000066c7800 JavaThread "Disposer" daemon [_thread_blocked,
>> id=2372, stack(0x0000000007a70000,0x0000000007b70000)]
>>   0x000000000654a000 JavaThread "QuantumRenderer-0" daemon
>> [_thread_blocked, id=1432, stack(0x00000000075a0000,0x00000000076a0000)]
>>   0x000000000653a800 JavaThread "JavaFX-Launcher" [_thread_blocked,
>> id=1568, stack(0x0000000007420000,0x0000000007520000)]
>>   0x0000000006539800 JavaThread "config-flush" daemon
>> [_thread_blocked, id=2880, stack(0x00000000072d0000,0x00000000073d0000)]
>>   0x000000000641b800 JavaThread "file-poller" daemon [_thread_blocked,
>> id=3248, stack(0x00000000071b0000,0x00000000072b0000)]
>>   0x0000000006371800 JavaThread "Thread-1" daemon [_thread_blocked,
>> id=3480, stack(0x0000000005ef0000,0x0000000005ff0000)]
>>   0x000000000517f000 JavaThread "Service Thread" daemon
>> [_thread_blocked, id=3240, stack(0x0000000005c80000,0x0000000005d80000)]
>>   0x000000000517d000 JavaThread "C2 CompilerThread1" daemon
>> [_thread_blocked, id=3076, stack(0x0000000005d80000,0x0000000005e80000)]
>>   0x000000000516d800 JavaThread "C2 CompilerThread0" daemon
>> [_thread_blocked, id=3920, stack(0x0000000005b10000,0x0000000005c10000)]
>>   0x000000000516c000 JavaThread "Attach Listener" daemon
>> [_thread_blocked, id=4076, stack(0x0000000005920000,0x0000000005a20000)]
>>   0x0000000005168800 JavaThread "Signal Dispatcher" daemon
>> [_thread_blocked, id=1592, stack(0x0000000005320000,0x0000000005420000)]
>>   0x00000000050dd800 JavaThread "Finalizer" daemon [_thread_blocked,
>> id=3740, stack(0x00000000057f0000,0x00000000058f0000)]
>>   0x00000000050db800 JavaThread "Reference Handler" daemon
>> [_thread_blocked, id=3732, stack(0x0000000005600000,0x0000000005700000)]
>>   0x0000000001c9c800 JavaThread "main" [_thread_blocked, id=972,
>> stack(0x0000000001d40000,0x0000000001e40000)]
>>
>> Other Threads:
>>   0x00000000050d5800 VMThread [stack:
>> 0x0000000005450000,0x0000000005550000] [id=3592]
>>   0x000000000518d000 WatcherThread [stack:
>> 0x0000000006070000,0x0000000006170000] [id=3412]
>>
>> VM state:not at safepoint (normal execution)
>>
>> VM Mutex/Monitor currently owned by a thread: None
>>
>> Heap
>>  def new generation   total 13376K, used 2928K [0x00000000eae00000,
>> 0x00000000ebc80000, 0x00000000f0350000)
>>   eden space 11904K,  24% used [0x00000000eae00000,
>> 0x00000000eb0dc080, 0x00000000eb9a0000)
>>   from space 1472K,   0% used [0x00000000eb9a0000, 0x00000000eb9a0000,
>> 0x00000000ebb10000)
>>   to   space 1472K,   0% used [0x00000000ebb10000, 0x00000000ebb10000,
>> 0x00000000ebc80000)
>>  tenured generation   total 29608K, used 17763K [0x00000000f0350000,
>> 0x00000000f203a000, 0x00000000fae00000)
>>    the space 29608K,  59% used [0x00000000f0350000,
>> 0x00000000f14a8cb8, 0x00000000f14a8e00, 0x00000000f203a000)
>>  compacting perm gen  total 21888K, used 21675K [0x00000000fae00000,
>> 0x00000000fc360000, 0x0000000100000000)
>>    the space 21888K,  99% used [0x00000000fae00000,
>> 0x00000000fc32ae60, 0x00000000fc32b000, 0x00000000fc360000)
>> No shared spaces configured.
>>
>> Card table byte_map: [0x0000000005000000,0x00000000050b0000]
>> byte_map_base: 0x00000000048a9000
>>
>> Polling page: 0x0000000000320000
>>
>> Code Cache  [0x0000000001f40000, 0x00000000021b0000, 0x0000000004f40000)
>>  total_blobs=972 nmethods=305 adapters=618 free_code_cache=47838Kb
>> largest_free_block=48953472
>>
>> Compilation events (10 events):
>> Event: 43.297 Thread 0x000000000516d800  314
>> com.sun.javafx.geom.Path2D::getBounds (134 bytes)
>> Event: 43.302 Thread 0x000000000516d800 nmethod 314 0x000000000206e1d0
>> code [0x000000000206e320, 0x000000000206e678]
>> Event: 43.647 Thread 0x000000000516d800  315
>> java.util.HashMap::transfer (115 bytes)
>> Event: 43.651 Thread 0x000000000516d800 nmethod 315 0x000000000206f710
>> code [0x000000000206f860, 0x000000000206fb48]
>> Event: 43.694 Thread 0x000000000516d800  316
>> com.sun.javafx.geom.transform.AffineBase::updateState2D (210 bytes)
>> Event: 43.695 Thread 0x000000000516d800 nmethod 316 0x000000000206edd0
>> code [0x000000000206ef40, 0x000000000206f0b8]
>> Event: 43.739 Thread 0x000000000516d800  317
>> sun.java2d.SurfaceData::getSurfaceType (5 bytes)
>> Event: 43.739 Thread 0x000000000516d800 nmethod 317 0x000000000208a810
>> code [0x000000000208a940, 0x000000000208a998]
>> Event: 43.739 Thread 0x000000000516d800  318
>> java.awt.image.PackedColorModel::DecomposeMask (147 bytes)
>> Event: 43.742 Thread 0x000000000516d800 nmethod 318 0x0000000002086c50
>> code [0x0000000002086dc0, 0x0000000002086ff8]
>>
>> GC Heap History (10 events):
>> Event: 25.804 GC heap before
>> {Heap before GC invocations=73 (full 1):
>>  def new generation   total 8192K, used 8191K [0x00000000eae00000,
>> 0x00000000eb6e0000, 0x00000000f0350000)
>>   eden space 7296K,  99% used [0x00000000eae00000, 0x00000000eb51fc48,
>> 0x00000000eb520000)
>>   from space 896K, 100% used [0x00000000eb520000, 0x00000000eb600000,
>> 0x00000000eb600000)
>>   to   space 896K,   0% used [0x00000000eb600000, 0x00000000eb600000,
>> 0x00000000eb6e0000)
>>  tenured generation   total 18028K, used 14678K [0x00000000f0350000,
>> 0x00000000f14eb000, 0x00000000fae00000)
>>    the space 18028K,  81% used [0x00000000f0350000,
>> 0x00000000f11a58f0, 0x00000000f11a5a00, 0x00000000f14eb000)
>>  compacting perm gen  total 21248K, used 20670K [0x00000000fae00000,
>> 0x00000000fc2c0000, 0x0000000100000000)
>>    the space 21248K,  97% used [0x00000000fae00000,
>> 0x00000000fc22f948, 0x00000000fc22fa00, 0x00000000fc2c0000)
>> No shared spaces configured.
>> Event: 25.809 GC heap after
>> Heap after GC invocations=74 (full 1):
>>  def new generation   total 8192K, used 593K [0x00000000eae00000,
>> 0x00000000eb6e0000, 0x00000000f0350000)
>>   eden space 7296K,   0% used [0x00000000eae00000, 0x00000000eae00000,
>> 0x00000000eb520000)
>>   from space 896K,  66% used [0x00000000eb600000, 0x00000000eb694528,
>> 0x00000000eb6e0000)
>>   to   space 896K,   0% used [0x00000000eb520000, 0x00000000eb520000,
>> 0x00000000eb600000)
>>  tenured generation   total 18028K, used 16679K [0x00000000f0350000,
>> 0x00000000f14eb000, 0x00000000fae00000)
>>    the space 18028K,  92% used [0x00000000f0350000,
>> 0x00000000f1399d68, 0x00000000f1399e00, 0x00000000f14eb000)
>>  compacting perm gen  total 21248K, used 20670K [0x00000000fae00000,
>> 0x00000000fc2c0000, 0x0000000100000000)
>>    the space 21248K,  97% used [0x00000000fae00000,
>> 0x00000000fc22f948, 0x00000000fc22fa00, 0x00000000fc2c0000)
>> No shared spaces configured.
>> }
>> Event: 26.394 GC heap before
>> {Heap before GC invocations=74 (full 1):
>>  def new generation   total 8192K, used 7303K [0x00000000eae00000,
>> 0x00000000eb6e0000, 0x00000000f0350000)
>>   eden space 7296K,  91% used [0x00000000eae00000, 0x00000000eb48da58,
>> 0x00000000eb520000)
>>   from space 896K,  66% used [0x00000000eb600000, 0x00000000eb694528,
>> 0x00000000eb6e0000)
>>   to   space 896K,   0% used [0x00000000eb520000, 0x00000000eb520000,
>> 0x00000000eb600000)
>>  tenured generation   total 18028K, used 16679K [0x00000000f0350000,
>> 0x00000000f14eb000, 0x00000000fae00000)
>>    the space 18028K,  92% used [0x00000000f0350000,
>> 0x00000000f1399d68, 0x00000000f1399e00, 0x00000000f14eb000)
>>  compacting perm gen  total 21248K, used 20866K [0x00000000fae00000,
>> 0x00000000fc2c0000, 0x0000000100000000)
>>    the space 21248K,  98% used [0x00000000fae00000,
>> 0x00000000fc260960, 0x00000000fc260a00, 0x00000000fc2c0000)
>> No shared spaces configured.
>> Event: 26.397 GC heap after
>> Heap after GC invocations=75 (full 1):
>>  def new generation   total 8192K, used 143K [0x00000000eae00000,
>> 0x00000000eb6e0000, 0x00000000f0350000)
>>   eden space 7296K,   0% used [0x00000000eae00000, 0x00000000eae00000,
>> 0x00000000eb520000)
>>   from space 896K,  16% used [0x00000000eb520000, 0x00000000eb543f80,
>> 0x00000000eb600000)
>>   to   space 896K,   0% used [0x00000000eb600000, 0x00000000eb600000,
>> 0x00000000eb6e0000)
>>  tenured generation   total 18028K, used 17049K [0x00000000f0350000,
>> 0x00000000f14eb000, 0x00000000fae00000)
>>    the space 18028K,  94% used [0x00000000f0350000,
>> 0x00000000f13f6478, 0x00000000f13f6600, 0x00000000f14eb000)
>>  compacting perm gen  total 21248K, used 20866K [0x00000000fae00000,
>> 0x00000000fc2c0000, 0x0000000100000000)
>>    the space 21248K,  98% used [0x00000000fae00000,
>> 0x00000000fc260960, 0x00000000fc260a00, 0x00000000fc2c0000)
>> No shared spaces configured.
>> }
>> Event: 26.683 GC heap before
>> {Heap before GC invocations=75 (full 1):
>>  def new generation   total 8192K, used 7439K [0x00000000eae00000,
>> 0x00000000eb6e0000, 0x00000000f0350000)
>>   eden space 7296K, 100% used [0x00000000eae00000, 0x00000000eb520000,
>> 0x00000000eb520000)
>>   from space 896K,  16% used [0x00000000eb520000, 0x00000000eb543f80,
>> 0x00000000eb600000)
>>   to   space 896K,   0% used [0x00000000eb600000, 0x00000000eb600000,
>> 0x00000000eb6e0000)
>>  tenured generation   total 18028K, used 17049K [0x00000000f0350000,
>> 0x00000000f14eb000, 0x00000000fae00000)
>>    the space 18028K,  94% used [0x00000000f0350000,
>> 0x00000000f13f6478, 0x00000000f13f6600, 0x00000000f14eb000)
>>  compacting perm gen  total 21248K, used 20894K [0x00000000fae00000,
>> 0x00000000fc2c0000, 0x0000000100000000)
>>    the space 21248K,  98% used [0x00000000fae00000,
>> 0x00000000fc267858, 0x00000000fc267a00, 0x00000000fc2c0000)
>> No shared spaces configured.
>> Event: 26.684 GC heap after
>> Heap after GC invocations=76 (full 1):
>>  def new generation   total 8192K, used 202K [0x00000000eae00000,
>> 0x00000000eb6e0000, 0x00000000f0350000)
>>   eden space 7296K,   0% used [0x00000000eae00000, 0x00000000eae00000,
>> 0x00000000eb520000)
>>   from space 896K,  22% used [0x00000000eb600000, 0x00000000eb632808,
>> 0x00000000eb6e0000)
>>   to   space 896K,   0% used [0x00000000eb520000, 0x00000000eb520000,
>> 0x00000000eb600000)
>>  tenured generation   total 18028K, used 17049K [0x00000000f0350000,
>> 0x00000000f14eb000, 0x00000000fae00000)
>>    the space 18028K,  94% used [0x00000000f0350000,
>> 0x00000000f13f6478, 0x00000000f13f6600, 0x00000000f14eb000)
>>  compacting perm gen  total 21248K, used 20894K [0x00000000fae00000,
>> 0x00000000fc2c0000, 0x0000000100000000)
>>    the space 21248K,  98% used [0x00000000fae00000,
>> 0x00000000fc267858, 0x00000000fc267a00, 0x00000000fc2c0000)
>> No shared spaces configured.
>> }
>> Event: 35.118 GC heap before
>> {Heap before GC invocations=76 (full 1):
>>  def new generation   total 8192K, used 7189K [0x00000000eae00000,
>> 0x00000000eb6e0000, 0x00000000f0350000)
>>   eden space 7296K,  95% used [0x00000000eae00000, 0x00000000eb4d2c78,
>> 0x00000000eb520000)
>>   from space 896K,  22% used [0x00000000eb600000, 0x00000000eb632808,
>> 0x00000000eb6e0000)
>>   to   space 896K,   0% used [0x00000000eb520000, 0x00000000eb520000,
>> 0x00000000eb600000)
>>  tenured generation   total 18028K, used 17049K [0x00000000f0350000,
>> 0x00000000f14eb000, 0x00000000fae00000)
>>    the space 18028K,  94% used [0x00000000f0350000,
>> 0x00000000f13f6478, 0x00000000f13f6600, 0x00000000f14eb000)
>>  compacting perm gen  total 21248K, used 20955K [0x00000000fae00000,
>> 0x00000000fc2c0000, 0x0000000100000000)
>>    the space 21248K,  98% used [0x00000000fae00000,
>> 0x00000000fc276f48, 0x00000000fc277000, 0x00000000fc2c0000)
>> No shared spaces configured.
>> Event: 35.120 GC heap after
>> Heap after GC invocations=77 (full 1):
>>  def new generation   total 8192K, used 224K [0x00000000eae00000,
>> 0x00000000eb6e0000, 0x00000000f0350000)
>>   eden space 7296K,   0% used [0x00000000eae00000, 0x00000000eae00000,
>> 0x00000000eb520000)
>>   from space 896K,  25% used [0x00000000eb520000, 0x00000000eb558068,
>> 0x00000000eb600000)
>>   to   space 896K,   0% used [0x00000000eb600000, 0x00000000eb600000,
>> 0x00000000eb6e0000)
>>  tenured generation   total 18028K, used 17049K [0x00000000f0350000,
>> 0x00000000f14eb000, 0x00000000fae00000)
>>    the space 18028K,  94% used [0x00000000f0350000,
>> 0x00000000f13f6478, 0x00000000f13f6600, 0x00000000f14eb000)
>>  compacting perm gen  total 21248K, used 20955K [0x00000000fae00000,
>> 0x00000000fc2c0000, 0x0000000100000000)
>>    the space 21248K,  98% used [0x00000000fae00000,
>> 0x00000000fc276f48, 0x00000000fc277000, 0x00000000fc2c0000)
>> No shared spaces configured.
>> }
>> Event: 43.223 GC heap before
>> {Heap before GC invocations=77 (full 1):
>>  def new generation   total 8192K, used 7520K [0x00000000eae00000,
>> 0x00000000eb6e0000, 0x00000000f0350000)
>>   eden space 7296K, 100% used [0x00000000eae00000, 0x00000000eb520000,
>> 0x00000000eb520000)
>>   from space 896K,  25% used [0x00000000eb520000, 0x00000000eb558068,
>> 0x00000000eb600000)
>>   to   space 896K,   0% used [0x00000000eb600000, 0x00000000eb600000,
>> 0x00000000eb6e0000)
>>  tenured generation   total 18028K, used 17049K [0x00000000f0350000,
>> 0x00000000f14eb000, 0x00000000fae00000)
>>    the space 18028K,  94% used [0x00000000f0350000,
>> 0x00000000f13f6478, 0x00000000f13f6600, 0x00000000f14eb000)
>>  compacting perm gen  total 21248K, used 21142K [0x00000000fae00000,
>> 0x00000000fc2c0000, 0x0000000100000000)
>>    the space 21248K,  99% used [0x00000000fae00000,
>> 0x00000000fc2a5918, 0x00000000fc2a5a00, 0x00000000fc2c0000)
>> No shared spaces configured.
>> Event: 43.282 GC heap after
>> Heap after GC invocations=78 (full 2):
>>  def new generation   total 13376K, used 0K [0x00000000eae00000,
>> 0x00000000ebc80000, 0x00000000f0350000)
>>   eden space 11904K,   0% used [0x00000000eae00000,
>> 0x00000000eae00000, 0x00000000eb9a0000)
>>   from space 1472K,   0% used [0x00000000eb9a0000, 0x00000000eb9a0000,
>> 0x00000000ebb10000)
>>   to   space 1472K,   0% used [0x00000000ebb10000, 0x00000000ebb10000,
>> 0x00000000ebc80000)
>>  tenured generation   total 29608K, used 17763K [0x00000000f0350000,
>> 0x00000000f203a000, 0x00000000fae00000)
>>    the space 29608K,  59% used [0x00000000f0350000,
>> 0x00000000f14a8cb8, 0x00000000f14a8e00, 0x00000000f203a000)
>>  compacting perm gen  total 21248K, used 21142K [0x00000000fae00000,
>> 0x00000000fc2c0000, 0x0000000100000000)
>>    the space 21248K,  99% used [0x00000000fae00000,
>> 0x00000000fc2a5918, 0x00000000fc2a5a00, 0x00000000fc2c0000)
>> No shared spaces configured.
>> }
>>
>> Deoptimization events (10 events):
>> Event: 39.191 Thread 0x00000000065ed000 Uncommon trap -34 fr.pc
>> 0x000000000203039c
>> Event: 39.191 Thread 0x00000000065ed000 Uncommon trap -34 fr.pc
>> 0x000000000203039c
>> Event: 39.191 Thread 0x00000000065ed000 Uncommon trap -34 fr.pc
>> 0x000000000203039c
>> Event: 39.191 Thread 0x00000000065ed000 Uncommon trap -34 fr.pc
>> 0x000000000203039c
>> Event: 39.191 Thread 0x00000000065ed000 Uncommon trap -34 fr.pc
>> 0x0000000002027520
>> Event: 39.191 Thread 0x00000000065ed000 Uncommon trap -34 fr.pc
>> 0x0000000002027520
>> Event: 39.191 Thread 0x00000000065ed000 Uncommon trap -34 fr.pc
>> 0x0000000002027520
>> Event: 39.191 Thread 0x00000000065ed000 Uncommon trap -34 fr.pc
>> 0x0000000002027520
>> Event: 40.819 Thread 0x00000000065ed000 Uncommon trap 43 fr.pc
>> 0x0000000001fdf920
>> Event: 43.629 Thread 0x00000000065ed000 Uncommon trap -83 fr.pc
>> 0x0000000001fb6900
>>
>> Internal exceptions (10 events):
>> Event: 43.675 Thread 0x00000000065ed000 Threw 0x00000000eafbab48 at
>> C:\jdk7u2_64p\jdk7u13\hotspot\src\share\vm\prims\jvm.cpp:1166
>> Event: 43.676 Thread 0x00000000065ed000 Threw 0x00000000eafbd238 at
>> C:\jdk7u2_64p\jdk7u13\hotspot\src\share\vm\prims\jvm.cpp:1166
>> Event: 43.677 Thread 0x00000000065ed000 Threw 0x00000000eafc0cc8 at
>> C:\jdk7u2_64p\jdk7u13\hotspot\src\share\vm\prims\jvm.cpp:1166
>> Event: 43.678 Thread 0x00000000065ed000 Threw 0x00000000eafc2630 at
>> C:\jdk7u2_64p\jdk7u13\hotspot\src\share\vm\prims\jvm.cpp:1166
>> Event: 43.678 Thread 0x00000000065ed000 Threw 0x00000000eafc4908 at
>> C:\jdk7u2_64p\jdk7u13\hotspot\src\share\vm\prims\jvm.cpp:1166
>> Event: 43.679 Thread 0x00000000065ed000 Threw 0x00000000eafc66f8 at
>> C:\jdk7u2_64p\jdk7u13\hotspot\src\share\vm\prims\jvm.cpp:1166
>> Event: 43.679 Thread 0x00000000065ed000 Threw 0x00000000eafc8e70 at
>> C:\jdk7u2_64p\jdk7u13\hotspot\src\share\vm\prims\jvm.cpp:1166
>> Event: 43.681 Thread 0x000000000654a000 Threw 0x00000000eae627d0 at
>> C:\jdk7u2_64p\jdk7u13\hotspot\src\share\vm\prims\jvm.cpp:1166
>> Event: 43.732 Thread 0x00000000065ed000 Threw 0x00000000eafcf4c0 at
>> C:\jdk7u2_64p\jdk7u13\hotspot\src\share\vm\prims\jvm.cpp:1166
>> Event: 44.557 Thread 0x00000000065ed000 Threw 0x00000000eb0d6160 at
>> C:\jdk7u2_64p\jdk7u13\hotspot\src\share\vm\prims\jvm.cpp:1166
>>
>> Events (10 events):
>> Event: 43.679 loading class 0x0000000008d7d420
>> Event: 43.679 loading class 0x0000000008d7d420 done
>> Event: 43.681 loading class 0x00000000066e8d60
>> Event: 43.681 loading class 0x00000000066e8d60 done
>> Event: 43.691 Executing VM operation: RevokeBias
>> Event: 43.691 Executing VM operation: RevokeBias done
>> Event: 43.732 loading class 0x00000000067cdb10
>> Event: 43.732 loading class 0x00000000067cdb10 done
>> Event: 44.557 loading class 0x0000000008ee6a50
>> Event: 44.557 loading class 0x0000000008ee6a50 done
>>
>>
>> Dynamic libraries:
>> 0x000000013fee0000 - 0x000000013ff13000     C:\Program
>> Files\Java\jre7\bin\java.exe
>> 0x00000000779c0000 - 0x0000000077b6c000     C:\Windows\SYSTEM32\ntdll.dll
>> 0x00000000777a0000 - 0x00000000778bf000
>> C:\Windows\system32\kernel32.dll
>> 0x000007fefe050000 - 0x000007fefe0bc000
>> C:\Windows\system32\KERNELBASE.dll
>> 0x000007fefe210000 - 0x000007fefe2eb000
>> C:\Windows\system32\ADVAPI32.dll
>> 0x000007feff3c0000 - 0x000007feff45f000
>> C:\Windows\system32\msvcrt.dll
>> 0x000007feffbe0000 - 0x000007feffbff000
>> C:\Windows\SYSTEM32\sechost.dll
>> 0x000007fefe3c0000 - 0x000007fefe4ee000
>> C:\Windows\system32\RPCRT4.dll
>> 0x00000000778c0000 - 0x00000000779ba000
>> C:\Windows\system32\USER32.dll
>> 0x000007feff340000 - 0x000007feff3a7000     C:\Windows\system32\GDI32.dll
>> 0x000007feff3b0000 - 0x000007feff3be000     C:\Windows\system32\LPK.dll
>> 0x000007feffc00000 - 0x000007feffcca000     C:\Windows\system32\USP10.dll
>> 0x000007fefcab0000 - 0x000007fefcca4000
>> C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_fa645303170382f6\COMCTL32.dll
>>
>> 0x000007feff9b0000 - 0x000007feffa21000
>> C:\Windows\system32\SHLWAPI.dll
>> 0x000007fefe2f0000 - 0x000007fefe31e000     C:\Windows\system32\IMM32.DLL
>> 0x000007feffad0000 - 0x000007feffbd9000     C:\Windows\system32\MSCTF.dll
>> 0x0000000073700000 - 0x00000000737d1000     C:\Program
>> Files\Java\jre7\bin\msvcr100.dll
>> 0x0000000072550000 - 0x0000000072c6f000     C:\Program
>> Files\Java\jre7\bin\server\jvm.dll
>> 0x000007fef5bd0000 - 0x000007fef5bd9000
>> C:\Windows\system32\WSOCK32.dll
>> 0x000007feff2f0000 - 0x000007feff33d000
>> C:\Windows\system32\WS2_32.dll
>> 0x000007fefe200000 - 0x000007fefe208000     C:\Windows\system32\NSI.dll
>> 0x000007fef7da0000 - 0x000007fef7ddb000     C:\Windows\system32\WINMM.dll
>> 0x0000000077b80000 - 0x0000000077b87000     C:\Windows\system32\PSAPI.DLL
>> 0x0000000075080000 - 0x000000007508f000     C:\Program
>> Files\Java\jre7\bin\verify.dll
>> 0x0000000073e50000 - 0x0000000073e78000     C:\Program
>> Files\Java\jre7\bin\java.dll
>> 0x000007fefdc90000 - 0x000007fefdcb5000
>> C:\Windows\system32\SspiCli.dll
>> 0x0000000075060000 - 0x0000000075075000     C:\Program
>> Files\Java\jre7\bin\zip.dll
>> 0x0000000073de0000 - 0x0000000073df9000     C:\Program
>> Files\Java\jre7\bin\net.dll
>> 0x000007fefd660000 - 0x000007fefd6b4000
>> C:\Windows\system32\mswsock.dll
>> 0x000007fefd650000 - 0x000007fefd657000
>> C:\Windows\System32\wship6.dll
>> 0x0000000073dc0000 - 0x0000000073dd1000     C:\Program
>> Files\Java\jre7\bin\nio.dll
>> 0x0000000073e80000 - 0x0000000073ebf000     C:\Program
>> Files\Java\jre7\bin\splashscreen.dll
>> 0x0000000073da0000 - 0x0000000073daf000     C:\Program
>> Files\Java\jre7\bin\prism-d3d.dll
>> 0x000007fef0cf0000 - 0x000007fef0eef000     C:\Windows\system32\d3d9.dll
>> 0x000007fefcfa0000 - 0x000007fefcfac000
>> C:\Windows\system32\VERSION.dll
>> 0x000007fefcaa0000 - 0x000007fefcaa7000
>> C:\Windows\system32\d3d8thk.dll
>> 0x000007fefc4a0000 - 0x000007fefc4b8000
>> C:\Windows\system32\dwmapi.dll
>> 0x000007fefc8d0000 - 0x000007fefc926000
>> C:\Windows\system32\uxtheme.dll
>> 0x0000000073350000 - 0x0000000073382000     C:\Program
>> Files\Java\jre7\bin\glass.dll
>> 0x000007fefe320000 - 0x000007fefe3b8000
>> C:\Windows\system32\COMDLG32.dll
>> 0x000007fefe4f0000 - 0x000007feff277000
>> C:\Windows\system32\SHELL32.dll
>> 0x000007feff460000 - 0x000007feff662000     C:\Windows\system32\ole32.dll
>> 0x000007feff670000 - 0x000007feff747000
>> C:\Windows\system32\OLEAUT32.dll
>> 0x000007fefdd20000 - 0x000007fefdd2f000
>> C:\Windows\system32\CRYPTBASE.dll
>> 0x00000000732b0000 - 0x0000000073342000     C:\Program
>> Files\Java\jre7\bin\libxml2.dll
>> 0x0000000073270000 - 0x00000000732a3000     C:\Program
>> Files\Java\jre7\bin\libxslt.dll
>> 0x000000006fae0000 - 0x0000000070917000     C:\Program
>> Files\Java\jre7\bin\jfxwebkit.dll
>> 0x000007feffa30000 - 0x000007feffac9000
>> C:\Windows\system32\CLBCatQ.DLL
>> 0x000007fefc330000 - 0x000007fefc45a000
>> C:\Windows\system32\WindowsCodecs.dll
>> 0x000007fefdcc0000 - 0x000007fefdd17000
>> C:\Windows\system32\apphelp.dll
>> 0x000007fef8240000 - 0x000007fef8275000
>> C:\Windows\system32\EhStorShell.dll
>> 0x000007feff750000 - 0x000007feff927000
>> C:\Windows\system32\SETUPAPI.dll
>> 0x000007fefe0e0000 - 0x000007fefe116000
>> C:\Windows\system32\CFGMGR32.dll
>> 0x000007fefe0c0000 - 0x000007fefe0da000
>> C:\Windows\system32\DEVOBJ.dll
>> 0x000007fefc930000 - 0x000007fefca5c000
>> C:\Windows\system32\PROPSYS.dll
>> 0x000007fef81c0000 - 0x000007fef823e000     C:\Windows\System32\cscui.dll
>> 0x000007fef81b0000 - 0x000007fef81bc000
>> C:\Windows\System32\CSCDLL.dll
>> 0x000007fef81a0000 - 0x000007fef81af000
>> C:\Windows\system32\CSCAPI.dll
>> 0x000007fef8120000 - 0x000007fef81a0000
>> C:\Windows\system32\ntshrui.dll
>> 0x000007fefdbc0000 - 0x000007fefdbe3000
>> C:\Windows\system32\srvcli.dll
>> 0x000007fefb990000 - 0x000007fefb99b000     C:\Windows\system32\slc.dll
>> 0x0000000073220000 - 0x000000007326f000     C:\Program
>> Files\Java\jre7\bin\javafx-font.dll
>> 0x0000000073080000 - 0x0000000073213000     C:\Program
>> Files\Java\jre7\bin\awt.dll
>> 0x000007fefd6c0000 - 0x000007fefd6d7000
>> C:\Windows\system32\CRYPTSP.dll
>> 0x000007fefd3c0000 - 0x000007fefd407000
>> C:\Windows\system32\rsaenh.dll
>> 0x0000000073060000 - 0x0000000073076000     C:\Program
>> Files\Java\jre7\bin\decora-sse.dll
>> 0x0000000073030000 - 0x000000007305a000     C:\Program
>> Files\Java\jre7\bin\dcpr.dll
>> 0x0000000072ff0000 - 0x0000000073024000     C:\Program
>> Files\Java\jre7\bin\fontmanager.dll
>> 0x0000000072fa0000 - 0x0000000072fe1000     C:\Program
>> Files\Java\jre7\bin\t2k.dll
>> 0x0000000072f60000 - 0x0000000072f9a000     C:\Program
>> Files\Java\jre7\bin\javafx-iio.dll
>> 0x000007fefb7a0000 - 0x000007fefb8c5000
>> C:\Windows\system32\dbghelp.dll
>>
>> VM Arguments:
>> java_command: ca.benow.web.browser.BrowserApp --url
>> http://192.168.1.147:50184/index.page --title Qtility Move --size 800x425
>> Launcher Type: SUN_STANDARD
>>
>> Environment Variables:
>>
>>
>>
>> ---------------  S Y S T E M  ---------------
>>
>> OS: Windows 7 , 64 bit Build 7600
>>
>> CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 42
>> stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1,
>> sse4.2, popcnt, tsc, tscinvbit
>>
>> Memory: 4k page, physical 1048056k(323100k free), swap
>> 2096632k(932788k free)
>>
>> vm_info: Java HotSpot(TM) 64-Bit Server VM (23.7-b01) for
>> windows-amd64 JRE (1.7.0_13-b20), built on Jan 30 2013 10:10:00 by
>> "java_re" with unknown MS VC++:1600
>>
>> time: Tue Feb 05 13:03:35 2013
>> elapsed time: 44 seconds
>
>
>
>
>
> On 6/14/2013 6:39 PM, Artem Ananiev wrote:
>> Hi, HotSpot runtime team,
>>
>> as a JavaFX developer, I get many bug reports, including JVM crashes.
>> Some of the crashes are very strange, so I would like to get comments
>> from the HS team.
>>
>> Attached is one of the example. According to the log, the crash happens
>> in Java_com_sun_glass_events_KeyEvent__1getKeyCodeForChar(), and the
>> offset is 0x1630. On the top of the Java stack at the moment of crash is
>> com.sun.glass.ui.win.WinWindow._close().
>>
>> This information doesn't look right because of the following reasons:
>>
>> 1. In native code, _close() never calls _getKeyCodeForChar(), directly
>> or indirectly.
>>
>> 2. _getKeyCodeForChar() is a tiny methods that cannot occupy 0x1630
>> bytes.
>>
>> This is not the only crash in _getKeyCodeForChar(), and all of them look
>> wrong. The only idea I've got so far is that the offset is always
>> reported relatively to the beginning of the dll, and this Java method is
>> just the first exported JNI function.
>>
>> I could probably look to the map file of the dll and find the function
>> at 0x1630 manually, but it would be fine if JVM can provide this
>> information in the log file.

Do you have a .pdb file for glass.dll?
There is some logic to set up paths to find .pdb files but it may need 
some tuning.

That's the only way we can give you a sensible stacktrace for 
non-exported functions.

I think that the reason you get _getKeyCodeForChar() is that it's the 
closest exported symbol to where you crash.

/Mikael

>>
>> Any ideas what can cause this strange behavior?
>>
>> Thanks,
>>
>> Artem


More information about the hotspot-runtime-dev mailing list