Bug 16214 - app using parse component works in debug mode but not in release mode
Summary: app using parse component works in debug mode but not in release mode
Status: VERIFIED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.10.0.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2013-11-13 22:16 UTC by Dave
Modified: 2013-12-30 05:21 UTC (History)
3 users (show)

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


Attachments
sample project (1.76 MB, application/x-zip-compressed)
2013-11-14 19:41 UTC, Dave
Details


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:
VERIFIED INVALID

Description Dave 2013-11-13 22:16:59 UTC
I am using the parse component.  It works fine in debug mode but does not work in release mode.

I have attached a sample project, log files and application output.

A P P L I C A T I O N   O U T P U T

[Mono] Image addref mscorlib[0x2b0ce0] -> mscorlib.dll[0x2b8e28]: 1
[Mono] AOT failed to load AOT module mscorlib.dll.so: Cannot load library: load_library[1106]: Library '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/lib/mscorlib.dll.so' not found
[Mono] GC_MAJOR: (mature allocation failure) pause 0.54ms, total 0.54ms, bridge 0.01ms major 112K/32K los 0K/0K
[Mono] Assembly mscorlib[0x2b0ce0] added to domain RootDomain, ref_count=1
[Mono] Assembly Loader probing location: '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/ParseAndroidStarterProject.dll'.
[Mono] Image addref ParseAndroidStarterProject[0x2ecaf0] -> /data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/ParseAndroidStarterProject.dll[0x2ec508]: 2
[Mono] Assembly ParseAndroidStarterProject[0x2ecaf0] added to domain RootDomain, ref_count=1
[Mono] AOT failed to load AOT module /data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/ParseAndroidStarterProject.dll.so: Cannot load library: load_library[1106]: Library '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/lib//data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/ParseAndroidStarterProject.dll.so' not found
[Mono] Assembly Loader loaded assembly from location: '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/ParseAndroidStarterProject.dll'.
[Mono] Config attempting to parse: '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/ParseAndroidStarterProject.dll.config'.
[Mono] Config attempting to parse: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/etc/mono/assemblies/ParseAndroidStarterProject/ParseAndroidStarterProject.config'.
[Mono] Assembly Loader probing location: '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/Parse.Android.dll'.
[Mono] Image addref Parse.Android[0x2ed860] -> /data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/Parse.Android.dll[0x2ecce0]: 2
[Mono] Assembly Parse.Android[0x2ed860] added to domain RootDomain, ref_count=1
[Mono] AOT failed to load AOT module /data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/Parse.Android.dll.so: Cannot load library: load_library[1106]: Library '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/lib//data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/Parse.Android.dll.so' not found
[Mono] Assembly Loader loaded assembly from location: '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/Parse.Android.dll'.
[Mono] Config attempting to parse: '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/Parse.Android.dll.config'.
[Mono] Config attempting to parse: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/etc/mono/assemblies/Parse.Android/Parse.Android.config'.
[Mono] Assembly Loader probing location: '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/Newtonsoft.Json.dll'.
[Mono] Image addref Newtonsoft.Json[0x2ee600] -> /data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/Newtonsoft.Json.dll[0x2eda48]: 2
[Mono] Assembly Newtonsoft.Json[0x2ee600] added to domain RootDomain, ref_count=1
[Mono] AOT failed to load AOT module /data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/Newtonsoft.Json.dll.so: Cannot load library: load_library[1106]: Library '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/lib//data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/Newtonsoft.Json.dll.so' not found
[Mono] Assembly Loader loaded assembly from location: '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/Newtonsoft.Json.dll'.
[Mono] Config attempting to parse: '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/files/.__override__/Newtonsoft.Json.dll.config'.
[Mono] Config attempting to parse: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/etc/mono/assemblies/Newtonsoft.Json/Newtonsoft.Json.config'.
[monodroid-gc] GREF GC Threshold: 46800
[Mono] Image addref Mono.Android[0x2efa38] -> Mono.Android.dll[0x2e8ec0]: 1
[Mono] Assembly Mono.Android[0x2efa38] added to domain RootDomain, ref_count=1
[Mono] AOT failed to load AOT module Mono.Android.dll.so: Cannot load library: load_library[1106]: Library '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/lib/Mono.Android.dll.so' not found
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x301b50].
[Mono] Assembly Ref addref Mono.Android[0x2efa38] -> mscorlib[0x2b0ce0]: 2
[Mono] DllImport attempting to load: '/system/lib/liblog.so'.
[Mono] DllImport loaded library '/system/lib/liblog.so'.
[Mono] DllImport searching in: '/system/lib/liblog.so' ('/system/lib/liblog.so').
[Mono] Searching for '__android_log_print'.
[Mono] Probing '__android_log_print'.
[Mono] Found as '__android_log_print'.
[Mono] The request to load the assembly System.Core v2.0.5.0 was remapped to v3.5.0.0
[Mono] Image addref System.Core[0x32e6b8] -> System.Core.dll[0x3173d0]: 1
[Mono] Assembly System.Core[0x32e6b8] added to domain RootDomain, ref_count=1
[Mono] AOT failed to load AOT module System.Core.dll.so: Cannot load library: load_library[1106]: Library '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/lib/System.Core.dll.so' not found
[Mono] Assembly Ref addref Mono.Android[0x2efa38] -> System.Core[0x32e6b8]: 2
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x330548].
[Mono] Assembly Ref addref System.Core[0x32e6b8] -> mscorlib[0x2b0ce0]: 3
[Mono] Assembly Ref addref ParseAndroidStarterProject[0x2ecaf0] -> Mono.Android[0x2efa38]: 2
[Mono] DllImport attempting to load: '__Internal'.
[Mono] DllImport loaded library '(null)'.
[Mono] DllImport searching in: '__Internal' ('(null)').
[Mono] Searching for '_monodroid_gc_wait_for_bridge_processing'.
[Mono] Probing '_monodroid_gc_wait_for_bridge_processing'.
[Mono] Found as '_monodroid_gc_wait_for_bridge_processing'.
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x382048].
[Mono] Assembly Ref addref ParseAndroidStarterProject[0x2ecaf0] -> mscorlib[0x2b0ce0]: 4
[Mono] DllImport searching in: '__Internal' ('(null)').
[Mono] Searching for '_monodroid_gref_inc'.
[Mono] Probing '_monodroid_gref_inc'.
[Mono] Found as '_monodroid_gref_inc'.
[Mono] DllImport searching in: '__Internal' ('(null)').
[Mono] Searching for '_monodroid_gref_log_new'.
[Mono] Probing '_monodroid_gref_log_new'.
[Mono] Found as '_monodroid_gref_log_new'.
[Mono] Assembly Ref addref ParseAndroidStarterProject[0x2ecaf0] -> Parse.Android[0x2ed860]: 2
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x3cba18].
[Mono] Assembly Ref addref Parse.Android[0x2ed860] -> mscorlib[0x2b0ce0]: 5
[Mono] Assembly Ref addref Parse.Android[0x2ed860] -> Newtonsoft.Json[0x2ee600]: 2
[Mono] The request to load the retargetable assembly mscorlib v2.0.5.0 was remapped to mscorlib v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x3cba18].
[Mono] Assembly Ref addref Newtonsoft.Json[0x2ee600] -> mscorlib[0x2b0ce0]: 6
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Image addref System[0x3e4988] -> System.dll[0x3cbd20]: 1
[Mono] Assembly System[0x3e4988] added to domain RootDomain, ref_count=1
[Mono] AOT failed to load AOT module System.dll.so: Cannot load library: load_library[1106]: Library '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/lib/System.dll.so' not found
[Mono] Assembly Ref addref Parse.Android[0x2ed860] -> System[0x3e4988]: 2
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x3e89d8].
[Mono] Assembly Ref addref System[0x3e4988] -> mscorlib[0x2b0ce0]: 7
[Mono] The request to load the assembly System.Core v2.0.5.0 was remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x3ee310].
[Mono] Image addref System.Core[0x3e2538] -> System.Core.dll[0x3173d0]: 3
[Mono] Assembly Ref addref Parse.Android[0x2ed860] -> System.Core[0x32e6b8]: 3
[Mono] Remapped public key token of retargetable assembly System.Core from 7cec85d7bea7798e to b77a5c561934e089
[Mono] The request to load the retargetable assembly System.Core v2.0.5.0 was remapped to System.Core v2.0.0.0
[Mono] The request to load the assembly System.Core v2.0.0.0 was remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x4203d8].
[Mono] Image addref System.Core[0x421018] -> System.Core.dll[0x3173d0]: 4
[Mono] Assembly Ref addref Newtonsoft.Json[0x2ee600] -> System.Core[0x32e6b8]: 4
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.exe'.
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x332020].
[Mono] Image addref System[0x420eb0] -> System.dll[0x3cbd20]: 3
[Mono] Assembly Ref addref System.Core[0x32e6b8] -> System[0x3e4988]: 3
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.exe'.
[Mono] Remapped public key token of retargetable assembly System from 7cec85d7bea7798e to b77a5c561934e089
[Mono] The request to load the retargetable assembly System v2.0.5.0 was remapped to System v2.0.0.0
[Mono] Unloading image System.dll [0x44eab8].
[Mono] Image addref System[0x45f9e8] -> System.dll[0x3cbd20]: 4
[Mono] Assembly Ref addref Newtonsoft.Json[0x2ee600] -> System[0x3e4988]: 4
[Mono] Remapped public key token of retargetable assembly System.Runtime.Serialization from 7cec85d7bea7798e to b77a5c561934e089
[Mono] The request to load the retargetable assembly System.Runtime.Serialization v2.0.5.0 was remapped to System.Runtime.Serialization v2.0.0.0
[Mono] The request to load the assembly System.Runtime.Serialization v2.0.0.0 was remapped to v3.0.0.0
[Mono] Image addref System.Runtime.Serialization[0x47e790] -> System.Runtime.Serialization.dll[0x48a068]: 1
[Mono] Assembly System.Runtime.Serialization[0x47e790] added to domain RootDomain, ref_count=1
[Mono] AOT failed to load AOT module System.Runtime.Serialization.dll.so: Cannot load library: load_library[1106]: Library '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/lib/System.Runtime.Serialization.dll.so' not found
[Mono] Assembly Ref addref Newtonsoft.Json[0x2ee600] -> System.Runtime.Serialization[0x47e790]: 2
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x48a788].
[Mono] Assembly Ref addref System.Runtime.Serialization[0x47e790] -> mscorlib[0x2b0ce0]: 8
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.exe'.
[Mono] The request to load the assembly System.Core v2.0.5.0 was remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x535798].
[Mono] Image addref System.Core[0x537730] -> System.Core.dll[0x3173d0]: 5
[Mono] Assembly Ref addref ParseAndroidStarterProject[0x2ecaf0] -> System.Core[0x32e6b8]: 5
[Mono] The request to load the assembly Mono.Security v2.0.5.0 was remapped to v2.0.0.0
[Mono] Image addref Mono.Security[0x61cf78] -> Mono.Security.dll[0x40b018]: 1
[Mono] Assembly Mono.Security[0x61cf78] added to domain RootDomain, ref_count=1
[Mono] AOT failed to load AOT module Mono.Security.dll.so: Cannot load library: load_library[1106]: Library '/data/data/ParseAndroidStarterProject.ParseAndroidStarterProject/lib/Mono.Security.dll.so' not found
[Mono] Assembly Ref addref System[0x3e4988] -> Mono.Security[0x61cf78]: 2
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x62ad40].
[Mono] Assembly Ref addref Mono.Security[0x61cf78] -> mscorlib[0x2b0ce0]: 9
[Mono] The request to load the assembly Mono.Security v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image Mono.Security.dll [0x638be8].
[Mono] Image addref Mono.Security[0x639b10] -> Mono.Security.dll[0x40b018]: 3
[Mono] Assembly Ref addref Mono.Android[0x2efa38] -> Mono.Security[0x61cf78]: 3
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x638be8].
[Mono] Image addref System[0x639b10] -> System.dll[0x3cbd20]: 5
[Mono] Assembly Ref addref Mono.Android[0x2efa38] -> System[0x3e4988]: 5
[Mono] DllImport attempting to load: '/system/lib/libc.so'.
[Mono] DllImport loaded library '/system/lib/libc.so'.
[Mono] DllImport searching in: '/system/lib/libc.so' ('/system/lib/libc.so').
[Mono] Searching for 'uname'.
[Mono] Probing 'uname'.
[Mono] Found as 'uname'.
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x67a870].
[Mono] Image addref System[0x6820a0] -> System.dll[0x3cbd20]: 6
[Mono] Assembly Ref addref Mono.Security[0x61cf78] -> System[0x3e4988]: 6
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x6d6850].
[Mono] Image addref System[0x6e69c0] -> System.dll[0x3cbd20]: 7
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x6d6850].
[Mono] Image addref System[0x6e69c0] -> System.dll[0x3cbd20]: 8
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x6d6850].
[Mono] Image addref System[0x6d58c0] -> System.dll[0x3cbd20]: 9
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x721168].
[Mono] Image addref System[0x722358] -> System.dll[0x3cbd20]: 10
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x721168].
[Mono] Image addref System[0x722358] -> System.dll[0x3cbd20]: 11
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x722fc0].
[Mono] Image addref System[0x722358] -> System.dll[0x3cbd20]: 12
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x722fc0].
[Mono] Image addref System[0x7238d8] -> System.dll[0x3cbd20]: 13
[Mono] DllImport attempting to load: '/system/lib/libc.so'.
[Mono] DllImport loaded library '/system/lib/libc.so'.
[Mono] DllImport searching in: '/system/lib/libc.so' ('/system/lib/libc.so').
[Mono] Searching for 'gettid'.
[Mono] Probing 'gettid'.
[Mono] Found as 'gettid'.
[Mono] DllImport searching in: '__Internal' ('(null)').
[Mono] Searching for '_monodroid_gref_dec'.
[Mono] Probing '_monodroid_gref_dec'.
[Mono] Found as '_monodroid_gref_dec'.
[Mono] DllImport searching in: '__Internal' ('(null)').
[Mono] Searching for '_monodroid_gref_log_delete'.
[Mono] Probing '_monodroid_gref_log_delete'.
[Mono] Found as '_monodroid_gref_log_delete'.
[dalvikvm-heap] Grow heap (frag case) to 7.927MB for 16400-byte allocation
[Mono] The request to load the assembly System.Core v2.0.5.0 was remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x7233b0].
[Mono] Image addref System.Core[0x76af68] -> System.Core.dll[0x3173d0]: 6
[Mono] The request to load the assembly System.Core v2.0.5.0 was remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x7233b0].
[Mono] Image addref System.Core[0x76ff80] -> System.Core.dll[0x3173d0]: 7
[Mono] GC_BRIDGE num-objects 10 num_hash_entries 14 sccs size 14 init 0.00ms df1 0.12ms sort 0.01ms dfs2 0.13ms setup-cb 0.05ms free-data 0.02ms user-cb 27.47ms clenanup 0.07ms links 4/4/4/1 dfs passes 28/18
[Mono] GC_MINOR: (Nursery full) pause 6.88ms, total 7.06ms, bridge 27.87ms promoted 528K major 832K los 32K
[KeyCharacterMap] Can't open keycharmap file
[KeyCharacterMap] Error loading keycharmap file '/data/usr/keychars/qtouch-obp-ts.kcm.bin'. hw.keyboards.131072.devname='qtouch-obp-ts'
[KeyCharacterMap] Can't open keycharmap file
[KeyCharacterMap] Error loading keycharmap file '/system/usr/keychars/qtouch-obp-ts.kcm.bin'. hw.keyboards.131072.devname='qtouch-obp-ts'
[KeyCharacterMap] Can't open keycharmap file
[KeyCharacterMap] Using default keymap: /system/usr/keychars/qwerty.kcm.bin
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.exe'.
[Mono] The request to load the assembly System.Core v2.0.5.0 was remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x7c2dc8].
[Mono] Image addref System.Core[0x6717e8] -> System.Core.dll[0x3173d0]: 8
[Mono] The request to load the assembly System.Core v2.0.5.0 was remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x7c2dc8].
[Mono] Image addref System.Core[0x6717e8] -> System.Core.dll[0x3173d0]: 9
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.exe'.
[Mono] The request to load the assembly System.Core v2.0.5.0 was remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x7caaf8].
[Mono] Image addref System.Core[0x7cb760] -> System.Core.dll[0x3173d0]: 10
[Mono] The request to load the assembly System.Core v2.0.5.0 was remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x7cb7b8].
[Mono] Image addref System.Core[0x7bcee8] -> System.Core.dll[0x3173d0]: 11
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.exe'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.dll'.
[Mono] Assembly Loader probing location: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/9d03ce3e/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.exe'.
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x658fa0].
[Mono] Image addref System[0x61b098] -> System.dll[0x3cbd20]: 14
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x658fa0].
[Mono] Image addref System[0x4fcdb8] -> System.dll[0x3cbd20]: 15
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x658fa0].
[Mono] Image addref System[0x61b0a0] -> System.dll[0x3cbd20]: 16
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x658fa0].
[Mono] Image addref System[0x7aa730] -> System.dll[0x3cbd20]: 17
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x658fa0].
[Mono] Image addref System[0x7b6470] -> System.dll[0x3cbd20]: 18
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x658fa0].
[Mono] Image addref System[0x7cc0d8] -> System.dll[0x3cbd20]: 19
[Mono] The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0
[Mono] Unloading image System.dll [0x658fa0].
[Mono] Image addref System[0x7b6438] -> System.dll[0x3cbd20]: 20
[Mono] The request to load the assembly System.Core v2.0.5.0 was remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x658fa0].
[Mono] Image addref System.Core[0x648f50] -> System.Core.dll[0x3173d0]: 12
[Mono] The request to load the assembly System.Core v2.0.5.0 was remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x658fa0].
[Mono] Image addref System.Core[0x61b000] -> System.Core.dll[0x3173d0]: 13
Comment 1 Dave 2013-11-13 22:17:36 UTC
Here my installation

