Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime

rdacprdacp Member ✭✭

07-31 12:57:41.964 E/mono-rt (12459): No native Android stacktrace (see debuggerd output).
07-31 12:57:41.964 E/mono-rt (12459):
07-31 12:57:41.964 E/mono-rt (12459):
07-31 12:57:41.964 E/mono-rt (12459): =================================================================
07-31 12:57:41.964 E/mono-rt (12459): Got a SIGSEGV while executing native code. This usually indicates
07-31 12:57:41.964 E/mono-rt (12459): a fatal error in the mono runtime or one of the native libraries
07-31 12:57:41.964 E/mono-rt (12459): used by your application.
07-31 12:57:41.964 E/mono-rt (12459): =================================================================
07-31 12:57:41.964 E/mono-rt (12459):
07-31 12:57:41.979 F/libc (12459): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 12459 (ech.TeleMed_App)
07-31 12:57:44.587 D/AudioSystem(12459): getIoDescriptor: ioHandle = 270, index = -2, mIoDescriptors = 0xc1808488
07-31 12:57:44.588 D/AudioSystem(12459): getIoDescriptor: ioHandle = 278, index = -2, mIoDescriptors = 0xc1808488
07-31 12:57:44.588 D/AudioSystem(12459): getIoDescriptor: ioHandle = 270, index = 4, mIoDescriptors = 0xc1808488
07-31 12:57:44.588 D/AudioSystem(12459): getIoDescriptor: ioHandle = 278, index = 4, mIoDescriptors = 0xc1808488

