Hi
I am using sfDatagrid in an xamarin.android application. I load grid with about 500 records . when I navigate the grid up an down several times or do search several time the app crashes and steps out. Any one can help please ?
here is the debug information:
06-10 20:26:24.661 D/dalvikvm( 8768): GC_EXPLICIT freed 1106K, 50% free 9803K/19460K, paused 2ms+3ms, total 28ms
06-10 20:26:24.756 D/Mono ( 8768): GC_OLD_BRIDGE num-objects 17249 num_hash_entries 28753 sccs size 27881 init 0.00ms df1 45.00ms sort 16.57ms dfs2 35.24ms setup-cb 13.52ms free-data 42.69ms links 17268/17268/212260/20 dfs passes 63270/45149
06-10 20:26:24.756 D/Mono ( 8768): GC_MINOR: (Nursery full) pause 287.79ms, total 287.98ms, bridge 0.00ms promoted 42176K major 42176K los 3173K
06-10 20:26:33.941 D/dalvikvm( 8768): GC_EXPLICIT freed 1094K, 50% free 9803K/19460K, paused 2ms+2ms, total 26ms
06-10 20:26:34.026 D/Mono ( 8768): GC_OLD_BRIDGE num-objects 16452 num_hash_entries 27959 sccs size 27087 init 0.00ms df1 52.81ms sort 11.58ms dfs2 26.70ms setup-cb 12.10ms free-data 39.28ms links 17274/17274/244099/23 dfs passes 61685/44361
06-10 20:26:34.026 D/Mono ( 8768): GC_MINOR: (Nursery full) pause 132.40ms, total 132.53ms, bridge 0.00ms promoted 43088K major 43088K los 3173K
06-10 20:26:41.751 D/dalvikvm( 8768): GC_EXPLICIT freed 1424K, 52% free 9474K/19460K, paused 2ms+2ms, total 26ms
06-10 20:26:41.891 D/Mono ( 8768): GC_OLD_BRIDGE num-objects 17413 num_hash_entries 18169 sccs size 17858 init 0.00ms df1 23.21ms sort 7.22ms dfs2 9.84ms setup-cb 17.96ms free-data 11.14ms links 1528/1528/641/5 dfs passes 37110/19386
06-10 20:26:41.891 D/Mono ( 8768): GC_MAJOR: (Minor allowance) pause 649.31ms, total 649.39ms, bridge 0.00ms major 34736K/0K los 3173K/0K
06-10 20:26:42.566 E/mono ( 8768):
06-10 20:26:42.566 E/mono ( 8768): Unhandled Exception:
06-10 20:26:42.566 E/mono ( 8768): System.ArgumentException: 'jobject' must not be IntPtr.Zero.
06-10 20:26:42.566 E/mono ( 8768): Parameter name: jobject
06-10 20:26:42.566 E/mono ( 8768): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (IntPtr jobject, IntPtr jclass, IntPtr jmethod, Android.Runtime.JValue* parms) [0x00010] in /Users/builder/data/lanes/2970/46c3f7e0/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1019
06-10 20:26:42.566 E/mono ( 8768): at Android.Views.ViewGroup.RemoveView (Android.Views.View view) [0x00070] in /Users/builder/data/lanes/2970/46c3f7e0/source/monodroid/src/Mono.Android/platforms/android-23/src/generated/Android.Views.ViewGroup.cs:4707
06-10 20:26:42.566 E/mono ( 8768): at Syncfusion.SfDataGrid.LoadMoreView.Dispose (Boolean disposing) [0x0001a] in <filename unknown>:0
06-10 20:26:42.566 E/mono ( 8768): at Java.Lang.Object.Finalize () [0x00051] in /Users/builder/data/lanes/2970/46c3f7e0/source/monodroid/src/Mono.Android/src/Java.Lang/Object.cs:63
In mgmain JNI_OnLoad
06-10 20:26:42.571 F/libc ( 8768): bionic/libstdc++/src/pure_virtual.cpp:6: void __cxa_pure_virtual(): assertion "!"Pure virtual function called. Are you calling virtual methods from a destructor?"" failed
06-10 20:26:42.571 D/dalvikvm( 8768): [SWE] DalvikVM version 2014.2.24_1
06-10 20:26:42.571 D/dalvikvm( 8768): [SWE] jitOpt ON
06-10 20:26:42.571 D/dalvikvm( 8768): [SWE] ldrHoist ON
06-10 20:26:42.571 D/dalvikvm( 8768): [SWE] strSink ON
06-10 20:26:42.571 D/dalvikvm( 8768): [SWE] licm ON
06-10 20:26:42.571 D/dalvikvm( 8768): [SWE] loopInverse ON
06-10 20:26:42.571 D/dalvikvm( 8768): [SWE] traceStrSink OFF
06-10 20:26:42.571 D/dalvikvm( 8768): [SWE] patternMatching ON
06-10 20:26:42.571 D/dalvikvm( 8768): [SWE] [0] CodeCache(0x7fedc04c ~ 0x7fedc0f0; 164 bytes), Info(SpannableString,getSpanStart,0x18)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [1] CodeCache(0x7fedc970 ~ 0x7fedca18; 168 bytes), Info(TextUtils;,indexOf,0x36)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [2] CodeCache(0x7fedd80c ~ 0x7fedd900; 244 bytes), Info(ContainerHelper,binarySearch,0xf)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LOOP_INVERSION
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [3] CodeCache(0x7fedda10 ~ 0x7feddad0; 192 bytes), Info(ViewGroup;,findViewTravers,0x1c)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [4] CodeCache(0x7fedde00 ~ 0x7feddebc; 188 bytes), Info(ContainerHelper,binarySearch,0xd)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LOOP_INVERSION
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [5] CodeCache(0x7fedec88 ~ 0x7feded30; 168 bytes), Info(Parcel;,recycle,0x1c)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [6] CodeCache(0x7fee1938 ~ 0x7fee19e0; 168 bytes), Info(ViewGroup;,indexOfChild,0xc)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [7] CodeCache(0x7fee44dc ~ 0x7fee4580; 164 bytes), Info(ViewGroup;,dispatchCancelP,0x13)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [8] CodeCache(0x7fee831c ~ 0x7fee83f0; 212 bytes), Info(Arrays;,fill,0x7)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LOOP_INVERSION
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [9] CodeCache(0x7feea934 ~ 0x7feea9dc; 168 bytes), Info(AndroidBidi;,directions,0x20)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [10] CodeCache(0x7feeab2c ~ 0x7feeabe8; 188 bytes), Info(AndroidBidi;,directions,0x13b)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [11] CodeCache(0x7fef1e18 ~ 0x7fef1edc; 196 bytes), Info(ViewGroup;,onRequestFocusI,0x23)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [12] CodeCache(0x7fef3924 ~ 0x7fef39e4; 192 bytes), Info(ViewGroup;,addFocusables,0x1e)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [13] CodeCache(0x7fef3c44 ~ 0x7fef3cfc; 184 bytes), Info(ReplacementTran,getChars,0x20)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [14] CodeCache(0x7fefebbc ~ 0x7fefec70; 180 bytes), Info(MeasuredText;,addStyleRun,0x153)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [15] CodeCache(0x7ff0115c ~ 0x7ff011f4; 152 bytes), Info(ArrayUtils;,idealByteArrayS,0x11)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [16] CodeCache(0x7ff02cb4 ~ 0x7ff02d68; 180 bytes), Info(ReplacementTran,getChars,0x23)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [17] CodeCache(0x7ff0f5e8 ~ 0x7ff0f68c; 164 bytes), Info(SpannableString,getSpanFlags,0x11)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [18] CodeCache(0x7ff18858 ~ 0x7ff18928; 208 bytes), Info(SpanSet;,recycle,0x5)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LOOP_INVERSION
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [19] CodeCache(0x7ff1d2e0 ~ 0x7ff1d394; 180 bytes), Info(SpannableString,removeSpan,0x10)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [20] CodeCache(0x7ff1f5e8 ~ 0x7ff1f69c; 180 bytes), Info(ViewGroup;,dispatchTouchEv,0x4bb)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [21] CodeCache(0x7ff1fe78 ~ 0x7ff1ff64; 236 bytes), Info(StaticLayout;,getLineForVerti,0x19)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] [22] CodeCache(0x7ff229d0 ~ 0x7ff22a78; 168 bytes), Info(Parcel;,obtain,0x13)
06-10 20:26:42.576 D/dalvikvm( 8768): [SWE] LDR_HOISTING
06-10 20:26:42.581 F/libc ( 8768): Fatal signal 6 (SIGABRT) at 0x00002240 (code=-6), thread 8768 (orDroid.orDroid)