Ошибка: «изображение» ru / FSharp.Core.resources.dll.so 'не найдено: ошибка dlopen / условие «idx <t-> rows» не выполнено » - PullRequest
0 голосов
/ 07 июня 2018

Я не могу найти причину сбоя моего приложения.У меня странная ошибка условие `idx row 'not found" .

Активируется при попытке запустить встроенный веб-сервер (Suave):

let startServer() =
    **startWebServerAsync defaultConfig app <--- HERE**
    |> snd
    |> Async.StartAsTask 
    |> ignore

Тем не менее, эта работа при запуске в iOS. Я переустанавливаю все, и все же это не удается.

> am start -n "com.elmalabarista.Sales/md537c0d4a6026eb296b9b34627c676feee.MainActivity"
> Starting: Intent { cmp=com.elmalabarista.Sales/md537c0d4a6026eb296b9b34627c676feee.MainActivity }

Loaded assembly: Sales.Droid.dll
Loaded assembly: Bogus.dll [External]
Loaded assembly: Core.dll
Loaded assembly: FormsViewGroup.dll [External]
Loaded assembly: FSharp.Core.dll [External]
Loaded assembly: Microsoft.Data.Sqlite.dll [External]
Loaded assembly: Newtonsoft.Json.dll [External]
Loaded assembly: Npgsql.dll [External]
Loaded assembly: Serilog.dll [External]
Loaded assembly: Serilog.Sinks.Console.dll [External]
Loaded assembly: Serilog.Sinks.File.dll [External]
Loaded assembly: Serilog.Sinks.RollingFile.dll [External]
Loaded assembly: SQLitePCLRaw.batteries_green.dll [External]
Loaded assembly: SQLitePCLRaw.batteries_v2.dll [External]
Loaded assembly: SQLitePCLRaw.core.dll [External]
Loaded assembly: SQLitePCLRaw.lib.e_sqlite3.dll [External]
Loaded assembly: SQLitePCLRaw.provider.e_sqlite3.dll [External]
Loaded assembly: Suave.dll [External]
Loaded assembly: System.Runtime.CompilerServices.Unsafe.dll [External]
Loaded assembly: System.Threading.Tasks.Extensions.dll [External]
Loaded assembly: Xam.Plugin.WebView.Abstractions.dll [External]
Loaded assembly: Xam.Plugin.WebView.Droid.dll [External]
Loaded assembly: Xamarin.Android.Arch.Core.Common.dll [External]
Loaded assembly: Xamarin.Android.Arch.Lifecycle.Common.dll [External]
Loaded assembly: Xamarin.Android.Arch.Lifecycle.Runtime.dll [External]
Loaded assembly: Xamarin.Android.FSharp.ResourceProvider.Runtime.dll [External]
Loaded assembly: Xamarin.Android.Support.Animated.Vector.Drawable.dll [External]
Loaded assembly: Xamarin.Android.Support.Annotations.dll [External]
Loaded assembly: Xamarin.Android.Support.Compat.dll [External]
Loaded assembly: Xamarin.Android.Support.Core.UI.dll [External]
Loaded assembly: Xamarin.Android.Support.Core.Utils.dll [External]
Loaded assembly: Xamarin.Android.Support.Design.dll [External]
Loaded assembly: Xamarin.Android.Support.Fragment.dll [External]
Loaded assembly: Xamarin.Android.Support.Media.Compat.dll [External]
Loaded assembly: Xamarin.Android.Support.Transition.dll [External]
Loaded assembly: Xamarin.Android.Support.v4.dll [External]
Loaded assembly: Xamarin.Android.Support.v7.AppCompat.dll [External]
Loaded assembly: Xamarin.Android.Support.v7.CardView.dll [External]
Loaded assembly: Xamarin.Android.Support.v7.MediaRouter.dll [External]
Loaded assembly: Xamarin.Android.Support.v7.Palette.dll [External]
Loaded assembly: Xamarin.Android.Support.v7.RecyclerView.dll [External]
Loaded assembly: Xamarin.Android.Support.Vector.Drawable.dll [External]
Loaded assembly: Xamarin.Forms.Core.dll [External]
Loaded assembly: Xamarin.Forms.Platform.Android.dll [External]
Loaded assembly: Xamarin.Forms.Platform.dll [External]
Loaded assembly: Xamarin.Forms.Xaml.dll [External]
Loaded assembly: Mono.Android.dll [External]
Loaded assembly: Java.Interop.dll [External]
Loaded assembly: System.Runtime.dll [External]
Loaded assembly: System.Collections.Concurrent.dll [External]
Loaded assembly: System.Collections.dll [External]
Loaded assembly: System.Reflection.Primitives.dll [External]
[zygote] Not late-enabling -Xcheck:jni (already on)
[zygote] Unexpected CPU variant for X86 using defaults: x86
[zygote] Failed sending reply to debugger: Broken pipe
[zygote] Debugger is no longer active
[monodroid] Creating public update directory: `/data/user/0/com.elmalabarista.Sales/files/.__override__`
[monodroid] Using override path: /data/user/0/com.elmalabarista.Sales/files/.__override__
[monodroid] Trying to load sgen from: /data/user/0/com.elmalabarista.Sales/files/.__override__/libmonosgen-2.0.so
[monodroid] Trying to load sgen from: /storage/emulated/0/Android/data/com.elmalabarista.Sales/files/.__override__/libmonosgen-2.0.so
[monodroid] Trying to load sgen from: /storage/emulated/0/../legacy/Android/data/com.elmalabarista.Sales/files/.__override__/libmonosgen-2.0.so
[monodroid] Trying to load sgen from: /data/app/com.elmalabarista.Sales-VPQSGydqU-zpqC-2Ntc5_Q==/lib/x86/libmonosgen-2.0.so
[monodroid] Trying to load sgen from: /data/user/0/com.elmalabarista.Sales/files/.__override__/links/libmonosgen-2.0.so
[monodroid-debug] Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,loglevel=0,address=10.0.2.2:50168,embedding=1
[Mono] Image addref mscorlib[0xa32dbf40] -> mscorlib.dll[0xac48be00]: 2
[Mono] Prepared to set up assembly 'mscorlib' (mscorlib.dll)
[Mono] AOT: image 'mscorlib.dll.so' not found: dlopen failed: library "/data/app/com.elmalabarista.Sales-VPQSGydqU-zpqC-2Ntc5_Q==/lib/x86/libaot-mscorlib.dll.so" not found
[Mono] AOT: image '/usr/local/lib/mono/aot-cache/x86/mscorlib.dll.so' not found: dlopen failed: library "/data/app/com.elmalabarista.Sales-VPQSGydqU-zpqC-2Ntc5_Q==/lib/x86/libaot-mscorlib.dll.so" not found
[Mono] Config attempting to parse: 'mscorlib.dll.config'.
[Mono] Config attempting to parse: '/usr/local/etc/mono/assemblies/mscorlib/mscorlib.config'.
[Mono] Assembly mscorlib[0xa32dbf40] added to domain RootDomain, ref_count=1
[Mono] Image addref Sales.Droid[0xa32a4120] -> Sales.Droid.dll[0xac48c800]: 2
[Mono] Prepared to set up assembly 'Sales.Droid' (Sales.Droid.dll)
[Mono] Assembly Sales.Droid[0xa32a4120] added to domain RootDomain, ref_count=1
[Mono] AOT: image 'Sales.Droid.dll.so' not found: dlopen failed: library "/data/app/com.elmalabarista.Sales-VPQSGydqU-zpqC-2Ntc5_Q==/lib/x86/libaot-Sales.Droid.dll.so" not found
Loaded assembly: System.Linq.Expressions.dll [External]
[Mono] AOT: image '/usr/local/lib/mono/aot-cache/x86/Sales.Droid.dll.so' not found: dlopen failed: library "/data/app/com.elmalabarista.Sales-VPQSGydqU-zpqC-2Ntc5_Q==/lib/x86/libaot-Sales.Droid.dll.so" not found
[Mono] Config attempting to parse: 'Sales.Droid.dll.config'.
[Mono] Config attempting to parse: '/usr/local/etc/mono/assemblies/Sales.Droid/Sales.Droid.config'.
[Mono] Image addref Bogus[0xa32a40c0] -> Bogus.dll[0xac48d200]: 2
[Mono] Prepared to set up assembly 'Bogus' (Bogus.dll)
[Mono] Assembly Bogus[0xa32a40c0] added to domain RootDomain, ref_count=1
[Mono] AOT: image 'Bogus.dll.so' not found: dlopen failed: library "/data/app/com.elmalabarista.Sales-VPQSGydqU-zpqC-2Ntc5_Q==/lib/x86/libaot-Bogus.dll.so" not found
[Mono] AOT: image '/usr/local/lib/mono/aot-cache/x86/Bogus.dll.so' not found: dlopen failed: library "/data/app/com.elmalabarista.Sales-VPQSGydqU-zpqC-2Ntc5_Q==/lib/x86/libaot-Bogus.dll.so" not found
......
......
[Mono] Assembly Ref addref Xam.Plugin.WebView.Abstractions[0xa32a4780] -> System.Threading.Tasks[0x8a5b35c0]: 2
[Mono] Assembly Ref addref System.Threading.Tasks[0x8a5b35c0] -> mscorlib[0xa32dbf40]: 53
Loaded assembly: System.Threading.Tasks.dll [External]
[Mono] Assembly Ref addref FSharp.Core[0xa32a4180] -> System.Threading.Tasks[0x8a5b35c0]: 3
[Mono] Assembly Loader probing location: '/usr/local/lib/mono/gac/FSharp.Core.resources/4.4.3.0_en-us_b03f5f7f11d50a3a/FSharp.Core.resources.dll'.
[Mono] Assembly Loader probing location: '/usr/local/lib/FSharp.Core.resources.dll'.
[Mono] Assembly Loader probing location: '/usr/local/lib/mono/gac/FSharp.Core.resources/4.4.3.0_en-us_b03f5f7f11d50a3a/FSharp.Core.resources.exe'.
[Mono] Assembly Loader probing location: '/usr/local/lib/FSharp.Core.resources.exe'.
[Mono] Assembly Loader probing location: 'en-US/FSharp.Core.resources.dll'.
[Mono] Image addref FSharp.Core.resources[0x8a5b4040] -> en/FSharp.Core.resources.dll[0x8a667100]: 2
[Mono] Prepared to set up assembly 'FSharp.Core.resources' (en/FSharp.Core.resources.dll)
[Mono] Assembly FSharp.Core.resources[0x8a5b4040] added to domain RootDomain, ref_count=1
[Mono] AOT: image 'en/FSharp.Core.resources.dll.so' not found: dlopen failed: library "/data/app/com.elmalabarista.Sales-VPQSGydqU-zpqC-2Ntc5_Q==/lib/x86/libaot-FSharp.Core.resources.dll.so" not found
[Mono] AOT: image '/usr/local/lib/mono/aot-cache/x86/FSharp.Core.resources.dll.so' not found: dlopen failed: library "/data/app/com.elmalabarista.Sales-VPQSGydqU-zpqC-2Ntc5_Q==/lib/x86/libaot-FSharp.Core.resources.dll.so" not found
[Mono] Config attempting to parse: 'en/FSharp.Core.resources.dll.config'.
[Mono] Config attempting to parse: '/usr/local/etc/mono/assemblies/FSharp.Core.resources/FSharp.Core.resources.config'.
Loaded assembly: en/FSharp.Core.resources.dll [External]
[Mono] Assembly Ref addref FSharp.Core[0xa32a4180] -> System.Linq[0xa32a5a40]: 3
[] * Assertion at /Users/builder/jenkins/workspace/xamarin-android-d15-7/xamarin-android/external/mono/mono/metadata/metadata.c:1117, **condition `idx < t->rows' not met**
[libc] Fatal signal 6 (SIGABRT), code -6 in tid 4310 (labarista.Sales), pid 4310 (labarista.Sales)

