I think I may have found a bug with parallel foreach loops containing a LINQ query. I have the problem code wrapped with try/catch and the app crashes without throwing an exception. I have a SQLite database called "transactions" that contains a field which is a key (PROD_KEY) to another database called "products".
Parallel.ForEach(transactions, transaction =>
var productQuery = from q in products.Table<Models.Products>()
//Everything fine to this point.
var test = productQuery.FirstOrDefault().PROD_S1UNIT;
catch (Exception ex)
//App terminates without exception.
Built in Visual Studio Pro 2015. VS and Xamarin are both current. The only output I get after the app crashes is "The app has been terminated."
Please include your full build logs, *symbolicated* crash reports (if any), test case (to reproduce) and all version informations.
The easiest way to get exact version information is to use the "Xamarin Studio" menu, "About Xamarin Studio" item, "Show Details" button and copy/paste the version informations (you can use the "Copy Information" button).
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and reopen the bug report.