Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] SIGABRT: Attempting to JIT compile method while running in aot-only mode. #15112

Closed
mlyrstad opened this issue Feb 1, 2022 · 1 comment
Labels
s/unverified New report that has yet to be verified t/bug 🐛

Comments

@mlyrstad
Copy link

mlyrstad commented Feb 1, 2022

Description

Several runtime crashes with some kind of JIT problem:

SIGABRT: Attempting to JIT compile method '(wrapper delegate-invoke) void <Module>:invoke_callvirt_void_LocalUser_long (Go.Services.Databases.LocalUser,long)' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information. 

FastColumnSetter+<>c__DisplayClass2_0`2[ObjectType,ColumnMemberType].<CreateTypedSetterDelegate>b__0 (System.Object o, SQLitePCL.sqlite3_stmt stmt, System.Int32 i)
SQLiteCommand+<ExecuteDeferredQuery>d__12`1[T].MoveNext ()
List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable)
System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) <0x1005268ac + 0x0018f> in <25bf495f7d6b4944aa395b3ab5293479#10d199e79958d0b9f8810821acb1d50d>:0
Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source)
SQLiteCommand.ExecuteQuery[T] ()
TableQuery`1[T].ToList ()
TableQuery`1[T].FirstOrDefault ()
TableQuery`1[T].FirstOrDefault (System.Linq.Expressions.Expression`1[TDelegate] predExpr)
AsyncTableQuery`1+<>c__DisplayClass19_0[T].<FirstOrDefaultAsync>b__0 (SQLite.SQLiteConnectionWithLock conn)
AsyncTableQuery`1+<>c__DisplayClass2_0`1[T,U].<ReadAsync>b__0 ()
Task`1[TResult].InnerInvoke ()
Task.Execute ()
UnitOfWork+UnitOfWorkQuery`1[T].FirstOrDefaultAsync (System.Linq.Expressions.Expression`1[TDelegate] predicate)
OfflineMobileUserDataService.StoreUserAsync (Go.Mobile.DataLayer.DataModels.MobileUser user)
UserSettingsService.<LoadUserAsync>b__15_0 ()
ApplicationService.ApiCallAsync[T] (Go.Services.ApplicationService+ApiCallConfig`1[T] config, PowerOffice.Mobile.Utility.CallerInfo caller)
UserSettingsService.LoadUserAsync ()
StartupWizardWorkflow+<>c__DisplayClass93_0.<UpdateUserCoreAsync>g__updatePrimaryClientStateAsync|0 ()
StartupWizardWorkflow.UpdateUserCoreAsync ()
DefaultUIErrorHandler+<>c__DisplayClass7_0.<HandledCallAsync>g__typedActionAsync|2 ()
DefaultUIErrorHandler.HandledCallAsync[T] (PowerOffice.Mobile.IErrorPresenter presenter, System.Func`1[TResult] actionAsync, Go.Services.HandledCallConfig`1[T] config)
DefaultUIErrorHandler.HandledCallAsync (PowerOffice.Mobile.IErrorPresenter errorPresenter, System.Func`1[TResult] actionAsync, Go.Services.HandledCallConfig config)
StartupWizardWorkflow.UpdateUserAsync (PowerOffice.Mobile.IErrorPresenter errorPresenter)
PrefaceViewModel.OnRefreshAsync ()
StartupPageViewModel.RefreshAsync ()
AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state)
NSAsyncSynchronizationContextDispatcher.Apply ()
(wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
UIApplication.Main (System.String[] args, System.Type principalClass, System.Type delegateClass)
Application.Main (System.String[] args)
SIGABRT: Attempting to JIT compile method '(wrapper delegate-invoke) void <Module>:invoke_callvirt_void_LocalSessionConnection_long (Go.Services.Databases.LocalSessionConnection,long)' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information. 

FastColumnSetter+<>c__DisplayClass2_0`2[ObjectType,ColumnMemberType].<CreateTypedSetterDelegate>b__0 (System.Object o, SQLitePCL.sqlite3_stmt stmt, System.Int32 i)
SQLiteCommand+<ExecuteDeferredQuery>d__12`1[T].MoveNext ()
List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable)
System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) <0x100ba68ac + 0x0018f> in <25bf495f7d6b4944aa395b3ab5293479#10d199e79958d0b9f8810821acb1d50d>:0
Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source)
SQLiteCommand.ExecuteQuery[T] ()
TableQuery`1[T].ToList ()
TableQuery`1[T].FirstOrDefault ()
AsyncTableQuery`1[T].<FirstOrDefaultAsync>b__17_0 (SQLite.SQLiteConnectionWithLock conn)
AsyncTableQuery`1+<>c__DisplayClass2_0`1[T,U].<ReadAsync>b__0 ()
Task`1[TResult].InnerInvoke ()
Task.Execute ()
UnitOfWork+UnitOfWorkQuery`1[T].FirstOrDefaultAsync ()
LocalSessionDataService.LoadPreviousConnectionAsync ()
Session.LoadPreviousSessionAsync ()
StartupWizardWorkflow.UpdateUserCoreAsync ()
StartupWizardWorkflow.UpdateUserAsync (PowerOffice.Mobile.IErrorPresenter errorPresenter)
StartupWizardWorkflow.StartAsync ()
StartupViewModel.OnLoadAsync ()
ViewModel.LoadAsync ()
ViewModel.AppearedAsync (System.Threading.Tasks.Task animation)
POApplicationView.OnAppeared (System.Threading.Tasks.Task animation)
AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state)
NSAsyncSynchronizationContextDispatcher.Apply ()
(wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
UIApplication.Main (System.String[] args, System.Type principalClass, System.Type delegateClass)
Application.Main (System.String[] args)
SIGABRT: Attempting to JIT compile method '(wrapper delegate-invoke) void <Module>:invoke_callvirt_void_LocalSessionConnection_long (Go.Services.Databases.LocalSessionConnection,long)' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information. 

FastColumnSetter+<>c__DisplayClass2_0`2[ObjectType,ColumnMemberType].<CreateTypedSetterDelegate>b__0 (System.Object o, SQLitePCL.sqlite3_stmt stmt, System.Int32 i)
SQLiteCommand+<ExecuteDeferredQuery>d__12`1[T].MoveNext ()
List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable)
System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) <0x104a0a84c + 0x0018f> in <218435b0f6654ac1ab0cdd176f26b9bd#b986b8e998f181a92c1eb59b167fbf28>:0
Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source)
SQLiteCommand.ExecuteQuery[T] ()
TableQuery`1[T].ToList ()
TableQuery`1[T].FirstOrDefault ()
AsyncTableQuery`1[T].<FirstOrDefaultAsync>b__17_0 (SQLite.SQLiteConnectionWithLock conn)
AsyncTableQuery`1+<>c__DisplayClass2_0`1[T,U].<ReadAsync>b__0 ()
Task`1[TResult].InnerInvoke ()
Task.Execute ()
UnitOfWork+UnitOfWorkQuery`1[T].FirstOrDefaultAsync ()
LocalSessionDataService.LoadPreviousConnectionAsync ()
Session.LoadPreviousSessionAsync ()
StartupWizardWorkflow.UpdateUserCoreAsync ()
StartupWizardWorkflow.UpdateUserAsync (PowerOffice.Mobile.IErrorPresenter errorPresenter)
StartupWizardWorkflow.StartAsync ()
StartupViewModel.OnLoadAsync ()
ViewModel.LoadAsync ()
ViewModel.AppearedAsync (System.Threading.Tasks.Task animation)
POApplicationView.OnAppeared (System.Threading.Tasks.Task animation)
AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state)
NSAsyncSynchronizationContextDispatcher.Apply ()
(wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
UIApplication.Main (System.String[] args, System.Type principalClass, System.Type delegateClass)
Application.Main (System.String[] args)

Basic Information

  • Version with issue: 5.0.0.2337
  • Last known good version: To be determined
  • Platform Target Frameworks:
    • iOS: 11
@mlyrstad mlyrstad added s/unverified New report that has yet to be verified t/bug 🐛 labels Feb 1, 2022
@mlyrstad
Copy link
Author

mlyrstad commented Feb 1, 2022

Apparently this is an issue with the SQLite package, not Xamarin.

praeclarum/sqlite-net#1067

Disregard.

@mlyrstad mlyrstad closed this as completed Feb 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
s/unverified New report that has yet to be verified t/bug 🐛
Projects
None yet
Development

No branches or pull requests

1 participant