=== Xamarin Studio ===

Version 4.2 (build 2)
Installation UUID: da98fd8c-06ed-40bc-b8c2-c760dfd48f1e
Runtime:
	Microsoft .NET 4.0.30319.18051
	GTK+ 2.24.20 theme: MS-Windows
	GTK# (2.12.0.0)

=== Xamarin.Android ===

Version: 4.10.1 (Business Edition)
Android SDK: C:\Users\druchti\AppData\Local\Android\android-sdk
	Supported Android versions:
		1.6   (API level 4)
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.2   (API level 17)
		4.3   (API level 18)
Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_39
java version "1.6.0_39"
Java(TM) SE Runtime Environment (build 1.6.0_39-b04)
Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode, sharing)

=== Build Information ===

Release ID: 402000002
a37a8e0cda771d222cabe1f9af29c4d586e7fc7d
Build date: 2013-11-11 11:38:58Z
Xamarin addins: 2f88a112110098d5c6964bce4251c617c2e8a968

=== Operating System ===

Windows 6.2.9200.0 (64-bit)
Comment 2 Jonathan Pryor 2013-11-14 11:28:07 UTC
> I have attached a sample project, log files and application output.

Please provide the sample project.
Comment 3 Dave 2013-11-14 19:41:34 UTC
Created attachment 5436 [details]
sample project
Comment 4 Dave 2013-11-14 19:42:19 UTC
I attached the sample project.   Dave
Comment 5 Dave 2013-11-15 07:43:48 UTC
when running in release mode, this statement in the TrialVersionCheckMethod fails

