Bug 58345 - 07-24 14:45:43.566 26110 26182 F : * Assertion at /Users/builder/jenkins/workspace/xamarin-android/xamarin-android/external/mono/mono/mini/mini-arm64.c:877, condition `ji' not met
Summary: 07-24 14:45:43.566 26110 26182 F : * Assertion at /Users/builder/jenk...
Status: RESOLVED DUPLICATE of bug 57411
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Marek Habersack
URL:
Depends on:
Blocks:
 
Reported: 2017-07-24 22:01 UTC by kkurz
Modified: 2017-07-28 19:06 UTC (History)
5 users (show)

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

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 or GitHub 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 57411

Description kkurz 2017-07-24 22:01:34 UTC
I think this is a duplicate of 57411, but it's marked as VERIFIED FIXED, so I'm opening a new one. I have an APK that can reproduce the crash every time at launch, but it's too big to attach. I can share a Google Drive link with anyone who wants it.


07-24 14:45:43.539  3108  3513 V WindowManager: Checking theme of starting window: 0x7f1000a9
07-24 14:45:43.539  3108  3513 V WindowManager: Translucent=false Floating=true ShowWallpaper=false
07-24 14:45:43.566 26110 26182 F         : * Assertion at /Users/builder/jenkins/workspace/xamarin-android/xamarin-android/external/mono/mono/mini/mini-arm64.c:877, condition `ji' not met
07-24 14:45:43.566 26110 26182 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 26182 (Threadpool work)
07-24 14:45:43.615 26110 26188 F         : * Assertion at /Users/builder/jenkins/workspace/xamarin-android/xamarin-android/external/mono/mono/mini/mini-arm64.c:877, condition `ji' not met
07-24 14:45:43.665 26110 26168 F         : * Assertion at /Users/builder/jenkins/workspace/xamarin-android/xamarin-android/external/mono/mono/mini/mini-arm64.c:877, condition `ji' not met
07-24 14:45:43.715 26110 26167 F         : * Assertion at /Users/builder/jenkins/workspace/xamarin-android/xamarin-android/external/mono/mono/mini/mini-arm64.c:877, condition `ji' not met
07-24 14:45:43.737   353   353 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry android.hardware.graphics.mapper@2.0::IMapper in either framework or device manifest, using default transport.
07-24 14:45:43.738 26110 26191 W android.hardware.graphics.mapper@2.0::Mapper: getService: found null hwbinder interface
07-24 14:45:43.744 26110 26191 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib64/hw/gralloc.msm8992.so from the current namespace instead.
07-24 14:45:43.765 26110 26181 F         : * Assertion at /Users/builder/jenkins/workspace/xamarin-android/xamarin-android/external/mono/mono/mini/mini-arm64.c:877, condition `ji' not met
07-24 14:45:43.811 26200 26200 I crash_dump64: obtaining output fd from tombstoned
07-24 14:45:43.812  2929  2929 I /system/bin/tombstoned: received crash request for pid 26110
07-24 14:45:43.814 26200 26200 I crash_dump64: performing dump of process 26110 (target tid = 26182)
07-24 14:45:43.814 26200 26200 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-24 14:45:43.814 26200 26200 F DEBUG   : Build fingerprint: 'google/bullhead/bullhead:8.0.0/OPP3.170518.006/4055970:user/release-keys'
07-24 14:45:43.814 26200 26200 F DEBUG   : Revision: 'rev_1.0'
07-24 14:45:43.814 26200 26200 F DEBUG   : ABI: 'arm64'
07-24 14:45:43.814 26200 26200 F DEBUG   : pid: 26110, tid: 26182, name: Threadpool work  >>> com.digium.GcmTestingSwitchvoxSoftphone <<<
07-24 14:45:43.814 26200 26200 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-24 14:45:43.820 26200 26200 F DEBUG   : Abort message: '* Assertion at /Users/builder/jenkins/workspace/xamarin-android/xamarin-android/external/mono/mono/mini/mini-arm64.c:877, condition `ji' not met
07-24 14:45:43.820 26200 26200 F DEBUG   : '
07-24 14:45:43.820 26200 26200 F DEBUG   :     x0   0000000000000000  x1   0000000000006646  x2   0000000000000006  x3   0000000000000008
07-24 14:45:43.820 26200 26200 F DEBUG   :     x4   0000000000000000  x5   0000000000000000  x6   0000000000000000  x7   0000000000000080
07-24 14:45:43.820 26200 26200 F DEBUG   :     x8   0000000000000083  x9   c817e7a7ae7b74cc  x10  0000000000000000  x11  0000000000000001
07-24 14:45:43.820 26200 26200 F DEBUG   :     x12  000000771d334720  x13  0000000000000038  x14  ffffffffffffffff  x15  0021c52ed48e5002
07-24 14:45:43.820 26200 26200 F DEBUG   :     x16  0000007743c9e2f8  x17  0000007743c3ffd8  x18  00000000bd000000  x19  00000000000065fe
07-24 14:45:43.820 26200 26200 F DEBUG   :     x20  0000000000006646  x21  0000007735cc9880  x22  000000771de1ff8c  x23  0000000000000000
07-24 14:45:43.820 26200 26200 F DEBUG   :     x24  00000077200aa8c4  x25  00000000d61f0200  x26  0000000058000050  x27  0000000000000000
07-24 14:45:43.820 26200 26200 F DEBUG   :     x28  0000000000000007  x29  000000771ebfc560  x30  0000007743bf3700
07-24 14:45:43.820 26200 26200 F DEBUG   :     sp   000000771ebfc520  pc   0000007743c3ffe0  pstate 0000000060000000
07-24 14:45:43.827 26200 26200 F DEBUG   : 
07-24 14:45:43.827 26200 26200 F DEBUG   : backtrace:
07-24 14:45:43.827 26200 26200 F DEBUG   :     #00 pc 0000000000069fe0  /system/lib64/libc.so (tgkill+8)
07-24 14:45:43.827 26200 26200 F DEBUG   :     #01 pc 000000000001d6fc  /system/lib64/libc.so (abort+88)
07-24 14:45:43.827 26200 26200 F DEBUG   :     #02 pc 0000000000227078  /data/app/Mono.Android.DebugRuntime-rX10FfXCUNieJoafV75u2A==/lib/arm64/libmonosgen-64bit-2.0.so
07-24 14:45:44.040  3108  3280 W ActivityManager: Activity pause timeout for ActivityRecord{6d25df0 u0 com.digium.GcmTestingSwitchvoxSoftphone/com.digium.SwitchvoxSoftphone.StartupActivity t49}
07-24 14:45:44.242  3108  3292 V KeyguardServiceDelegate: setOccluded(true) animate=false
07-24 14:45:44.324  3108  3292 I ActivityManager: Displayed com.google.android.packageinstaller/com.android.packageinstaller.permission.ui.GrantPermissionsActivity: +283ms (total +4s701ms)
07-24 14:45:44.614  5608 24653 I PBSessionCacheImpl: Deleted sessionId[427326182588] from persistence.
07-24 14:45:44.667  5608  5608 I zygote64: Deoptimizing java.lang.Object com.google.common.collect.jn.a(int[], java.lang.Object[], int, int, java.lang.Object) due to JIT inline cache
07-24 14:45:45.547  3108  3281 I ActivityManager: Showing crash dialog for package com.digium.GcmTestingSwitchvoxSoftphone u0
07-24 14:45:45.620  2858  3575 D NuPlayerDriver: reset(0xf1ab21c0) at state 4
07-24 14:45:45.620  3108  3639 I ActivityManager: Process com.digium.GcmTestingSwitchvoxSoftphone (pid 26110) has died: vis  +99TOP
Comment 1 Jon Douglas [MSFT] 2017-07-25 16:58:10 UTC
Hello there,

