Skip to content

Test failure: MonoTouchFixtures.CoreGraphics.BitmapContextTest.CreateAdaptive #24143

@rolfbjarne

Description

@rolfbjarne

This test crashes randomly:

MonoTouchFixtures.CoreGraphics.BitmapContextTest

=================================================================
	Native Crash Reporting
=================================================================
Got a SIGSEGV 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:
=================================================================
	0x100a8cb6f - /Users/builder/azdo/_work/1/s/artifacts/mac-test-package/tests/monotouch-test/dotnet/MacCatalyst/bin/Debug/net10.0-maccatalyst/maccatalyst-x64/monotouchtest.app/Contents/MacOS/monotouchtest : mono_dump_native_crash_info
	0x100a339de - /Users/builder/azdo/_work/1/s/artifacts/mac-test-package/tests/monotouch-test/dotnet/MacCatalyst/bin/Debug/net10.0-maccatalyst/maccatalyst-x64/monotouchtest.app/Contents/MacOS/monotouchtest : mono_handle_native_crash
	0x1009b46ef - /Users/builder/azdo/_work/1/s/artifacts/mac-test-package/tests/monotouch-test/dotnet/MacCatalyst/bin/Debug/net10.0-maccatalyst/maccatalyst-x64/monotouchtest.app/Contents/MacOS/monotouchtest : mono_sigsegv_signal_handler_debug
	0x7ff815c8437d - /usr/lib/system/libsystem_platform.dylib : _sigtramp
	0x300000001 - Unknown
	0x7ff81c6f5609 - /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics : create_protected_copy
	0x7ff81c40a9d3 - /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics : CGDataProviderCreateWithCopyOfData
	0x7ff81c40a731 - /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics : CGBitmapContextCreateImage
	0x7ff81c64d464 - /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics : rip_adaptive_bitmap_context_create_image
	0x12d7be4c3 - Unknown
	0x114d7c031 - Unknown
	0x1009b79b0 - /Users/builder/azdo/_work/1/s/artifacts/mac-test-package/tests/monotouch-test/dotnet/MacCatalyst/bin/Debug/net10.0-maccatalyst/maccatalyst-x64/monotouchtest.app/Contents/MacOS/monotouchtest : mono_jit_runtime_invoke
	0x100955c37 - /Users/builder/azdo/_work/1/s/artifacts/mac-test-package/tests/monotouch-test/dotnet/MacCatalyst/bin/Debug/net10.0-maccatalyst/maccatalyst-x64/monotouchtest.app/Contents/MacOS/monotouchtest : mono_runtime_invoke_checked
	0x10095d305 - /Users/builder/azdo/_work/1/s/artifacts/mac-test-package/tests/monotouch-test/dotnet/MacCatalyst/bin/Debug/net10.0-maccatalyst/maccatalyst-x64/monotouchtest.app/Contents/MacOS/monotouchtest : mono_runtime_try_invoke_byrefs
	0x100915ed6 - /Users/builder/azdo/_work/1/s/artifacts/mac-test-package/tests/monotouch-test/dotnet/MacCatalyst/bin/Debug/net10.0-maccatalyst/maccatalyst-x64/monotouchtest.app/Contents/MacOS/monotouchtest : ves_icall_InternalInvoke
	0x100920073 - /Users/builder/azdo/_work/1/s/artifacts/mac-test-package/tests/monotouch-test/dotnet/MacCatalyst/bin/Debug/net10.0-maccatalyst/maccatalyst-x64/monotouchtest.app/Contents/MacOS/monotouchtest : ves_icall_InternalInvoke_raw
	0x123ecbdf9 - Unknown
	0x123ecb28b - Unknown

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7ff815c87083):0x7ff815c87073  49 08 4c 0f c3 51 10 4c 0f c3 59 18 48 83 c1 20  I.L..Q.L..Y.H.. 
0x7ff815c87083  48 8b 1e 4c 8b 4e 08 4c 8b 56 10 4c 8b 5e 18 48  H..L.N.L.V.L.^.H
0x7ff815c87093  83 c6 20 48 83 ea 20 77 d0 48 01 d6 4c 8b 26 4c  .. H.. w.H..L.&L
0x7ff815c870a3  8b 6e 08 4c 8b 76 10 4c 8b 7e 18 48 0f c3 19 4c  .n.L.v.L.~.H...L

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at CoreGraphics.CGBitmapContext:CGBitmapContextCreateImage <0x000a2>
	  at CoreGraphics.CGBitmapContext:ToImage <0x0004a>
	  at MonoTouchFixtures.CoreGraphics.BitmapContextTest:CreateAdaptive <0x017f2>
	  at System.Object:runtime_invoke_void__this__ <0x000b0>
	  at <unknown> <0xffffffff>
	  at System.Reflection.RuntimeMethodInfo:InternalInvoke <0x000b8>
	  at System.Reflection.MethodBaseInvoker:InterpretedInvoke_Method <0x0008a>
	  at System.Reflection.MethodBaseInvoker:InvokeWithNoArgs <0x0009a>
	  at System.Reflection.RuntimeMethodInfo:Invoke <0x0028a>
	  at System.Reflection.MethodBase:Invoke <0x00058>
	  at NUnit.Framework.Internal.Reflect:InvokeMethod <0x000da>
	  at NUnit.Framework.Internal.MethodWrapper:Invoke <0x00052>
	  at NUnit.Framework.Internal.Commands.TestMethodCommand:InvokeTestMethod <0x0005e>
	  at NUnit.Framework.Internal.Commands.TestMethodCommand:RunTestMethod <0x001ca>
	  at NUnit.Framework.Internal.Commands.TestMethodCommand:Execute <0x0004a>
	  at NUnit.Framework.Internal.Execution.SimpleWorkItem:PerformWork <0x00076>
	  at NUnit.Framework.Internal.Execution.WorkItem:RunOnCurrentThread <0x001b3>
	  at NUnit.Framework.Internal.Execution.WorkItem:Execute <0x0022a>
	  at NUnit.Framework.Internal.Execution.MainThreadWorkItemDispatcher:Dispatch <0x0003b>
	  at NUnit.Framework.Internal.Execution.CompositeWorkItem:RunChildren <0x00373>
	  at NUnit.Framework.Internal.Execution.CompositeWorkItem:PerformWork <0x001ea>
	  at NUnit.Framework.Internal.Execution.WorkItem:RunOnCurrentThread <0x001b3>
	  at NUnit.Framework.Internal.Execution.WorkItem:Execute <0x0022a>
	  at NUnit.Framework.Internal.Execution.MainThreadWorkItemDispatcher:Dispatch <0x0003b>
	  at NUnit.Framework.Internal.Execution.CompositeWorkItem:RunChildren <0x00373>
	  at NUnit.Framework.Internal.Execution.CompositeWorkItem:PerformWork <0x001ea>
	  at NUnit.Framework.Internal.Execution.WorkItem:RunOnCurrentThread <0x001b3>
	  at NUnit.Framework.Internal.Execution.WorkItem:Execute <0x0022a>
	  at NUnit.Framework.Internal.Execution.MainThreadWorkItemDispatcher:Dispatch <0x0003b>
	  at NUnit.Framework.Internal.Execution.CompositeWorkItem:RunChildren <0x00373>
	  at NUnit.Framework.Internal.Execution.CompositeWorkItem:PerformWork <0x001ea>
	  at NUnit.Framework.Internal.Execution.WorkItem:RunOnCurrentThread <0x001b3>
	  at NUnit.Framework.Internal.Execution.WorkItem:Execute <0x0022a>
	  at NUnit.Framework.Internal.Execution.MainThreadWorkItemDispatcher:Dispatch <0x0003b>
	  at NUnit.Framework.Internal.Execution.CompositeWorkItem:RunChildren <0x00373>
	  at NUnit.Framework.Internal.Execution.CompositeWorkItem:PerformWork <0x001ea>
	  at NUnit.Framework.Internal.Execution.WorkItem:RunOnCurrentThread <0x001b3>
	  at NUnit.Framework.Internal.Execution.WorkItem:Execute <0x0022a>
	  at NUnit.Framework.Internal.Execution.MainThreadWorkItemDispatcher:Dispatch <0x0003b>
	  at NUnit.Framework.Internal.Execution.MainThreadWorkItemDispatcher:Start <0x0004a>
	  at NUnit.Framework.Api.NUnitTestAssemblyRunner:StartRun <0x005f1>
	  at <>c__DisplayClass38_0:<RunAsync>b__0 <0x00042>
	  at NUnit.Framework.Api.NUnitTestAssemblyRunner:WrapInNUnitCallContext <0x00031>
	  at NUnit.Framework.Api.NUnitTestAssemblyRunner:RunAsync <0x00312>
	  at NUnit.Framework.Api.NUnitTestAssemblyRunner:Run <0x0005a>
	  at MonoTouch.NUnit.UI.BaseTouchRunner:Run <0x00492>
	  at MonoTouch.NUnit.UI.BaseTouchRunner:Run <0x000ba>
	  at MonoTouch.NUnit.UI.BaseTouchRunner:<AutoRun>b__49_0 <0x000ca>
	  at <>c__DisplayClass19_0:<ExecuteOnMainThread>b__0 <0x0003d>
	  at Foundation.NSAsyncActionDispatcher:Apply <0x0003c>
	  at System.Object:runtime_invoke_void__this__ <0x000b0>
	  at <unknown> <0xffffffff>
	  at UIKit.UIApplication:xamarin_UIApplicationMain <0x00111>
	  at UIKit.UIApplication:UIApplicationMain <0x0008a>
	  at UIKit.UIApplication:Main <0x001f2>
	  at MainClass:Main <0x0004a>
	  at <Module>:runtime_invoke_void_object <0x000b0>
=================================================================
Execution completed with exit code 139
Reaping losing child 0x9c3048000 PID 42465 
Removing child 0x9c3048000 PID 42465 from chain.
make[1]: *** [exec-maccatalyst-dotnet-x64-monotouch-test] Error 139

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsAnything related to tests

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions