[ https://issues.apache.org/jira/browse/IGNITE-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15108234#comment-15108234 ]
Pavel Tupitsyn edited comment on IGNITE-2410 at 1/20/16 11:49 AM: ------------------------------------------------------------------ CacheAbstractTest.TestDestroy causes this, because ProcessorDestroyCache is not void by mistake, so garbage data gets into unmanagedTarget, and causes crash when Release is called. was (Author: ptupitsyn): CacheAbstractTest.TestDestroy causes this > Ignite Platform .NET JVM crashed on TC > -------------------------------------- > > Key: IGNITE-2410 > URL: https://issues.apache.org/jira/browse/IGNITE-2410 > Project: Ignite > Issue Type: Bug > Reporter: Vladimir Ershov > Assignee: Pavel Tupitsyn > Attachments: Ignite_Tests_Ignite_Platform_.NET_224_artifacts.zip > > > Result: JVM crashed (new); > tests passed: 107; > NUnit runner failure (new) Agent: w_box_02 (Default pool) > Time: 18 Jan 16 22:12 - 22:25 (13m:08s) T > riggered by: Git on 18 Jan 16 16:22 > Branch: refs/heads/master > Artifacts are in the attachment. > {noformat} > [22:25:18][Step 8/11] # > [22:25:18][Step 8/11] # A fatal error has been detected by the Java Runtime > Environment: > [22:25:18][Step 8/11] # > [22:25:18][Step 8/11] # Internal Error (safepoint.cpp:692), pid=9052, > tid=4356 > [22:25:18][Step 8/11] # fatal error: Deadlock in safepoint code. Should > have called back to the VM before blocking. > [22:25:18][Step 8/11] # > [22:25:18][Step 8/11] # JRE version: Java(TM) SE Runtime Environment > (7.0_80-b15) (build 1.7.0_80-b15) > [22:25:18][Step 8/11] # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.80-b11 > mixed mode windows-amd64 compressed oops) > [22:25:18][Step 8/11] # Failed to write core dump. Minidumps are not enabled > by default on client versions of Windows > [22:25:18][Step 8/11] # > [22:25:18][Step 8/11] # An error report file with more information is saved > as: > [22:25:18][Step 8/11] # > C:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core.Tests\bin\x64\Debug\hs_err_pid9052.log > [22:25:18][Step 8/11] 2016-01-18 22:25:18,794 [4356] ERROR > JetBrains.TeamCity.NUnitLauncher.ErrorLoggerImpl - Unhandled exception in > remote appdomain: System.AccessViolationException: Attempted to read or write > protected memory. This is often an indication that other memory is corrupt. > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.IgniteJniNativeMethods.Release(Void* target) > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.Release(IUnmanagedTarget > target) in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedUtils.cs:line > 702 > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedTarget.ReleaseHandle() in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedTarget.cs:line > 66 > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Cleanup() > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Finalize() > [22:25:18][Step 8/11] 2016-01-18 22:25:18,794 [4356] WARN > JetBrains.Container.Log4netDefaultLoggerInitializer - Unhandled exception in > current domain: System.AccessViolationException: Attempted to read or write > protected memory. This is often an indication that other memory is corrupt. > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.IgniteJniNativeMethods.Release(Void* target) > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.Release(IUnmanagedTarget > target) in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedUtils.cs:line > 702 > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedTarget.ReleaseHandle() in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedTarget.cs:line > 66 > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Cleanup() > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Finalize(), at > Apache.Ignite.Core.Impl.Unmanaged.IgniteJniNativeMethods.Release(Void* target) > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.Release(IUnmanagedTarget > target) in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedUtils.cs:line > 702 > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedTarget.ReleaseHandle() in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedTarget.cs:line > 66 > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Cleanup() > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Finalize(), (null) > [22:25:18][Step 8/11] 2016-01-18 22:25:18,794 [4356] ERROR > JetBrains.TeamCity.NUnitLauncher.ErrorLoggerImpl - Unhandled exception in > remote appdomain: System.AccessViolationException: Attempted to read or write > protected memory. This is often an indication that other memory is corrupt. > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.IgniteJniNativeMethods.Release(Void* target) > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.Release(IUnmanagedTarget > target) in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedUtils.cs:line > 702 > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedTarget.ReleaseHandle() in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedTarget.cs:line > 66 > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Cleanup() > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Finalize() > [22:25:18][Step 8/11] 2016-01-18 22:25:18,794 [4356] WARN > JetBrains.Container.Log4netDefaultLoggerInitializer - Unhandled exception in > current domain: System.AccessViolationException: Attempted to read or write > protected memory. This is often an indication that other memory is corrupt. > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.IgniteJniNativeMethods.Release(Void* target) > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.Release(IUnmanagedTarget > target) in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedUtils.cs:line > 702 > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedTarget.ReleaseHandle() in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedTarget.cs:line > 66 > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Cleanup() > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Finalize(), at > Apache.Ignite.Core.Impl.Unmanaged.IgniteJniNativeMethods.Release(Void* target) > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.Release(IUnmanagedTarget > target) in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedUtils.cs:line > 702 > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedTarget.ReleaseHandle() in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedTarget.cs:line > 66 > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Cleanup() > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Finalize(), (null) > [22:25:18][Step 8/11] 2016-01-18 22:25:18,794 [4356] ERROR > JetBrains.TeamCity.NUnitLauncher.ErrorLoggerImpl - Unhandled exception in > remote appdomain: System.AccessViolationException: Attempted to read or write > protected memory. This is often an indication that other memory is corrupt. > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.IgniteJniNativeMethods.Release(Void* target) > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.Release(IUnmanagedTarget > target) in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedUtils.cs:line > 702 > [22:25:18][Step 8/11] at > Apache.Ignite.Core.Impl.Unmanaged.UnmanagedTarget.ReleaseHandle() in > c:\BuildAgent\work\b9d877891a53d8fe\modules\platforms\dotnet\Apache.Ignite.Core\Impl\Unmanaged\UnmanagedTarget.cs:line > 66 > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Cleanup() > [22:25:18][Step 8/11] at > System.Runtime.InteropServices.CriticalHandle.Finalize() > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)