Given that https://bugzilla.xamarin.com/show_bug.cgi?id=57411 is fixed and shows the target milestone being 15.3, have you updated to the Visual Studio Preview/beta channel to ensure this no longer exists?

https://developer.xamarin.com/recipes/cross-platform/ide/change_updates_channel/

Regardless we will want your version information, can you please attach that as well?

https://developer.xamarin.com/guides/cross-platform/troubleshooting/questions/version-logs/#version-information

Finally if 15.3 doesn't solves this for you, please upload a sample that demonstrates this issue.

Thank you for the report!
Comment 2 kkurz 2017-07-25 17:46:46 UTC
I'll install VS Alpha channel now and report back. Here's what I have today:

Visual Studio Professional 2017 for Mac
Version 7.0.1 (build 24)
Installation UUID: 39b9c129-23cd-43d5-89ec-8c1d193b2610
Runtime:
	Mono 5.0.1.1 (2017-02/5077205) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 500010001

NuGet
Version: 4.0.0.2323

.NET Core
Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.0.1/lib/mono/msbuild/15.0/bin/Sdks

Xamarin.Profiler
Version: 1.5.4
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Xamarin.Android
Version: 7.3.1.2 (Visual Studio Professional)
Android SDK: /Users/kkurz/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		5.0 (API level 21)
		5.1 (API level 22)
		6.0 (API level 23)
		7.0 (API level 24)
		7.1 (API level 25)

