-
Notifications
You must be signed in to change notification settings - Fork 555
Bump mono to head of 2017-12 and include profiler fix #4135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
references: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/599395 mono/mono#7683 Commit list for mono/mono: * mono/mono@4d38f695074 [profiler] Switch tls storage to use mono_thread_info_get/set_tools_data. Fixes dotnet#7683 * mono/mono@7344e176204 [mono-threads] Introduce mono_thread_info_get/set_tools_data so they can store data sanely. Diff: mono/mono@ea8a24b...4d38f69
|
Hi, I know this is still pending some checks, but I was wondering, once this is merged what would be a good way to check if this fixes the related crash without waiting for a beta / prod release? Is there a way to link / download a nightly / alpha build and install it in VS for Mac? We're currently developing two iOS apps and we're struggling chasing down memory leaks due to this crash so it would be extremely helpful to integrate this fix as soon as we can and see if it fixes our issue. Thank you, |
Build success
|
|
@cosminstirbu yes, all our packages (from builds) are public. So, once merged, you'll be able to download and install it locally and we would appreciate confirmation/feedback. Thanks :) |
|
Sorry if this might annoy anyone but I'm really interesting in seeing this approved and merged so I can test the fix. Memory Profiling is a big think for us, especially that we're building an enterprise application that will be used 8h / day. Thank you, |
|
@cosminstirbu the release of Xcode 9.4 pushed back the testing of this fix However the same fix is also available from |
|
I've picked up Xamarin.Mac Xamarin.iOS And I receive the same error :( error: * Assertion at /Users/builder/data/lanes/1381/c993da4c/source/xamarin-macios/external/mono/mono/profiler/log.c:557, condition `mono_lls_insert (&log_profiler.profiler_thread_list, hp, &thread->node) && "Why can't we insert the thread in the LLS?"' not met |
|
However I'm not sure it includes the fix, since if I look at https://github.com/mono/mono/pull/8824/files#diff-ec568e06073848ecf046f94dba5826c0 line 557 in log.c doesn't really include any assertion, so either the line doesn't match or I'm missing something. |
|
This is the thread that crashed: |
|
@cosminstirbu 337 is older than merge that include the fix. Please try the latest build available |
|
My initial testing indicates that the issue was fixed :D. We'll do some more testing early next week, but so far things look good. Thank you! |
|
I am unable to reproduce the initial issue with current stable XI (11.12.0.4). I also checked with XI (11.8.0.20) and mono5.8 with which the issue was initially reported. In both cases, profiler got started and I could successfully profile the app on both simulator and device. Sample apps used for testing are https://github.com/MvvmCross/MvvmCross-Samples/tree/master/StarWarsSample. |
|
Hello, Build info: Visual Studio Enterprise 2017 for Mac (Preview)Version 7.6 Preview (7.6 build 1509) Mono 5.12.0.260 (2018-02/58637d0ee7c) (64-bit) Xamarin.Mac Version: 4.5.0.373 (Visual Studio Enterprise) Xamarin.iOS Version: 11.13.0.0 (Visual Studio Enterprise) Build gist: Xamarin iOS Version taken from: Mono Version taken: Visual Studio: Star Wars Sample taken from: Screencast link: Thanks |
|
This change did not meet the minimum criteria for a 15.7 service release. |
references:
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/599395
mono/mono#7683
Commit list for mono/mono:
Diff: mono/mono@ea8a24b...4d38f69