Profiler wont run for more than 6 seconds

Hi,

I'm trying to use the .20 profiler with my Android app. The app builds and deploys fine and I get my splash screen as normal, results look like they are collecting fine in the profiler window. However, it only runs for 5 or 6 seconds then stops without any indication of why. The log just says "error occurred on run" "Android application has died"

Any ideas how i can find out whats up? The app runs fine without the profiler attached.

I've attached the profiler log if that's any use.

Thanks,

Andy.

Tagged:

Posts

  • RodrigoMoyaRodrigoMoya ESXamarin Team Xamurai

    So, what version of Xamarin.Android do you have? Also, paste the contents of the 'console' tab in the profiler window, which contains the log from the Android sim/device

  • Andy.8469Andy.8469 USMember

    Hi - I'm running Xamarin.Android version 5.1.4

    I've attached the log to this post.

    Many thanks.

  • Andy.8469Andy.8469 USMember

    Hi,

    Managed to sort this by installing visual studio 2015 and also upgrading the Android SDK Tools to version 24.3.4.

    Thanks.

  • NicholasTurnerNicholasTurner USMember, University ✭✭

    I am running ios 8.3 on ipad Air verstion 1. Attached is my log

    Crashes with null exception then out of memory

  • ShaneBoyedShaneBoyed NZMember ✭✭

    I get the same crash as Nicholas. Profiler starts for a few seconds, then throws Overflow and out of memory exceptions. Running on Yosemite and targeting iPad Mini 8.4. It has always done this for me, for several versions now. Never once had the profiler actually run.

  • RodrigoMoyaRodrigoMoya ESXamarin Team Xamurai

    @NicholasTurner @ShaneBoyed not clear what is crashing for you, the app being profiled or the profiler? If it is the profiler, please attach the profiler log (~/Library/Logs on Mac and %localappdata%\Logs on Windows) and any crash report you might have (on Mac they are in ~/Library/Logs/DiagnosticReports).

    @Andy.8469 so, everything solved for you?

  • NicholasTurnerNicholasTurner USMember, University ✭✭

    @RodrigoMoya I attached a private report in the bug you closed. https://bugzilla.xamarin.com/show_bug.cgi?id=33371

    It reports condition ji not met, goes into an endless loop for failed to connect -61 then gets an out of memory. The profiler doesn't crash, just the thread starting the app and that crashes.

  • NicholasTurnerNicholasTurner USMember, University ✭✭

    @RodrigoMoya Here is a public log I can show. I added the logs along with a private ios log to the current bug, 31023

  • NicholasTurnerNicholasTurner USMember, University ✭✭

    @RodrigoMoya Here is a screen shot and I created a default wizard single view app both in the new api and the classic with a reproducible problem

  • NicholasTurnerNicholasTurner USMember, University ✭✭
    edited September 2015

    Happens on both with a blank app and I removed the unit tests. Here is my About xamarin details

    Xamarin Studio
    Version 5.9.4 (build 5)
    Installation UUID:
    Runtime:
    Mono 4.0.2 ((detached/c99aa0c)
    GTK+ 2.24.23 (Raleigh theme)

    Package version: 400020005
    

    Apple Developer Tools
    Xcode 6.3.2 (7718)
    Build 6D2105

    Xamarin.iOS
    Version: 8.10.3.2 (Business Edition)
    Hash: 8b265d6
    Branch: master
    Build date: 2015-06-30 15:19:13-0400

    Xamarin.Android
    Version: 5.1.4.16 (Business Edition)
    Android SDK: /Users/nturner/Library/Developer/Xamarin/android-sdk-mac_x86
    Supported Android versions:
    2.3 (API level 10)
    4.0.3 (API level 15)
    4.2 (API level 17)
    4.4 (API level 19)
    Java SDK: /usr
    java version "1.6.0_65"
    Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
    Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)

    Xamarin Android Player
    Version: Unknown version
    Location: /Applications/Xamarin Android Player.app

    Xamarin.Mac
    Not Installed

    Build Information
    Release ID: 509040005
    Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
    Build date: 2015-06-08 16:52:06-04
    Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8

    Operating System
    Mac OS X 10.10.3
    Darwin myMacBook.local 14.3.0 Darwin Kernel Version 14.3.0
    Mon Mar 23 11:59:05 PDT 2015
    root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64

    Testing on iPad Air 1 with 8.3 ( 12F69 )

  • Andy.8469Andy.8469 USMember

    @RodrigoMoya Yep, the profiler seems to work for me now thanks. Must have the SDK version.

  • ShaneBoyedShaneBoyed NZMember ✭✭

    @RodrigoMoya I've got the same issues as NicolasTurner (i.e. same screenshot etc). Running 5.9.5 build 10 on Mac. Log file attached. No log files in the Diagnostics folder.

  • RodrigoMoyaRodrigoMoya ESXamarin Team Xamurai

    @NicholasTurner ok, fix for that bug is already done, waiting to get included in the next updates to alpha/beta channel.

    @ShaneBoyed can you please attach the iOS device log for when it fails? From XS, just View->Pads->iOS device log.

  • NicholasTurnerNicholasTurner USMember, University ✭✭
    edited September 2015

    @RodrigoMoya How can I get a hold of this patch? I did find the alpha build, but I now get more steps with the same error. Here is a snippet of the issue. I also get a warning that the profiler is burning my CPU with a 99.2% threshold.

    s-iPad MobileStorageMounter[37446] : 0x19c63d310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such process
    Sep 14 14:27:08 Nicholass-iPad MobileStorageMounter[37446] : 0x19c63d310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
    Sep 14 14:27:08 Nicholass-iPad MobileStorageMounter[37446] : 0x19c63d310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
    Sep 14 14:27:08 Nicholass-iPad MobileStorageMounter[37446] : 0x19c63d310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
    Sep 14 14:27:08 Nicholass-iPad MobileStorageMounter[37446] : 0x19c63d310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
    Sep 14 14:27:08 Nicholass-iPad MobileStorageMounter[37446] : 0x19c63d310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
    Sep 14 14:27:08 Nicholass-iPad MobileStorageMounter[37446] : 0x19c63d310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
    Sep 14 14:27:09 Nicholass-iPad com.apple.debugserver-@(#)PROGRAM:debugserver PROJECT:debugserver-320.2.89
    [37447] : debugserver-@(#)PROGRAM:debugserver PROJECT:debugserver-320.2.89

    The GetInterfaces gets an exception because the USB connection failed

  • ShaneBoyedShaneBoyed NZMember ✭✭
  • RodrigoMoyaRodrigoMoya ESXamarin Team Xamurai

    @ShaneBoyed same problem indeed than @NicholasTurner is getting. For now, AFAIK, the fix it is not included on any public build, so I'll ask around and see how's that fix coming along, and let you know.

Sign In or Register to comment.