Answers

  • JarvanJarvan Member, Xamarin Team Xamurai

    The supplied information was not complete enough for us to duplicate the issue. Please post the related code or share a repro demo.

    Similar issue case, hope it'll help you:
    https://forums.xamarin.com/discussion/8035/sigsegv-without-stacktrace/p1

  • rdacprdacp Member ✭✭

    I got below stacktrace about this exception

    1 16:51:47.318 D/MediaPlayer(22718): handleMessage msg:(8, 0, 0)
    07-31 16:51:49.126 D/Mono (22718): GC_BRIDGE waiting for bridge processing to finish
    07-31 16:51:49.211 I/art (22718): Starting a blocking GC Explicit
    07-31 16:51:51.921 I/art (22718): Enter while loop.
    07-31 16:51:51.921 W/art (22718): Suspending all threads took: 6.232ms
    07-31 16:51:53.520 D/OpenGLRenderer(22718): ~CanvasContext() 0xe27ee000
    07-31 16:51:53.567 I/art (22718): Explicit concurrent mark sweep GC freed 13510(806KB) AllocSpace objects, 9(24MB) LOS objects, 19% free, 8MB/10MB, paused 20.602ms total 4.170s
    07-31 16:51:54.304 D/Mono (22718): GC_TAR_BRIDGE bridges 1551 objects 22719 opaque 7812 colors 1383 colors-bridged 1333 colors-visible 1333 xref 169 cache-hit 0 cache-semihit 0 cache-miss 50 setup 0.57ms tarjan 348.45ms scc-setup 16.10ms gather-xref 0.16ms xref-setup 0.03ms cleanup 31.01ms
    07-31 16:51:54.305 D/Mono (22718): GC_BRIDGE: Complete, was running for 5335.31ms
    07-31 16:51:54.305 D/Mono (22718): GC_MAJOR: (LOS overflow) time 1354.67ms, stw 1395.41ms los size: 7168K in use: 1223K
    07-31 16:51:54.305 D/Mono (22718): GC_MAJOR_SWEEP: major size: 9888K in use: 7754K
    Thread finished: #17
    Thread started: #20
    The thread 0x11 has exited with code 0 (0x0).
    07-31 16:51:54.624 I/art (22718): Enter while loop.
    07-31 16:51:55.186 V/PhoneWindow(22718): DecorView setVisiblity: visibility = 4, Parent = ViewRoot{49c2822 com.dhanushinfotech.TeleMed_App/md5c8bbdb5c32cb231962ea169fbd08e042.MainActivity,ident = 1}, this = [email protected][MainActivity]
    07-31 16:51:55.229 I/Choreographer(22718): Skipped 39 frames! The application may be doing too much work on its main thread.
    07-31 16:51:55.235 D/Surface (22718): Surface::disconnect(this=0xc8111600,api=1)
    07-31 16:51:55.246 D/GraphicBuffer(22718): unregister, handle(0xe279fb40) (w:1024 h:600 s:1024 f:0x1 u:0x000b00)
    07-31 16:51:55.247 D/GraphicBuffer(22718): unregister, handle(0xe279f9c0) (w:1024 h:600 s:1024 f:0x1 u:0x000b00)
    07-31 16:51:55.248 D/GraphicBuffer(22718): unregister, handle(0xe279fa80) (w:1024 h:600 s:1024 f:0x1 u:0x000b00)
    07-31 16:51:55.248 D/Surface (22718): Surface::disconnect(this=0xc8111600,api=1)
    07-31 16:51:56.177 E/mono-rt (22718): Stacktrace:
    07-31 16:51:56.177 E/mono-rt (22718):
    07-31 16:51:56.177 E/mono-rt (22718): at <0xffffffff>
    07-31 16:51:56.177 E/mono-rt (22718): at (wrapper managed-to-native) Java.Interop.NativeMethods.java_interop_jnienv_call_nonvirtual_void_method_a (intptr,intptr&,intptr,intptr,intptr,Java.Interop.JniArgumentValue) <0x00057>
    07-31 16:51:56.177 E/mono-rt (22718): at Java.Interop.JniEnvironment/InstanceMethods.CallNonvirtualVoidMethod (Java.Interop.JniObjectReference,Java.Interop.JniObjectReference,Java.Interop.JniMethodInfo,Java.Interop.JniArgumentValue
    ) [0x00074] in <286213b9e14c442ba8d8d94cc9dbec8e>:0
    07-31 16:51:56.178 E/mono-rt (22718): at Java.Interop.JniPeerMembers/JniInstanceMethods.InvokeVirtualVoidMethod (string,Java.Interop.IJavaPeerable,Java.Interop.JniArgumentValue*) [0x0005f] in <286213b9e14c442ba8d8d94cc9dbec8e>:0
    07-31 16:51:56.178 E/mono-rt (22718): at Android.Widget.ImageView.SetImageDrawable (Android.Graphics.Drawables.Drawable) [0x00027] in /Users/builder/data/lanes/6102/ba9da7a7/source/monodroid/external/xamarin-android/src/Mono.Android/obj/Release/android-27/mcw/Android.Widget.ImageView.cs:1056
    07-31 16:51:56.178 E/mono-rt (22718): at Xamarin.Forms.Platform.Android.ImageViewExtensions/d__0.MoveNext () [0x00214] in D:\a\1\s\Xamarin.Forms.Platform.Android\Extensions\ImageViewExtensions.cs:67
    07-31 16:51:56.181 E/mono-rt (22718): at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<Xamarin.Forms.Platform.Android.ImageViewExtensions/d__0> (Xamarin.Forms.Platform.Android.ImageViewExtensions/d__0&) [0x0002c] in /Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:316
    07-31 16:51:56.181 E/mono-rt (22718): at Xamarin.Forms.Platform.Android.ImageViewExtensions.UpdateBitmap (Android.Widget.ImageView,Xamarin.Forms.Image,Xamarin.Forms.Image) [0x00037] in <6b73296523894c3d8d57f5a8e3480a43>:0
    07-31 16:51:56.181 E/mono-rt (22718): at Xamarin.Forms.Platform.Android.ImageRenderer/d__10.MoveNext () [0x00033] in D:\a\1\s\Xamarin.Forms.Platform.Android\Renderers\ImageRenderer.cs:113
    07-31 16:51:56.181 E/mono-rt (22718): at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<Xamarin.Forms.Platform.Android.ImageRenderer/d__10> (Xamarin.Forms.Platform.Android.ImageRenderer/d__10&) [0x0002c] in /Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:316
    07-31 16:51:56.182 E/mono-rt (22718): at Xamarin.Forms.Platform.Android.ImageRenderer.UpdateBitmap (Xamarin.Forms.Image) [0x0002f] in <6b73296523894c3d8d57f5a8e3480a43>:0
    07-31 16:51:56.182 E/mono-rt (22718): at Xamarin.Forms.Platform.Android.ImageRenderer/d__9.MoveNext () [0x00014] in D:\a\1\s\Xamarin.Forms.Platform.Android\Renderers\ImageRenderer.cs:94
    07-31 16:51:56.182 E/mono-rt (22718): at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<Xamarin.Forms.Platform.Android.ImageRenderer/d__9> (Xamarin.Forms.Platform.Android.ImageRenderer/d__9&) [0x0002c] in /Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:316
    07-31 16:51:56.182 E/mono-rt (22718): at Xamarin.Forms.Platform.Android.ImageRenderer.TryUpdateBitmap (Xamarin.Forms.Image) [0x0002f] in <6b73296523894c3d8d57f5a8e3480a43>:0
    07-31 16:51:56.182 E/mono-rt (22718): at Xamarin.Forms.Platform.Android.ImageRenderer/d__7.MoveNext () [0x0003f] in D:\a\1\s\Xamarin.Forms.Platform.Android\Renderers\ImageRenderer.cs:70
    07-31 16:51:56.182 E/mono-rt (22718): at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start<Xamarin.Forms.Platform.Android.ImageRenderer/d__7> (Xamarin.Forms.Platform.Android.ImageRenderer/d__7&) [0x0002c] in /Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:84
    07-31 16:51:56.182 E/mono-rt (22718): at Xamarin.Forms.Platform.Android.ImageRenderer.OnElementPropertyChanged (object,System.ComponentModel.PropertyChangedEventArgs) [0x00037] in <6b73296523894c3d8d57f5a8e3480a43>:0
    07-31 16:51:56.182 E/mono-rt (22718): at (wrapper delegate-invoke) .invoke_void_object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) [0x00073] in :0
    07-31 16:51:56.183 E/mono-rt (22718): at Xamarin.Forms.BindableObject.OnPropertyChanged (string) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:150
    07-31 16:51:56.183 E/mono-rt (22718): at Xamarin.Forms.Element.OnPropertyChanged (string) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\Element.cs:398
    07-31 16:51:56.183 E/mono-rt (22718): at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty,Xamarin.Forms.BindableObject/BindablePropertyContext,object,bool,Xamarin.Forms.Internals.SetValueFlags,bool) [0x00114] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:623
    07-31 16:51:56.189 E/mono-rt (22718): at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty,object,Xamarin.Forms.Internals.SetValueFlags,Xamarin.Forms.BindableObject/SetValuePrivateFlags) [0x0015b] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:417
    07-31 16:51:56.211 E/mono-rt (22718): at Xamarin.Forms.BindingExpression.ApplyCore (object,Xamarin.Forms.BindableObject,Xamarin.Forms.BindableProperty,bool) [0x00216] in D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:173
    07-31 16:51:56.211 E/mono-rt (22718): at Xamarin.Forms.BindingExpression.Apply (bool) [0x0003e] in D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:57
    07-31 16:51:56.211 E/mono-rt (22718): at Xamarin.Forms.BindingExpression/BindingExpressionPart.b__49_0 () [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:616
    07-31 16:51:56.211 E/mono-rt (22718): at Java.Lang.Thread/RunnableImplementor.Run () [0x00008] in /Users/builder/data/lanes/6102/ba9da7a7/source/monodroid/external/xamarin-android/src/Mono.Android/Java.Lang/Thread.cs:36
    07-31 16:51:56.211 E/mono-rt (22718): at Java.Lang.IRunnableInvoker.n_Run (intptr,intptr) [0x00009] in /Users/builder/data/lanes/6102/ba9da7a7/source/monodroid/external/xamarin-android/src/Mono.Android/obj/Release/android-27/mcw/Java.Lang.IRunnable.cs:81
    07-31 16:51:56.211 E/mono-rt (22718): at (wrapper dynamic-method) object.27 (intptr,intptr) [0x00011] in :0
    07-31 16:51:56.211 E/mono-rt (22718): at (wrapper native-to-managed) object.27 (intptr,intptr) [0x00021] in :0
    07-31 16:51:56.211 E/mono-rt (22718): /proc/self/maps:
    07-31 16:51:56.211 E/mono-rt (22718): 12c00000-12e06000 rw-p 00000000 00:04 2931 /dev/ashmem/dalvik-main space (deleted)
    07-31 16:51:56.211 E/mono-rt (22718): 12e06000-1ac00000 rw-p 00206000 00:04 2931 /dev/ashmem/dalvik-main space (deleted)
    07-31 16:51:56.211 E/mono-rt (22718): 22c00000-2ac00000 ---p 00000000 00:04 2932 /dev/ashmem/dalvik-main space 1 (deleted)
    07-31 16:51:56.211 E/mono-rt (22718): 6f59e000-6fb0a000 rw-p 00000000 fd:01 48913 /data/dalvik- [vectors]
    07-31 16:51:56.482 E/mono-rt (22718):
    07-31 16:51:56.482 E/mono-rt (22718): No native Android stacktrace (see debuggerd output).
    07-31 16:51:56.482 E/mono-rt (22718):
    07-31 16:51:56.482 E/mono-rt (22718):
    07-31 16:51:56.482 E/mono-rt (22718): =================================================================
    07-31 16:51:56.482 E/mono-rt (22718): Got a SIGSEGV while executing native code. This usually indicates
    07-31 16:51:56.482 E/mono-rt (22718): a fatal error in the mono runtime or one of the native libraries
    07-31 16:51:56.482 E/mono-rt (22718): used by your application.
    07-31 16:51:56.482 E/mono-rt (22718): =================================================================
    07-31 16:51:56.482 E/mono-rt (22718):
    07-31 16:51:56.483 F/libc (22718): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 22718

  • JarvanJarvan Member, Xamarin Team Xamurai

    Someone has shipped this problem, pay attention to this topic.

    https://github.com/xamarin/xamarin-android/issues/2920

Sign In or Register to comment.