Bug 46922 - Performance profiler crashed
Summary: Performance profiler crashed
Status: RESOLVED INVALID
Alias: None
Product: Profiler
Classification: Xamarin
Component: Android ()
Version: 0.38.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jose Miguel Torres
URL:
Depends on:
Blocks:
 
Reported: 2016-11-14 10:15 UTC by Dima
Modified: 2016-11-14 10:24 UTC (History)
6 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description Dima 2016-11-14 10:15:31 UTC
Profiler crashed after 3 seconds of use:

INFO[2016-11-14 11:44:56Z]: initializing android platform
INFO[2016-11-14 11:44:56Z]: initializing ios platform
INFO[2016-11-14 11:44:56Z]: initializing mlpd platform
INFO[2016-11-14 11:44:56Z]: ##########################################
INFO[2016-11-14 11:44:56Z]: # Xamarin Profiler version -  0.38.0.0
INFO[2016-11-14 11:44:56Z]: #  * Arch x86_64
INFO[2016-11-14 11:44:56Z]: ##########################################
DEBUG[2016-11-14 11:44:56Z]: processing command line = C:\Program Files (x86)\Xamarin\Profiler\XamarinProfiler.exe --type=android --target=com.negevsoft.mobile4erp.debug|com.negevsoft.mobile4erp.debug.SplashActivity --device=R3115CD000249 --options=name:CipherLab RS30
DEBUG[2016-11-14 11:45:01Z]: instrument added
DEBUG[2016-11-14 11:45:01Z]: instrument added
INFO[2016-11-14 11:45:01Z]: Creating android run for com.negevsoft.mobile4erp.debug|com.negevsoft.mobile4erp.debug.SplashActivity target on device R3115CD000249
DEBUG[2016-11-14 11:45:01Z]: Progress report initialized successfully
INFO[2016-11-14 11:45:01Z]: Initializing profiling...
INFO[2016-11-14 11:45:02Z]: Connecting to Android Device R3115CD000249
INFO[2016-11-14 11:45:02Z]: StartRecording for com.negevsoft.mobile4erp.debug
INFO[2016-11-14 11:45:02Z]: Found Android device R3115CD000249
INFO[2016-11-14 11:45:03Z]: Starting Android activity com.negevsoft.mobile4erp.debug.com.negevsoft.mobile4erp.debug.SplashActivity
INFO[2016-11-14 11:45:05Z]: Starting profiler on Android device CipherLab RS30 with heapshot=1000ms,alloc,nocalls,maxframes=8,sample=cycles/1000,
INFO[2016-11-14 11:45:05Z]: Opening C:\Users\dima\AppData\Local\Temp\goxpb5i3.mlpd
DEBUG[2016-11-14 11:45:05Z]: reading log header
INFO[2016-11-14 11:45:06Z]: read header with format version 13
DEBUG[2016-11-14 11:45:06Z]: reading file C:\Users\dima\AppData\Local\Temp\goxpb5i3.mlpd
INFO[2016-11-14 11:45:06Z]: Reading data...
DEBUG[2016-11-14 11:45:06Z]: Forwarding port 45025 to Android device CipherLab RS30
DEBUG[2016-11-14 11:45:06Z]: thread  at 1073951108 loaded
DEBUG[2016-11-14 11:45:06Z]: thread  at 1723574016 loaded
DEBUG[2016-11-14 11:45:09Z]: thread  at 1640297392 loaded
ERROR[2016-11-14 11:45:09Z]: error while reading buffer
System.InvalidOperationException: Unknown metadata event type:104
   at XamarinProfiler.Core.Reader.EventReader.ReadMetadataEvent(LogReader reader, BufferDescriptor buffer, Byte extendedInfo, IEventProcessor processor)
   at XamarinProfiler.Core.Reader.LogReader.<Start>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at XamarinProfiler.Core.Metadata.Store.ProfileListener.<StartReading>d__33.MoveNext()