var query = from oTrial in ParseObject.GetQuery("Trial")
	where oTrial.Get<string>("UserId") == Settings.Secure.GetString(ContentResolver, Android.Provider.Settings.Secure.AndroidId)
select oTrial;
Comment 6 Mohit Kheterpal 2013-11-20 10:08:27 UTC
Today we have checked this issue and we are getting same issue with following buids :

XS 4.2.1(build 1)
X.Android 4.10.01073

Attached sample crashes as soon as it launch on device .

adblogcat : https://gist.github.com/saurabh360/bcb28276fcd7d7e6d830
And we are not getting anything in Android log in XS

Note : We are able to deploy application successfully in Release mode using VS.
Comment 7 Dave 2013-12-10 17:28:32 UTC
Jon,

Any idea when this bug will be fixed?

Dave
Comment 8 Jonathan Pryor 2013-12-20 14:08:34 UTC
@Mohit: The logcat in Comment #6 doesn't contain a crash. The only Xamarin.Android process created is pid 21375, and pid 21375 doesn't exit.
Comment 9 Jonathan Pryor 2013-12-20 14:15:03 UTC
The problem is that your app doesn't have the INTERNET permission. Debug builds will automatically get the INTERNET permission (so that the debugger can attach), but Release builds will not, and the Parse component requires network access in order to operate (i.e. the INTERNET permission).

