Bug 53440 - Value was either too large or too small for a UInt64
Summary: Value was either too large or too small for a UInt64
Alias: None
Product: Profiler
Classification: Xamarin
Component: General ()
Version: 1.2.x
Hardware: Macintosh Mac OS
: High major
Target Milestone: 15.2
Assignee: Rodrigo Moya
Depends on:
Reported: 2017-03-17 10:22 UTC by Thomas Van den Bossche
Modified: 2017-04-06 11:08 UTC (History)
5 users (show)

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

Screenshot of error (35.10 KB, image/jpeg)
2017-03-17 10:22 UTC, Thomas Van den Bossche
Logs generated during verification of fix. (7.72 KB, application/zip)
2017-04-06 11:08 UTC, Prasad Raghorte

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:

Description Thomas Van den Bossche 2017-03-17 10:22:35 UTC
Created attachment 20408 [details]
Screenshot of error

1. Open Xamarin Studio
2. Attach an Google Galaxy Nexus device with Android 4.1
3. Choose Run >> Start Profiling
4. Wait untill the profiler starts and immediately click the "Pause" button when it becomes active
5. Wait untill your app is fully started
6. Click the record button again to start profiling again
7. Error "Value was either too large or too small for a UInt64" is shown
Comment 1 Thomas Van den Bossche 2017-03-17 12:59:39 UTC
A little update; if you wait a couple of seconds after the "Pause" button becomes active instead of pushing it right away, the error message is not shown.
Comment 2 Rodrigo Moya 2017-03-22 12:22:14 UTC
Can you please attach the Profiler log (Help->Open log directory)?
Comment 3 xamarin-release-manager 2017-03-22 20:59:23 UTC
Fixed in version (master)

Author: Rodrigo Moya
Commit: 9af41f15a78901440d95fc751a773745e85a7673 (xamarin/profiler)
Comment 4 Prasad Raghorte 2017-04-06 11:08:20 UTC
Created attachment 21254 [details]
Logs generated during verification of fix.

Bug verified on following configuration:
OS: MAc OS Sierra 10.12.2
Visual Studio for Mac Preview
Version Preview 6 (7.0 build 2710)
Xamarin.iOS: Version: 
Xamarin Android Version: 
Xamarin.MAC : Version:
Mono (2017-02/7e2f9aa) (64-bit)
It is working and is fixed. Hence marking it as verified.