You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JRuby JVM crashes when using win32ole/racob to change account a Windows Service shall use to run.
require"win32ole"user=".\\Administrator"service_id="tomcat7"locator=WIN32OLE.new('WbemScripting.SWbemLocator')wmi=locator.connectServer("./","root\\cimv2","","")services=wmi.execQuery("SELECT * FROM Win32_Service WHERE Name='%s'" % [service_id])services.eachdo |service|
objInParam=service.methods_('Change').inParameters.spawnInstance_objInParam.properties_.item('StartName').value=userresult=service.execMethod_('Change',objInParam)putsresult.returnValueend
The user executing the code snippet is the same user.
This leads to
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffe81d66b2b, pid=4764, tid=988
#
# JRE version: Java(TM) SE Runtime Environment (7.0_76-b13) (build 1.7.0_76-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.76-b04 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [racob-x64.dll+0x6b2b]
#
# Core dump written. Default location: C:\Users\Administrator\Documents\hs_err_pid4764.mdmp
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.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 (0x000000000231e000): JavaThread "main" [_thread_in_native, id=988, stack(0x0000000002330000,0x0000000002530000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x00007ffe007eebc0
Registers:
RAX=0x00007ffe007eebc0, RBX=0x0000000000000009, RCX=0x0000000000000000, RDX=0x000000000231e000
RSP=0x000000000252e110, RBP=0x0000000006fb5e20, RSI=0x0000000000845a30, RDI=0x000000000231e1e8
R8 =0x000000000231e000, R9 =0x0000000006fcad20, R10=0x0000000000000000, R11=0x000000000252e0d0
R12=0x000000000252e748, R13=0x0000000000845a30, R14=0x0000000000000000, R15=0x0000000000000001
RIP=0x00007ffe81d66b2b, EFLAGS=0x0000000000010206
Top of Stack: (sp=0x000000000252e110)
0x000000000252e110: 000000000252e748 0000000000000009
0x000000000252e120: 0000000006f0fe18 00000000f7c72720
0x000000000252e130: 0000000000845a30 00007ffe81d621f9
0x000000000252e140: 000000000252e748 0000000006fb5e20
0x000000000252e150: 000000000252e240 000000000231e1e8
0x000000000252e160: 0000000000000000 000000000231e838
0x000000000252e170: 0000000000000000 00000000000003d8
0x000000000252e180: 000000000231e460 0000000000000000
0x000000000252e190: 000000020000000d 000000005aed7ce2
0x000000000252e1a0: 0000000100000000 000000005aeecf13
0x000000000252e1b0: 00000000ffffffff 000000000252e740
0x000000000252e1c0: 000000000252e768 000000000252e748
0x000000000252e1d0: 00000000007ee840 000000001f72e08e
0x000000000252e1e0: 00000000dbc7a888 000000005afcd849
0x000000000252e1f0: 000000000231e898 000000000252e1f8
0x000000000252e200: 00000000dbc20d58 000000000252e260
Instructions: (pc=0x00007ffe81d66b2b)
0x00007ffe81d66b0b: e9 ad 02 00 00 4c 8b 05 59 7c 01 00 48 8b d5 48
0x00007ffe81d66b1b: 8b cf e8 0e cc ff ff 48 85 c0 74 12 48 89 46 08
0x00007ffe81d66b2b: 48 8b 10 48 8b c8 ff 52 08 e9 84 02 00 00 48 8d
0x00007ffe81d66b3b: 15 08 0a 01 00 41 83 c8 ff 48 8b cf e8 94 e3 ff
Register to memory mapping:
RAX=0x00007ffe007eebc0 is an unknown value
RBX=0x0000000000000009 is an unknown value
RCX=0x0000000000000000 is an unknown value
RDX=0x000000000231e000 is a thread
RSP=0x000000000252e110 is pointing into the stack for thread: 0x000000000231e000
RBP=0x0000000006fb5e20 is an unknown value
RSI=0x0000000000845a30 is an unknown value
RDI=0x000000000231e1e8 is an unknown value
R8 =0x000000000231e000 is a thread
R9 =0x0000000006fcad20 is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x000000000252e0d0 is pointing into the stack for thread: 0x000000000231e000
R12=0x000000000252e748 is pointing into the stack for thread: 0x000000000231e000
R13=0x0000000000845a30 is an unknown value
R14=0x0000000000000000 is an unknown value
R15=0x0000000000000001 is an unknown value
Stack: [0x0000000002330000,0x0000000002530000], sp=0x000000000252e110, free space=2040k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [racob-x64.dll+0x6b2b]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.racob.com.Dispatch.invokev(ILjava/lang/String;III[Lorg/racob/com/Variant;[I)Lorg/racob/com/Variant;+0
j org.racob.com.Dispatch.invokev(Ljava/lang/String;I[Lorg/racob/com/Variant;[I)Lorg/racob/com/Variant;+13
j org.racob.com.Dispatch.callN(Ljava/lang/String;[Ljava/lang/Object;)Lorg/racob/com/Variant;+12
j org.jruby.ext.win32ole.RubyWIN32OLE.invokeMethodOrGet(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;+33
j org.jruby.ext.win32ole.RubyWIN32OLE.method_missing(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;+40
j org.jruby.ext.win32ole.RubyWIN32OLE$INVOKER$i$0$0$method_missing.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;+32
j org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+8
j org.jruby.runtime.Helpers$MethodMissingMethod.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+27
j org.jruby.internal.runtime.methods.DynamicMethod.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+22
j org.jruby.runtime.callsite.CachingCallSite.callMethodMissing(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/internal/runtime/methods/DynamicMethod;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;+36
j org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;+37
j org.jruby.runtime.callsite.CachingCallSite.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;+54
j foo.block_0$RUBY$__file__(Lfoo;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+151
j foo$block_0$RUBY$__file__.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+9
j org.jruby.runtime.CompiledBlock19.yield(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Binding;Lorg/jruby/runtime/Block$Type;)Lorg/jruby/runtime/builtin/IRubyObject;+52
j org.jruby.runtime.Block.yield(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;+14
j org.jruby.ext.win32ole.RubyWIN32OLE.each(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+37
j org.jruby.ext.win32ole.RubyWIN32OLE$INVOKER$i$0$0$each.call(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+7
j org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;+57
j org.jruby.runtime.callsite.CachingCallSite.callBlock(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+50
j org.jruby.runtime.callsite.CachingCallSite.callIter(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+6
j foo.__file__(Lfoo;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;+241
j foo.load(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;+21
j org.jruby.Ruby.runScript(Lorg/jruby/ast/executable/Script;Z)Lorg/jruby/runtime/builtin/IRubyObject;+12
j org.jruby.Ruby.runScript(Lorg/jruby/ast/executable/Script;)Lorg/jruby/runtime/builtin/IRubyObject;+3
j org.jruby.Ruby.runNormally(Lorg/jruby/ast/Node;)Lorg/jruby/runtime/builtin/IRubyObject;+73
j org.jruby.Ruby.runFromMain(Ljava/io/InputStream;Ljava/lang/String;)V+320
j org.jruby.Main.doRunFromMain(Lorg/jruby/Ruby;Ljava/io/InputStream;Ljava/lang/String;)Lorg/jruby/Main$Status;+12
j org.jruby.Main.internalRun()Lorg/jruby/Main$Status;+234
j org.jruby.Main.run([Ljava/lang/String;)Lorg/jruby/Main$Status;+9
j org.jruby.Main.main([Ljava/lang/String;)V+35
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x000000000a346800 JavaThread "Ruby-0-JIT-1" daemon [_thread_blocked, id=2668, stack(0x000000000c200000,0x000000000c400000)]
0x000000000700e800 JavaThread "Service Thread" daemon [_thread_blocked, id=4972, stack(0x0000000008b80000,0x0000000008d80000)]
0x0000000006fff000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=4828, stack(0x0000000008a80000,0x0000000008b80000)]
0x0000000006ffd800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=4724, stack(0x0000000008980000,0x0000000008a80000)]
0x0000000006ffc800 JavaThread "Attach Listener" daemon [_thread_blocked, id=5064, stack(0x0000000008780000,0x0000000008980000)]
0x0000000006ff9800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1900, stack(0x0000000008580000,0x0000000008780000)]
0x0000000006fc1800 JavaThread "Finalizer" daemon [_thread_blocked, id=2748, stack(0x0000000008380000,0x0000000008580000)]
0x0000000006fb8800 JavaThread "Reference Handler" daemon [_thread_blocked, id=644, stack(0x0000000008180000,0x0000000008380000)]
=>0x000000000231e000 JavaThread "main" [_thread_in_native, id=988, stack(0x0000000002330000,0x0000000002530000)]
Other Threads:
0x0000000006fb4800 VMThread [stack: 0x0000000008080000,0x0000000008180000] [id=4944]
0x0000000007019000 WatcherThread [stack: 0x0000000008d80000,0x0000000008e80000] [id=4784]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 71680K, used 38127K [0x00000000f5900000, 0x00000000fa900000, 0x0000000100000000)
eden space 61440K, 62% used [0x00000000f5900000,0x00000000f7e3bc80,0x00000000f9500000)
from space 10240K, 0% used [0x00000000f9f00000,0x00000000f9f00000,0x00000000fa900000)
to space 10240K, 0% used [0x00000000f9500000,0x00000000f9500000,0x00000000f9f00000)
ParOldGen total 163840K, used 0K [0x00000000e0c00000, 0x00000000eac00000, 0x00000000f5900000)
object space 163840K, 0% used [0x00000000e0c00000,0x00000000e0c00000,0x00000000eac00000)
PSPermGen total 25088K, used 25040K [0x00000000dba00000, 0x00000000dd280000, 0x00000000e0c00000)
object space 25088K, 99% used [0x00000000dba00000,0x00000000dd274228,0x00000000dd280000)
Card table byte_map: [0x0000000005530000,0x0000000005660000] byte_map_base: 0x0000000004e53000
Polling page: 0x00000000009b0000
Code Cache [0x0000000002530000, 0x00000000027a0000, 0x0000000005530000)
total_blobs=772 nmethods=293 adapters=431 free_code_cache=47570Kb largest_free_block=48670592
Compilation events (10 events):
Event: 3.073 Thread 0x0000000006ffd800 289 java.nio.Buffer::limit (62 bytes)
Event: 3.073 Thread 0x0000000006fff000 290 java.nio.Buffer::<init> (121 bytes)
Event: 3.073 Thread 0x0000000006ffd800 nmethod 289 0x000000000269cdd0 code [0x000000000269cf00, 0x000000000269cf98]
Event: 3.074 Thread 0x0000000006fff000 nmethod 290 0x000000000269ca90 code [0x000000000269cbe0, 0x000000000269ccb8]
Event: 3.076 Thread 0x0000000006ffd800 291 org.jruby.ast.BlockNode::interpret (47 bytes)
Event: 3.080 Thread 0x0000000006ffd800 nmethod 291 0x00000000026aafd0 code [0x00000000026ab160, 0x00000000026ab508]
Event: 3.080 Thread 0x0000000006fff000 292 org.jruby.RubyObject::<init> (7 bytes)
Event: 3.081 Thread 0x0000000006fff000 nmethod 292 0x000000000269e490 code [0x000000000269e5e0, 0x000000000269e6d8]
Event: 3.088 Thread 0x0000000006ffd800 293 org.jruby.runtime.callsite.CacheEntry::typeOk (17 bytes)
Event: 3.088 Thread 0x0000000006ffd800 nmethod 293 0x000000000269e190 code [0x000000000269e2c0, 0x000000000269e338]
GC Heap History (0 events):
No events
Deoptimization events (10 events):
Event: 2.669 Thread 0x000000000231e000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000263e8dc method=org.jruby.compiler.ASTInspector.inspect(Lorg/jruby/ast/Node;)V @ 2336
Event: 2.701 Thread 0x000000000a346800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000000025a41f4 method=java.util.Arrays.fill([Ljava/lang/Object;Ljava/lang/Object;)V @ 13
Event: 2.702 Thread 0x000000000a346800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000000025a41f4 method=java.util.Arrays.fill([Ljava/lang/Object;Ljava/lang/Object;)V @ 13
Event: 2.806 Thread 0x000000000231e000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000002688f10 method=org.jruby.parser.StaticScope.isDefined(Ljava/lang/String;)I @ 3
Event: 2.806 Thread 0x000000000231e000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000002688f10 method=org.jruby.parser.StaticScope.isDefined(Ljava/lang/String;)I @ 3
Event: 2.815 Thread 0x000000000231e000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000002688f10 method=org.jruby.parser.StaticScope.isDefined(Ljava/lang/String;)I @ 3
Event: 2.815 Thread 0x000000000231e000 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000002688f10 method=org.jruby.parser.StaticScope.isDefined(Ljava/lang/String;)I @ 3
Event: 2.817 Thread 0x000000000231e000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000263e8dc method=org.jruby.compiler.ASTInspector.inspect(Lorg/jruby/ast/Node;)V @ 2336
Event: 2.912 Thread 0x000000000231e000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000000025cf854 method=java.util.concurrent.ConcurrentHashMap$Segment.put(Ljava/lang/Object;ILjava/lang/Object;Z)Ljava/lang/Object; @ 77
Event: 2.918 Thread 0x000000000231e000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x00000000025cf854 method=java.util.concurrent.ConcurrentHashMap$Segment.put(Ljava/lang/Object;ILjava/lang/Object;Z)Ljava/lang/Object; @ 77
Internal exceptions (10 events):
Event: 3.103 Thread 0x000000000231e000 Threw 0x00000000f7c5f080 at C:\re\jdk7u76\1941\hotspot\src\share\vm\prims\jvm.cpp:1304
Event: 3.103 Thread 0x000000000231e000 Threw 0x00000000f7c5fbc8 at C:\re\jdk7u76\1941\hotspot\src\share\vm\prims\jvm.cpp:1304
Event: 3.112 Thread 0x000000000231e000 Threw 0x00000000f7c67968 at C:\re\jdk7u76\1941\hotspot\src\share\vm\prims\jvm.cpp:1304
Event: 3.112 Thread 0x000000000231e000 Threw 0x00000000f7c68388 at C:\re\jdk7u76\1941\hotspot\src\share\vm\prims\jvm.cpp:1304
Event: 3.112 Thread 0x000000000231e000 Threw 0x00000000f7c68838 at C:\re\jdk7u76\1941\hotspot\src\share\vm\prims\jvm.cpp:1304
Event: 3.112 Thread 0x000000000231e000 Threw 0x00000000f7c68b90 at C:\re\jdk7u76\1941\hotspot\src\share\vm\prims\jvm.cpp:1304
Event: 3.112 Thread 0x000000000231e000 Threw 0x00000000f7c68f18 at C:\re\jdk7u76\1941\hotspot\src\share\vm\prims\jvm.cpp:1304
Event: 3.112 Thread 0x000000000231e000 Threw 0x00000000f7c69938 at C:\re\jdk7u76\1941\hotspot\src\share\vm\prims\jvm.cpp:1304
Event: 3.112 Thread 0x000000000231e000 Threw 0x00000000f7c69de8 at C:\re\jdk7u76\1941\hotspot\src\share\vm\prims\jvm.cpp:1304
Event: 3.112 Thread 0x000000000231e000 Threw 0x00000000f7c6a140 at C:\re\jdk7u76\1941\hotspot\src\share\vm\prims\jvm.cpp:1304
Events (10 events):
Event: 3.111 loading class 0x000000000aca6080
Event: 3.111 loading class 0x000000000aca6080 done
Event: 3.112 loading class 0x000000000aca6080
Event: 3.112 loading class 0x000000000aca6080 done
Event: 3.113 loading class 0x0000000008e84b60
Event: 3.113 loading class 0x0000000008e84c50
Event: 3.113 loading class 0x0000000008e84c50 done
Event: 3.113 loading class 0x0000000008e84b60 done
Event: 3.114 loading class 0x00000000021bdc70
Event: 3.114 loading class 0x00000000021bdc70 done
Dynamic libraries:
0x00007ff62d950000 - 0x00007ff62d983000 D:\Splash\GAIA\CORE\jdk1.7.0_76\jre\bin\java.exe
0x00007ffe9b900000 - 0x00007ffe9baac000 C:\Windows\SYSTEM32\ntdll.dll
0x00007ffe99360000 - 0x00007ffe9949e000 C:\Windows\system32\KERNEL32.DLL
0x00007ffe98b80000 - 0x00007ffe98c95000 C:\Windows\system32\KERNELBASE.dll
0x00007ffe97650000 - 0x00007ffe976de000 C:\Windows\system32\apphelp.dll
0x00007ffe81d90000 - 0x00007ffe81de3000 C:\Windows\AppPatch\AppPatch64\AcGenral.DLL
0x00007ffe9ac30000 - 0x00007ffe9acda000 C:\Windows\system32\msvcrt.dll
0x00007ffe98820000 - 0x00007ffe9884e000 C:\Windows\SYSTEM32\SspiCli.dll
0x00007ffe98f80000 - 0x00007ffe98fd4000 C:\Windows\system32\SHLWAPI.dll
0x00007ffe9b6b0000 - 0x00007ffe9b827000 C:\Windows\system32\USER32.dll
0x00007ffe99050000 - 0x00007ffe991e4000 C:\Windows\system32\ole32.dll
0x00007ffe99710000 - 0x00007ffe9ac28000 C:\Windows\system32\SHELL32.dll
0x00007ffe97ff0000 - 0x00007ffe98011000 C:\Windows\SYSTEM32\USERENV.dll
0x00007ffe9b1d0000 - 0x00007ffe9b27a000 C:\Windows\system32\ADVAPI32.dll
0x00007ffe934e0000 - 0x00007ffe934fe000 C:\Windows\SYSTEM32\MPR.dll
0x00007ffe9b540000 - 0x00007ffe9b681000 C:\Windows\system32\RPCRT4.dll
0x00007ffe9ace0000 - 0x00007ffe9ad39000 C:\Windows\SYSTEM32\sechost.dll
0x00007ffe9afa0000 - 0x00007ffe9b1b1000 C:\Windows\SYSTEM32\combase.dll
0x00007ffe9ad40000 - 0x00007ffe9ae91000 C:\Windows\system32\GDI32.dll
0x00007ffe98a50000 - 0x00007ffe98a65000 C:\Windows\SYSTEM32\profapi.dll
0x00007ffe96e70000 - 0x00007ffe96f22000 C:\Windows\SYSTEM32\SHCORE.dll
0x00007ffe9af60000 - 0x00007ffe9af96000 C:\Windows\system32\IMM32.DLL
0x00007ffe99200000 - 0x00007ffe99353000 C:\Windows\system32\MSCTF.dll
0x00007ffe96280000 - 0x00007ffe964fb000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17415_none_6240486fecbd8abb\COMCTL32.dll
0x000000005b4e0000 - 0x000000005b5b2000 D:\Splash\GAIA\CORE\jdk1.7.0_76\jre\bin\msvcr100.dll
0x000000005ad00000 - 0x000000005b4d5000 D:\Splash\GAIA\CORE\jdk1.7.0_76\jre\bin\server\jvm.dll
0x00007ffe95b70000 - 0x00007ffe95b79000 C:\Windows\SYSTEM32\WSOCK32.dll
0x00007ffe8f9e0000 - 0x00007ffe8fa02000 C:\Windows\SYSTEM32\WINMM.dll
0x00007ffe9b830000 - 0x00007ffe9b837000 C:\Windows\system32\PSAPI.DLL
0x00007ffe99500000 - 0x00007ffe9955a000 C:\Windows\system32\WS2_32.dll
0x00007ffe8ec10000 - 0x00007ffe8ec3a000 C:\Windows\SYSTEM32\WINMMBASE.dll
0x00007ffe9b1c0000 - 0x00007ffe9b1c9000 C:\Windows\system32\NSI.dll
0x00007ffe98ca0000 - 0x00007ffe98cef000 C:\Windows\SYSTEM32\cfgmgr32.dll
0x00007ffe978d0000 - 0x00007ffe978f8000 C:\Windows\SYSTEM32\DEVOBJ.dll
0x000000005acf0000 - 0x000000005acff000 D:\Splash\GAIA\CORE\jdk1.7.0_76\jre\bin\verify.dll
0x000000005acc0000 - 0x000000005ace8000 D:\Splash\GAIA\CORE\jdk1.7.0_76\jre\bin\java.dll
0x000000005aca0000 - 0x000000005acb5000 D:\Splash\GAIA\CORE\jdk1.7.0_76\jre\bin\zip.dll
0x000000005ac80000 - 0x000000005ac9a000 D:\Splash\GAIA\CORE\jdk1.7.0_76\jre\bin\net.dll
0x00007ffe98260000 - 0x00007ffe982b9000 C:\Windows\system32\mswsock.dll
0x00007ffe982c0000 - 0x00007ffe982e0000 C:\Windows\SYSTEM32\CRYPTSP.dll
0x00007ffe97f00000 - 0x00007ffe97f36000 C:\Windows\system32\rsaenh.dll
0x00007ffe98510000 - 0x00007ffe98536000 C:\Windows\SYSTEM32\bcrypt.dll
0x00007ffe98850000 - 0x00007ffe988b3000 C:\Windows\system32\bcryptprimitives.dll
0x00007ffe989c0000 - 0x00007ffe989cb000 C:\Windows\SYSTEM32\CRYPTBASE.dll
0x00007ffe95310000 - 0x00007ffe9533a000 C:\Windows\SYSTEM32\IPHLPAPI.DLL
0x00007ffe952c0000 - 0x00007ffe952ca000 C:\Windows\SYSTEM32\WINNSI.DLL
0x00007ffe94dd0000 - 0x00007ffe94de6000 C:\Windows\SYSTEM32\dhcpcsvc6.DLL
0x00007ffe94c70000 - 0x00007ffe94c8a000 C:\Windows\SYSTEM32\dhcpcsvc.DLL
0x000000005ac60000 - 0x000000005ac71000 D:\Splash\GAIA\CORE\jdk1.7.0_76\jre\bin\nio.dll
0x000000006e4c0000 - 0x000000006e4df000 D:\Splash\GAIA\CORE\jruby-1.7.17\lib\jni\x86_64-Windows\jffi-1.2.dll
0x00007ffe81d60000 - 0x00007ffe81d85000 D:\Splash\GAIA\CORE\gem\gems\jruby-win32ole-0.8.5\lib\racob-x64.dll
0x00007ffe9b290000 - 0x00007ffe9b351000 C:\Windows\system32\OLEAUT32.dll
0x00007ffe97720000 - 0x00007ffe9772b000 C:\Windows\SYSTEM32\kernel.appcore.dll
0x00007ffe97730000 - 0x00007ffe97859000 C:\Windows\system32\uxtheme.dll
0x00007ffe9aea0000 - 0x00007ffe9af56000 C:\Windows\SYSTEM32\clbcatq.dll
0x00007ffe81d10000 - 0x00007ffe81d5a000 C:\Windows\system32\wbem\wbemdisp.dll
0x00007ffe93a40000 - 0x00007ffe93ac2000 C:\Windows\SYSTEM32\wbemcomn.dll
0x00007ffe93f20000 - 0x00007ffe93f31000 C:\Windows\system32\wbem\wbemprox.dll
0x00007ffe988c0000 - 0x00007ffe98959000 C:\Windows\SYSTEM32\sxs.dll
0x00007ffe91fe0000 - 0x00007ffe92006000 C:\Windows\system32\wbem\wmiutils.dll
0x00007ffe93530000 - 0x00007ffe93545000 C:\Windows\system32\wbem\wbemsvc.dll
0x00007ffe92df0000 - 0x00007ffe92eeb000 C:\Windows\system32\wbem\fastprox.dll
0x00007ffe92b00000 - 0x00007ffe92c8a000 C:\Windows\system32\DBGHELP.DLL
VM Arguments:
jvm_args: -Djdk.home=D:\Splash\GAIA\CORE\jdk1.7.0_76 -Djruby.home=D:\Splash\GAIA\CORE\jruby-1.7.17 -Djruby.script=jruby -Djruby.shell=cmd.exe -Djffi.boot.library.path=D:\Splash\GAIA\CORE\jruby-1.7.17\lib\jni;D:\Splash\GAIA\CORE\jruby-1.7.17\lib\jni\i386-Windows;D:\Splash\GAIA\CORE\jruby-1.7.17\lib\jni\x86_64-Windows -Xmx500m -Xss2048k -Xbootclasspath/a:D:\Splash\GAIA\CORE\jruby-1.7.17\lib\jruby.jar
java_command: org/jruby/Main foo.rb
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=D:\Splash\GAIA\CORE\jdk1.7.0_76
PATH=D:\Splash\GAIA\CORE\jdk1.7.0_76\bin;D:\Splash\GAIA\CORE\jruby-1.7.17\bin;D:\Splash\GAIA\CORE\gem\bin;D:\Splash\CORE\Tools\bat;D:\Splash\CORE\program\bin64;D:\Splash\CORE\program\bin32\MiniCygwin;D:\Splash\CORE\program\bin32;D:\Splash\CORE\program\bat\system;D:\Splash\CORE\program\bat;D:\Splash\CORE\JRuby\bin;D:\Splash\CORE\jdk32\bin;D:\Splash\CORE\jdk\bin;D:\deployment\jruby-1.7.14\bin;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\wbem;C:\Windows\System32;C:\Windows;C:\Tools\SysinternalsSuite;C:\Program Files\Amazon\cfn-bootstrap;C:\Program Files\7-Zip
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 62 Stepping 4, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Server 2012 R2 , 64 bit Build 9600
CPU:total 4 (1 cores per cpu, 2 threads per core) family 6 model 62 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, erms, ht, tsc
Memory: 4k page, physical 15728240k(13030252k free), swap 25099888k(22501736k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (24.76-b04) for windows-amd64 JRE (1.7.0_76-b13), built on Dec 18 2014 16:31:25 by "java_re" with unknown MS VC++:1600
time: Fri Feb 20 10:44:28 2015
elapsed time: 4 seconds
Setup:
jruby -v
jruby 1.7.17 (1.9.3p392) 2014-12-09 fafd1a7 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_76-b13 +jit [Windows Server 2012 R2-amd64]
java -version
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
OS is Windows Server 2012 R2 Standard (64-bit)
Is there any way to fix or workaround the issue? The same code snippet works as expect using Windows Server 2008 R2.
The text was updated successfully, but these errors were encountered:
No workaround we know of at the moment, and we'll need to get back into win32ole work to fix this. @enebo did most of the work. Unsure when we'll be able to get to it.
JRuby JVM crashes when using win32ole/racob to change account a Windows Service shall use to run.
The user executing the code snippet is the same user.
This leads to
Setup:
jruby -v
java -version
OS is Windows Server 2012 R2 Standard (64-bit)
Is there any way to fix or workaround the issue? The same code snippet works as expect using Windows Server 2008 R2.
The text was updated successfully, but these errors were encountered: