Bug 35062 - iOS app launches then crashes when attempting to profile the app
Summary: iOS app launches then crashes when attempting to profile the app
Status: RESOLVED DUPLICATE of bug 31023
Alias: None
Product: Profiler
Classification: Xamarin
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Rodrigo Moya
URL:
Depends on:
Blocks:
 
Reported: 2015-10-19 15:46 UTC by dj_technohead
Modified: 2015-10-20 06:53 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Xamarin environment (1.20 KB, text/plain)
2015-10-19 15:46 UTC, dj_technohead
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 31023

Description dj_technohead 2015-10-19 15:46:10 UTC
Under the Profiler Version 0.23-0 (1), it starts the app, but then immediately crashes, with the following in the iOS console log:

Oct 19 12:39:57 Stringify-iphone6 streaming_zip_conduit[274] <Warning>: LaunchServices: installing app for existing placeholder <LSApplicationProxy: 0x13e618610> com.stringify.stringify-dev <(null) *Not found in database*>
Oct 19 12:39:57 Stringify-iphone6 streaming_zip_conduit[274] <Warning>: LaunchServices: Not creating progress for <LSApplicationProxy: 0x13e618610> com.stringify.stringify-dev <(null) *Not found in database*> since it is not a placeholder.
Oct 19 12:39:57 Stringify-iphone6 installd[50] <Notice>: 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/MobileClient.iOS.app_sparse.ipa" type Developer requested by streaming_zip_conduit (pid 274)
Oct 19 12:39:57 Stringify-iphone6 installd[50] <Notice>: 0x16e12f000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundlePatch ID=com.stringify.stringify-dev; Version=1, ShortVersion=1.01>
Oct 19 12:39:57 Stringify-iphone6 installd[50] <Notice>: 0x16e12f000 -[MIInstallableBundlePatch applyPatchWithError:]: Attempting patch update of com.stringify.stringify-dev from 1 (1.01) to 1 (1.01)
Oct 19 12:39:57 Stringify-iphone6 profiled[93] <Notice>: (Note ) MC: Provisioning profiles changed
Oct 19 12:39:57 Stringify-iphone6 profiled[93] <Notice>: (Note ) MC: Updating MIS trust...
Oct 19 12:39:57 Stringify-iphone6 installd[50] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Oct 19 12:39:57 Stringify-iphone6 installd[50] <Notice>: 0x16e12f000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for com.stringify.stringify-dev is now at /private/var/mobile/Containers/Data/Application/6ECA4E40-AF80-4F47-A585-188F1E2DEA9F
Oct 19 12:39:57 Stringify-iphone6 installd[50] <Notice>: 0x16e12f000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.stringify.stringify-dev at /private/var/mobile/Containers/Bundle/Application/24594812-1494-40F3-B011-95776C85206F
Oct 19 12:39:57 Stringify-iphone6 installd[50] <Notice>: 0x16e12f000 -[MIInstaller performInstallationWithError:]: Install Successful; Staging: 0.00s; Waiting: 0.00s; Preflight/Patch: 0.41s, Verifying: 0.08s; Overall: 0.61s
Oct 19 12:39:57 Stringify-iphone6 pkd[89] <Warning>: releasing plug-in hold 7650C4C5-AB05-4960-A744-1894EDF3EECF at client's request
Oct 19 12:39:57 Stringify-iphone6 lsd[83] <Warning>: LaunchServices: Updating identifier store
Oct 19 12:39:58 Stringify-iphone6 mobile_installation_proxy[145] <Error>: 0x16e1bb000 handle_connection: Could not receive request from host.
Oct 19 12:39:58 Stringify-iphone6 SpringBoard[58] <Warning>: Installed apps did change.
Added: {(
)}
Removed: {(
)}
Modified: {(
"com.stringify.stringify-dev"
)}
Oct 19 12:40:06 Stringify-iphone6 com.apple.xpc.launchd[1] (lockdown.5952839959397.com.apple.mobile.mobile_image_mounter) <Warning>: com.apple.mobile.mobile_image_mounter: This daemon is not allowed to execute. Running anyway.
Oct 19 12:40:06 Stringify-iphone6 MobileStorageMounter[1940] <Error>: 0x1a1efa000 iterate_ancestors: 263
Oct 19 12:40:06 Stringify-iphone6 MobileStorageMounter[1940] <Error>: 0x1a1efa000 iterate_ancestors: 263
Oct 19 12:40:06 Stringify-iphone6 MobileStorageMounter[1940] <Error>: 0x1a1efa000 iterate_ancestors: 263
Oct 19 12:40:06 Stringify-iphone6 MobileStorageMounter[1940] <Error>: 0x1a1efa000 iterate_ancestors: 263
Oct 19 12:40:06 Stringify-iphone6 MobileStorageMounter[1940] <Error>: 0x1a1efa000 iterate_ancestors: 263
Oct 19 12:40:06 Stringify-iphone6 MobileStorageMounter[1940] <Error>: 0x1a1efa000 iterate_ancestors: 263
Oct 19 12:40:06 Stringify-iphone6 MobileStorageMounter[1940] <Error>: 0x1a1efa000 iterate_ancestors: 263
Oct 19 12:40:06 Stringify-iphone6 MobileStorageMounter[1940] <Error>: 0x1a1efa000 iterate_ancestors: 263
Oct 19 12:40:06 Stringify-iphone6 com.apple.xpc.launchd[1] (lockdown.5952845596440.com.apple.debugserver.applist) <Warning>: com.apple.debugserver.applist: This daemon is not allowed to execute. Running anyway.
Oct 19 12:40:06 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1941] <Warning>: debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
for arm64.
Oct 19 12:40:06 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1941] <Warning>: Connecting to com.apple.debugserver service...
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1942] <Warning>: debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
for arm64.
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1942] <Warning>: Connecting to com.apple.debugserver service...
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1942] <Warning>: Got a connection, waiting for process information for launching or attaching.
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1942] <Warning>: Sending AppProxy info: sequence no: 253, GUID: 35A11EB2-18E6-4AAE-9CD6-30E59FF8E776.
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1942] <Error>: error: Unrecognized event type: .  Ignoring.
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1942] <Warning>: About to launch process for bundle ID: com.stringify.stringify-dev
Oct 19 12:40:07 Stringify-iphone6 amfid[228] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Oct 19 12:40:07 Stringify-iphone6 kernel[0] <Notice>: xpcproxy[1943] Container: /private/var/mobile/Containers/Data/Application/6ECA4E40-AF80-4F47-A585-188F1E2DEA9F (sandbox)
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1942] <Warning>: In completion handler, got pid for bundle id, pid: 1943.
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1942] <Warning>: Got a connection, launched process /private/var/mobile/Containers/Bundle/Application/24594812-1494-40F3-B011-95776C85206F/MobileClient.iOS.app (pid = 1943).
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1942] <Warning>: 1 +0.000000 sec [0796/0b07]: Disabling breakpoints and watchpoints, and detaching from 1943.
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1942] <Warning>: 2 +0.000175 sec [0796/0b07]: error: ::ptrace (request = PT_THUPDATE, pid = 0x0797, tid = 0x3003, signal = -1) err = Invalid argument (0x00000016)
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1942] <Warning>: 3 +0.000803 sec [0796/1307]: error: ::read ( -1, 0x16e246a38, 1024 ) => -1 err = Bad file descriptor (0x00000009)
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1942] <Warning>: Exiting.
Oct 19 12:40:07 Stringify-iphone6 SpringBoard[58] <Error>: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Oct 19 12:40:07 Stringify-iphone6 SpringBoard[58] <Error>: CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Oct 19 12:40:07 Stringify-iphone6 SpringBoard[58] <Error>: CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Oct 19 12:40:07 Stringify-iphone6 SpringBoard[58] <Error>: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Oct 19 12:40:07 Stringify-iphone6 SpringBoard[58] <Error>: CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Oct 19 12:40:07 Stringify-iphone6 SpringBoard[58] <Error>: CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1941] <Warning>: 1 +0.000000 sec [0795/0b07]: error: ::read ( 6, 0x16fd5ec88, 1024 ) => 0 err = No such file or directory (0x00000002)
Oct 19 12:40:07 Stringify-iphone6 com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.51.1
[1941] <Warning>: Exiting.
Oct 19 12:40:08 Stringify-iphone6 mobile_installation_proxy[145] <Error>: 0x16e1bb000 handle_connection: Could not receive request from host.
Oct 19 12:40:08 Stringify-iphone6 mobile_installation_proxy[145] <Error>: 0x16e2d3000 handle_connection: Could not receive request from host.
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: Found new TLS offset at 224
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: error: * Assertion at ../../../../../mono/mono/profiler/proflog.c:638, condition `ji' not met
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: Stacktrace:
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical:   at <unknown> <0xffffffff>
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical:   at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific (intptr,int) <0xffffffff>
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical:   at System.Collections.Generic.List`1..cctor () <0x0001b>
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical:
Native stacktrace:
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	0   MobileClient.iOS                    0x000000010134e488 mono_handle_native_sigsegv + 260
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	1   libsystem_platform.dylib            0x000000019b65194c _sigtramp + 68
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	2   libsystem_pthread.dylib             0x000000019b658f0c pthread_kill + 112
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	3   libsystem_c.dylib                   0x000000019b502b78 abort + 140
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	4   MobileClient.iOS                    0x000000010144f5b0 _ZL12log_callbackPKcS0_S0_iPv + 76
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	5   MobileClient.iOS                    0x0000000101439f04 monoeg_assertion_message + 100
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	6   MobileClient.iOS                    0x000000010146e274 emit_method_inner + 0
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	7   MobileClient.iOS                    0x000000010146e990 emit_bt + 220
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	8   MobileClient.iOS                    0x0000000101468b4c gc_alloc + 1032
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	9   MobileClient.iOS                    0x00000001013cb658 mono_profiler_allocation + 68
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	10  MobileClient.iOS                    0x00000001013c790c mono_array_new_specific + 184
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	11  MobileClient.iOS                    0x00000001008649f8 wrapper_managed_to_native_object___icall_wrapper_mono_array_new_specific_intptr_int + 104
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	12  MobileClient.iOS                    0x000000010067e7bc System_Collections_Generic_List_1__cctor + 28
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	13  MobileClient.iOS                    0x000000010085f144 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	14  MobileClient.iOS                    0x000000010135d6b4 mono_jit_runtime_invoke + 1264
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	15  MobileClient.iOS                    0x00000001013c1434 mono_runtime_invoke + 124
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	16  MobileClient.iOS                    0x00000001013c18d0 mono_runtime_class_init_full + 700
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	17  MobileClient.iOS                    0x0000000101359d54 mono_resolve_patch_target + 2120
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	18  MobileClient.iOS                    0x0000000101320ad0 load_method + 1308
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	19  MobileClient.iOS                    0x0000000101320414 mono_aot_get_method + 1592
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	20  MobileClient.iOS                    0x000000010135aa44 mono_jit_compile_method_with_opt + 472
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	21  MobileClient.iOS                    0x000000010135d2f8 mono_jit_runtime_invoke + 308
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	22  MobileClient.iOS                    0x00000001013c1434 mono_runtime_invoke + 124
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	23  MobileClient.iOS                    0x000000010144f4b4 xamarin_initialize + 732
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	24  MobileClient.iOS                    0x0000000101465f40 xamarin_main + 1688
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	25  MobileClient.iOS                    0x000000010129bad8 main + 96
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical: 	26  libdyld.dylib                       0x000000019b4728b8 <redacted> + 4
Oct 19 12:40:08 Stringify-iphone6 MobileClient.iOS[1943] <Warning>: critical:
=================================================================
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.
=================================================================
Oct 19 12:40:08 Stringify-iphone6 diagnosticd[84] <Error>: error evaluating process info - pid: 1943, puniqueid: 1943
Oct 19 12:40:08 Stringify-iphone6 com.apple.xpc.launchd[1] (UIKitApplication:com.stringify.stringify-dev[0x5e3c][1943]) <Notice>: Service exited due to signal: Abort trap: 6
Oct 19 12:40:08 Stringify-iphone6 SpringBoard[58] <Warning>: Application 'UIKitApplication:com.stringify.stringify-dev[0x5e3c]' crashed.
Oct 19 12:40:08 Stringify-iphone6 ReportCrash[1944] <Notice>: Formulating report for corpse[1943] MobileClient.iOS
Oct 19 12:40:08 Stringify-iphone6 ReportCrash[1944] <Warning>: saved type '109_MobileClient.iOS' report (9 of max 25) as /var/mobile/Library/Logs/CrashReporter/MobileClient.iOS_2015-10-19-124008_Stringify-iphone6.ips
Comment 1 dj_technohead 2015-10-19 15:46:43 UTC
Created attachment 13440 [details]
Xamarin environment
Comment 2 Rodrigo Moya 2015-10-20 06:53:15 UTC
This is a dup of bug #31023. As per that bug, a fix seems to be available in the alpha channel already, with mono 4.2

*** This bug has been marked as a duplicate of bug 31023 ***