Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

App crash immediatly at startup with 'Fatal signal 6 (SIGABRT)' error message

$
0
0

Hi everyone,

I'm a new Xamarin Forms developper (about 2 month old) and I'm facing a big problem when I execute my Xamarin Forms Android application.
I search on the Xamarin forum and on Google for a solution but nothing helped me.
When I execute the application in debug mode (with Visual Studio or Xamarin Studio : same behavior), compilation is ok, application is deployed on my phone and is launching on it.
A black screen appear (as if the Xamarin loading page was going to appear) but suddenly disapear ... but without any handle on Visual Studio and no explicit error message.

This is the complete debug log from Visual Studio :

Android application is debugging.
Could not connect to the debugger.
11-19 16:44:37.434 E/Zygote  (27652): MountEmulatedStorage()
11-19 16:44:37.434 E/Zygote  (27652): v2
11-19 16:44:37.434 I/libpersona(27652): KNOX_SDCARD checking this for 10319
11-19 16:44:37.434 I/libpersona(27652): KNOX_SDCARD not a persona
11-19 16:44:37.474 I/SELinux (27652): Function: selinux_compare_spd_ram, SPD-policy is existed. and_ver=SEPF_GT-I9506_5.0.1 ver=27
11-19 16:44:37.474 I/SELinux (27652): Function: selinux_compare_spd_ram , priority [2] , priority version is VE=SEPF_GT-I9506_5.0.1-1_0039
11-19 16:44:37.474 E/SELinux (27652): [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
11-19 16:44:37.474 I/art     (27652): Late-enabling -Xcheck:jni
11-19 16:44:37.544 D/ResourcesManager(27652): creating new AssetManager and set to /data/app/DicTMobile.DicTMobile-1/base.apk
11-19 16:44:37.574 W/monodroid(27652): Using override path: /data/data/DicTMobile.DicTMobile/files/.__override__
11-19 16:44:37.574 W/monodroid(27652): Using override path: /storage/emulated/0/Android/data/DicTMobile.DicTMobile/files/.__override__
11-19 16:44:37.574 W/monodroid(27652): Trying to load sgen from: /data/data/DicTMobile.DicTMobile/files/.__override__/libmonosgen-2.0.so
11-19 16:44:37.584 W/monodroid(27652): Trying to load sgen from: /storage/emulated/0/Android/data/DicTMobile.DicTMobile/files/.__override__/libmonosgen-2.0.so
11-19 16:44:37.584 W/monodroid(27652): Trying to load sgen from: /data/app/DicTMobile.DicTMobile-1/lib/arm/libmonosgen-2.0.so
11-19 16:44:37.584 W/monodroid(27652): Trying to load sgen from: /data/data/DicTMobile.DicTMobile/files/.__override__/links/libmonosgen-2.0.so
11-19 16:44:37.584 W/monodroid-debug(27652): Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,loglevel=0,address=127.0.0.1:8989,server=y,embedding=1
11-19 16:44:37.634 W/monodroid-debug(27652): Accepted stdout connection: 26
11-19 16:44:38.404 F/        (27652): * Assertion at /Users/builder/data/lanes/2098/3efa14c4/source/mono/mono/metadata/class.c:5078, condition `class' not met
11-19 16:44:38.404 F/libc    (27652): Fatal signal 6 (SIGABRT), code -6 in tid 27652 (bile.DicTMobile)

The problem has muted before this :
- First time a exception was throwed at startup about a missing public constructor on the fist ViewModel loaded (while in fact there was here !)
I search during few hours without success.
- Next day exception disappear as if by magic ! Very strange ! Now application is running well and I can tap on my login button and arrive on my main page and ... finaly crash few seconds later ... I'm amazed !
At this point there is still no handle on any exception on Visual Studio.
Console out give this at end (not the same code but similar) :

E/mono-rt(15933): =================================================================
E/mono-rt(15933): Got a SIGSEGV while executing native code. This usually indicates
E/mono-rt(15933): a fatal error in the mono runtime or one of the native libraries 
E/mono-rt(15933): used by your application.
E/mono-rt(15933): =================================================================
A/libc(15933): Fatal signal 11 (SIGSEGV) at 0x0000001d (code=1)
  • Third day ... i'm exhausted. I don't know neither what nor or look.
    Stable Xamarin Forms 4.0 is out, i decide to update my project, who know, maybe it's my solution ! Hope makes live !
    In fact Xamarin has worked on Forms optimization that made it up to 2 time faster.
    Now my problem appears immediatly ....

I'm becoming crazy, are threre somebody to help me ? Please help !

(I hope my readable English because I'm French)


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>