The fix is to edit Properties\AndroidManifest.xml and add the INTERNET permission, e.g. from the Project Options/Project Properties dialog:

http://docs.xamarin.com/recipes/android/general/projects/add_permissions_to_android_manifest
Comment 10 Dave 2013-12-23 12:35:14 UTC
Hi Jon,

I added the internet permission and I am still having the same issue.  Do you have any other thoughts on what would be causing this issue?  It works in debug mode but not in Release mode.  In release mode, I get "Unable to evaluate expression "UserId" error message.  UserId contains the key to the record I am trying to fetch from Parse.

Thanks

Dave
Comment 11 Jonathan Pryor 2013-12-26 10:32:51 UTC
> I am still having the same issue.

The _same_ issue?

> In release mode, I get "Unable to evaluate expression "UserId" error message.

That sounds like a _different_ issue, in that originally the app wouldn't connect to Parse AT ALL. At least, that was the case when I last ran the app.

The current error I get is:

> System.InvalidOperationException: Unable to evaluate expression: "UserId" ---> System.ArgumentNullException: Argument cannot be null.
> Parameter name: method
>   at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure, Boolean allowClosed)
>   at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method, Boolean throwOnBindFailure)
>   at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method)
>   at System.Linq.Expressions.Expression.CreateLambda (System.Type delegateType, System.Linq.Expressions.Expression body, System.String name, Boolean tailCall, System.Collections.ObjectModel.ReadOnlyCollection`1 parameters)
>   at System.Linq.Expressions.Expression.Lambda (System.Type delegateType, System.Linq.Expressions.Expression body, System.String name, Boolean tailCall, IEnumerable`1 parameters)
>   at System.Linq.Expressions.Expression.Lambda (System.Type delegateType, System.Linq.Expressions.Expression body, System.Linq.Expressions.ParameterExpression[] parameters)
>   at Parse.ParseQueryExtensions.GetValue (System.Linq.Expressions.Expression exp)
>   --- End of inner exception stack trace ---
>   at Parse.ParseQueryExtensions.GetValue (System.Linq.Expressions.Expression exp)
>   at Parse.ParseQueryExtensions.WhereBinaryExpression[ParseObject] (Parse.ParseQuery`1 source, System.Linq.Expressions.Expression`1 expression, System.Linq.Expressions.BinaryExpression node)
>   at Parse.ParseQueryExtensions.Where[ParseObject] (Parse.ParseQuery`1 source, System.Linq.Expressions.Expression`1 predicate)
>   at ParseAndroidStarterProject.Activity1+<TrialVersionCheck>c__async0.MoveNext ()

The fact that it works in Debug while generates an ArgumentNullException in Release suggests that the linker is involved. If we disable linking (e.g. set $(AndroidLinkMode) to None), then the app launches as expected.

Unfortunately this balloons the size of the .apk, from 4.2M to 26M, so disabling the linker is not an ideal answer.

Unfortunately, an ideal answer requires knowing what members Parse is trying to use. The default link mode is "SDK Only", i.e. don't link your app assemblies, so the problem isn't something missing from your app, it's something that the linker is removing from the BCL assemblies that Parse depends upon.

I would suggest asking on a Parse-centric forum to determine what members the linker needs to preserve. See also:

http://docs.xamarin.com/guides/android/advanced_topics/linking/
Comment 12 Akhilesh kumar 2013-12-30 05:21:07 UTC
As per comment 11, this issue is invalid.

Hence closing this issue.