App hangs in debug every second or third time. Debug shows: WaitingInMainSignalCatcherLoop

ThomasBurkhartThomasBurkhart DEMember ✭✭✭✭

Hi,

every second or third times on a real phone my App hangs.

02-29 12:42:02.540 I/OpenGLRenderer( 5739): Initialized EGL, version 1.4
02-29 12:42:14.900 I/art     ( 5739): Thread[9,tid=5752,WaitingInMainSignalCatcherLoop,Thread*=0x557f830e80,peer=0x12c00080,"Signal Catcher"]: reacting to signal 3
02-29 12:42:15.330 I/art     ( 5739): Wrote stack traces to '/data/anr/traces.txt'
02-29 12:44:07.610 I/art     ( 5739): Thread[9,tid=5752,WaitingInMainSignalCatcherLoop,Thread*=0x557f830e80,peer=0x12c00080,"Signal Catcher"]: reacting to signal 3
02-29 12:44:08.040 I/art     ( 5739): Wrote stack traces to '/data/anr/traces.txt'

I don't use any worker Threads, only some asyn calls.

Any Idea?

Best
Thomas

Posts

  • ThomasBurkhartThomasBurkhart DEMember ✭✭✭✭

    Pretty interesting. After making sure, that all my PCL-Project use the same package Versions and changing Android Target Version to 4.1 from 4.0 I have no Problems anymore

  • NMackayNMackay GBInsider, University mod

    @ThomasBurkhart

    Stuff like this happens all the time to me debugging in Android, sometimes deleting the obj & bin folders =. Debugging to Android S6 is broken at the moment including Genymotion, even when using API21 & 22 emulators the problem below stops compilation randomly.

    03-01 10:40:49.313 D/Mono    (18886): Assembly Ref addref System.Text.RegularExpressions[0xf3fcde80] -> System[0xda931dc0]: 14
    03-01 10:40:49.318 D/Mono    (18886): AOT module '/Users/builder/data/lanes/2692/e98e9627/source/monodroid/builds/install/mono-x86/lib/mono/aot-cache/x86/System.Runtime.Serialization.dll.so' not found: dlopen failed: library "/data/app/com.company.app-1/lib/x86/libaot-System.Runtime.Serialization.dll.so" not found
    03-01 10:40:49.318 D/Mono    (18886): Unloading image data-0xd32b5000 [0xd9f7cf00].
    

    PCL changes aren't seen by the compiler either in my Visual Studio, in house provisioning profiles are broken in iOS. If your feeling brave you can try the Alpha channel but I'm waiting on clarification on the status of my issues before upgrading but it suggests what your experiencing has been fixed

    https://developer.xamarin.com/releases/vs/xamarin.vs_99/xamarin.vs_99.0/

    "VS getting hanged while deploying Android application on device."

    Looks like my issue has been resolved too :smile:

    "Enterprise "In House" provisioning profiles do not appear in the drop-down menu in the iOS project settings editor."

  • ThomasBurkhartThomasBurkhart DEMember ✭✭✭✭

    THanks a lot. I also encountered several times "missing" AOT modules. Most of the time another instance of my app was still running on my Phone.
    Interestingly my memory problem also got better after changing the target Android Version. Though I still crash at a certain point in my App.

Sign In or Register to comment.