JVM crash on Windows 64bit in Junit test ant target - ant

I am getting this strange situation in my project using windows 64 bit platform.
The project involves JNI calls.
The project requires an environment variable "My_Env" to be set.
This variable is internally used by java classes to load some Dlls(64-bit).
This "Junit" target is called from Ant build along with some other targets in a particular sequence. Initially, the environment variable "My_Env" was not set on 64 bit. When I was running the all ant targets in sequence JVM was crashing on Junit target. Even on running Junit target alone the JVM was crashing.
Then I realized that "My_ENv"wasnot set and set it. Now when I run the Junit target alone it is working fine without a crash. However on running the ant build default target(which involves all targets in a sequence) the JVM is still crashing on Junit target.
The Junit target is having "fork=on".
The error report is as following:
># A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180001051, pid=4172, tid=4608
#
# JRE version: 6.0_27-b01
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.2-b01 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [MyDLL.dll+0x1051]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/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 (0x000000000051b800): JavaThread "main" [_thread_in_native, id=4608, stack(0x0000000000de0000,0x0000000000ee0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000
Registers:
RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0xfffffffffffffff5, RDX=0x0000000000000000
RSP=0x0000000000edea00, RBP=0x0000000000edeaa8, RSI=0x00000000faf53270, RDI=0x000000018000362a
R8 =0x7efefefefefefeff, R9 =0x7efefefefefeff6e, R10=0x0000000005497f21, R11=0x8101010101010100
R12=0x0000000000000000, R13=0x00000000fb4104d8, R14=0x0000000000edeac0, R15=0x000000000051b800
RIP=0x0000000180001051, EFLAGS=0x0000000000010246
Top of Stack: (sp=0x0000000000edea00)
0x0000000000edea00: 000000000051c5a0 0000000000ef11d2
0x0000000000edea10: 00000000fb4104d8 0000000000edeaa8
0x0000000000edea20: fffffffffffffffe 0000000000ee5b22
0x0000000000edea30: 0000000000ee5b22 0000000000ef1346
0x0000000000edea40: 00000000fb4104d8 000000000051c598
0x0000000000edea50: 000000000051c500 000000000051b800
0x0000000000edea60: 00000000fffffffe 0000000000edea68
0x0000000000edea70: 00000000fb4104d8 0000000000edeac0
0x0000000000edea80: 00000000fb410830 0000000000000000
0x0000000000edea90: 00000000fb4104d8 0000000000000000
0x0000000000edeaa0: 0000000000edeac8 0000000000edeb08
0x0000000000edeab0: 0000000000ee5b22 00000000fb4107c8
0x0000000000edeac0: 0000000000eee338 0000000000edeac8
0x0000000000edead0: 00000000fb40ff20 0000000000edeb10
0x0000000000edeae0: 00000000fb410270 0000000000000000
0x0000000000edeaf0: 00000000fb40ff28 0000000000edeac8
Instructions: (pc=0x0000000180001051)
0x0000000180001031: 00 0f b7 0d 67 11 00 00 66 89 0d e8 25 00 00 48
0x0000000180001041: 8d 3d d9 25 00 00 33 c0 48 83 c9 ff f2 ae 33 d2
0x0000000180001051: 0f b6 04 13 88 44 17 ff 48 ff c2 84 c0 75 f1 48
0x0000000180001061: 8d 15 b9 25 00 00 48 8d 0d 3a 11 00 00 ff 15 1c
Register to memory mapping:
RAX=0x0000000000000000 is an unknown value
RBX=0x0000000000000000 is an unknown value
RCX=0xfffffffffffffff5 is an unknown value
RDX=0x0000000000000000 is an unknown value
RSP=0x0000000000edea00 is pointing into the stack for thread: 0x000000000051b800
RBP=0x0000000000edeaa8 is pointing into the stack for thread: 0x000000000051b800
RSI=0x00000000faf53270 is an oop
{instance class}
- klass: {other class}
RDI=0x000000018000362a is an unknown value
R8 =0x7efefefefefefeff is an unknown value
R9 =0x7efefefefefeff6e is an unknown value
R10=0x0000000005497f21 is an unknown value
R11=0x8101010101010100 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x00000000fb4104d8 is an oop
{method}
- klass: {other class}
R14=0x0000000000edeac0 is pointing into the stack for thread: 0x000000000051b800
R15=0x000000000051b800 is a thread
Stack: [0x0000000000de0000,0x0000000000ee0000], sp=0x0000000000edea00, free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [MyDLL.dll+0x1051] init+0x51
j src.com.MyDLL.init()V+0
j src.com.MyClass.initMyDLL()V+108
j src.com.MyClass.<init>(Lsrc/com/Configuration;)V+21
j src.com.MyUtil.testLoadFiles()V+113
v ~StubRoutines::call_stub
V [jvm.dll+0x1e9af7]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j src.com.MyDLLJNI.init()V+0
j src.com.MyDLL.init()V+0
j src.com.MyClass.initMyDLL()V+108
j src.com.MyClass.<init>(Lsrc/com/Configuration;)V+21
j src.com.MyUtil.testLoadFiles()V+113
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j junit.framework.TestCase.runTest()V+107
j junit.framework.TestCase.runBare()V+7
j junit.framework.TestResult$1.protect()V+4
j junit.framework.TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V+1
j junit.framework.TestResult.run(Ljunit/framework/TestCase;)V+18
j junit.framework.TestCase.run(Ljunit/framework/TestResult;)V+2
j junit.framework.TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V+2
j junit.framework.TestSuite.run(Ljunit/framework/TestResult;)V+40
j junit.framework.TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V+2
j junit.framework.TestSuite.run(Ljunit/framework/TestResult;)V+40
j org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run()V+431
j org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(Lorg/apache/tools/ant/taskdefs/optional/junit/JUnitTest;ZZZZZZ)I+39
j org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main([Ljava/lang/String;)V+741
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000000610000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4884, stack(0x0000000004b70000,0x0000000004c70000)]
0x000000000060e800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=3216, stack(0x0000000004a70000,0x0000000004b70000)]
0x00000000005fd000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=4436, stack(0x0000000004970000,0x0000000004a70000)]
0x00000000005fb800 JavaThread "Attach Listener" daemon [_thread_blocked, id=4748, stack(0x0000000004870000,0x0000000004970000)]
0x00000000005f7800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2688, stack(0x0000000004770000,0x0000000004870000)]
0x00000000005e8000 JavaThread "Finalizer" daemon [_thread_blocked, id=4824, stack(0x0000000004470000,0x0000000004570000)]
0x00000000005e0000 JavaThread "Reference Handler" daemon [_thread_blocked, id=4676, stack(0x0000000004370000,0x0000000004470000)]
=>0x000000000051b800 JavaThread "main" [_thread_in_native, id=4608, stack(0x0000000000de0000,0x0000000000ee0000)]
Other Threads:
0x00000000005da000 VMThread [stack: 0x0000000004270000,0x0000000004370000] [id=4480]
0x000000000061f000 WatcherThread [stack: 0x0000000004c70000,0x0000000004d70000] [id=4768]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 19648K, used 2455K [0x00000000bae00000, 0x00000000bc350000, 0x00000000d0350000)
eden space 17472K, 14% used [0x00000000bae00000, 0x00000000bb065d08, 0x00000000bbf10000)
from space 2176K, 0% used [0x00000000bbf10000, 0x00000000bbf10000, 0x00000000bc130000)
to space 2176K, 0% used [0x00000000bc130000, 0x00000000bc130000, 0x00000000bc350000)
tenured generation total 43712K, used 0K [0x00000000d0350000, 0x00000000d2e00000, 0x00000000fae00000)
the space 43712K, 0% used [0x00000000d0350000, 0x00000000d0350000, 0x00000000d0350200, 0x00000000d2e00000)
compacting perm gen total 21248K, used 6210K [0x00000000fae00000, 0x00000000fc2c0000, 0x0000000100000000)
the space 21248K, 29% used [0x00000000fae00000, 0x00000000fb410878, 0x00000000fb410a00, 0x00000000fc2c0000)
No shared spaces configured.
Code Cache [0x0000000000ee0000, 0x0000000001150000, 0x0000000003ee0000)
total_blobs=233 nmethods=13 adapters=174 free_code_cache=49891776 largest_free_block=12160
Dynamic libraries:
0x0000000000400000 - 0x000000000042e000 C:\Java\jdk1.6.0_27\jre\bin\java.exe
0x0000000077b90000 - 0x0000000077d39000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000077970000 - 0x0000000077a8f000 C:\Windows\system32\kernel32.dll
0x000007fefdb90000 - 0x000007fefdbfc000 C:\Windows\system32\KERNELBASE.dll
0x000007fefe260000 - 0x000007fefe33b000 C:\Windows\system32\ADVAPI32.dll
0x000007feffe00000 - 0x000007feffe9f000 C:\Windows\system32\msvcrt.dll
0x000007fefe540000 - 0x000007fefe55f000 C:\Windows\SYSTEM32\sechost.dll
0x000007fefe5d0000 - 0x000007fefe6fd000 C:\Windows\system32\RPCRT4.dll
0x000000006d890000 - 0x000000006e048000 C:\Java\jdk1.6.0_27\jre\bin\server\jvm.dll
0x0000000077a90000 - 0x0000000077b8a000 C:\Windows\system32\USER32.dll
0x000007fefe560000 - 0x000007fefe5c7000 C:\Windows\system32\GDI32.dll
0x000007feffdf0000 - 0x000007feffdfe000 C:\Windows\system32\LPK.dll
0x000007fefe190000 - 0x000007fefe259000 C:\Windows\system32\USP10.dll
0x000007fefa260000 - 0x000007fefa29b000 C:\Windows\system32\WINMM.dll
0x000007feff4e0000 - 0x000007feff50e000 C:\Windows\system32\IMM32.DLL
0x000007fefdec0000 - 0x000007fefdfc9000 C:\Windows\system32\MSCTF.dll
0x000000006d800000 - 0x000000006d80e000 C:\Java\jdk1.6.0_27\jre\bin\verify.dll
0x000000006d450000 - 0x000000006d477000 C:\Java\jdk1.6.0_27\jre\bin\java.dll
0x0000000077d60000 - 0x0000000077d67000 C:\Windows\system32\PSAPI.DLL
0x000000006d850000 - 0x000000006d862000 C:\Java\jdk1.6.0_27\jre\bin\zip.dll
0x000000006d6a0000 - 0x000000006d6b7000 C:\Java\jdk1.6.0_27\jre\bin\net.dll
0x000007feff490000 - 0x000007feff4dd000 C:\Windows\system32\WS2_32.dll
0x000007fefdeb0000 - 0x000007fefdeb8000 C:\Windows\system32\NSI.dll
0x000007fefd2d0000 - 0x000007fefd325000 C:\Windows\system32\mswsock.dll
0x000007fefd540000 - 0x000007fefd547000 C:\Windows\System32\wship6.dll
0x000007fefc670000 - 0x000007fefc685000 C:\Windows\system32\NLAapi.dll
0x000007fefa630000 - 0x000007fefa645000 C:\Windows\system32\napinsp.dll
0x000007fefd160000 - 0x000007fefd1bb000 C:\Windows\system32\DNSAPI.dll
0x000007fefa660000 - 0x000007fefa66b000 C:\Windows\System32\winrnr.dll
0x000007fefccf0000 - 0x000007fefccf7000 C:\Windows\System32\wshtcpip.dll
0x000007fefb650000 - 0x000007fefb677000 C:\Windows\system32\IPHLPAPI.DLL
0x000007fefb640000 - 0x000007fefb64b000 C:\Windows\system32\WINNSI.DLL
0x000007fefa880000 - 0x000007fefa888000 C:\Windows\system32\rasadhlp.dll
0x000007fefac40000 - 0x000007fefac93000 C:\Windows\System32\fwpuclnt.dll
0x0000000180000000 - 0x0000000180007000 C:project\output\bin\MyDLL.dll
0x0000000072bb0000 - 0x0000000072c82000 C:\Windows\system32\MSVCR100.dll
VM Arguments:
jvm_args: -Djava.library.path=C:\project\output\bin
java_command: org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner src.com.AllTests filtertrace=true haltOnError=false haltOnFailure=false showoutput=false outputtoformatters=true logtestlistenerevents=true formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,C:\project\unittests\junit-results\TEST-AllTests.xml crashfile=C:\project\junitvmwatcher7335361868739082409.properties propsfile=C:\project\junit3775055844850964019.properties
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Java\jdk1.6.0_27
PATH=C:\project\output\bin
USERNAME=relmgr
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 5, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows NT 6.1 Build 7601 Service Pack 1
CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 26 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt
Memory: 4k page, physical 4193848k(2877556k free), swap 8385848k(6803796k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (20.2-b01) for windows-amd64 JRE (1.6.0_27-ea-b01), built on May 18 2011 08:17:50 by "java_re" with MS VC++ 8.0 (VS2005)
time: Fri Jan 27 07:03:19 2012
elapsed time: 4 seconds
And here's the piece of ant , the Junit target if this helps:
<target name="Junit" depends="JunitCompile" >
<delete dir="${Junit.Results}"/>
<mkdir dir="${Junit.Results}"/>
<property name="fs" value="${file.separator}"/>
<property name="path" value="${basedir}${fs}${project.dir}${fs}bin"/>
<!-- junit errorProperty="test.failed" failureProperty="test.failed" fork="on" -->
<junit errorProperty="test.failed" fork="on">
<env key="Path" value="${path}"/>
<jvmarg value="-Djava.library.path=${basedir}${fs}${project.dir}${fs}bin"/>
<test name="${test.class}" todir="${Junit.Results}"/>
<formatter type="brief" usefile="false"/>
<formatter type="xml"/>
<classpath refid="classpath"/>
</junit>
</target>

Related

What trimming/linker settings are needed for Entity Framework Core in .NET MAUI on iOS?

I'm migrating a Xamarin Forms 5.0 app, using Entity Framework Core 3.1 and a SQLite database to .NET MAUI 6.0 and Entity Framework Core 6.0. The Debug build works fine, but when I do a Release build, the app crashes while starting up.
The easiest way to reproduce it on macOS is to use the .NET MAUI App template in Visual Studio, edit the project file and add some configuration to make sure you can use dotnet build (Release builds from Visual Studio for Mac don't work at the moment):
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0-ios|AnyCPU'">
<CreatePackage>false</CreatePackage>
<CodesignProvision>Automatic</CodesignProvision>
<CodesignKey>iPhone Developer</CodesignKey>
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0-ios|AnyCPU'">
<CreatePackage>false</CreatePackage>
<CodesignProvision>Automatic</CodesignProvision>
<CodesignKey>iPhone Distribution</CodesignKey>
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
</PropertyGroup>
Open the project folder in Terminal, and run
dotnet build MauiEFCore.csproj -c Release -f net6.0-ios -t:Run -p:_DeviceName=<Device UDID>
(be sure to specify the right project file, and the UDID of your iPhone). This works, but as soon as you add Entity Framework Core to the project:
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.11" />
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.1.3" />
</ItemGroup>
the app starts to crash on startup. The error about Microsoft.Maui.Graphics seems unrelated - that's just a standard Maui module, right? I could not find more information in the Console app either.
Launched application 'com.companyname.mauiefcore' on 'Gerwin's iPhone 11' with pid 25752
2023-01-06 16:00:53.767 MauiEFCore[25752:10999573] error: Failed to load AOT module 'Microsoft.Maui.Graphics' while running in aot-only mode because a dependency cannot be found or it is out of date.
=================================================================
Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
=================================================================
Native stacktrace:
=================================================================
0x104228540 - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
0x104211788 - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
0x104227d28 - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
0x1f2ed0a90 - /usr/lib/system/libsystem_platform.dylib : <redacted>
0x1f2f6c1ac - /usr/lib/system/libsystem_pthread.dylib : pthread_kill
0x1ac554c8c - /usr/lib/system/libsystem_c.dylib : abort
0x103f6d5d4 - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : xamarin_find_protocol_wrapper_type
0x104264d10 - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
0x104264e44 - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
0x104200664 - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
0x1040c9ea8 - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
0x1040c9900 - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
0x1040cb5bc - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
0x103f6cbf8 - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : xamarin_get_block_descriptor
0x10426cb64 - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
0x103f7685c - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : xamarin_log
0x10426cd04 - /private/var/containers/Bundle/Application/F14C623C-8C03-4845-94D8-C0B1EFBA07A6/PublicStaging.app/MauiEFCore : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
0x1c3776960 - /usr/lib/dyld : <redacted>
=================================================================
Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x1e284f160):0x1e284f150 ff 0f 5f d6 c0 03 5f d6 10 29 80 d2 01 10 00 d4 .._..._..)......
0x1e284f160 03 01 00 54 7f 23 03 d5 fd 7b bf a9 fd 03 00 91 ...T.#...{......
0x1e284f170 8e ed ff 97 bf 03 00 91 fd 7b c1 a8 ff 0f 5f d6 .........{...._.
0x1e284f180 c0 03 5f d6 7f 23 03 d5 fd 7b bf a9 fd 03 00 91 .._..#...{......
=================================================================
Managed Stacktrace:
=================================================================
=================================================================
Application 'com.companyname.mauiefcore' terminated (with exit code '' and/or crashing signal '6).
Build succeeded.
Because the Debug build continues to work, I suspect linking is to blame; however, disabling linking (equivalent to adding <MtouchLink>None</MtouchLink> to the project file) has no effect. I still see these lines in the build output:
Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink
Optimizing assemblies for size. This process might take a while.
That link leads to a page about trimming, which is unexpected since I don't have trimming enabled, but apparently it's automatic, and switching it off leads to another error:
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.1.229/targets/Xamarin.Shared.Sdk.targets(269,3): error : iOS projects must build with PublishTrimmed=true. Current value: false.
In my Xamarin Forms project I had added --linkskip System.Core to the 'Additional mtouch arguments' in the 'iOS Build options' as described here but that doesn't help - the detailed build output says it's ignored:
Task "ParseBundlerArguments"
Skipping unknown argument 'linkskip' with value ''
Done executing task "ParseBundlerArguments".
What do I need to do in order to make Entity Framework Core work in Release mode?
I have tried adding the linker settings as described in this answer for EF5, even added some other assemblies to that list (Microsoft.EntityFrameworkCore.Abstractions and SQLitePCLRaw.provider.internal) but to no avail.
FWIW, for Android, Release builds work fine.
As GitHub user #Ghevi noted here, using the interpreter by setting the MSBuild property UseInterpreter in the project file did the job:
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0-ios'">
<UseInterpreter>True</UseInterpreter>
</PropertyGroup>

Job Fails with odd message

I have a job that is failing at the very start of the message:
"#*" and "#N" are reserved sharding specs. Filepattern must not contain any of them.
I have altered the destination location to be something other than the default (an email address) which would include the # symbol but I can still see it is using temporary destinations within that path that I am unable to edit.
Did anyone experience this issue before? I've got a file which is only 65k rows long, I can preview all of the complete data in Data Prep but when I run the job it fails which is super tedious and ~3hrs of cleaning down the drain if this won't run. (I appreciate it's not designed for this, but Excel was being a mare so it seemed like a good solution!)
Edit - Adding Logs:
2018-03-10 (13:47:34) Value "PTableLoadTransformGCS/Shuffle/GroupByKey/Session" materialized.
2018-03-10 (13:47:34) Executing operation PTableLoadTransformGCS/SumQuoteAndDelimiterCounts/GroupByKey/Read+PTableLoadTran...
2018-03-10 (13:47:38) Executing operation PTableLoadTransformGCS/Shuffle/GroupByKey/Close
2018-03-10 (13:47:38) Executing operation PTableStoreTransformGCS/WriteFiles/GroupUnwritten/Create
2018-03-10 (13:47:39) Value "PTableStoreTransformGCS/WriteFiles/GroupUnwritten/Session" materialized.
2018-03-10 (13:47:39) Executing operation PTableLoadTransformGCS/Shuffle/GroupByKey/Read+PTableLoadTransformGCS/Shuffle/Gr...
2018-03-10 (13:47:39) Executing failure step failure49
2018-03-10 (13:47:39) Workflow failed. Causes: (c759db2a23a80ea): "#*" and "#N" are reserved sharding specs. Filepattern m...
(c759db2a23a8c5b): Workflow failed. Causes: (c759db2a23a80ea): "#*" and "#N" are reserved sharding specs. Filepattern must not contain any of them.
2018-03-10 (13:47:39) Cleaning up.
2018-03-10 (13:47:39) Starting worker pool teardown.
2018-03-10 (13:47:39) Stopping worker pool...
And StackDriver warnings or higher:
W ACPI: RSDP 0x00000000000F23A0 000014 (v00 Google)
W ACPI: RSDT 0x00000000BFFF3430 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001)
W ACPI: FACP 0x00000000BFFFCF60 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
W ACPI: DSDT 0x00000000BFFF3470 0017B2 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
W ACPI: FACS 0x00000000BFFFCF00 000040
W ACPI: FACS 0x00000000BFFFCF00 000040
W ACPI: SSDT 0x00000000BFFF65F0 00690D (v01 Google GOOGSSDT 00000001 GOOG 00000001)
W ACPI: APIC 0x00000000BFFF5D10 00006E (v01 Google GOOGAPIC 00000001 GOOG 00000001)
W ACPI: WAET 0x00000000BFFF5CE0 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
W ACPI: SRAT 0x00000000BFFF4C30 0000B8 (v01 Google GOOGSRAT 00000001 GOOG 00000001)
W ACPI: 2 ACPI AML tables successfully acquired and loaded
W ACPI: Executed 2 blocks of module-level executable AML code
W acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
W ACPI: Enabled 16 GPEs in block 00 to 0F
W ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
W ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
W i8042: Warning: Keylock active
W GPT:Primary header thinks Alt. header is not at the end of the disk.
W GPT:41943039 != 524287999
W GPT:Alternate GPT header not at the end of the disk.
W GPT:41943039 != 524287999
W GPT: Use GNU Parted to correct GPT errors.
W device-mapper: verity: Argument 0: 'payload=PARTUUID=245B0EEC-6404-8744-AAF2-E8C6BF78D7B2'
W device-mapper: verity: Argument 1: 'hashtree=PARTUUID=245B0EEC-6404-8744-AAF2-E8C6BF78D7B2'
W device-mapper: verity: Argument 2: 'hashstart=2539520'
W device-mapper: verity: Argument 3: 'alg=sha1'
W device-mapper: verity: Argument 4: 'root_hexdigest=244007b512ddbf69792d485fdcbc3440531f1264'
W device-mapper: verity: Argument 5: 'salt=5bacc0df39d2a60191e9b221ffc962c55e251ead18cf1472bf8d3ed84383765b'
E EXT4-fs (dm-0): couldn't mount as ext3 due to feature incompatibilities
W [/usr/lib/tmpfiles.d/var.conf:12] Duplicate line for path "/var/run", ignoring.
W Could not stat /dev/pstore: No such file or directory
W Kernel does not support crash dumping
W Could not load the device policy file.
W [CLOUDINIT] cc_write_files.py[WARNING]: Undecodable permissions None, assuming 420
W [CLOUDINIT] cc_write_files.py[WARNING]: Undecodable permissions None, assuming 420
W [CLOUDINIT] cc_write_files.py[WARNING]: Undecodable permissions None, assuming 420
W [CLOUDINIT] cc_write_files.py[WARNING]: Undecodable permissions None, assuming 420
W [WARNING:persistent_integer.cc(75)] cannot open /var/lib/metrics/version.cycle for reading: No such file or directory
W No API client: no api servers specified
W Unable to update cni config: No networks found in /etc/cni/net.d
W unable to connect to Rkt api service: rkt: cannot tcp Dial rkt api service: dial tcp 127.0.0.1:15441: getsockopt: connection refused
W No api server defined - no events will be sent to API server.
W Hairpin mode set to "promiscuous-bridge" but kubenet is not enabled, falling back to "hairpin-veth"
W Unable to update cni config: No networks found in /etc/cni/net.d
E Image garbage collection failed once. Stats initialization may not have completed yet: unable to find data for container /
W No api server defined - no node status update will be sent.
E Failed to check if disk space is available for the runtime: failed to get fs info for "runtime": unable to find data for container /
E Failed to check if disk space is available on the root partition: failed to get fs info for "root": unable to find data for container /
E [ContainerManager]: Fail to get rootfs information unable to find data for container /
W Registration of the rkt container factory failed: unable to communicate with Rkt api service: rkt: cannot tcp Dial rkt api service: dial tcp 127.0.0.1:15441: getsockopt: connection refused
E Could not find capacity information for resource storage.kubernetes.io/scratch
W eviction manager: no observation found for eviction signal allocatableNodeFs.available
W Profiling Agent not found. Profiles will not be available from this worker.
E debconf: delaying package configuration, since apt-utils is not installed
W [WARNING:metrics_daemon.cc(598)] cannot read /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
E % Total % Received % Xferd Average Speed Time Time Time Current
E Dload Upload Total Spent Left Speed
E
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3698 100 3698 0 0 64248 0 --:--:-- --:--:-- --:--:-- 64877

Is this avro message valid?

I have some example Avro messages from a kafka provider that looks to start as such:
00000000 4f 62 6a 01 04 16 61 76 72 6f 2e 73 63 68 65 6d |Obj...avro.schem|
00000010 61 ef bf bd 24 7b 22 74 79 70 65 22 3a 22 72 65 |a...${"type":"re|
That ef bf bd 24 I expected to be the length of the schema which is 2332 bytes. I'm having trouble confirming that the zigzag varint (why would a length, which can never be negative, be zigzaged?) is the right value. I take it to be somewhere in the 200K range.
I believe that's why I'm having trouble using the avro-tools jar on it at all to either getmeta, getschema or transform to json.
Is this a particular known issue with either the version of Avro Tools which is 1.8.2 or the platform Mac OS with java 1.8.0_102-b14 for that tool version?
Does this look like it's been mis-encoded? Because all calls to use the tools give me:
$ java -jar ~/Downloads/avro-tools-1.8.2.jar tojson dt20170607hr08_1496793109907_11_8229967.bin.1
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" java.lang.IllegalArgumentException
at java.nio.ByteBuffer.allocate(ByteBuffer.java:334)
at org.apache.avro.io.BinaryDecoder.readBytes(BinaryDecoder.java:288)
at org.apache.avro.file.DataFileStream.initialize(DataFileStream.java:112)
at org.apache.avro.file.DataFileStream.<init>(DataFileStream.java:84)
at org.apache.avro.tool.DataFileReadTool.run(DataFileReadTool.java:71)
at org.apache.avro.tool.Main.run(Main.java:87)
at org.apache.avro.tool.Main.main(Main.java:76)
Looks like you have a single record in the Avro file. The system generating the Avro file is running the older version. I have a similar issue with Nifi running 1.7.7. By merging two records into the Avro file, we were able to work around the issue.
Avro 1.8.2 fixes the bug.
1.7.7 and 1.8.0/1.8.1 all have the single record issue.
https://issues.apache.org/jira/browse/AVRO-1888

travis " Segmentation fault " but works fine locally

there, I ran into a 'Segmentation fault' error when using travis-ci for my project : IPython-Dashboard
there is no error msg and it works fine on local, I feel a little confusing. any one can give any idea on fixing this, thanks.
here is the travis build log on cloud:
travis-log
$ nosetests --with-coverage --cover-package=dashboard
../home/travis/build.sh: line 45: 3187 Segmentation fault (core dumped)
nosetests --with-coverage --cover-package=dashboard
The command "nosetests --with-coverage --cover-package=dashboard" exited with 139.
here is the build log on local [osx]
taotao#mac007:~/Desktop/github/IPython-Dashboard$sudo nosetests --with-coverage --cover-package=dashboard
.../Users/chenshan/Desktop/github/IPython-Dashboard/dashboard/tests/testCreateData.py:78: Warning: Can't create database 'IPD_data'; database exists
conn.cursor().execute('CREATE DATABASE IF NOT EXISTS {};'.format(config.sql_db))
/Library/Python/2.7/site-packages/pandas/io/sql.py:599: FutureWarning: The 'mysql' flavor with DBAPI connection is deprecated and will be removed in future versions. MySQL will be further supported with SQLAlchemy engines.
warnings.warn(_MYSQL_WARNING, FutureWarning)
...
Name Stmts Miss Cover Missing
---------------------------------------------------------------------
dashboard.py 13 0 100%
dashboard/client.py 1 0 100%
dashboard/client/sender.py 11 3 73% 26-27, 33
dashboard/conf.py 0 0 100%
dashboard/conf/config.py 29 0 100%
dashboard/server.py 0 0 100%
dashboard/server/resources.py 0 0 100%
dashboard/server/resources/dash.py 35 10 71% 36, 55-56, 67-69, 86-89
dashboard/server/resources/home.py 40 12 70% 25, 28-30, 83-91
dashboard/server/resources/sql.py 27 11 59% 30, 52-75
dashboard/server/resources/status.py 8 1 88% 19
dashboard/server/resources/storage.py 13 5 62% 26-28, 43-47
dashboard/server/utils.py 79 18 77% 20-24, 78-80, 82-83, 86, 96, 99-100, 126-127, 140-142
dashboard/server/views.py 21 1 95% 16
---------------------------------------------------------------------
TOTAL 277 61 78%
----------------------------------------------------------------------
Ran 6 tests in 4.600s
OK
taotao#mac007:~/Desktop/github/IPython-Dashboard$

tcServer JVM crash - EXCEPTION_ACCESS_VIOLATION (0xc0000005)

We are attempting to deploy a Grails(v2.1.0) application onto our tcServer(v2.0.2), which we have done without issue in lower environments and are unable to start it up.
Stacktrace:
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006da0309a, pid=5944, tid=4276
#
# JRE version: 6.0_45-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V [jvm.dll+0x12309a]
#
# 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 (0x0000000005409800): JavaThread "WrapperSimpleAppMain" [_thread_in_vm, id=4276, stack(0x00000000069b0000,0x00000000069e0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x000000036d7c8e70
Registers:
RAX=0x0000000000000000, RBX=0x0000000005409800, RCX=0x0000000000000003, RDX=0x000000036d7c8e00
RSP=0x00000000069dab40, RBP=0x00000000069dac90, RSI=0x00000000054099d0, RDI=0x0000000005409800
R8 =0x000000000000002f, R9 =0x0000000074bd1607, R10=0x000000000000002f, R11=0x00000007e88646a8
R12=0x0000000000000000, R13=0x00000000069daea8, R14=0x00000000069daed8, R15=0x00000000069daee0
RIP=0x000000006da0309a, EFLAGS=0x0000000000010206
Top of Stack: (sp=0x00000000069dab40)
0x00000000069dab40: 0000000005409800 00000000069dac90
0x00000000069dab50: 0000000074bd15d8 00000000054099d0
0x00000000069dab60: 0000000005409800 0000000000000000
0x00000000069dab70: 00000000053e9950 0000000b0000005f
0x00000000069dab80: 000000000000004a 0000000074bd3634
0x00000000069dab90: 00000000054099d0 00000000069dac90
0x00000000069daba0: 000000000541f010 0000000005409800
0x00000000069dabb0: 000000006de96cc8 0000000000000000
0x00000000069dabc0: 0000000000000000 0000000000000000
0x00000000069dabd0: 0000000000000000 0000000000000000
0x00000000069dabe0: 0000000000000000 0000000000000000
0x00000000069dabf0: 0000000000000000 0000000000000000
0x00000000069dac00: 0000000000000000 00000000011707e0
0x00000000069dac10: 0000000000000000 0000000000000000
0x00000000069dac20: 0000000000000000 00000000069daea8
0x00000000069dac30: 00000000069daec0 0000000000000000
Instructions: (pc=0x000000006da0309a)
0x000000006da0307a: 00 48 8b 17 74 16 8b 52 08 0f b6 0d b6 61 5e 00
0x000000006da0308a: 48 d3 e2 48 03 15 a4 61 5e 00 eb 04 48 8b 52 08
0x000000006da0309a: 48 8b 52 70 48 8b ce e8 4a 98 0c 00 48 83 7c 24
0x000000006da030aa: 28 00 48 8b f0 74 0a 48 8d 4c 24 20 e8 55 72 12
Register to memory mapping:
RAX=0x0000000000000000 is an unknown value
RBX=0x0000000005409800 is a thread
RCX=0x0000000000000003 is an unknown value
RDX=0x000000036d7c8e00 is an unknown value
RSP=0x00000000069dab40 is pointing into the stack for thread: 0x0000000005409800
RBP=0x00000000069dac90 is pointing into the stack for thread: 0x0000000005409800
RSI=0x00000000054099d0 is an unknown value
RDI=0x0000000005409800 is a thread
R8 =0x000000000000002f is an unknown value
R9 =0x0000000074bd1607 is an unknown value
R10=0x000000000000002f is an unknown value
R11=0x00000007e88646a8 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x00000000069daea8 is pointing into the stack for thread: 0x0000000005409800
R14=0x00000000069daed8 is pointing into the stack for thread: 0x0000000005409800
R15=0x00000000069daee0 is pointing into the stack for thread: 0x0000000005409800
Stack: [0x00000000069b0000,0x00000000069e0000], sp=0x00000000069dab40, free space=170k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x12309a]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.microsoft.sqlserver.jdbc.AuthenticationJNI.SNISecGenClientContext([B[I[BI[B[I[ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/logging/Logger;)I+0
j com.microsoft.sqlserver.jdbc.AuthenticationJNI.GenerateClientContext([BI[B[I[Z)I+24
j com.microsoft.sqlserver.jdbc.SQLServerConnection.SSPIData([B[B[I[ZLcom/microsoft/sqlserver/jdbc/AuthenticationJNI;)V+13
j com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(Lcom/microsoft/sqlserver/jdbc/SQLServerConnection$LogonCommand;Lcom/microsoft/sqlserver/jdbc/AuthenticationJNI;)V+155
j com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(Lcom/microsoft/sqlserver/jdbc/SQLServerConnection$LogonCommand;)V+20
j com.microsoft.sqlserver.jdbc.SQLServerConnection.access$000(Lcom/microsoft/sqlserver/jdbc/SQLServerConnection;Lcom/microsoft/sqlserver/jdbc/SQLServerConnection$LogonCommand;)V+2
j com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute()Z+5
j com.microsoft.sqlserver.jdbc.TDSCommand.execute(Lcom/microsoft/sqlserver/jdbc/TDSWriter;Lcom/microsoft/sqlserver/jdbc/TDSReader;)Z+30
j com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Lcom/microsoft/sqlserver/jdbc/TDSCommand;)Z+45
j com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Lcom/microsoft/sqlserver/jdbc/ServerPortPlaceHolder;II)V+284
j com.microsoft.sqlserver.jdbc.SQLServerConnection.login(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Lcom/microsoft/sqlserver/jdbc/FailoverInfo;IJ)V+399
j com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Ljava/util/Properties;Lcom/microsoft/sqlserver/jdbc/SQLServerPooledConnection;)Ljava/sql/Connection;+1929
j com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;+45
j org.apache.commons.dbcp.DriverConnectionFactory.createConnection()Ljava/sql/Connection;+12
j org.apache.commons.dbcp.PoolableConnectionFactory.makeObject()Ljava/lang/Object;+4
j org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(Lorg/apache/commons/dbcp/PoolableConnectionFactory;)V+3
j org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(Lorg/apache/commons/dbcp/ConnectionFactory;Lorg/apache/commons/pool/KeyedObjectPoolFactory;Lorg/apache/commons/dbcp/AbandonedConfig;)V+49
j org.apache.commons.dbcp.BasicDataSource.createDataSource()Ljavax/sql/DataSource;+71
j org.apache.commons.dbcp.BasicDataSource.getConnection()Ljava/sql/Connection;+1
j org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(Ljavax/sql/DataSource;)Ljava/sql/Connection;+79
j org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+281
j com.sun.proxy.$Proxy26.getMetaData()Ljava/sql/DatabaseMetaData;+9
j org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(Ljavax/sql/DataSource;Lorg/springframework/jdbc/support/DatabaseMetaDataCallback;)Ljava/lang/Object;+43
j org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(Ljavax/sql/DataSource;Ljava/lang/String;)Ljava/lang/Object;+9
j org.codehaus.groovy.grails.orm.hibernate.support.HibernateDialectDetectorFactoryBean.afterPropertiesSet()V+26
j org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(Ljava/lang/String;Ljava/lang/Object;Lorg/springframework/beans/factory/support/RootBeanDefinition;)V+107
j org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(Ljava/lang/String;Ljava/lang/Object;Lorg/springframework/beans/factory/support/RootBeanDefinition;)Ljava/lang/Object;+61
j org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(Ljava/lang/String;Lorg/springframework/beans/factory/support/RootBeanDefinition;[Ljava/lang/Object;)Ljava/lang/Object;+230
j org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(Ljava/lang/String;Lorg/springframework/beans/factory/support/RootBeanDefinition;[Ljava/lang/Object;)Ljava/lang/Object;+11
j org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(Ljava/lang/String;Lorg/springframework/beans/factory/support/RootBeanDefinition;[Ljava/lang/Object;)Ljava/lang/Object;+122
j org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject()Ljava/lang/Object;+16
j org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Ljava/lang/String;Lorg/springframework/beans/factory/ObjectFactory;)Ljava/lang/Object;+126
j org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Object;Z)Ljava/lang/Object;+307
j org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ljava/lang/String;)Ljava/lang/Object;+5
j org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(Ljava/lang/Object;Lorg/springframework/beans/factory/config/RuntimeBeanReference;)Ljava/lang/Object;+94
j org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+15
j org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(Ljava/lang/Object;Ljava/util/Map;)Ljava/util/Map;+79
j org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+300
j org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(Ljava/lang/String;Lorg/springframework/beans/factory/config/BeanDefinition;Lorg/springframework/beans/BeanWrapper;Lorg/springframework/beans/PropertyValues;)V+231
j org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(Ljava/lang/String;Lorg/springframework/beans/factory/support/AbstractBeanDefinition;Lorg/springframework/beans/BeanWrapper;)V+339
j org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(Ljava/lang/String;Lorg/springframework/beans/factory/support/RootBeanDefinition;[Ljava/lang/Object;)Ljava/lang/Object;+217
j org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(Ljava/lang/String;Lorg/springframework/beans/factory/support/RootBeanDefinition;[Ljava/lang/Object;)Ljava/lang/Object;+11
j org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(Ljava/lang/String;Lorg/springframework/beans/factory/support/RootBeanDefinition;[Ljava/lang/Object;)Ljava/lang/Object;+122
j org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Object;Z)Ljava/lang/Object;+351
j org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ljava/lang/String;)Ljava/lang/Object;+5
j org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(Ljava/lang/Object;Lorg/springframework/beans/factory/config/RuntimeBeanReference;)Ljava/lang/Object;+94
j org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+15
j org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(Ljava/lang/String;Lorg/springframework/beans/factory/config/BeanDefinition;Lorg/springframework/beans/BeanWrapper;Lorg/springframework/beans/PropertyValues;)V+231
j org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(Ljava/lang/String;Lorg/springframework/beans/factory/support/AbstractBeanDefinition;Lorg/springframework/beans/BeanWrapper;)V+339
j org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(Ljava/lang/String;Lorg/springframework/beans/factory/support/RootBeanDefinition;[Ljava/lang/Object;)Ljava/lang/Object;+217
j org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory.doCreateBean(Ljava/lang/String;Lorg/springframework/beans/factory/support/RootBeanDefinition;[Ljava/lang/Object;)Ljava/lang/Object;+11
...spring framework...
j org.apache.catalina.core.ContainerBase.addChild(Lorg/apache/catalina/Container;)V+26
j org.apache.catalina.core.StandardHost.addChild(Lorg/apache/catalina/Container;)V+50
j org.apache.catalina.startup.HostConfig.deployWAR(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;)V+617
j org.apache.catalina.startup.HostConfig.deployWARs(Ljava/io/File;[Ljava/lang/String;)V+223
j org.apache.catalina.startup.HostConfig.deployApps()V+25
j org.apache.catalina.startup.HostConfig.start()V+229
j org.apache.catalina.startup.HostConfig.lifecycleEvent(Lorg/apache/catalina/LifecycleEvent;)V+132
j org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Ljava/lang/String;Ljava/lang/Object;)V+37
j org.apache.catalina.core.ContainerBase.start()V+306
j org.apache.catalina.core.StandardHost.start()V+315
j org.apache.catalina.core.ContainerBase.start()V+266
j org.apache.catalina.core.StandardEngine.start()V+221
j org.apache.catalina.core.StandardService.start()V+133
j org.apache.catalina.core.StandardServer.start()V+88
j org.apache.catalina.startup.Catalina.start()V+50
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j org.apache.catalina.startup.Bootstrap.start()V+37
j org.apache.catalina.startup.Bootstrap.main([Ljava/lang/String;)V+131
j net.covalent.tomcat.wrapper.ThreadDumpWrapper.main([Ljava/lang/String;)V+248
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j org.tanukisoftware.wrapper.WrapperSimpleApp.run()V+55
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x000000000710b000 JavaThread "Timer-0" daemon [_thread_blocked, id=4992, stack(0x00000000067f0000,0x0000000006820000)]
0x0000000007109000 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=5216, stack(0x0000000007670000,0x00000000076a0000)]
0x0000000007108000 JavaThread "RMI RenewClean-[127.0.0.1:6969]" daemon [_thread_blocked, id=4860, stack(0x00000000075b0000,0x00000000075e0000)]
0x00000000070dc000 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=9024, stack(0x0000000007580000,0x00000000075b0000)]
0x00000000070db800 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=3940, stack(0x0000000007550000,0x0000000007580000)]
0x0000000007445800 JavaThread "RMI Reaper" [_thread_blocked, id=10896, stack(0x0000000006c80000,0x0000000006cb0000)]
0x0000000006f36000 JavaThread "RMI TCP Accept-6969" daemon [_thread_in_native, id=2576, stack(0x0000000006c50000,0x0000000006c80000)]
0x0000000007240000 JavaThread "GC Daemon" daemon [_thread_blocked, id=8700, stack(0x0000000006a10000,0x0000000006a40000)]
=>0x0000000005409800 JavaThread "WrapperSimpleAppMain" [_thread_in_vm, id=4276, stack(0x00000000069b0000,0x00000000069e0000)]
0x00000000005ad000 JavaThread "DestroyJavaVM" [_thread_blocked, id=5804, stack(0x0000000000230000,0x0000000000260000)]
0x000000000553f800 JavaThread "Wrapper-Connection" daemon [_thread_in_native, id=10720, stack(0x0000000006950000,0x0000000006980000)]
0x0000000005496000 JavaThread "Wrapper-Control-Event-Monitor" daemon [_thread_blocked, id=9340, stack(0x00000000067c0000,0x00000000067f0000)]
0x00000000053f7000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3268, stack(0x0000000005310000,0x0000000005340000)]
0x00000000053e6000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=6492, stack(0x00000000061c0000,0x00000000062c0000)]
0x00000000053d1800 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=5236, stack(0x00000000060c0000,0x00000000061c0000)]
0x00000000053d0800 JavaThread "Attach Listener" daemon [_thread_blocked, id=2428, stack(0x00000000052e0000,0x0000000005310000)]
0x00000000053cf800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10964, stack(0x00000000052b0000,0x00000000052e0000)]
0x000000000537e000 JavaThread "Finalizer" daemon [_thread_blocked, id=11248, stack(0x00000000003c0000,0x00000000003f0000)]
0x0000000005378000 JavaThread "Reference Handler" daemon [_thread_blocked, id=6624, stack(0x0000000000390000,0x00000000003c0000)]
Other Threads:
0x000000000536c800 VMThread [stack: 0x0000000005dc0000,0x0000000005ec0000] [id=10816]
0x0000000005407800 WatcherThread [stack: 0x00000000062c0000,0x00000000063c0000] [id=7144]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 611648K, used 373857K [0x00000007d5560000, 0x0000000800000000, 0x0000000800000000)
eden space 524288K, 60% used [0x00000007d5560000,0x00000007e8ad3898,0x00000007f5560000)
from space 87360K, 65% used [0x00000007faab0000,0x00000007fe254c60,0x0000000800000000)
to space 87360K, 0% used [0x00000007f5560000,0x00000007f5560000,0x00000007faab0000)
PSOldGen total 1398144K, used 2010K [0x0000000780000000, 0x00000007d5560000, 0x00000007d5560000)
object space 1398144K, 0% used [0x0000000780000000,0x00000007801f6a98,0x00000007d5560000)
PSPermGen total 262144K, used 77670K [0x0000000770000000, 0x0000000780000000, 0x0000000780000000)
object space 262144K, 29% used [0x0000000770000000,0x0000000774bd9a18,0x0000000780000000)
Code Cache [0x0000000001120000, 0x00000000016b0000, 0x0000000004120000)
total_blobs=1661 nmethods=1065 adapters=547 free_code_cache=44626816 largest_free_block=15424
Dynamic libraries:
0x0000000000400000 - 0x000000000042f000 D:\Java\jdk1.6.0_45\bin\java.exe
0x0000000077be0000 - 0x0000000077d89000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000077500000 - 0x000000007761f000 C:\Windows\system32\kernel32.dll
0x000007fefe130000 - 0x000007fefe19b000 C:\Windows\system32\KERNELBASE.dll
0x000007fefe540000 - 0x000007fefe61b000 C:\Windows\system32\ADVAPI32.dll
0x000007feffbf0000 - 0x000007feffc8f000 C:\Windows\system32\msvcrt.dll
0x000007fefe520000 - 0x000007fefe53f000 C:\Windows\SYSTEM32\sechost.dll
0x000007fefe680000 - 0x000007fefe7ad000 C:\Windows\system32\RPCRT4.dll
0x000000006d8e0000 - 0x000000006e09c000 D:\Java\jdk1.6.0_45\jre\bin\server\jvm.dll
0x0000000077ae0000 - 0x0000000077bda000 C:\Windows\system32\USER32.dll
0x000007fefe860000 - 0x000007fefe8c7000 C:\Windows\system32\GDI32.dll
0x000007fefe9d0000 - 0x000007fefe9de000 C:\Windows\system32\LPK.dll
0x000007fefe9e0000 - 0x000007fefeaa9000 C:\Windows\system32\USP10.dll
0x000007fef6320000 - 0x000007fef635b000 C:\Windows\system32\WINMM.dll
0x000007feff8c0000 - 0x000007feff8ee000 C:\Windows\system32\IMM32.DLL
0x000007fefe410000 - 0x000007fefe519000 C:\Windows\system32\MSCTF.dll
0x000000006d850000 - 0x000000006d85e000 D:\Java\jdk1.6.0_45\jre\bin\verify.dll
0x000000006d460000 - 0x000000006d487000 D:\Java\jdk1.6.0_45\jre\bin\java.dll
0x000000006d8a0000 - 0x000000006d8b2000 D:\Java\jdk1.6.0_45\jre\bin\zip.dll
0x000007fefeb30000 - 0x000007feff8b8000 C:\Windows\system32\SHELL32.DLL
0x000007fefeab0000 - 0x000007fefeb21000 C:\Windows\system32\SHLWAPI.dll
0x000007feff9e0000 - 0x000007feffbe3000 C:\Windows\system32\ole32.dll
0x000007fefdf30000 - 0x000007fefdf3f000 C:\Windows\system32\CRYPTBASE.dll
0x000007fefca90000 - 0x000007fefcc84000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll
0x000007fefe8f0000 - 0x000007fefe9c7000 C:\Windows\system32\OLEAUT32.dll
0x000007feffd10000 - 0x000007feffee7000 C:\Windows\system32\SETUPAPI.dll
0x000007fefe0f0000 - 0x000007fefe126000 C:\Windows\system32\CFGMGR32.dll
0x000007fefe1a0000 - 0x000007fefe1ba000 C:\Windows\system32\DEVOBJ.dll
0x000007feff940000 - 0x000007feff9d9000 C:\Windows\system32\CLBCatQ.DLL
0x000007fefc020000 - 0x000007fefc14c000 C:\Windows\system32\propsys.dll
0x000007fef8f00000 - 0x000007fef8f1a000 D:\tcServer\2.0.2\preview\tomcat-6.0.26.B-SR01\bin\winx86_64\wrapper.dll
0x000000006d6c0000 - 0x000000006d6d7000 D:\Java\jdk1.6.0_45\jre\bin\net.dll
0x000007feff8f0000 - 0x000007feff93d000 C:\Windows\system32\WS2_32.dll
0x000007fefe850000 - 0x000007fefe858000 C:\Windows\system32\NSI.dll
0x000007fefd870000 - 0x000007fefd8c5000 C:\Windows\system32\mswsock.dll
0x000007fefd860000 - 0x000007fefd867000 C:\Windows\System32\wship6.dll
0x000007fefd250000 - 0x000007fefd257000 C:\Windows\System32\wshtcpip.dll
0x000000006d600000 - 0x000000006d60a000 D:\Java\jdk1.6.0_45\jre\bin\management.dll
0x000007fefcca0000 - 0x000007fefccb5000 C:\Windows\system32\NLAapi.dll
0x000007fefa900000 - 0x000007fefa915000 C:\Windows\system32\napinsp.dll
0x000007fefd6f0000 - 0x000007fefd74b000 C:\Windows\system32\DNSAPI.dll
0x000007fefa8f0000 - 0x000007fefa8fb000 C:\Windows\System32\winrnr.dll
0x000007fefb8e0000 - 0x000007fefb907000 C:\Windows\system32\IPHLPAPI.DLL
0x000007fefb8c0000 - 0x000007fefb8cb000 C:\Windows\system32\WINNSI.DLL
0x000007fefa850000 - 0x000007fefa858000 C:\Windows\system32\rasadhlp.dll
0x000007fefb740000 - 0x000007fefb793000 C:\Windows\System32\fwpuclnt.dll
0x000007fefd8d0000 - 0x000007fefd8e7000 C:\Windows\system32\CRYPTSP.dll
0x000007fefd5d0000 - 0x000007fefd617000 C:\Windows\system32\rsaenh.dll
0x000007fefd370000 - 0x000007fefd38e000 C:\Windows\system32\USERENV.dll
0x000007fefe040000 - 0x000007fefe04f000 C:\Windows\system32\profapi.dll
0x000000006d760000 - 0x000000006d766000 D:\Java\jdk1.6.0_45\jre\bin\rmi.dll
0x000000006d820000 - 0x000000006d82b000 D:\Java\jdk1.6.0_45\jre\bin\sunmscapi.dll
0x000007fefe2a0000 - 0x000007fefe40a000 C:\Windows\system32\CRYPT32.dll
0x000007fefe0e0000 - 0x000007fefe0ef000 C:\Windows\system32\MSASN1.dll
0x0000000074bd0000 - 0x0000000074be7000 C:\Program Files\Microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\auth\x64\sqljdbc_auth.dll
0x000007fefdc10000 - 0x000007fefdc1b000 C:\Windows\system32\secur32.dll
0x000007fefde90000 - 0x000007fefdeb5000 C:\Windows\system32\SSPICLI.DLL
0x000007fefd4c0000 - 0x000007fefd4ca000 C:\Windows\system32\credssp.dll
0x000007fefd8f0000 - 0x000007fefd9a4000 C:\Windows\system32\kerberos.DLL
0x000007fefdb80000 - 0x000007fefdb94000 C:\Windows\system32\cryptdll.dll
0x000007fefd800000 - 0x000007fefd851000 C:\Windows\system32\msv1_0.DLL
0x000007fefae10000 - 0x000007fefae37000 C:\Windows\system32\ntdsapi.dll
0x0000000077db0000 - 0x0000000077db7000 C:\Windows\system32\PSAPI.DLL
VM Arguments:
jvm_args: -Djava.endorsed.dirs=D:\tcServer\2.0.2\preview\\tomcat-6.0.26.B-SR01\common\endorsed -Dcatalina.base=D:\tcServer\2.0.2\preview\Patient1 -Dcatalina.home=D:\tcServer\2.0.2\preview\\tomcat-6.0.26.B-SR01 -Djava.io.tmpdir=D:\tcServer\2.0.2\preview\Patient1\temp -Djava.util.logging.manager=com.springsource.tcserver.serviceability.logging.TcServerLogManager -Djava.util.logging.config.file=D:\tcServer\2.0.2\preview\Patient1\conf\logging.properties -Dwrapper.dump.port=-1 -Xss192k -Xms2048m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=256m -Dgrails.env=preview -Djava.library.path=D:\tcServer\2.0.2\preview\\tomcat-6.0.26.B-SR01\bin\winx86_64;C:\Program Files\Microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\auth\x64 -Dwrapper.key=CBRUo14WlAHwrv6B -Dwrapper.port=32003 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=6448 -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=5
java_command: org.tanukisoftware.wrapper.WrapperSimpleApp net.covalent.tomcat.wrapper.ThreadDumpWrapper start
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=D:\Java\jdk1.6.0_45
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Dell\SysMgt\shared\bin;C:\Program Files (x86)\Dell\SysMgt\oma\bin;C:\Program Files (x86)\Dell\SysMgt\idrac;D:\Java\jdk1.6.0_20\bin
USERNAME=SYSTEM
ARCH=winx86_64
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows NT 6.1 , 64 bit Build 7601 Service Pack 1
CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 44 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
Memory: 4k page, physical 16763992k(4410876k free), swap 33526124k(16701584k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (20.45-b01) for windows-amd64 JRE (1.6.0_45-b06), built on Apr 1 2013 12:31:37 by "java_re" with MS VC++ 8.0 (VS2005)
time: Mon Jun 24 16:57:32 2013
elapsed time: 22 seconds
We have tried JDK versions 1.6.0_20 and 1.6.0_45, rebuilt/redeployed through Jenkins, uninstalled and reinstalled the app through tcServer.
Thanks in advance for any ideas, feel free to request information I may have missed.
I believe your crash is caused by some issue with the SQL Server driver when trying to use Integrated Authentication (also referred as Integrated Security)
from MS website (emphasis mine)
The JDBC driver supports the use of Type 2 integrated authentication on Windows operating systems through the integratedSecurity connection string property. To use integrated authentication, copy the sqljdbc_auth.dll file to a directory on the Windows system path on the computer where the JDBC driver is installed.
The sqljdbc_auth.dll files are installed in the following location:
\sqljdbc_\\auth\
Note
If you are running a 32-bit Java Virtual Machine (JVM), use the sqljdbc_auth.dll file in the x86 folder, even if the operating system is the x64 version. If you are running a 64-bit JVM on a x64 processor, use the sqljdbc_auth.dll file in the x64 folder. If you are running a 64-bit JVM on a IA-64 processor, use the sqljdbc_auth.dll file in the IA64 folder.
Alternatively you can set the java.libary.path system property to specify the directory of the sqljdbc_auth.dll.
For example, if the JDBC driver is installed in the default directory, you can specify the location of the DLL by using the following virtual machine (VM) argument when the Java application is started:
-Djava.library.path=C:\Microsoft SQL Server 2005 JDBC Driver\sqljdbc_\enu\auth\x86
{end of quote from MS website}
PS: To turn off integrated authentication / security change the integratedSecurity flag on the JDBC Connection String to false (ie: integratedSecurity=false)
More info at:
http://msdn.microsoft.com/en-us/library/ms378428(v=sql.90).aspx
Check the sql driver (sqljdbc4.jar) is up to date and (in sync) i.e from the same release as your sqljdbc_auth.dll.
For example: if your using the auth dll sourced from a download such as this:
C:\Microsoft SQL Server 2005 JDBC Driver\sqljdbc_4.0\enu\auth\x64\sqljdbc_auth.dll
Then you should be using the matching driver from the same release:
C:\Microsoft SQL Server 2005 JDBC Driver\sqljdbc_4.0\enu\sqljdbc4.jar
I suspect your fix worked because you started with a jdbc 3 auth dll mixed with a jdbc 4 driver. Reverting the driver to 3.0 fixed the issue. Try promoting both to 4.
The assembly code does the following:
6da0307b: 48 8b 17 mov rdx,QWORD PTR [rdi]
6da0307e: 74 16 je 0x6da03096
6da03080: 8b 52 08 mov edx,DWORD PTR [rdx+8]
6da03083: 0f b6 0d b6 61 5e 00 movzx ecx,BYTE PTR ds:0x5e61b6
6da0308a: 48 d3 e2 shl rdx,cl
6da0308d: 48 03 15 a4 61 5e 00 add rdx,QWORD PTR ds:0x5e61a4
6da03094: eb 04 jmp 0x6da0309a
6da03096: 48 8b 52 08 mov rdx,QWORD PTR [rdx+8]
6da0309a: 48 8b 52 70 mov rdx,QWORD PTR [rdx+112]
6da0309e: 48 8b ce mov rcx,rsi
6da030a1: e8 4a 98 0c 00 call 0x6dacc8f0
6da030a6: 48 83 7c 24 28 00 cmp QWORD PTR [rsp+40],0x0
6da030ac: 48 8b f0 mov rsi,rax
6da030af: 74 0a je 0x6da030bb
6da030b1: 48 8d 4c 24 20 lea rcx,[rsp+32]
6da030b6: e8 55 72 12 ?? call 0x????
at 0x6da0309a it fails cause it can't read memory. The address in rdx (0x000000036d7c8e70) is referencing incorrect memory address according to the memory map.
From the dissassembly, the code does not seem to do the right thing. I suggest you do the following:
Run a memory test (memtest86 or similar)
Try to increase stack size (192k is too low for a 64bit platform), try -Xss512k
Try not to use compressed oops (-XX:-UseCompressedOops)
Try verifying that the code above actually matches jvm.dll+0x12309a
Try running it on Intel instead of AMD

Resources