Это мои версии:

Версия 7.5.2 (сборка40) UUID установки: 8eb9f5aa-ff7e-48bd-b658-76b0bff55ddc Время выполнения: Mono 5.10.1.57 (2017-12 / ea8a24b1bbf) (64-разрядная версия) GTK + 2.24.23 (тема Роли) Xamarin.Mac 4.4.1.178 (master / eee7)

Версия пакета: 510010057

Версия NuGet: 4.3.1.4445

.NET Core Runtime: / usr / local / share / dotnet / dotnet Runtime Версия: 2.0.5SDK: /usr/local/share/dotnet/sdk/2.1.4/Sdks SDK Версия: 2.1.4 MSBuild SDK: /Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/msbuild/15.0/bin / Sdks

Xamarin.Profiler Версия: 1.6.2 Расположение: / Applications / Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Инструменты разработчика Apple Xcode 9.2 (13772) Build 9C40b

Xamarin.Mac Версия: 4.4.1.193 (сообщество Visual Studio)

Xamarin.iOS Версия: 11.12.0.4 (сообщество Visual Studio) Хэш: 64fece5f Ветвь: d15-7Дата сборки: 2018-05-29 20: 00: 44-0400

Xamarin.Android Версия: 8.3.3.2 (сообщество Visual Studio) Поддерживаемые версии Android: 8.1 (уровень API 27)

Версия инструментов SDK: 26.1.1 Версия инструментов платформы SDK: 28.0.0 Версия инструментов сборки SDK: 27.0.3

Java SDK: / usr java версия "1.8.0_131" Java (TM) SE Runtime Environment (сборка)1.8.0_131-b11) 64-разрядная серверная виртуальная машина Java HotSpot (TM) (сборка 25.131-b11, смешанный режим)

Идентификатор выпуска сборки: 705020040 Редакция Git: cfe2fc0566bc4db990242959de40505a13f58352 Дата сборки: 2018-05-30 11: 24: 18-04 Надстройки Xamarin: 3ac7413ef51a88e06367313c27aec8f7292752a6 Линия сборки: monodevelop-lion-d15-7

Операционная система Mac OS X 10.12.6 Darwin 16.7.0 Darwin Kernel Версия 16.7.0 Вт 30 января 11:27: 06 PST 2018 root: xnu-3789.73.11 ~ 1 / RELEASE_X86_64 x86_64

PD: Странно, это происходило только в эмуляторе.В реальном устройстве это не сбой.

...