Forum Cross Platform with Xamarin
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Multithread Sqlite Community issue

Performing multiple queries using Mvvmcross Sqlite community plugin is causing my app to crash.

logs are like this

2015-03-26 11:03:53.594 App[986:5507] critical: at <0xffffffff>
2015-03-26 11:03:53.596 App[986:5507] critical: at (wrapper managed-to-native) Community.SQLite.SQLite3.Prepare2 (intptr,string,int,intptr&,intptr) <0xffffffff>
2015-03-26 11:03:53.599 App[986:5507] critical: at Community.SQLite.SQLite3.Prepare2 (intptr,string)
2015-03-26 11:03:53.603 App[986:5507] critical: at Community.SQLite.SQLiteCommand.Prepare ()
2015-03-26 11:03:53.606 App[986:5507] critical: at Community.SQLite.SQLiteCommand/d__01.MoveNext () <0x00173> 2015-03-26 11:03:53.609 App[986:5507] critical: at System.Collections.Generic.List1.AddEnumerable (System.Collections.Generic.IEnumerable1<T>) <0x000c3> 2015-03-26 11:03:53.611 App[986:5507] critical: at System.Collections.Generic.List1..ctor (System.Collections.Generic.IEnumerable1<T>) <0x000a7> 2015-03-26 11:03:53.614 App[986:5507] critical: at System.Linq.Enumerable.ToList<TSource> (System.Collections.Generic.IEnumerable1) <0x00037>
2015-03-26 11:03:53.615 App[986:5507] critical: at Community.SQLite.SQLiteCommand.ExecuteQuery () <0x000f3>
2015-03-26 11:03:53.618 App[986:5507] critical: at Community.SQLite.SQLiteConnection.Query (string,object[]) <0x000e3>

Is there any way to use Serialized Threading Mode with Mvvmcross SQLite plugin? Like it's being used here ? Thanks

Sign In or Register to comment.