DEBUG[2016-11-14 11:45:09Z]: Finished
INFO[2016-11-14 11:45:09Z]: Stopped
INFO[2016-11-14 11:45:09Z]: CurrentRun.Finished for com.negevsoft.mobile4erp.debug
ERROR[2016-11-14 11:45:12Z]: error occured on run com.negevsoft.mobile4erp.debug Android application com.negevsoft.mobile4erp.debug has died
INFO[2016-11-14 11:45:12Z]: Sorry, something went wrong trying to run com.negevsoft.mobile4erp.debug: Android application com.negevsoft.mobile4erp.debug has died
INFO[2016-11-14 11:45:12Z]: Stopping Android activity com.negevsoft.mobile4erp.debug.com.negevsoft.mobile4erp.debug.SplashActivity
ERROR[2016-11-14 11:45:12Z]: Error occured on run com.negevsoft.mobile4erp.debug: Android application com.negevsoft.mobile4erp.debug has died
INFO[2016-11-14 11:45:13Z]: Activity com.negevsoft.mobile4erp.debug.com.negevsoft.mobile4erp.debug.SplashActivity stopped
DEBUG[2016-11-14 11:45:13Z]: Stopping profiler log reader
INFO[2016-11-14 11:45:21Z]: Creating android run for com.negevsoft.mobile4erp.debug|com.negevsoft.mobile4erp.debug.SplashActivity target on device R3115CD000249
DEBUG[2016-11-14 11:45:21Z]: Progress report initialized successfully
INFO[2016-11-14 11:45:21Z]: Initializing profiling...
INFO[2016-11-14 11:45:21Z]: Connecting to Android Device R3115CD000249
INFO[2016-11-14 11:45:21Z]: StartRecording for com.negevsoft.mobile4erp.debug
INFO[2016-11-14 11:45:21Z]: Found Android device R3115CD000249
INFO[2016-11-14 11:45:23Z]: Starting Android activity com.negevsoft.mobile4erp.debug.com.negevsoft.mobile4erp.debug.SplashActivity
INFO[2016-11-14 11:45:24Z]: Starting profiler on Android device CipherLab RS30 with heapshot=1000ms,alloc,nocalls,maxframes=8,sample=cycles/1000,
INFO[2016-11-14 11:45:24Z]: Opening C:\Users\dima\AppData\Local\Temp\3cqrhnrq.mlpd
DEBUG[2016-11-14 11:45:24Z]: reading log header
INFO[2016-11-14 11:45:24Z]: read header with format version 13
DEBUG[2016-11-14 11:45:24Z]: reading file C:\Users\dima\AppData\Local\Temp\3cqrhnrq.mlpd
INFO[2016-11-14 11:45:24Z]: Reading data...
DEBUG[2016-11-14 11:45:24Z]: Forwarding port 50452 to Android device CipherLab RS30
DEBUG[2016-11-14 11:45:24Z]: thread  at 1073951108 loaded
DEBUG[2016-11-14 11:45:24Z]: thread  at 1721721440 loaded
DEBUG[2016-11-14 11:45:27Z]: thread  at 1638225016 loaded
ERROR[2016-11-14 11:45:28Z]: error while reading buffer
System.InvalidOperationException: unknown gc type:0
   at XamarinProfiler.Core.Reader.EventReader.ReadNextEvent(LogReader reader, BufferDescriptor buffer, IEventProcessor processor)
   at XamarinProfiler.Core.Reader.LogReader.<Start>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at XamarinProfiler.Core.Metadata.Store.ProfileListener.<StartReading>d__33.MoveNext()
DEBUG[2016-11-14 11:45:28Z]: Finished
INFO[2016-11-14 11:45:28Z]: Stopped
INFO[2016-11-14 11:45:28Z]: CurrentRun.Finished for com.negevsoft.mobile4erp.debug
ERROR[2016-11-14 11:45:40Z]: error occured on run com.negevsoft.mobile4erp.debug Android application com.negevsoft.mobile4erp.debug has died
INFO[2016-11-14 11:45:40Z]: Sorry, something went wrong trying to run com.negevsoft.mobile4erp.debug: Android application com.negevsoft.mobile4erp.debug has died
INFO[2016-11-14 11:45:40Z]: Stopping Android activity com.negevsoft.mobile4erp.debug.com.negevsoft.mobile4erp.debug.SplashActivity
ERROR[2016-11-14 11:45:40Z]: Error occured on run com.negevsoft.mobile4erp.debug: Android application com.negevsoft.mobile4erp.debug has died
INFO[2016-11-14 11:45:40Z]: Activity com.negevsoft.mobile4erp.debug.com.negevsoft.mobile4erp.debug.SplashActivity stopped
DEBUG[2016-11-14 11:45:40Z]: Stopping profiler log reader
-------------------------------------------------

Visual Studio Enterprise 15, Update 3
Profiler 0.38
Comment 1 Dima 2016-11-14 10:24:49 UTC
Wrong activity name :(