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

SignalR with Airplane On / Wifi Off -> Crashes app! (SIGSEGV)

$
0
0

Hi guys,

I'm using in my PCL Xamarin.Forms application a SignalR-Client class which connects to my SignalR-Server, the connection itself works fine, pakets are transported well and the Client is able to communicate with the Server.

I'm NOT using the AspNetCore SignalR instead I'm using the AspNet SignalR .NET library, as it offers more events and functionality.

I receive this error only when I try it on my real device, when working with the Android Emulator, the error doesn't appear. I don't know why.

Emulator Android Version: Pie 9.0
Samsung Device Version: Oreo 8.0

Therefor, when I turn on the airplane mode or turn off WiFi on my device, I get an SIGSEGV error, which is the following:

=================================================================

Native Crash Reporting

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

used by your application.

=================================================================

Basic Fault Adddress Reporting

Memory around native instruction pointer (0x76d330b678):0x76d330b668 00 1c 40 b9 c0 03 5f d6 fd 7b bf a9 fd 03 00 91 ..@.....{......
0x76d330b678 08 20 40 b9 a8 00 c8 37 88 01 e0 37 00 00 40 f9 . @....7...7..@.
0x76d330b688 fd 7b c1 a8 c0 03 5f d6 60 08 00 b0 01 0a 00 f0 .{....
........
0x76d330b698 03 0a 00 f0 00 24 06 91 21 80 08 91 63 8c 0a 91 .....$..!...c...

No native Android stacktrace (see debuggerd output).

=================================================================

Managed Stacktrace:

  at <unknown> <0xffffffff>
  at System.Threading._ThreadPoolWaitCallback:PerformWaitCallback <0x00007>

at :runtime_invoke_bool <0x0006f>

07-01 17:35:46.316 E/mono-rt (21080): /proc/self/maps:
07-01 17:35:46.316 E/mono-rt (21080): 12c00000-52c00000 rw-p 00000000 00:01 12723 /dev/ashmem/dalvik-main space (region space)_2562_2562 (deleted)
07-01 17:35:46.316 E/mono-rt (21080): 6fef3000-7019b000 rw-p 00000000 fe:00 261228 /data/dalvik-cache/arm64/system@framework@boot.art
07-01 17:35:46.316 E/mono-rt (21080): 7019b000-702a1000 rw-p 00000000 fe:00 261231 /data/dalvik-cache/arm64/system@framework@boot-core-libart.art
07-01 17:35:46.316 E/mono-rt (21080): 702a1000-702ec000 rw-p 00000000 fe:00 261232 /data/dalvik-cache/arm64/system@framework@boot-conscrypt.art
07-01 17:35:46.316 E/mono-rt (21080): 702ec000-70329000 rw-p 00000000 fe:00 261233 /data/dalvik-cache/arm64/system@framework@boot-okhttp.art
07-01 17:35:46.316 E/mono-rt (21080): 70329000-7032d000 rw-p 00000000 fe:00 261234 /data/dalvik-cache/arm64/system@framework@boot-legacy-test.art
07-01 17:35:46.316 E/mono-rt (21080): 7032d000-70370000 rw-p 00000000 fe:00 261235 /data/dalvik-cache/arm64/system@framework@boot-bouncycastle.art
07-01 17:35:46.316 E/mono-rt (21080): 70370000-703ab000 rw-p 00000000 fe:00 261236 /data/dalvik-cache/arm64/system@framework@boot-ext.art
07-01 17:35:46.316 E/mono-rt (21080): 703ab000-70ccf000 rw-p 00000000 fe:00 261237 /data/dalvik-cache/arm64/system@framework@boot-framework.art
07-01 17:35:46.316 E/mono-rt (21080): 70ccf000-70d84000 rw-p 00000000 fe:00 262670 /data/dalvik-cache/arm64/system@framework@boot-telephony-common.art
07-01 17:35:46.316 E/mono-rt (21080): 70d84000-70d8d000 rw-p 00000000 fe:00 262672 /data/dalvik-cache/arm64/system@framework@boot-voip-common.art
07-01 17:35:46.316 E/mono-rt (21080): 70d8d000-70d95000 rw-p 00000000 fe:00 262677 /data/dalvik-cache/arm64/system@framework@boot-ims-common.art
07-01 17:35:46.316 E/mono-rt (21080): 70d95000-70db9000 rw-p 00000000 fe:00 262788 /data/dalvik-cache/arm64/system@framework@boot-apache-xml.art
07-01 17:35:46.316 E/mono-rt (21080): 70db9000-70de5000 rw-p 00000000 fe:00 262847 /data/dalvik-cache/arm64/system@framework@boot-org.apache.http.legacy.boot.art
07-01 17:35:46.316 E/mono-rt (21080): 70de5000-70dea000 rw-p 00000000 fe:00 262854 /data/dalvik-cache/arm64/system@framework@boot-smartbondingservice.art
07-01 17:35:46.316 E/mono-rt (21080): 70dea000-70df1000 rw-p 00000000 fe:00 262864 /data/dalvik-cache/arm64/system@framework@boot-sprengine.art
07-01 17:35:46.316 E/mono-rt (21080): 70df1000-70df2000 rw-p 00000000 fe:00 262883 /data/dalvik-cache/arm64/system@framework@boot-android.hidl.base-V1.0-java.art
07-01 17:35:46.316 E/mono-rt (21080): 70df2000-70df5000 rw-p 00000000 fe:00 262903 /data/dalvik-cache/arm64/system@framework@boot-android.hidl.manager-V1.0-java.art
07-01 17:35:46.316 E/mono-rt (21080): 70df5000-70dff000 rw-p 00000000 fe:00 262910 /data/dalvik-cache/arm64/system@framework@boot-timakeystore.art
07-01 17:35:46.316 E/mono-rt (21080): 70dff000-70e08000 rw-p 00000000 fe:00 262923 /data/dalvik-cache/arm64/system@framework@boot-fipstimakeystore.art
07-01 17:35:46.316 E/mono-rt (21080): 70e08000-70e09000 rw-p 00000000 fe:00 262925 /data/dalvik-cache/arm64/system@framework@boot-ucmopensslenginehelper.art
07-01 17:35:46.316 E/mono-rt (21080): 70e09000-70e0d000 rw-p 00000000 fe:00 262926 /data/dalvik-cache/arm64/system@framework@boot-esecomm.art
07-01 17:35:46.316 E/mono-rt (21080): 70e0d000-70e0e000 rw-p 00000000 fe:00 262928 /data/dalvik-cache/arm64/system@framework@boot-SemAudioThumbnail.art
07-01 17:35:46.316 E/mono-rt (21080): 70e0e000-70e48000 rw-p 00000000 fe:00 262930 /data/dalvik-cache/arm64/system@framework@boot-knoxsdk.art
07-01 17:35:46.316 E/mono-rt (21080): 70e48000-70e75000 rw-p 00000000 fe:00 262932 /data/dalvik-cache/arm64/system@framework@boot-sec_edm.art
07-01 17:35:46.319 F/libc (21080): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x20 in tid 21184 (Thread Pool Wor)

As image:


Viewing all articles
Browse latest Browse all 89864

Trending Articles