SDK Tools Version: 26.0.2
SDK Platform Tools Version: 26.0.0
SDK Build Tools Version: 26.0.0

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Xamarin Inspector
Version: 1.2.2
Hash: b71b035
Branch: d15-1
Build date: Fri, 21 Apr 2017 17:57:12 GMT

Apple Developer Tools
Xcode 8.3.3 (12175.1)
Build 8E3004b

Xamarin.iOS
Version: 10.10.0.36 (Visual Studio Professional)
Hash: d2270eec
Branch: d15-2
Build date: 2017-05-22 16:30:53-0400

Xamarin.Mac
Version: 3.4.0.36 (Visual Studio Professional)

Build Information
Release ID: 700010024
Git revision: 7ab1ca2ced6f584e56b7a0d4d321d00775cd95c9
Build date: 2017-05-19 05:44:51-04
Xamarin addins: 08d17158f3365beee5e60f67999e607cce4b3f93
Build lane: monodevelop-lion-d15-2

Operating System
Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
    Thu Jun 15 17:36:27 PDT 2017
    root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
Comment 3 kkurz 2017-07-25 17:52:20 UTC
@Jon, is there a Preview VS install for macOS? The link you provided is just for Windows.
Comment 4 Jon Douglas [MSFT] 2017-07-25 17:53:56 UTC
(In reply to kkurz from comment #3)
> @Jon, is there a Preview VS install for macOS? The link you provided is just
> for Windows.

Yes. Please follow these instructions:

https://developer.xamarin.com/recipes/cross-platform/ide/change_updates_channel/#Change_the_Updates_Channel_in_Visual_Studio_for_Mac

You can update to the "Beta" channel as noted in my first comment. Thank you!
Comment 5 kkurz 2017-07-27 22:57:40 UTC
I tried building with the Beta channel of VS4M, got different errors (something about F# core and mscorlib not being compatible). Tried on Alpha and got the same error, I assume that means there's still an issue:

Visual Studio Professional 2017 for Mac (Preview)
Version 7.1 Preview (7.1 build 583)
Installation UUID: 39b9c129-23cd-43d5-89ec-8c1d193b2610
Runtime:
	Mono 5.2.0.104 (2017-04/4a0006f) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 502000104

NuGet
Version: 4.0.0.2323

.NET Core
Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks

Xamarin.Profiler
Version: 1.5.4
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Xamarin.Android
Version: 7.3.1.2 (Visual Studio Professional)
Android SDK: /Users/kkurz/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		5.0 (API level 21)
		5.1 (API level 22)
		6.0 (API level 23)
		7.0 (API level 24)
		7.1 (API level 25)

SDK Tools Version: 26.0.2
SDK Platform Tools Version: 26.0.0
SDK Build Tools Version: 26.0.0

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Apple Developer Tools
Xcode 8.3.3 (12175.1)
Build 8E3004b

Xamarin.Mac
Version: 3.5.0.126 (Visual Studio Professional)

Xamarin.iOS
Version: 10.11.0.126 (Visual Studio Professional)
Hash: 7571635e
Branch: master
Build date: 2017-05-09 16:04:54-0400

Xamarin Inspector
Version: 1.3.0-alpha2
Hash: fa030e0
Branch: master
Build date: Thu, 01 Jun 2017 20:55:26 GMT
Client compatibility: 1

Build Information
Release ID: 701000583
Git revision: 445a7f09feca58babb966e0c66a6b299d0bd450c
Build date: 2017-05-12 16:05:38-04
Xamarin addins: f9b72ca5f6ca5d9476d8f58353ada2afd56c549b
Build lane: monodevelop-lion-d15-3-preview

Operating System
Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
    Thu Jun 15 17:36:27 PDT 2017
    root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64


07-27 15:48:03.882  3103  4932 I ActivityManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.google.android.packageinstaller cmp=com.google.android.packageinstaller/com.android.packageinstaller.permission.ui.GrantPermissionsActivity (has extras)} from uid 10119
07-27 15:48:03.895 29361 29389 F         : * Assertion at /Users/builder/jenkins/workspace/xamarin-android/xamarin-android/external/mono/mono/mini/mini-arm64.c:877, condition `ji' not met
--------- beginning of crash
07-27 15:48:03.896 29361 29389 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 29389 (Threadpool work)
07-27 15:48:03.911 29361 29409 F         : * Assertion at /Users/builder/jenkins/workspace/xamarin-android/xamarin-android/external/mono/mono/mini/mini-arm64.c:877, condition `ji' not met
07-27 15:48:03.922   355   355 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry android.hardware.graphics.mapper@2.0::IMapper in either framework or device manifest, using default transport.
07-27 15:48:03.926 29361 29419 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib64/hw/gralloc.msm8992.so from the current namespace instead.
07-27 15:48:03.949 29361 29405 F         : * Assertion at /Users/builder/jenkins/workspace/xamarin-android/xamarin-android/external/mono/mono/mini/mini-arm64.c:877, condition `ji' not met
07-27 15:48:04.019 29427 29427 I crash_dump64: obtaining output fd from tombstoned
07-27 15:48:04.025  2732  2732 I /system/bin/tombstoned: received crash request for pid 29361
07-27 15:48:04.038 29427 29427 I crash_dump64: performing dump of process 29361 (target tid = 29389)
07-27 15:48:04.038 29427 29427 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-27 15:48:04.038 29427 29427 F DEBUG   : Build fingerprint: 'google/bullhead/bullhead:8.0.0/OPP4.170623.014/4187591:user/release-keys'
07-27 15:48:04.038 29427 29427 F DEBUG   : Revision: 'rev_1.0'
07-27 15:48:04.038 29427 29427 F DEBUG   : ABI: 'arm64'
07-27 15:48:04.038 29427 29427 F DEBUG   : pid: 29361, tid: 29389, name: Threadpool work  >>> com.digium.GcmTestingSwitchvoxSoftphone <<<
07-27 15:48:04.038 29427 29427 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-27 15:48:04.045 29427 29427 F DEBUG   : Abort message: 'Mobile Center SDK configured successfully.'
07-27 15:48:04.045 29427 29427 F DEBUG   :     x0   0000000000000000  x1   00000000000072cd  x2   0000000000000006  x3   0000000000000008
07-27 15:48:04.045 29427 29427 F DEBUG   :     x4   0000000000000000  x5   0000000000000000  x6   0000000000000000  x7   0000000000000080
07-27 15:48:04.045 29427 29427 F DEBUG   :     x8   0000000000000083  x9   858b5c69c9fd69ca  x10  0000000000000000  x11  0000000000000001
07-27 15:48:04.045 29427 29427 F DEBUG   :     x12  00000075e8a437c0  x13  0000000000000038  x14  ffffffffffffffff  x15  003560265abc0599
07-27 15:48:04.045 29427 29427 F DEBUG   :     x16  0000007611e322f8  x17  0000007611dd41d4  x18  00000000bd000000  x19  00000000000072b1
07-27 15:48:04.045 29427 29427 F DEBUG   :     x20  00000000000072cd  x21  0000007602e35880  x22  00000075e94e9444  x23  0000000000000000
07-27 15:48:04.045 29427 29427 F DEBUG   :     x24  00000075eb6be0c4  x25  00000000d61f0200  x26  0000000058000050  x27  0000000000000000
07-27 15:48:04.045 29427 29427 F DEBUG   :     x28  0000000000000007  x29  00000075ec9fb560  x30  0000007611d87780
07-27 15:48:04.045 29427 29427 F DEBUG   :     sp   00000075ec9fb520  pc   0000007611dd41dc  pstate 0000000060000000
07-27 15:48:04.051 29427 29427 F DEBUG   : 
07-27 15:48:04.051 29427 29427 F DEBUG   : backtrace:
07-27 15:48:04.051 29427 29427 F DEBUG   :     #00 pc 000000000006a1dc  /system/lib64/libc.so (tgkill+8)
07-27 15:48:04.051 29427 29427 F DEBUG   :     #01 pc 000000000001d77c  /system/lib64/libc.so (abort+88)
07-27 15:48:04.052 29427 29427 F DEBUG   :     #02 pc 0000000000227078  /data/app/Mono.Android.DebugRuntime-vEXl4hu1AhhHaAP462ynSQ==/lib/arm64/libmonosgen-64bit-2.0.so
Comment 6 kkurz 2017-07-27 22:58:20 UTC
I'm trying to get a Windows machine up and running, but it's taking forever. None of us run Windows as our primary here, lol.
Comment 7 kkurz 2017-07-28 19:06:47 UTC
Ok, finally got a Windows machine up and running on VS 2017 Preview. Looks like it's running 15.3? It seems to build/launch properly, but I have trouble attaching with the debugger. Launching from the app menu seems to work ok though. Could be something related to passing USB through to the VirtualBox VM.

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